Skip to content

Commit

Permalink
Fix Snyk yaml load error (#1224)
Browse files Browse the repository at this point in the history
  • Loading branch information
melenevskyi authored and egibs committed Apr 30, 2024
1 parent 37337bf commit e52491f
Showing 1 changed file with 1 addition and 1 deletion.
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 e52491f

Please sign in to comment.