njfox / godradis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Godradis

A full-featured library for accessing the Dradis REST API from Go programs.

Documentation

Getting Started

$ 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))
}

Limitations

The following API endpoints have not been implemented yet:

  • Document Properties
  • Content Blocks

Additionally, the Attachments endpoint has not been thoroughly tested.

About

License:MIT License


Languages

Language:Go 100.0%