-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security Solution][Notes] Make MAX_UNASSOCIATED_NOTES an advanced Kibana setting #194947
[Security Solution][Notes] Make MAX_UNASSOCIATED_NOTES an advanced Kibana setting #194947
Conversation
…ithub.com/janmonschke/kibana into securitySolution/noteLimitAdvancedSetting
Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations) |
…ithub.com/janmonschke/kibana into securitySolution/noteLimitAdvancedSetting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewing this PR made me realize that I hadn't really understood well why we're doing this MAX_UNASSOCIATED_NOTES thing...
Take this example:
- I'm setting a limit to 1 in the Advanced Settings
- I'm creating a note in the flyout for a document only => it works
- I'm trying to create a second note => it fails
- I create a timeline, save it, then try to create a second note for the same document => it works
Screen.Recording.2024-10-10.at.5.03.32.PM.mov
I had a long discussion with Kevin on Slack and I'm now really confused about what we're trying to achieve here 😆
@@ -101,14 +102,19 @@ export const AddNote = memo( | |||
setEditorValue(''); | |||
}, [dispatch, editorValue, eventId, telemetry, timelineId, onNoteAdd]); | |||
|
|||
const resetError = useCallback(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currently if the user tries to close the error toast using the cross icon in the top-right corner nothing happens. You're forced to click on the See the full error
button that opens the modal then it clears
Screen.Recording.2024-10-10.at.4.35.21.PM.mov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is now fixed, thanks!
[MAX_UNASSOCIATED_NOTES]: { | ||
name: i18n.translate('xpack.securitySolution.uiSettings.maxUnassociatedNotesLabel', { | ||
defaultMessage: 'Maximum amount of unassociated notes', | ||
}), | ||
description: i18n.translate( | ||
'xpack.securitySolution.uiSettings.maxUnassociatedNotesDescription', | ||
{ | ||
defaultMessage: | ||
'Defines the maximum amount of unassociated notes (notes that are not assigned to a timeline) that can be created.', | ||
} | ||
), | ||
type: 'number', | ||
value: DEFAULT_MAX_UNASSOCIATED_NOTES, | ||
schema: schema.number({ | ||
min: 1, | ||
max: 1000, | ||
defaultValue: DEFAULT_MAX_UNASSOCIATED_NOTES, | ||
}), | ||
requiresPageReload: false, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to rethink the term unassociated notes because it doesn't really mean anything. Seeing this in the Advanced Settings I was like what is an unassociated note? It's specified in parenthesis that these are notes not associated with a timeline, but users will wonder what's the difference and why we're doing this...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy to change the wording to something more suitable if you have ideas :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will start a discussion with Nastasha about this, we don't have to wait to merge this PR!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.. I don't get the meaning of this setting. Does this mean that when notes are assigned to timeline
then i can go above MAX_UNASSOCIATED_NOTES
but if they are not then I have to stay within the limits?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, the maximum number of notes only applies to what we call unassociated notes (which is not a good name by the way, we should change that in the future), which are notes associated to only a document
After more discussion I understand a bit more why we're doing this. We want to limit the number of notes that are only associated with a document because the notes associated with a timeline will be automatically deleted when the timeline is deleted. As a user, I would just create an empty timeline, save it, then continue create a bunch of new notes associating them with that dummy timeline... I'll keep thinking about it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While there are some texts that could be changed/improved, this PR does the expected functionality. Thanks for implementing this!
I will get with @nastasha-solomon for copy changes as we have to review all the notes stuff together.
[MAX_UNASSOCIATED_NOTES]: { | ||
name: i18n.translate('xpack.securitySolution.uiSettings.maxUnassociatedNotesLabel', { | ||
defaultMessage: 'Maximum amount of unassociated notes', | ||
}), | ||
description: i18n.translate( | ||
'xpack.securitySolution.uiSettings.maxUnassociatedNotesDescription', | ||
{ | ||
defaultMessage: | ||
'Defines the maximum amount of unassociated notes (notes that are not assigned to a timeline) that can be created.', | ||
} | ||
), | ||
type: 'number', | ||
value: DEFAULT_MAX_UNASSOCIATED_NOTES, | ||
schema: schema.number({ | ||
min: 1, | ||
max: 1000, | ||
defaultValue: DEFAULT_MAX_UNASSOCIATED_NOTES, | ||
}), | ||
requiresPageReload: false, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will start a discussion with Nastasha about this, we don't have to wait to merge this PR!
@@ -101,14 +102,19 @@ export const AddNote = memo( | |||
setEditorValue(''); | |||
}, [dispatch, editorValue, eventId, telemetry, timelineId, onNoteAdd]); | |||
|
|||
const resetError = useCallback(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is now fixed, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did Desk testing and things seems to be working well. Before I approve I do have some questions.
Is this limit only for the notes associated to the events and not timeline? If yes, Why?( Answered in Philiipe's other comment )- Is this a global limit. Does this mean, that if i have
MAX
notes associated to a single event, i cannot add any more notes to any other event ? - Also, even though I cannot add any more notes to any other event, we can add more notes to the
timeline
?
Additionally, I have left some comments regarding the code review. They are not PR blockers, just minor comments.
@@ -199,6 +200,9 @@ export const ENABLE_ASSET_CRITICALITY_SETTING = 'securitySolution:enableAssetCri | |||
export const EXCLUDED_DATA_TIERS_FOR_RULE_EXECUTION = | |||
'securitySolution:excludedDataTiersForRuleExecution' as const; | |||
|
|||
/** This Kibana Advances setting allows users to define the maximum amount of unassociated notes (notes without a `timelineId`) */ | |||
export const MAX_UNASSOCIATED_NOTES = 'securitySolution:maxUnassociatedNotes' as const; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider renaming this to something as below because current name feels like it is the number of MAX_NOTES but not the setting name.
export const MAX_UNASSOCIATED_NOTES = 'securitySolution:maxUnassociatedNotes' as const; | |
export const MAX_UNASSOCIATED_NOTES_SETTING = 'securitySolution:maxUnassociatedNotes' as const; |
@@ -48,7 +52,7 @@ export const getNotesRoute = (router: SecuritySolutionPluginRouter) => { | |||
type: noteSavedObjectType, | |||
search: docIdSearchString, | |||
page: 1, | |||
perPage: MAX_UNASSOCIATED_NOTES, | |||
perPage: maxUnassociatedNotes, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this was not the scope of this PR and should have been done when original code was added but i do not see any e2e or proper integration test for this API. I only see unit tests for this feature where almost everything seems to be mocked. Honestly, in my opinion that does not give too much confidence. Let me know what you think.
If possible, consider adding api integration tests in x-pack/test/security_solution_api_integration/
if (noteResponse.code !== 200) { | ||
throw new Error(noteResponse.message); | ||
} | ||
return noteResponse.note; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding unit tests for this case.
return response; | ||
}; | ||
|
||
/** | ||
* Deletes multiple notes | ||
*/ | ||
export const deleteNotes = async (noteIds: string[]) => { | ||
const response = await KibanaServices.get().http.delete<{ data: unknown }>(NOTE_URL, { | ||
const response = await KibanaServices.get().http.delete<DeleteNoteResponse>(NOTE_URL, { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌 on adding all the types.
[MAX_UNASSOCIATED_NOTES]: { | ||
name: i18n.translate('xpack.securitySolution.uiSettings.maxUnassociatedNotesLabel', { | ||
defaultMessage: 'Maximum amount of unassociated notes', | ||
}), | ||
description: i18n.translate( | ||
'xpack.securitySolution.uiSettings.maxUnassociatedNotesDescription', | ||
{ | ||
defaultMessage: | ||
'Defines the maximum amount of unassociated notes (notes that are not assigned to a timeline) that can be created.', | ||
} | ||
), | ||
type: 'number', | ||
value: DEFAULT_MAX_UNASSOCIATED_NOTES, | ||
schema: schema.number({ | ||
min: 1, | ||
max: 1000, | ||
defaultValue: DEFAULT_MAX_UNASSOCIATED_NOTES, | ||
}), | ||
requiresPageReload: false, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.. I don't get the meaning of this setting. Does this mean that when notes are assigned to timeline
then i can go above MAX_UNASSOCIATED_NOTES
but if they are not then I have to stay within the limits?
Thanks @PhilippeOberti , I had same confustion. This clears it up. Do you think we should give a QuestionAdditionally I have one more question. Why the note add from timeline_event_notes_limit_confusion.mp4 |
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11332124818 |
…bana setting (elastic#194947) ## Summary Fixes: elastic#193097 Adds a new Kibana advanced setting that allows users to limit the maximum amount of unassociated notes. The max value for that used to be hard coded before. https://github.com/user-attachments/assets/34af7f67-9109-4251-a5a3-a1af68f123fe ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit 925329e)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…ced Kibana setting (#194947) (#196192) # Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution][Notes] Make MAX_UNASSOCIATED_NOTES an advanced Kibana setting (#194947)](#194947) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jan Monschke","email":"jan.monschke@elastic.co"},"sourceCommit":{"committedDate":"2024-10-14T17:14:11Z","message":"[Security Solution][Notes] Make MAX_UNASSOCIATED_NOTES an advanced Kibana setting (#194947)\n\n## Summary\r\n\r\nFixes: https://github.com/elastic/kibana/issues/193097\r\n\r\nAdds a new Kibana advanced setting that allows users to limit the\r\nmaximum amount of unassociated notes. The max value for that used to be\r\nhard coded before.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/34af7f67-9109-4251-a5a3-a1af68f123fe\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"925329ec8429741db1c403795c0c3598a29226bb","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","v9.0.0","Team:Threat Hunting:Investigations","backport:prev-minor"],"title":"[Security Solution][Notes] Make MAX_UNASSOCIATED_NOTES an advanced Kibana setting","number":194947,"url":"https://github.com/elastic/kibana/pull/194947","mergeCommit":{"message":"[Security Solution][Notes] Make MAX_UNASSOCIATED_NOTES an advanced Kibana setting (#194947)\n\n## Summary\r\n\r\nFixes: https://github.com/elastic/kibana/issues/193097\r\n\r\nAdds a new Kibana advanced setting that allows users to limit the\r\nmaximum amount of unassociated notes. The max value for that used to be\r\nhard coded before.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/34af7f67-9109-4251-a5a3-a1af68f123fe\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"925329ec8429741db1c403795c0c3598a29226bb"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194947","number":194947,"mergeCommit":{"message":"[Security Solution][Notes] Make MAX_UNASSOCIATED_NOTES an advanced Kibana setting (#194947)\n\n## Summary\r\n\r\nFixes: https://github.com/elastic/kibana/issues/193097\r\n\r\nAdds a new Kibana advanced setting that allows users to limit the\r\nmaximum amount of unassociated notes. The max value for that used to be\r\nhard coded before.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/34af7f67-9109-4251-a5a3-a1af68f123fe\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"925329ec8429741db1c403795c0c3598a29226bb"}}]}] BACKPORT--> Co-authored-by: Jan Monschke <jan.monschke@elastic.co>
…e the unassociated note advanced setting under the Security Solution section (#197312) ## Summary This PR tackles 2 small tasks: - move the unassociated advanced settings introduced in [this PR](#194947) under the `Security Solution` category instead of `General` - make some copy changes on the notes functionality, mainly the following ([copy changes document](https://docs.google.com/document/d/10blyxRfkMIR8gk4cw6nFzajA-L63iUzQaxQXHauL8LM/edit#heading=h.mlyibn1i5q84)) - make sure we don't use a capital `N` for the word `note` - make sure that we use a capital `T` for the word `timeline` - change some of the no message and callout texts - prioritize using `attach` instead of `associate` All changes have been done with @nastasha-solomon. #193495
…e the unassociated note advanced setting under the Security Solution section (elastic#197312) ## Summary This PR tackles 2 small tasks: - move the unassociated advanced settings introduced in [this PR](elastic#194947) under the `Security Solution` category instead of `General` - make some copy changes on the notes functionality, mainly the following ([copy changes document](https://docs.google.com/document/d/10blyxRfkMIR8gk4cw6nFzajA-L63iUzQaxQXHauL8LM/edit#heading=h.mlyibn1i5q84)) - make sure we don't use a capital `N` for the word `note` - make sure that we use a capital `T` for the word `timeline` - change some of the no message and callout texts - prioritize using `attach` instead of `associate` All changes have been done with @nastasha-solomon. elastic#193495 (cherry picked from commit 800e392)
…e the unassociated note advanced setting under the Security Solution section (elastic#197312) ## Summary This PR tackles 2 small tasks: - move the unassociated advanced settings introduced in [this PR](elastic#194947) under the `Security Solution` category instead of `General` - make some copy changes on the notes functionality, mainly the following ([copy changes document](https://docs.google.com/document/d/10blyxRfkMIR8gk4cw6nFzajA-L63iUzQaxQXHauL8LM/edit#heading=h.mlyibn1i5q84)) - make sure we don't use a capital `N` for the word `note` - make sure that we use a capital `T` for the word `timeline` - change some of the no message and callout texts - prioritize using `attach` instead of `associate` All changes have been done with @nastasha-solomon. elastic#193495 (cherry picked from commit 800e392)
…e + move the unassociated note advanced setting under the Security Solution section (#197312) (#197350) # Backport This will backport the following commits from `main` to `8.16`: - [[Security Solution][Notes] - copy changes for note and timeline + move the unassociated note advanced setting under the Security Solution section (#197312)](#197312) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Philippe Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2024-10-22T23:20:10Z","message":"[Security Solution][Notes] - copy changes for note and timeline + move the unassociated note advanced setting under the Security Solution section (#197312)\n\n## Summary\r\n\r\nThis PR tackles 2 small tasks:\r\n- move the unassociated advanced settings introduced in [this\r\nPR](#194947) under the `Security\r\nSolution` category instead of `General`\r\n- make some copy changes on the notes functionality, mainly the\r\nfollowing ([copy changes\r\ndocument](https://docs.google.com/document/d/10blyxRfkMIR8gk4cw6nFzajA-L63iUzQaxQXHauL8LM/edit#heading=h.mlyibn1i5q84))\r\n - make sure we don't use a capital `N` for the word `note`\r\n - make sure that we use a capital `T` for the word `timeline`\r\n - change some of the no message and callout texts\r\n - prioritize using `attach` instead of `associate`\r\n\r\nAll changes have been done with @nastasha-solomon.\r\n\r\nhttps://github.com//issues/193495","sha":"800e39224eed1335519d00e62e423af241495be9","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","v9.0.0","Team:Threat Hunting:Investigations","v8.16.0"],"title":"[Security Solution][Notes] - copy changes for note and timeline + move the unassociated note advanced setting under the Security Solution section","number":197312,"url":"https://github.com/elastic/kibana/pull/197312","mergeCommit":{"message":"[Security Solution][Notes] - copy changes for note and timeline + move the unassociated note advanced setting under the Security Solution section (#197312)\n\n## Summary\r\n\r\nThis PR tackles 2 small tasks:\r\n- move the unassociated advanced settings introduced in [this\r\nPR](#194947) under the `Security\r\nSolution` category instead of `General`\r\n- make some copy changes on the notes functionality, mainly the\r\nfollowing ([copy changes\r\ndocument](https://docs.google.com/document/d/10blyxRfkMIR8gk4cw6nFzajA-L63iUzQaxQXHauL8LM/edit#heading=h.mlyibn1i5q84))\r\n - make sure we don't use a capital `N` for the word `note`\r\n - make sure that we use a capital `T` for the word `timeline`\r\n - change some of the no message and callout texts\r\n - prioritize using `attach` instead of `associate`\r\n\r\nAll changes have been done with @nastasha-solomon.\r\n\r\nhttps://github.com//issues/193495","sha":"800e39224eed1335519d00e62e423af241495be9"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197312","number":197312,"mergeCommit":{"message":"[Security Solution][Notes] - copy changes for note and timeline + move the unassociated note advanced setting under the Security Solution section (#197312)\n\n## Summary\r\n\r\nThis PR tackles 2 small tasks:\r\n- move the unassociated advanced settings introduced in [this\r\nPR](#194947) under the `Security\r\nSolution` category instead of `General`\r\n- make some copy changes on the notes functionality, mainly the\r\nfollowing ([copy changes\r\ndocument](https://docs.google.com/document/d/10blyxRfkMIR8gk4cw6nFzajA-L63iUzQaxQXHauL8LM/edit#heading=h.mlyibn1i5q84))\r\n - make sure we don't use a capital `N` for the word `note`\r\n - make sure that we use a capital `T` for the word `timeline`\r\n - change some of the no message and callout texts\r\n - prioritize using `attach` instead of `associate`\r\n\r\nAll changes have been done with @nastasha-solomon.\r\n\r\nhttps://github.com//issues/193495","sha":"800e39224eed1335519d00e62e423af241495be9"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
… + move the unassociated note advanced setting under the Security Solution section (#197312) (#197351) # Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution][Notes] - copy changes for note and timeline + move the unassociated note advanced setting under the Security Solution section (#197312)](#197312) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Philippe Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2024-10-22T23:20:10Z","message":"[Security Solution][Notes] - copy changes for note and timeline + move the unassociated note advanced setting under the Security Solution section (#197312)\n\n## Summary\r\n\r\nThis PR tackles 2 small tasks:\r\n- move the unassociated advanced settings introduced in [this\r\nPR](#194947) under the `Security\r\nSolution` category instead of `General`\r\n- make some copy changes on the notes functionality, mainly the\r\nfollowing ([copy changes\r\ndocument](https://docs.google.com/document/d/10blyxRfkMIR8gk4cw6nFzajA-L63iUzQaxQXHauL8LM/edit#heading=h.mlyibn1i5q84))\r\n - make sure we don't use a capital `N` for the word `note`\r\n - make sure that we use a capital `T` for the word `timeline`\r\n - change some of the no message and callout texts\r\n - prioritize using `attach` instead of `associate`\r\n\r\nAll changes have been done with @nastasha-solomon.\r\n\r\nhttps://github.com//issues/193495","sha":"800e39224eed1335519d00e62e423af241495be9","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","v9.0.0","Team:Threat Hunting:Investigations","v8.16.0"],"title":"[Security Solution][Notes] - copy changes for note and timeline + move the unassociated note advanced setting under the Security Solution section","number":197312,"url":"https://github.com/elastic/kibana/pull/197312","mergeCommit":{"message":"[Security Solution][Notes] - copy changes for note and timeline + move the unassociated note advanced setting under the Security Solution section (#197312)\n\n## Summary\r\n\r\nThis PR tackles 2 small tasks:\r\n- move the unassociated advanced settings introduced in [this\r\nPR](#194947) under the `Security\r\nSolution` category instead of `General`\r\n- make some copy changes on the notes functionality, mainly the\r\nfollowing ([copy changes\r\ndocument](https://docs.google.com/document/d/10blyxRfkMIR8gk4cw6nFzajA-L63iUzQaxQXHauL8LM/edit#heading=h.mlyibn1i5q84))\r\n - make sure we don't use a capital `N` for the word `note`\r\n - make sure that we use a capital `T` for the word `timeline`\r\n - change some of the no message and callout texts\r\n - prioritize using `attach` instead of `associate`\r\n\r\nAll changes have been done with @nastasha-solomon.\r\n\r\nhttps://github.com//issues/193495","sha":"800e39224eed1335519d00e62e423af241495be9"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197312","number":197312,"mergeCommit":{"message":"[Security Solution][Notes] - copy changes for note and timeline + move the unassociated note advanced setting under the Security Solution section (#197312)\n\n## Summary\r\n\r\nThis PR tackles 2 small tasks:\r\n- move the unassociated advanced settings introduced in [this\r\nPR](#194947) under the `Security\r\nSolution` category instead of `General`\r\n- make some copy changes on the notes functionality, mainly the\r\nfollowing ([copy changes\r\ndocument](https://docs.google.com/document/d/10blyxRfkMIR8gk4cw6nFzajA-L63iUzQaxQXHauL8LM/edit#heading=h.mlyibn1i5q84))\r\n - make sure we don't use a capital `N` for the word `note`\r\n - make sure that we use a capital `T` for the word `timeline`\r\n - change some of the no message and callout texts\r\n - prioritize using `attach` instead of `associate`\r\n\r\nAll changes have been done with @nastasha-solomon.\r\n\r\nhttps://github.com//issues/193495","sha":"800e39224eed1335519d00e62e423af241495be9"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
…tes advanced setting to be 10k instead of 1k (#212786) ## Summary This previous [PR](#194947) made the maximum number of unassociated notes an advanced settings so that user can change the value within a certain limit. The intent was to allow that value to be between 1 and 10,000 (see acceptance criteria of the [original ticket](#193097)) but we missed one 0 and the maximum value allowed got set to 1000. This PR fixes that. #### Before  #### After 
…tes advanced setting to be 10k instead of 1k (elastic#212786) ## Summary This previous [PR](elastic#194947) made the maximum number of unassociated notes an advanced settings so that user can change the value within a certain limit. The intent was to allow that value to be between 1 and 10,000 (see acceptance criteria of the [original ticket](elastic#193097)) but we missed one 0 and the maximum value allowed got set to 1000. This PR fixes that. #### Before  #### After  (cherry picked from commit eabf95d)
…tes advanced setting to be 10k instead of 1k (elastic#212786) ## Summary This previous [PR](elastic#194947) made the maximum number of unassociated notes an advanced settings so that user can change the value within a certain limit. The intent was to allow that value to be between 1 and 10,000 (see acceptance criteria of the [original ticket](elastic#193097)) but we missed one 0 and the maximum value allowed got set to 1000. This PR fixes that. #### Before  #### After  (cherry picked from commit eabf95d)
…tes advanced setting to be 10k instead of 1k (elastic#212786) ## Summary This previous [PR](elastic#194947) made the maximum number of unassociated notes an advanced settings so that user can change the value within a certain limit. The intent was to allow that value to be between 1 and 10,000 (see acceptance criteria of the [original ticket](elastic#193097)) but we missed one 0 and the maximum value allowed got set to 1000. This PR fixes that. #### Before  #### After  (cherry picked from commit eabf95d)
…tes advanced setting to be 10k instead of 1k (elastic#212786) ## Summary This previous [PR](elastic#194947) made the maximum number of unassociated notes an advanced settings so that user can change the value within a certain limit. The intent was to allow that value to be between 1 and 10,000 (see acceptance criteria of the [original ticket](elastic#193097)) but we missed one 0 and the maximum value allowed got set to 1000. This PR fixes that. #### Before  #### After  (cherry picked from commit eabf95d)
…tes advanced setting to be 10k instead of 1k (elastic#212786) ## Summary This previous [PR](elastic#194947) made the maximum number of unassociated notes an advanced settings so that user can change the value within a certain limit. The intent was to allow that value to be between 1 and 10,000 (see acceptance criteria of the [original ticket](elastic#193097)) but we missed one 0 and the maximum value allowed got set to 1000. This PR fixes that. #### Before  #### After  (cherry picked from commit eabf95d)
…ated notes advanced setting to be 10k instead of 1k (#212786) (#212823) # Backport This will backport the following commits from `main` to `8.18`: - [[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)](#212786) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Philippe Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2025-02-28T21:21:37Z","message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)\n\n## Summary\n\nThis previous [PR](#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Threat Hunting:Investigations","backport:all-open","v8.18.0","v9.1.0","v8.19.0","v8.17.3","v8.16.5"],"title":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k","number":212786,"url":"https://github.com/elastic/kibana/pull/212786","mergeCommit":{"message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)\n\n## Summary\n\nThis previous [PR](#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x","8.17","8.16"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212786","number":212786,"mergeCommit":{"message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)\n\n## Summary\n\nThis previous [PR](#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
…ted notes advanced setting to be 10k instead of 1k (#212786) (#212825) # Backport This will backport the following commits from `main` to `9.0`: - [[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)](#212786) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Philippe Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2025-02-28T21:21:37Z","message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)\n\n## Summary\n\nThis previous [PR](#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Threat Hunting:Investigations","backport:all-open","v8.18.0","v9.1.0","v8.19.0","v8.17.3","v8.16.5"],"title":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k","number":212786,"url":"https://github.com/elastic/kibana/pull/212786","mergeCommit":{"message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)\n\n## Summary\n\nThis previous [PR](#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x","8.17","8.16"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212786","number":212786,"mergeCommit":{"message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)\n\n## Summary\n\nThis previous [PR](#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
…ated notes advanced setting to be 10k instead of 1k (#212786) (#212822) # Backport This will backport the following commits from `main` to `8.17`: - [[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)](#212786) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Philippe Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2025-02-28T21:21:37Z","message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)\n\n## Summary\n\nThis previous [PR](#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Threat Hunting:Investigations","backport:all-open","v8.18.0","v9.1.0","v8.19.0","v8.17.3","v8.16.5"],"title":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k","number":212786,"url":"https://github.com/elastic/kibana/pull/212786","mergeCommit":{"message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)\n\n## Summary\n\nThis previous [PR](#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x","8.17","8.16"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212786","number":212786,"mergeCommit":{"message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)\n\n## Summary\n\nThis previous [PR](#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
…ted notes advanced setting to be 10k instead of 1k (#212786) (#212824) # Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)](#212786) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Philippe Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2025-02-28T21:21:37Z","message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)\n\n## Summary\n\nThis previous [PR](#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Threat Hunting:Investigations","backport:all-open","v8.18.0","v9.1.0","v8.19.0","v8.17.3","v8.16.5"],"title":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k","number":212786,"url":"https://github.com/elastic/kibana/pull/212786","mergeCommit":{"message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)\n\n## Summary\n\nThis previous [PR](#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x","8.17","8.16"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212786","number":212786,"mergeCommit":{"message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)\n\n## Summary\n\nThis previous [PR](#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
…tes advanced setting to be 10k instead of 1k (elastic#212786) ## Summary This previous [PR](elastic#194947) made the maximum number of unassociated notes an advanced settings so that user can change the value within a certain limit. The intent was to allow that value to be between 1 and 10,000 (see acceptance criteria of the [original ticket](elastic#193097)) but we missed one 0 and the maximum value allowed got set to 1000. This PR fixes that. #### Before  #### After  (cherry picked from commit eabf95d)
…ated notes advanced setting to be 10k instead of 1k (#212786) (#212930) # Backport This will backport the following commits from `main` to `8.16`: - [[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)](#212786) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Philippe Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2025-02-28T21:21:37Z","message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)\n\n## Summary\n\nThis previous [PR](#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Threat Hunting:Investigations","backport:all-open","v8.18.0","v9.1.0","v8.19.0","v8.17.3","v8.16.5"],"title":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k","number":212786,"url":"https://github.com/elastic/kibana/pull/212786","mergeCommit":{"message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)\n\n## Summary\n\nThis previous [PR](#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/212825","number":212825,"state":"MERGED","mergeCommit":{"sha":"aa141aa281bb5c6f6c6503536349cb8bfefa7e7b","message":"[9.0] [Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786) (#212825)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.0`:\n- [[Security Solution][Notes] change upper limit for max unassociated\nnotes advanced setting to be 10k instead of 1k\n(#212786)](https://github.com/elastic/kibana/pull/212786)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: Philippe Oberti <philippe.oberti@elastic.co>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/212823","number":212823,"state":"MERGED","mergeCommit":{"sha":"b32e708ffc49f3d28cec6a85cc72dfcca3e7052d","message":"[8.18] [Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786) (#212823)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.18`:\n- [[Security Solution][Notes] change upper limit for max unassociated\nnotes advanced setting to be 10k instead of 1k\n(#212786)](https://github.com/elastic/kibana/pull/212786)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: Philippe Oberti <philippe.oberti@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212786","number":212786,"mergeCommit":{"message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786)\n\n## Summary\n\nThis previous [PR](#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/212824","number":212824,"state":"MERGED","mergeCommit":{"sha":"b35c244503bff376b44ca7e2eca2a8ba06c263b2","message":"[8.x] [Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786) (#212824)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.x`:\n- [[Security Solution][Notes] change upper limit for max unassociated\nnotes advanced setting to be 10k instead of 1k\n(#212786)](https://github.com/elastic/kibana/pull/212786)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: Philippe Oberti <philippe.oberti@elastic.co>"}},{"branch":"8.17","label":"v8.17.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/212822","number":212822,"state":"MERGED","mergeCommit":{"sha":"229aac1adf86b96d2718bc66670496263c1dc6c8","message":"[8.17] [Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (#212786) (#212822)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.17`:\n- [[Security Solution][Notes] change upper limit for max unassociated\nnotes advanced setting to be 10k instead of 1k\n(#212786)](https://github.com/elastic/kibana/pull/212786)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: Philippe Oberti <philippe.oberti@elastic.co>"}},{"branch":"8.16","label":"v8.16.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
…ted notes advanced setting to be 10k instead of 1k (elastic#212786) (elastic#212824) # Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (elastic#212786)](elastic#212786) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Philippe Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2025-02-28T21:21:37Z","message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (elastic#212786)\n\n## Summary\n\nThis previous [PR](elastic#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Threat Hunting:Investigations","backport:all-open","v8.18.0","v9.1.0","v8.19.0","v8.17.3","v8.16.5"],"title":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k","number":212786,"url":"https://github.com/elastic/kibana/pull/212786","mergeCommit":{"message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (elastic#212786)\n\n## Summary\n\nThis previous [PR](elastic#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x","8.17","8.16"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212786","number":212786,"mergeCommit":{"message":"[Security Solution][Notes] change upper limit for max unassociated notes advanced setting to be 10k instead of 1k (elastic#212786)\n\n## Summary\n\nThis previous [PR](elastic#194947) made\nthe maximum number of unassociated notes an advanced settings so that\nuser can change the value within a certain limit. The intent was to\nallow that value to be between 1 and 10,000 (see acceptance criteria of\nthe [original ticket](https://github.com/elastic/kibana/issues/193097))\nbut we missed one 0 and the maximum value allowed got set to 1000.\n\nThis PR fixes that.\n\n#### Before\n\n\n\n#### After\n\n","sha":"eabf95d6dc157d1c1ac2bb8832c7021986285aef"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
Summary
Fixes: #193097
Adds a new Kibana advanced setting that allows users to limit the maximum amount of unassociated notes. The max value for that used to be hard coded before.
Screen.Recording.2024-10-09.at.10.58.29.mov
Checklist