func NewIBMVulnerabilityAdvisorScanner(credentials credential.Credentials, account string) *ICCRVAScanner {
	return &ICCRVAScanner{
		credentials:   credentials,
		AccountHeader: account,
		client: &http.Client{
			Timeout: time.Second * time.Duration(10),
		},
		authenticatorFactory: authenticatorFactory{},
	}
}
NewIBMVulnerabilityAdvisorScanner returns a new client for IBM's Vulnerability Advisor
package vulnerability
import (
	"encoding/json"
	"errors"
	"fmt"
	"net/http"
	"time"
	"github.com/IBM/portieris/helpers/credential"
	"github.com/IBM/portieris/helpers/image"
	"github.com/golang/glog"
)
const maxRetries = 3
var sleepTime = time.Second
type ICCRVAScanner struct {
	credentials          credential.Credentials
	client               HTTPClient
	Timeout              int64
	AccountHeader        string
	authenticatorFactory authenticatorFactoryInterface
}
type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}
var (
	ErrorUnauthorised = errors.New("unauthorised")
)