Open cpascale43 opened 3 months ago
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)
The events that are provided in the issue are ES documents rather than the original data from ThreatQuotient. The documents do not have event.original
and some contain an error.message
making them an unreliable source for testing. Can we get some documents that are as provided by the endpoint or at the very least which contain an event.original
to reconstruct the original document from?
ThreatQuotient has surfaced a few issues with our integration. This may be turned into a meta issue, but the main areas of concern are:
Sample logs are available here.
Update confidence scoring logic
The currently implementation doesn't match ThreatQ's 0-10 scale. Attempts to modify
pipeline.yml
haven't resolved the issue.https://github.com/elastic/integrations/blob/0c7c64ebaf9c7985aa7acde83b1b20433a2813e6/packages/ti_threatq/data_stream/threat/elasticsearch/ingest_pipeline/default.yml#L92-L114
ThreatQuotient's scoring system is based on a 0-10 scale with no decimal points. All IOCs have a score, so this should look close to the script below.
Increase IOC ingestion batch size
The current ingest limit is 100 IOCs at a time, which causes slow ingestion of large numbers of IOCs. For example, if a customer wants to transfer 130,000+ IOCs, this would take about 21 hours. https://github.com/elastic/integrations/blob/e6362aa697abb3c2b2ff0f6e200a4b7bb5fcb638/packages/ti_threatq/data_stream/threat/agent/stream/httpjson.yml.hbs#L26-L36
Update ECS field mappings
See
helpers_js.json
. Several fields need to be remapped to align with ECS. Specifically, file type, URL attributes and domain fields need to be corrected:Dashboard data source issues
The Total Indicators per Provider visualization in the ThreatQ Overview Dashboard doesn't seem to be displaying any data:
See
phishtank_source.json
. Missing TLP markings on some indicators might be causing source attribution problems. Some IOCs have parsing errors, but still show up asthreatq.indicator_value
.