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

ti_misp: retain email subjects in misp.attribute #6794

Merged
merged 1 commit into from Jul 11, 2023

Conversation

efd6
Copy link
Contributor

@efd6 efd6 commented Jul 3, 2023

What does this PR do?

Retains the misp.attribute.value when the misp.attribute.type is "email-subject".

This cannot be tested because the current pipeline sets threat.indicator.type to "email-message" for emails and this is not a valid value for this field according to the ECS definition.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

Author's Checklist

  • IMO I think a better solution to this issue would be to remove the remove processor that this PR changes.

How to test this PR locally

Related issues

Screenshots

@elasticmachine
Copy link

elasticmachine commented Jul 3, 2023

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-07-11T05:22:33.033+0000

  • Duration: 16 min 41 sec

Test stats 🧪

Test Results
Failed 0
Passed 15
Skipped 0
Total 15

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine
Copy link

elasticmachine commented Jul 3, 2023

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (2/2) 💚
Files 100.0% (2/2) 💚 2.861
Classes 100.0% (2/2) 💚 2.861
Methods 100.0% (30/30) 💚 7.719
Lines 86.573% (619/715) 👎 -4.567
Conditionals 100.0% (0/0) 💚

@efd6 efd6 marked this pull request as ready for review July 3, 2023 23:06
@efd6 efd6 requested a review from a team as a code owner July 3, 2023 23:06
@elasticmachine
Copy link

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

This cannot be tested because the current pipeline sets
threat.indicator.type to email-message for emails and this is not a
valid value for this field according to the ECS definition.
@efd6 efd6 merged commit 7cf6477 into elastic:main Jul 11, 2023
4 checks passed
@elasticmachine
Copy link

Package ti_misp - 1.18.0 containing this change is available at https://epr.elastic.co/search?package=ti_misp

@elasticmachine
Copy link

Package ti_misp - 1.18.1 containing this change is available at https://epr.elastic.co/search?package=ti_misp

gizas pushed a commit that referenced this pull request Sep 5, 2023
This cannot be tested because the current pipeline sets
threat.indicator.type to email-message for emails and this is not a
valid value for this field according to the ECS definition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Integration:MISP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MISP] Attributes "email-subject", "windows-scheduled-task", "regkey" don't pulled
3 participants