-
Notifications
You must be signed in to change notification settings - Fork 444
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 CIF3] Add IOC Expiration #9550
Conversation
🚀 Benchmarks reportTo see the full report comment with |
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
@@ -98,3 +100,10 @@ | |||
name: threat.indicator.geo.region_name | |||
- external: ecs | |||
name: threat.indicator.geo.timezone | |||
# Manually define this as a workaround for failing tests and validation |
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.
What is the test that fails without this?
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.
There was validation check that fails to import this ECS field if defined with external: ecs
. It doesn't seem to be failing now. Looks like it might have been fixed in newer versions of elastic-package
.
Modified to external: ecs
- date: | ||
field: cif3.firsttime | ||
target_field: threat.indicator.first_seen | ||
ignore_missing: true | ||
- rename: | ||
formats: | ||
- "ISO8601" | ||
if: ctx.cif3?.firsttime != null | ||
- date: | ||
field: cif3.lasttime | ||
target_field: threat.indicator.last_seen | ||
ignore_missing: true | ||
formats: | ||
- "ISO8601" | ||
if: ctx.cif3?.lasttime != null | ||
- set: | ||
field: threat.indicator.name | ||
copy_from: cif3.indicator | ||
if: ctx.cif3?.indicator != null |
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.
What happens if these fail? Do we just except that the world has stopped working? (probably reasonable)
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.
Added on_failure clause for date processor with error.message.
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
💚 Build Succeeded
History
cc @kcreddy |
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.
Still LGTM
Package ti_cif3 - 1.12.0 containing this change is available at https://epr.elastic.co/search?package=ti_cif3 |
Proposed commit message
Checklist
changelog.yml
file.How to test this PR locally
elastic-package stack down && elastic-package build && elastic-package stack up -d -v && eval "$(elastic-package stack shellinit)" && elastic-package test system --generate -v
Related issues
Screenshots
Updated with filter
NOT labels.is_ioc_transform_source: true