Skip to content

Commit

Permalink
fix: Revert "bug: GreyNoise last_seen attribute had been referenced b…
Browse files Browse the repository at this point in the history
…y a non-extant field name. update to an extant field (#486)" (#496)

This reverts commit f86b06b.
  • Loading branch information
Ed⁦ authored Sep 15, 2022
1 parent 5af19ca commit 54517b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion global_helpers/panther_greynoise_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def first_seen(self, match_field) -> datetime.date:
return parser.parse(deep_get(self.noise, match_field, "first_seen"))

def last_seen(self, match_field) -> datetime.date:
return parser.parse(deep_get(self.noise, match_field, "last_seen"))
return parser.parse(deep_get(self.noise, match_field, "last_seen_timestamp"))

def asn(self, match_field) -> str:
return deep_get(self.noise, match_field, "metadata", "asn")
Expand Down

0 comments on commit 54517b8

Please sign in to comment.