elastic / integrations

Elastic Integrations
https://www.elastic.co/integrations
Other
186 stars 387 forks source link

crowdstrike: Modify threat.framework based on prefix and custom tactic names #10256

Open kcreddy opened 3 days ago

kcreddy commented 3 days ago

Proposed commit message

Derive threat.framework from prefix and custom tactics.

Crowdstrike adds custom tactics based on Falcon Detection framework.
The ID of tactics starts with prefix `CS`. In cases where this is 
missing, all the custom Crowdstrike tactics names are used to set 
`threat.framework` as `CrowdStrike Falcon Detections Framework`.

Checklist

How to test this PR locally

elastic-package test pipeline --generate -v --data-streams=alert

--- Test results for package: crowdstrike - START ---
╭─────────────┬─────────────┬───────────┬────────────────┬────────┬──────────────╮
│ PACKAGE     │ DATA STREAM │ TEST TYPE │ TEST NAME      │ RESULT │ TIME ELAPSED │
├─────────────┼─────────────┼───────────┼────────────────┼────────┼──────────────┤
│ crowdstrike │ alert       │ pipeline  │ test-alert.log │ PASS   │   3.428458ms │
╰─────────────┴─────────────┴───────────┴────────────────┴────────┴──────────────╯
--- Test results for package: crowdstrike - END   ---
Done

Related issues

elasticmachine commented 3 days ago

:rocket: Benchmarks report

To see the full report comment with /test benchmark fullreport

elasticmachine commented 1 day ago

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

elasticmachine commented 1 day ago

:green_heart: Build Succeeded

History

cc @kcreddy

elastic-sonarqube[bot] commented 1 day ago

Quality Gate failed Quality Gate failed

Failed conditions
59.6% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube