gsb_asinfo: Retrive AS info from Google SafeBrowsing

Description Usage Arguments Value Note References Examples

Description

Retrive AS info from Google SafeBrowsing

Usage

1
2
3
gsb_asinfo(as_size = c("largest", "all"), time_range = 90,
  type_detected = c("both", "attack", "compromised"), region = "all",
  .progress = FALSE)

Arguments

as_size

return results for all ASNs or just the largest?

time_range

number of days of history for the time series

type_detected

one of both, attack or compromised.

region

ISO2 region code or all

.progress

display a progress bar?

Value

data.frame (tbl_df) with ASN info

Note

Depending on the parameters used (especially time_range), this opereation could take a while. You should probably turn on progress bars for any query > 7 days.

References

See Google's page for more information on how they scan & report ASN info.

Examples

1
2
3
4
## Not run: 
gsb_asinfo("largest", 7)

## End(Not run)

hrbrmstr/safebrowsing documentation built on May 17, 2019, 5:13 p.m.