A full-featured library for accessing the Dradis REST API from Go programs.
$ go get github.com/njfox/godradis
Then import the library for use in other Go projects. E.g.:
gd := godradis.Godradis{}
gd.Configure("https://example.com", "abcdefghijkl", false)
project, _ := gd.GetProjectByName("Example Network Penetration Test")
node, _ := gd.GetNodeByLabel(&project, "127.0.0.1")
for _, evidence := range node.Evidence {
fmt.Printf("%v", evidence.GetField(Port))
}
The following API endpoints have not been implemented yet:
- Document Properties
- Content Blocks
Additionally, the Attachments endpoint has not been thoroughly tested.