Skip to content

Commit

Permalink
Ci fix (#5)
Browse files Browse the repository at this point in the history
* Fix post commit validation issues

* Fix tests coverage
  • Loading branch information
liormgem authored Mar 20, 2024
1 parent 80080ee commit bf30b8a
Show file tree
Hide file tree
Showing 30 changed files with 160 additions and 61 deletions.
47 changes: 47 additions & 0 deletions Packs/Gem/.pack-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
[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

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

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

[file:incidentfield-Gem_Main_Entity_Region.json]
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
2 changes: 1 addition & 1 deletion Packs/Gem/Classifiers/classifier-GemAlert.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "classification",
"defaultIncidentType": "Gem Alert",
"description": "Classifies Gem Alerts.",
"fromVersion": "6.10.0",
"fromVersion": "6.12.0",
"keyTypeMap": {},
"transformer": {
"complex": null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"feed": false,
"fromVersion": "6.10.0",
"fromVersion": "6.12.0",
"mapping": {
"Gem Alert": {
"dontMapEventToLabels": false,
Expand Down
2 changes: 1 addition & 1 deletion Packs/Gem/Classifiers/classifier-mapper-incoming-Gem.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Gem Mapper",
"type": "mapping-incoming",
"description": "Maps incoming Gem Alert fields.",
"fromVersion": "6.10.0",
"fromVersion": "6.12.0",
"defaultIncidentType": "Gem Alert",
"mapping": {
"Gem Alert": {
Expand Down
2 changes: 1 addition & 1 deletion Packs/Gem/IncidentFields/incidentfield-Gem_Account_ID.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
2 changes: 1 addition & 1 deletion Packs/Gem/IncidentFields/incidentfield-Gem_Alert_ID.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
2 changes: 1 addition & 1 deletion Packs/Gem/IncidentFields/incidentfield-Gem_Severity.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
2 changes: 1 addition & 1 deletion Packs/Gem/IncidentFields/incidentfield-Gem_TTP_ID.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
2 changes: 1 addition & 1 deletion Packs/Gem/IncidentFields/incidentfield-Gem_Threat_ID.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
2 changes: 1 addition & 1 deletion Packs/Gem/IncidentFields/incidentfield-Gem_Title.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
4 changes: 2 additions & 2 deletions Packs/Gem/IncidentFields/incidentfield-Gem_Url.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"id": "incident_gemurl",
"isReadOnly": true,
"locked": false,
"name": "Gem URL",
"name": "Gem Url",
"neverSetAsRequired": false,
"openEnded": false,
"ownerOnly": false,
Expand All @@ -26,5 +26,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
2 changes: 1 addition & 1 deletion Packs/Gem/IncidentFields/incidentfield-Gem_Verdict.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
"unsearchable": false,
"useAsKpi": false,
"version": -1,
"fromVersion": "6.10.0"
"fromVersion": "6.12.0"
}
2 changes: 1 addition & 1 deletion Packs/Gem/IncidentTypes/incidenttype-GemAlert.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"fromVersion": "6.10.0",
"fromVersion": "6.12.0",
"autorun": true,
"closureScript": "ResolveGemAlert",
"color": "#32EAC2",
Expand Down
Loading

0 comments on commit bf30b8a

Please sign in to comment.