[tenable_sc] Add support of new fields to vulnerability data stream - #18274
Conversation
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
Vale Linting ResultsSummary: 1 suggestion found 💡 Suggestions (1)
The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
🚀 Benchmarks reportTo see the full report comment with |
There was a problem hiding this comment.
Can we have test inputs that exercise cvssV4ThreatVector and cvssV4Supplemental, and non-empty cvssV4ThreatScore?
| - set: | ||
| field: vulnerability.score.version | ||
| value: '4.0' | ||
| if: ctx.vulnerability?.score?.base != null |
There was a problem hiding this comment.
This is brittle. I would prefer that the condition be based on the existence of tenable_sc.vulnerability.cvss_v4_base_score. At the moment, this depends on the arrangement of the processors and requires that the reader looks around to see what assigned vulnerability.score.base. Similar below.
| - set: | ||
| field: vulnerability.score.version | ||
| value: '3.0' | ||
| if: ctx.vulnerability?.score?.base != null && ctx.vulnerability?.score?.version == null |
There was a problem hiding this comment.
| if: ctx.vulnerability?.score?.base != null && ctx.vulnerability?.score?.version == null | |
| if: ctx.vulnerability?.score?.base != null && ctx.vulnerability.score.version == null |
but see the comment above.
💚 Build Succeeded
History
|
|
Package tenable_sc - 2.2.0 containing this change is available at https://epr.elastic.co/package/tenable_sc/2.2.0/ |
Proposed commit message
Checklist
changelog.ymlfile.How to test this PR locally