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

Ingest specific IOC types into Sentinel #100

Open
Camel0101 opened this issue Jul 16, 2024 · 1 comment
Open

Ingest specific IOC types into Sentinel #100

Camel0101 opened this issue Jul 16, 2024 · 1 comment
Labels
enhancement New feature or request roadmap To implement in a future release

Comments

@Camel0101
Copy link

Camel0101 commented Jul 16, 2024

Hello,

The “type_attribute” parameter in “misp_event_filters” is used to return events that contain one of the filter's types in their attributes, but all the attributes of these filtered events will be sent to Sentinel, even those that don't match the “type_attribute” filter.

Is there a way of filtering attributes so that only those of a certain type are sent?

Thank you !

@cudeso
Copy link
Owner

cudeso commented Jul 17, 2024

Hello,

Indeed, that's mostly due to the fact that the script fetches events (https://github.com/cudeso/misp2sentinel/blob/main/script.py#L89), which elements are then translated to STIX objects. It does not query for individual attributes.
In the current implementation it's not immediately foreseen to filter on attribute types. One approach could be to play with UPLOAD_INDICATOR_MISP_ACCEPTED_TYPES https://github.com/cudeso/misp2sentinel/blob/main/constants.py#L85 but would have to check if this does not break the STIX translation.

@cudeso cudeso added enhancement New feature or request roadmap To implement in a future release labels Jul 17, 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 roadmap To implement in a future release
Projects
None yet
Development

No branches or pull requests

2 participants