Skip to content

Commit

Permalink
Prepare for 3.51.0 (#1225)
Browse files Browse the repository at this point in the history
* add file/host state to msft graph alert context (#1220)

* Update PAT to 0.46.1 (#1222)

* pack for traildiscover LUT (#1221)

* Fix Snyk yaml load error (#1224)

---------

Co-authored-by: Ariel Ropek <[email protected]>
Co-authored-by: Oleh Melenevskyi <[email protected]>
  • Loading branch information
3 people authored Apr 30, 2024
1 parent 214feae commit 55c4bac
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 55 deletions.
106 changes: 53 additions & 53 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion global_helpers/panther_base_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,9 @@ def msft_graph_alert_context(event):
return {
"category": event.get("category", ""),
"description": event.get("description", ""),
"userstates": event.get("userstates", []),
"userStates": event.get("userStates", []),
"fileStates": event.get("fileStates", []),
"hostStates": event.get("hostStates", []),
}


Expand Down
7 changes: 7 additions & 0 deletions packs/traildiscover.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
AnalysisType: pack
PackID: TrailDiscoverEnrichment
Description: Panther managed TrailDiscover lookup table
PackDefinition:
IDs:
- TrailDiscover
DisplayName: "TrailDiscover Lookup Tables"
2 changes: 1 addition & 1 deletion test_scenarios/send_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def main(args):
return False

with open(args.file) as file:
data = yaml.load(file, Loader=yaml.FullLoader)
data = yaml.safe_load(file, Loader=yaml.FullLoader)

# ensure UTC
args.panther_compromise_datetime = args.panther_compromise_datetime.replace(tzinfo=timezone.utc)
Expand Down

0 comments on commit 55c4bac

Please sign in to comment.