Skip to content

Commit

Permalink
fix(Ubika): extract the attack family
Browse files Browse the repository at this point in the history
  • Loading branch information
squioc committed May 24, 2024
1 parent 13fd879 commit d9775ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Ubika/ubika-cloud-protector-alerts/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ ubika.cloud_protector.application_id:
description: Website server name
name: ubika.cloud_protector.application_id
type: keyword

ubika.cloud_protector.attack_family:
description: The nature of the attack
name: ubika.cloud_protector.attack_family
type: keyword
1 change: 1 addition & 0 deletions Ubika/ubika-cloud-protector-alerts/ingest/parser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ stages:
rule.id: "{{ parsed_event.message.rule_id.strip() }}"

ubika.cloud_protector.application_id: "{{ parsed_event.message.application_id }}"
ubika.cloud_protector.attack_family: "{{ parsed_event.message.attack_family }}"
3 changes: 2 additions & 1 deletion Ubika/ubika-cloud-protector-alerts/tests/test_detection.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
},
"ubika": {
"cloud_protector": {
"application_id": "www.some-app.com"
"application_id": "www.some-app.com",
"attack_family": "Information Disclosure"
}
},
"url": {
Expand Down

0 comments on commit d9775ae

Please sign in to comment.