Skip to content
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

[FEATURE] deliver security alerts with meaningful, structured information. #625

Closed
larsw opened this issue Oct 2, 2023 · 5 comments
Closed
Labels
enhancement New feature or request

Comments

@larsw
Copy link

larsw commented Oct 2, 2023

(This feature request could probably exist in other OpenSearch repositories,
but I've added it to the one I felt was the most relevant one).

With the current Alerting capabilities in OpenSearch, it is possible to deliver alerts via webhooks,
but sadly the feature is at best mostly useless for delivering structured information about the alert system -> system.
The information delivered over the webhook can resemble JSON - but it's not.
The information lacks any trace of the originating (sigma) rule that caused the alarm to be raised.

--
It should be possible to setup webhooks that get's sensible, structured data delivered when an Alarm is raised.
To fix this, I'm guessing that changes need to be made to multiple OpenSearch sub components.

@larsw larsw added enhancement New feature or request untriaged labels Oct 2, 2023
@tallyoh
Copy link

tallyoh commented Oct 7, 2023

Yes, I agree with the sentiment above, mustache variable substitutions would be extremely helpful in this regard as would normalized JSON. I would like to be able to construct a link back to the detection in dashboard, link to the document which triggered the alert, etc. But currently the alerts body text is too bare bones. We've worked around this by querying the indices directly for detections and create our own external integrations. Not ideal but necessary. I appreciate all the work being done in this module and look forward to seeing improvements in this area.

@agoerl
Copy link

agoerl commented Oct 26, 2023

+1

1 similar comment
@sacha-athias-wmx
Copy link

+1

riysaxen-amzn pushed a commit to riysaxen-amzn/security-analytics that referenced this issue Feb 20, 2024
… types (opensearch-project#625)

* Custom rules multiply on the Create Detector page after switching Log types opensearch-project#624

Signed-off-by: Jovan Cvetkovic <[email protected]>

* Custom rules multiply on the Create Detector page after switching Log types opensearch-project#624

Signed-off-by: Jovan Cvetkovic <[email protected]>

---------

Signed-off-by: Jovan Cvetkovic <[email protected]>
@praveensameneni
Copy link
Member

praveensameneni commented Mar 26, 2024

We are working on updating the ctx variable to be able to pull the relevant information - rule/alert/query.
opensearch-project/alerting#1450
Since Security Analytics is primarily based on Doc level monitors, can use the same concept to get the rule information. H

@engechas
Copy link
Collaborator

engechas commented Apr 9, 2024

Closing this as completed by #1450. Please reopen if there are additional context gaps that you would like to see covered that were not addressed by the enhancements in #1450.

@engechas engechas closed this as completed Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants