pageclient

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const BaseURL string = "https://opendata.rapid7.com"

BaseURL is the site root for Rapid7 OpenData

Variables

This section is empty.

Functions

func DownloadServiceData

func DownloadServiceData(studyID string, service sonarservice.SonarService, outputLocation string) error

DownloadServiceData will get the datafile for a given service inside of a Sonar study and write it to disk.

func ListFiles

func ListFiles(studyID string) ([]string, error)

ListFiles returns a list of filenames provide on the sonar data site for a given study id

func ListServices

func ListServices(studyID string) ([]string, error)

ListServices returns the base service name of all service / port combos scanned by the study. This list of names can be used to request the latest version of a study's data without knowing the date scanned.

func ListStudies

func ListStudies() ([]string, error)

ListStudies returns a list of studies currently available from OpenData

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL