Tenable Nessus 6 API client in Go.
Have a look at the client example for how to start a scan, wait until it finishes and exports the results to a CSV file.
Here are the resources accessible via the official API and their current implementation status in this client:
- AgentGroups
- Add agent
- Add agents
- Configure
- Create
- Delete group
- Delete groups
- Delete agent
- Delete agents
- List groups ✓
- Editor
- Details
- Edit
- List policy templates ✓
- List scan templates ✓
- Plugin description
- File
- Upload ✓
- Folders ✓
- Create ✓
- Delete ✓
- Edit ✓
- List ✓
- Groups
- Add user
- Create ✓
- Delete
- Delete user
- Edit
- List ✓
- List users
- Permissions
- Change
- List ✓
- Plugins ✓
- Families ✓
- Family details ✓
- Plugin details ✓
- Plugin rules
- Create
- Delete
- Edit
- List
- Policies
- Configure ✓
- Copy
- Create ✓
- Delete ✓
- Details
- Import
- Export
- List ✓
- Scanners ✓
- List ✓
- Scans
- Configure ✓
- Create ✓
- Delete ✓
- Delete history
- Details ✓
- Download ✓
- Export ✓
- Export status ✓
- Host details
- Import
- Launch ✓
- List ✓
- Pause ✓
- Plugin output
- Read status
- Resume ✓
- Stop ✓
- Timezones ✓
- Server ✓
- Properties ✓
- Status ✓
- Sessions
- Create ✓
- Destroy ✓
- Edit
- Get ✓
- Password
- Users ✓
- Create ✓
- Delete ✓
- Edit ✓
- List ✓
- Password ✓
Some methods are not part of the API but are implemented by this client to make life easier:
- Get all plugin details