-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Latest Transform - Wiz Vulnerabilities
- Loading branch information
Showing
10 changed files
with
292 additions
and
15 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
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
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
20 changes: 20 additions & 0 deletions
20
packages/wiz/elasticsearch/transform/latest_cdr_vulnerabilities/fields/base-fields.yml
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,20 @@ | ||
- name: data_stream.type | ||
type: constant_keyword | ||
description: Data stream type. | ||
- name: data_stream.dataset | ||
type: constant_keyword | ||
description: Data stream dataset. | ||
- name: data_stream.namespace | ||
type: keyword | ||
description: Data stream namespace. | ||
- name: event.module | ||
type: constant_keyword | ||
description: Event module. | ||
value: wiz | ||
- name: event.dataset | ||
type: constant_keyword | ||
description: Event dataset. | ||
value: wiz.vulnerability | ||
- name: '@timestamp' | ||
type: date | ||
description: Event timestamp. |
6 changes: 6 additions & 0 deletions
6
packages/wiz/elasticsearch/transform/latest_cdr_vulnerabilities/fields/beats.yml
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,6 @@ | ||
- name: input.type | ||
type: keyword | ||
description: Type of filebeat input. | ||
- name: log.offset | ||
type: long | ||
description: Log offset. |
200 changes: 200 additions & 0 deletions
200
packages/wiz/elasticsearch/transform/latest_cdr_vulnerabilities/fields/fields.yml
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,200 @@ | ||
- name: cloud.account.id | ||
external: ecs | ||
- name: cloud.region | ||
external: ecs | ||
- name: package.name | ||
external: ecs | ||
- name: package.version | ||
external: ecs | ||
- name: vulnerability.description | ||
external: ecs | ||
- name: vulnerability.id | ||
external: ecs | ||
- name: vulnerability.score.base | ||
external: ecs | ||
- name: vulnerability.score.version | ||
external: ecs | ||
- name: vulnerability.severity | ||
external: ecs | ||
- name: wiz | ||
type: group | ||
fields: | ||
- name: vulnerability | ||
type: group | ||
fields: | ||
- name: cve_description | ||
type: keyword | ||
- name: cvss_severity | ||
type: keyword | ||
- name: data_source_name | ||
type: keyword | ||
- name: description | ||
type: keyword | ||
- name: detailed_name | ||
type: keyword | ||
- name: detection_method | ||
type: keyword | ||
- name: epss | ||
type: group | ||
fields: | ||
- name: percentile | ||
type: double | ||
- name: probability | ||
type: double | ||
- name: severity | ||
type: keyword | ||
- name: exploitability_score | ||
type: double | ||
- name: first_detected_at | ||
type: date | ||
- name: fixed_version | ||
type: keyword | ||
- name: has_cisa_kev_exploit | ||
type: boolean | ||
- name: has_exploit | ||
type: boolean | ||
- name: id | ||
type: keyword | ||
- name: ignore_rules | ||
type: group | ||
fields: | ||
- name: enabled | ||
type: boolean | ||
- name: expired_at | ||
type: date | ||
- name: id | ||
type: keyword | ||
- name: name | ||
type: keyword | ||
- name: impact_score | ||
type: double | ||
- name: last_detected_at | ||
type: date | ||
- name: layer_metadata | ||
type: group | ||
fields: | ||
- name: details | ||
type: keyword | ||
- name: id | ||
type: keyword | ||
- name: is_base_layer | ||
type: boolean | ||
- name: link | ||
type: keyword | ||
- name: location_path | ||
type: keyword | ||
- name: name | ||
type: keyword | ||
- name: portal_url | ||
type: keyword | ||
- name: projects | ||
type: group | ||
fields: | ||
- name: business_unit | ||
type: keyword | ||
- name: id | ||
type: keyword | ||
- name: name | ||
type: keyword | ||
- name: risk_profile | ||
type: group | ||
fields: | ||
- name: business_impact | ||
type: keyword | ||
- name: slug | ||
type: keyword | ||
- name: remedation | ||
type: keyword | ||
- name: resolution_reason | ||
type: keyword | ||
- name: resolved_at | ||
type: date | ||
- name: score | ||
type: double | ||
- name: status | ||
type: keyword | ||
- name: validated_in_runtime | ||
type: boolean | ||
- name: vendor_severity | ||
type: keyword | ||
- name: version | ||
type: keyword | ||
- name: vulnerable_asset | ||
type: group | ||
fields: | ||
- name: cloud | ||
type: group | ||
fields: | ||
- name: platform | ||
type: keyword | ||
- name: provider_url | ||
type: keyword | ||
- name: has_limited_internet_exposure | ||
type: boolean | ||
- name: has_wide_internet_exposure | ||
type: boolean | ||
- name: id | ||
type: keyword | ||
- name: ip_addresses | ||
type: ip | ||
- name: is_accessible_from | ||
type: group | ||
fields: | ||
- name: other_subscriptions | ||
type: boolean | ||
- name: other_vnets | ||
type: boolean | ||
- name: vpn | ||
type: boolean | ||
- name: name | ||
type: keyword | ||
- name: operating_system | ||
type: keyword | ||
- name: provider_unique_id | ||
type: keyword | ||
- name: region | ||
type: keyword | ||
- name: status | ||
type: keyword | ||
- name: subscription | ||
type: group | ||
fields: | ||
- name: external_id | ||
type: keyword | ||
- name: id | ||
type: keyword | ||
- name: name | ||
type: keyword | ||
- name: tags | ||
type: group | ||
fields: | ||
- name: name | ||
type: keyword | ||
- name: type | ||
type: keyword | ||
- name: vulnerability | ||
type: group | ||
fields: | ||
- name: cwe | ||
type: keyword | ||
- name: package | ||
type: group | ||
fields: | ||
- name: version | ||
type: keyword | ||
- name: fixed_version | ||
type: keyword | ||
- name: name | ||
type: keyword | ||
- name: resource | ||
type: group | ||
fields: | ||
- name: id | ||
type: keyword | ||
- name: name | ||
type: keyword | ||
- name: package | ||
type: group | ||
fields: | ||
- name: fixed_version | ||
type: keyword |
32 changes: 32 additions & 0 deletions
32
packages/wiz/elasticsearch/transform/latest_cdr_vulnerabilities/transform.yml
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,32 @@ | ||
source: | ||
index: | ||
- "logs-wiz.vulnerability-*" | ||
dest: | ||
index: "security_solution-wiz.vulnerability_latest-v1" | ||
aliases: | ||
- alias: "security_solution-wiz.vulnerability_latest" | ||
move_on_creation: true | ||
latest: | ||
unique_key: | ||
- vulnerability.id | ||
- resource.id | ||
- vulnerability.package.name | ||
- vulnerability.package.version | ||
- data_stream.namespace | ||
sort: "@timestamp" | ||
description: Latest Cloud Vulnerabilities Findings from Wiz | ||
settings: | ||
unattended: true | ||
frequency: 5m | ||
sync: | ||
time: | ||
field: event.ingested | ||
retention_policy: | ||
time: | ||
field: "@timestamp" | ||
max_age: 3d | ||
_meta: | ||
managed: true | ||
# Bump this version to delete, reinstall, and restart the transform during package. | ||
# Version bump is needed if there is any code change in transform. | ||
fleet_transform_version: 0.1.0 |
Oops, something went wrong.