howler-sentinel-plugin 0.2.0.dev104__tar.gz → 0.2.0.dev105__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/PKG-INFO +1 -1
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/pyproject.toml +1 -1
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/sentinel/actions/azure_emit_hash.py +9 -0
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/LICENSE +0 -0
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/README.md +0 -0
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/sentinel/__init__.py +0 -0
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/sentinel/actions/send_to_sentinel.py +0 -0
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/sentinel/actions/update_defender_xdr_alert.py +0 -0
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/sentinel/mapping/sentinel_incident.py +0 -0
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/sentinel/mapping/xdr_alert.py +0 -0
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/sentinel/mapping/xdr_alert_evidence.py +0 -0
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/sentinel/odm/hit.py +0 -0
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/sentinel/odm/models/sentinel.py +0 -0
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/sentinel/routes/__init__.py +0 -0
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/sentinel/routes/ingest.py +0 -0
- {howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/sentinel/utils/tenant_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "howler-sentinel-plugin"
|
|
3
|
-
version = "0.2.0.
|
|
3
|
+
version = "0.2.0.dev105"
|
|
4
4
|
description = "A howler plugin for integration with Microsoft's Sentinel API"
|
|
5
5
|
authors = [{ name = "CCCS", email = "analysis-development@cyber.gc.ca" }]
|
|
6
6
|
license = { text = "MIT" }
|
|
@@ -71,6 +71,14 @@ def execute(
|
|
|
71
71
|
},
|
|
72
72
|
timeout=5.0,
|
|
73
73
|
)
|
|
74
|
+
report.append(
|
|
75
|
+
{
|
|
76
|
+
"query": f"howler.id:{hit.howler.id}",
|
|
77
|
+
"outcome": "success",
|
|
78
|
+
"title": "Webhook Triggered",
|
|
79
|
+
"message": f"Field {field} from alert {hit.howler.id} was successfully sent to url {url}.",
|
|
80
|
+
}
|
|
81
|
+
)
|
|
74
82
|
except Exception:
|
|
75
83
|
logger.exception("Exception on network call for alert %s", hit.howler.id)
|
|
76
84
|
report.append(
|
|
@@ -109,6 +117,7 @@ def specification():
|
|
|
109
117
|
{
|
|
110
118
|
"args": {"url": [], "field": []},
|
|
111
119
|
"options": {"field": [field for field in Hit.flat_fields().keys() if field.endswith("sha256")]},
|
|
120
|
+
"validation": {"warn": {"query": "-_exists_:$field"}},
|
|
112
121
|
}
|
|
113
122
|
],
|
|
114
123
|
"triggers": VALID_TRIGGERS,
|
|
File without changes
|
|
File without changes
|
{howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/sentinel/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{howler_sentinel_plugin-0.2.0.dev104 → howler_sentinel_plugin-0.2.0.dev105}/sentinel/odm/hit.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|