The build report endpoint lets you run aggregate reports on the breakdown of a field in a result set analogous to the "Build Report" functionality in the front end. For example, if you wanted to determine the breakdown of cipher suites selected by Top Million Websites.
censys_report(index, query, field, buckets = 50)
ipv4
, websites
, or certificates
.80.http.get.headers.server: nginx
.location.country_code
.500
. Default: 50
.list of information about the endpoint
You must have both CENSYS_API_ID
and CENSYS_API_SECRET
present in the
R environment for the functions in this package to work. It is highly suggested that
you place those in ~/.Renviron
at least for interactive work.
Censys search syntax: https://www.censys.io/ipv4/help; API doc: https://www.censys.io/api/v1/docs/report
## Not run: ------------------------------------ # censys_report("ipv4", "80.http.get.headers.server: Apache", # "location.country", 100) ## ---------------------------------------------