censys_search: Perform queries against Censys data
Description
The search endpoint allows searches against the current Censys data in the
IPv4, Top Million Websites, and Certificates indexes using the same search
syntax as the primary site. The endpoint returns a paginated result set of
hosts (or websites or certificates) that match the search.
The search index to be queried. Must be one of either
ipv4, websites, or certificates.
query
The query to be executed. For example,
80.http.get.headers.server: nginx.
page
The page of the result set to be returned. The number of pages in
the result set is available under metadata in any request. By default,
the API will return the first page of results. "1" indexed.
fields
(optional) character vector of fields you would like returned in
the result set in "dot notation", e.g. location.country_code.
Value
list of information about the endpoint
Details
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.