Categorygithub.com/IBM/go-tenable
modulepackage
0.0.0-20220824192208-f0c12901ed41
Repository: https://github.com/ibm/go-tenable.git
Documentation: pkg.go.dev

# README

go-tenable

Go client library for Tenable.io.

Features

  • Authentication (API Key)
  • Retrieve Repositories, Analysis.

Requirements

  • Go >= 1.18
  • Tenable ??

Installation

It is go gettable

go get github.com/IBM/go-tenable

Usage:

package main

import (
	tenable "github.com/IBM/go-tenable"
)
...

(optional) to run unit / example tests:

cd $GOPATH/src/github.com/IBM/go-tenable
go test -v ./...

API

Please have a look at the GoDoc documentation for a detailed API description.

The latest Tenable REST API documentation was the base document for this package.

# Packages

No description provided by the author

# Functions

CheckResponse checks the API response for errors, and returns them if present.
NewClient returns a new Tenable API client.
NewTenableError creates a new Tenable Error.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Analysis represents a Tenable user.
No description provided by the author
AnalysisService handles users for the Tenable instance / API.
APIKeyAuthTransport is an http.RoundTripper that authenticates all requests using HTTP APIKey Authentication with the provided username and password.
AuthenticationService handles users for the Tenable instance / API.
A Client manages communication with the Tenable API.
CurrentUserResponse represents a Tenable user response.
CurrentUser represents a Tenable user.
CurrentUserService handles users for the Tenable instance / API.
Error message from Tenable.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Repository represents a Tenable user.
RepositoryService handles users for the Tenable instance / API.
Response represents Tenable API response.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author