-
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][Endpoint Exceptions] Warning callout for incomplete code signature for endpoint exceptions #198245
Conversation
Pinging @elastic/security-defend-workflows (Team:Defend Workflows) |
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.
Left a suggestions re: tests for the reducer files changed, but am 👍
@@ -184,6 +190,13 @@ export const createExceptionItemsReducer = | |||
wildcardWarningExists: warningExists, | |||
}; | |||
} | |||
case 'setPartialCodeSignature': { |
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 suggest you add some tests for the reducer files you changed as well.
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.
🚀
💚 Build Succeeded
Metrics [docs]Async chunks
History
|
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.
Changes LGTM, thanks!
…te code signature for endpoint exceptions (elastic#198245) ## Summary Navigate to Security Solution > Manage > Rules > Add Endpoint Exception - [x] Warning callout shown in endpoint exceptions when code signature field is incomplete (i.e. process.code_signature.subject_name w/o process.code_signature.trusted or vice versa) - [x] For mac operating systems, process.code_signature.team_id is also accepted as an equivalent to subject_name - [ ] Warning callout is also shown for nested entries for this code signature field: process.Ext.code_signature - [x] Unit Tests # Screenshots Subject name only -- warning is present ![image](https://github.com/user-attachments/assets/eccf4d49-a4b1-47fc-8c51-bddf4fd6664f) Trusted field only -- warning is present ![image](https://github.com/user-attachments/assets/d3ba6716-e7d1-4709-a5b1-1e472964b6e3) Both subject name and trusted fields -- no warning is present ![image](https://github.com/user-attachments/assets/11b179ff-278e-4ec6-a749-638f428215aa)
…te code signature for endpoint exceptions (elastic#198245) ## Summary Navigate to Security Solution > Manage > Rules > Add Endpoint Exception - [x] Warning callout shown in endpoint exceptions when code signature field is incomplete (i.e. process.code_signature.subject_name w/o process.code_signature.trusted or vice versa) - [x] For mac operating systems, process.code_signature.team_id is also accepted as an equivalent to subject_name - [ ] Warning callout is also shown for nested entries for this code signature field: process.Ext.code_signature - [x] Unit Tests # Screenshots Subject name only -- warning is present ![image](https://github.com/user-attachments/assets/eccf4d49-a4b1-47fc-8c51-bddf4fd6664f) Trusted field only -- warning is present ![image](https://github.com/user-attachments/assets/d3ba6716-e7d1-4709-a5b1-1e472964b6e3) Both subject name and trusted fields -- no warning is present ![image](https://github.com/user-attachments/assets/11b179ff-278e-4ec6-a749-638f428215aa)
…te code signature for endpoint exceptions (elastic#198245) ## Summary Navigate to Security Solution > Manage > Rules > Add Endpoint Exception - [x] Warning callout shown in endpoint exceptions when code signature field is incomplete (i.e. process.code_signature.subject_name w/o process.code_signature.trusted or vice versa) - [x] For mac operating systems, process.code_signature.team_id is also accepted as an equivalent to subject_name - [ ] Warning callout is also shown for nested entries for this code signature field: process.Ext.code_signature - [x] Unit Tests # Screenshots Subject name only -- warning is present ![image](https://github.com/user-attachments/assets/eccf4d49-a4b1-47fc-8c51-bddf4fd6664f) Trusted field only -- warning is present ![image](https://github.com/user-attachments/assets/d3ba6716-e7d1-4709-a5b1-1e472964b6e3) Both subject name and trusted fields -- no warning is present ![image](https://github.com/user-attachments/assets/11b179ff-278e-4ec6-a749-638f428215aa)
Summary
Navigate to Security Solution > Manage > Rules > Add Endpoint Exception
Screenshots
Subject name only -- warning is present
Trusted field only -- warning is present
Both subject name and trusted fields -- no warning is present