-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Filebeat] Copy tag names from MISP data into event #21664
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
botelastic
bot
added
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
Oct 7, 2020
💚 CLA has been signed |
Collaborator
botelastic
bot
removed
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
Oct 8, 2020
andrewkroh
requested changes
Oct 8, 2020
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.
Thanks @hungnguyen-elastic
- Please add a JSON event to the test directory that contains this
Tag
field. - Add an entry to the CHANGELOG.next.asciidoc file under the Added/Filebeat section.
- Update the golden test files (
cd x-pack/filebeat; GENERATE=true PYTEST_ADDOPTS="-k misp" mage -v pythonIntegTest
). If you have trouble we can do this step.
andrewkroh
force-pushed
the
adding_tags_conversion
branch
from
October 30, 2020 21:09
a1e5d46
to
a1fdbe2
Compare
For each tag in the MISP data copy the name attribute into the `tags` array.
andrewkroh
force-pushed
the
adding_tags_conversion
branch
from
October 30, 2020 21:18
a1fdbe2
to
3311ec4
Compare
andrewkroh
changed the title
adding setTags function to convert MISP tags to elastic event tags
[Filebeat] Copy tag names from MISP data into event
Oct 30, 2020
andrewkroh
added
the
needs_backport
PR is waiting to be backported to other branches.
label
Oct 30, 2020
💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
andrewkroh
approved these changes
Oct 30, 2020
6 tasks
andrewkroh
removed
the
needs_backport
PR is waiting to be backported to other branches.
label
Oct 30, 2020
andrewkroh
pushed a commit
to andrewkroh/beats
that referenced
this pull request
Oct 30, 2020
For each tag in the MISP data copy the name attribute into the `tags` array. (cherry picked from commit 1933672)
Thanks @andrewkroh |
andrewkroh
added a commit
that referenced
this pull request
Nov 2, 2020
For each tag in the MISP data copy the name attribute into the `tags` array. (cherry picked from commit 1933672) Co-authored-by: hungnguyen-elastic <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR adds the code to convert MISP tags to Elastic event Tags. This will open up automation opportunity in Elastic from MISP.
Why is it important?
This will open up automation opportunity in Elastic from MISP. This also can allow threat content engineers to create threat matching or SIEM signal rules based on the MISP tags that are now added to the Elastic event through the MISP module
Checklist
I have made corresponding changes to the documentationI have made corresponding change to the default configuration filesCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.