Skip to content

Commit

Permalink
switching link domain age to count instead of bool
Browse files Browse the repository at this point in the history
  • Loading branch information
bfilar committed Sep 27, 2023
1 parent 43fae38 commit 19dc0d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion signals/links/link_new_domain_L14D.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Link: Domain registered less than 14 days ago"
type: "query"
source: |
any(body.links, beta.whois(.href_url.domain).days_old < 14)
length(filter(body.links, beta.whois(.href_url.domain).days_old < 14))
2 changes: 1 addition & 1 deletion signals/links/link_new_domain_L3D.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Link: Domain registered less than 3 days ago"
type: "query"
source: |
any(body.links, beta.whois(.href_url.domain).days_old < 3)
length(filter(body.links, beta.whois(.href_url.domain).days_old < 3))

0 comments on commit 19dc0d8

Please sign in to comment.