-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CTI][RAC] adds indicator match rule (#107977)
- Loading branch information
Showing
10 changed files
with
634 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
154 changes: 154 additions & 0 deletions
154
x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/field_maps/cti.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,154 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
export const ctiFieldMap = { | ||
'threat.indicator': { | ||
type: 'nested', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.as.number': { | ||
type: 'long', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.as.organization.name': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.confidence': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.dataset': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.description': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.domain': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.email.address': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.first_seen': { | ||
type: 'date', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.geo.city_name': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.geo.continent_name': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.geo.country_iso_code': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.geo.country_name': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.geo.location': { | ||
type: 'geo_point', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.geo.name': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.geo.region_iso_code': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.geo.region_name': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.ip': { | ||
type: 'ip', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.last_seen': { | ||
type: 'date', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.marking.tlp': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.matched.atomic': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.matched.field': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.matched.type': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.module': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.port': { | ||
type: 'long', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.provider': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.scanner_stats': { | ||
type: 'long', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.sightings': { | ||
type: 'long', | ||
array: false, | ||
required: false, | ||
}, | ||
'threat.indicator.type': { | ||
type: 'keyword', | ||
array: false, | ||
required: false, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.