Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cr fix #7

Merged
merged 6 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions Packs/Gem/.pack-ignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
[file:incidentfield-Gem_Account_ID.json]
ignore=IF115

[file:incidentfield-Gem_Account_Name.json]
ignore=IF115

[file:incidentfield-Gem_Account_Provider.json]
ignore=IF115

[file:incidentfield-Gem_Alert_ID.json]
ignore=IF115

[file:incidentfield-Gem_Alert_Source.json]
ignore=IF115

[file:incidentfield-Gem_Events_Count.json]
ignore=IF115

Expand All @@ -28,20 +16,11 @@ ignore=IF115
[file:incidentfield-Gem_Main_Entity_Type.json]
ignore=IF115

[file:incidentfield-Gem_Severity.json]
ignore=IF115

[file:incidentfield-Gem_TTP_ID.json]
ignore=IF115

[file:incidentfield-Gem_Threat_ID.json]
ignore=IF115

[file:incidentfield-Gem_Title.json]
ignore=IF115

[file:incidentfield-Gem_Url.json]
ignore=IF115

[file:incidentfield-Gem_Verdict.json]
ignore=IF115
40 changes: 31 additions & 9 deletions Packs/Gem/Classifiers/classifier-GemAlert.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,40 @@
{
"description": "Classifies Gem Alerts.",
"feed": false,
"id": "Gem Classifier",
"keyTypeMap": {
"app.gem.security": "Gem Alert"
},
"name": "Gem Classifier",
"type": "classification",
"defaultIncidentType": "Gem Alert",
"description": "Classifies Gem Alerts.",
"fromVersion": "6.12.0",
"keyTypeMap": {},
"transformer": {
"complex": null,
"simple": ""
"complex": {
"filters": [],
"root": "link",
"transformers": [
{
"args": {
"from": {
"isContext": false,
"value": {
"simple": "8"
}
},
"to": {
"isContext": false,
"value": {
"simple": "24"
}
}
},
"operator": "substring"
}
]
}
},
"type": "classification",
"version": -1,
"feed": false,
"propagationLabels": [
"all"
]
],
"fromVersion": "6.12.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
"Gem Alert": {
"dontMapEventToLabels": false,
"internalMapping": {
"Gem Account ID": {
"Account ID": {
"simple": "account.name"
},
"Gem Account Name": {
"Account Name": {
"simple": "account.display_name"
},
"Gem Account Provider": {
"simple": "account.cloud_provider"
},
"Gem Alert ID": {
"Alert ID": {
"simple": "event.alert_id"
},
"Gem Alert Source": {
"Alert Source": {
"simple": "event.alert_source"
},
"occurred": {
Expand All @@ -29,7 +29,7 @@
"Gem Events Count": {
"simple": "event.events_total_count"
},
"Gem Url": {
"External Link": {
"complex": {
"accessor": "threat_id",
"filters": [],
Expand Down Expand Up @@ -67,7 +67,7 @@
"Gem Threat ID": {
"simple": "event.threat_id"
},
"Gem Title": {
"Title": {
"simple": "title"
},
"Gem TTP ID": {
Expand Down Expand Up @@ -100,9 +100,6 @@
}
]
}
},
"Gem Severity": {
"simple": "severity"
}
}
},
Expand Down
15 changes: 6 additions & 9 deletions Packs/Gem/Classifiers/classifier-mapper-incoming-Gem.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
"Description": {
"simple": "description"
},
"Gem Account ID": {
"Account ID": {
"simple": "account.name"
},
"Gem Account Name": {
"Account Name": {
"simple": "account.display_name"
},
"Gem Account Provider": {
"simple": "account.cloud_provider"
},
"Gem Alert ID": {
"Alert ID": {
"simple": "metadata.alert_id"
},
"Gem Alert Source": {
"Alert Source": {
"simple": "metadata.alert_source"
},
"Gem Events Count": {
Expand All @@ -42,19 +42,16 @@
"Gem Main Entity Type": {
"simple": "metadata.main_entity.type"
},
"Gem Severity": {
"simple": "severity"
},
"Gem TTP ID": {
"simple": "metadata.ttp_id"
},
"Gem Threat ID": {
"simple": "metadata.threat_id"
},
"Gem Title": {
"Title": {
"simple": "title"
},
"Gem Url": {
"External Link": {
"complex": {
"accessor": "threat_id",
"filters": [],
Expand Down
30 changes: 0 additions & 30 deletions Packs/Gem/IncidentFields/incidentfield-Gem_Account_ID.json

This file was deleted.

30 changes: 0 additions & 30 deletions Packs/Gem/IncidentFields/incidentfield-Gem_Account_Name.json

This file was deleted.

30 changes: 0 additions & 30 deletions Packs/Gem/IncidentFields/incidentfield-Gem_Alert_ID.json

This file was deleted.

30 changes: 0 additions & 30 deletions Packs/Gem/IncidentFields/incidentfield-Gem_Alert_Source.json

This file was deleted.

30 changes: 0 additions & 30 deletions Packs/Gem/IncidentFields/incidentfield-Gem_Severity.json

This file was deleted.

30 changes: 0 additions & 30 deletions Packs/Gem/IncidentFields/incidentfield-Gem_Title.json

This file was deleted.

Loading
Loading