vulnerabilityadvisorv3

package
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package vulnerabilityadvisorv3 : Operations and models for the VulnerabilityAdvisorV3 service

Index

Constants

View Source
const DefaultServiceName = "vulnerability_advisor"

DefaultServiceName is the default key used to find external configuration information.

View Source
const DefaultServiceURL = "https://us.icr.io"

DefaultServiceURL is the default URL to make service requests to.

Variables

This section is empty.

Functions

func GetServiceURLForRegion

func GetServiceURLForRegion(region string) (string, error)

GetServiceURLForRegion returns the service URL to be used for the specified region

func UnmarshalExemption

func UnmarshalExemption(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalExemption unmarshals an instance of Exemption from the specified map of raw messages.

func UnmarshalExemptionDeletionInfo

func UnmarshalExemptionDeletionInfo(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalExemptionDeletionInfo unmarshals an instance of ExemptionDeletionInfo from the specified map of raw messages.

func UnmarshalExemptionScope

func UnmarshalExemptionScope(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalExemptionScope unmarshals an instance of ExemptionScope from the specified map of raw messages.

func UnmarshalExemptionTypeInfo

func UnmarshalExemptionTypeInfo(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalExemptionTypeInfo unmarshals an instance of ExemptionTypeInfo from the specified map of raw messages.

func UnmarshalScanReport

func UnmarshalScanReport(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalScanReport unmarshals an instance of ScanReport from the specified map of raw messages.

func UnmarshalScanReportList

func UnmarshalScanReportList(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalScanReportList unmarshals an instance of ScanReportList from the specified map of raw messages.

func UnmarshalScanreportImageSummary

func UnmarshalScanreportImageSummary(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalScanreportImageSummary unmarshals an instance of ScanreportImageSummary from the specified map of raw messages.

func UnmarshalScanreportImageSummaryList

func UnmarshalScanreportImageSummaryList(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalScanreportImageSummaryList unmarshals an instance of ScanreportImageSummaryList from the specified map of raw messages.

func UnmarshalScanreportSummary

func UnmarshalScanreportSummary(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalScanreportSummary unmarshals an instance of ScanreportSummary from the specified map of raw messages.

func UnmarshalScanresultCVE

func UnmarshalScanresultCVE(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalScanresultCVE unmarshals an instance of ScanresultCVE from the specified map of raw messages.

func UnmarshalScanresultConfigurationIssue

func UnmarshalScanresultConfigurationIssue(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalScanresultConfigurationIssue unmarshals an instance of ScanresultConfigurationIssue from the specified map of raw messages.

func UnmarshalScanresultPackageFixes

func UnmarshalScanresultPackageFixes(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalScanresultPackageFixes unmarshals an instance of ScanresultPackageFixes from the specified map of raw messages.

func UnmarshalScanresultSecurityNotice

func UnmarshalScanresultSecurityNotice(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalScanresultSecurityNotice unmarshals an instance of ScanresultSecurityNotice from the specified map of raw messages.

Types

type AccountReportQueryPathOptions

type AccountReportQueryPathOptions struct {
	// The name of the repository that you want to see image vulnerability assessments for. For example,
	// us.icr.io/namespace/image.
	Repository *string `json:"-"`

	// When set to true, the returned list contains IBM public images and the account images. If not set, or set to false,
	// the list contains only the account images.
	IncludeIBM *string `json:"-"`

	// When set to false, the returned list does not contain the private account images. If not set, or set to true, the
	// list contains the private account images.
	IncludePrivate *string `json:"-"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

AccountReportQueryPathOptions : The AccountReportQueryPath options.

func (*AccountReportQueryPathOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*AccountReportQueryPathOptions) SetIncludeIBM

func (_options *AccountReportQueryPathOptions) SetIncludeIBM(includeIBM string) *AccountReportQueryPathOptions

SetIncludeIBM : Allow user to set IncludeIBM

func (*AccountReportQueryPathOptions) SetIncludePrivate

func (_options *AccountReportQueryPathOptions) SetIncludePrivate(includePrivate string) *AccountReportQueryPathOptions

SetIncludePrivate : Allow user to set IncludePrivate

func (*AccountReportQueryPathOptions) SetRepository

func (_options *AccountReportQueryPathOptions) SetRepository(repository string) *AccountReportQueryPathOptions

SetRepository : Allow user to set Repository

type AccountStatusQueryPathOptions

type AccountStatusQueryPathOptions struct {
	// The name of the repository that you want to see image vulnerability assessments for. For example,
	// us.icr.io/namespace/image.
	Repository *string `json:"-"`

	// When set to true, the returned list contains IBM public images and the account images. If not set, or set to false,
	// the list contains only the account images.
	IncludeIBM *string `json:"-"`

	// When set to false, the returned list does not contain the private account images. If not set, or set to true, the
	// list contains the private account images.
	IncludePrivate *string `json:"-"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

AccountStatusQueryPathOptions : The AccountStatusQueryPath options.

func (*AccountStatusQueryPathOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*AccountStatusQueryPathOptions) SetIncludeIBM

func (_options *AccountStatusQueryPathOptions) SetIncludeIBM(includeIBM string) *AccountStatusQueryPathOptions

SetIncludeIBM : Allow user to set IncludeIBM

func (*AccountStatusQueryPathOptions) SetIncludePrivate

func (_options *AccountStatusQueryPathOptions) SetIncludePrivate(includePrivate string) *AccountStatusQueryPathOptions

SetIncludePrivate : Allow user to set IncludePrivate

func (*AccountStatusQueryPathOptions) SetRepository

func (_options *AccountStatusQueryPathOptions) SetRepository(repository string) *AccountStatusQueryPathOptions

SetRepository : Allow user to set Repository

type CreateExemptionAccountOptions

type CreateExemptionAccountOptions struct {
	// Exemption type, e.g. 'cve' or 'sn' or 'configuration'. See /va/api/v3/exempt/types for more details.
	IssueType *string `json:"-" validate:"required,ne="`

	// Exemption ID, e.g. 'CVE-2018-9999'. See /va/api/v3/exempt/types for more details.
	IssueID *string `json:"-" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateExemptionAccountOptions : The CreateExemptionAccount options.

func (*CreateExemptionAccountOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateExemptionAccountOptions) SetIssueID

SetIssueID : Allow user to set IssueID

func (*CreateExemptionAccountOptions) SetIssueType

func (_options *CreateExemptionAccountOptions) SetIssueType(issueType string) *CreateExemptionAccountOptions

SetIssueType : Allow user to set IssueType

type CreateExemptionResourceOptions

type CreateExemptionResourceOptions struct {
	// IBM Cloud Registry resource (namespace, namespace/repository, namespace/repository:tag, or
	// namespace/repository@sha256:hash).
	Resource *string `json:"-" validate:"required,ne="`

	// Exemption type, e.g. 'cve' or 'sn' or 'configuration'. See /va/api/v3/exempt/types for more details.
	IssueType *string `json:"-" validate:"required,ne="`

	// Exemption ID, e.g. 'CVE-2018-9999'. See /va/api/v3/exempt/types for more details.
	IssueID *string `json:"-" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateExemptionResourceOptions : The CreateExemptionResource options.

func (*CreateExemptionResourceOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateExemptionResourceOptions) SetIssueID

SetIssueID : Allow user to set IssueID

func (*CreateExemptionResourceOptions) SetIssueType

func (_options *CreateExemptionResourceOptions) SetIssueType(issueType string) *CreateExemptionResourceOptions

SetIssueType : Allow user to set IssueType

func (*CreateExemptionResourceOptions) SetResource

func (_options *CreateExemptionResourceOptions) SetResource(resource string) *CreateExemptionResourceOptions

SetResource : Allow user to set Resource

type DeleteExemptionAccountOptions

type DeleteExemptionAccountOptions struct {
	// Exemption type, e.g. 'cve' or 'sn' or 'configuration'. See /va/api/v3/exempt/types for more details.
	IssueType *string `json:"-" validate:"required,ne="`

	// Exemption ID, e.g. 'CVE-2018-9999'. See /va/api/v3/exempt/types for more details.
	IssueID *string `json:"-" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteExemptionAccountOptions : The DeleteExemptionAccount options.

func (*DeleteExemptionAccountOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteExemptionAccountOptions) SetIssueID

SetIssueID : Allow user to set IssueID

func (*DeleteExemptionAccountOptions) SetIssueType

func (_options *DeleteExemptionAccountOptions) SetIssueType(issueType string) *DeleteExemptionAccountOptions

SetIssueType : Allow user to set IssueType

type DeleteExemptionResourceOptions

type DeleteExemptionResourceOptions struct {
	// IBM Cloud Registry resource (namespace, namespace/repository, namespace/repository:tag, or
	// namespace/repository@sha256:hash).
	Resource *string `json:"-" validate:"required,ne="`

	// Exemption type, e.g. 'cve' or 'sn' or 'configuration'. See /va/api/v3/exempt/types for more details.
	IssueType *string `json:"-" validate:"required,ne="`

	// Exemption ID, e.g. 'CVE-2018-9999'. See /va/api/v3/exempt/types for more details.
	IssueID *string `json:"-" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteExemptionResourceOptions : The DeleteExemptionResource options.

func (*DeleteExemptionResourceOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteExemptionResourceOptions) SetIssueID

SetIssueID : Allow user to set IssueID

func (*DeleteExemptionResourceOptions) SetIssueType

func (_options *DeleteExemptionResourceOptions) SetIssueType(issueType string) *DeleteExemptionResourceOptions

SetIssueType : Allow user to set IssueType

func (*DeleteExemptionResourceOptions) SetResource

func (_options *DeleteExemptionResourceOptions) SetResource(resource string) *DeleteExemptionResourceOptions

SetResource : Allow user to set Resource

type ExemptHandlerOptions

type ExemptHandlerOptions struct {

	// Allows users to set headers on API requests
	Headers map[string]string
}

ExemptHandlerOptions : The ExemptHandler options.

func (*ExemptHandlerOptions) SetHeaders

func (options *ExemptHandlerOptions) SetHeaders(param map[string]string) *ExemptHandlerOptions

SetHeaders : Allow user to set Headers

type Exemption

type Exemption struct {
	// The unique ID for the IBM Cloud account for this policy.
	AccountID *string `json:"account_id" validate:"required"`

	// ID of issue being exempted.
	IssueID *string `json:"issue_id" validate:"required"`

	// Type of issue being exempted.
	IssueType *string `json:"issue_type" validate:"required"`

	Scope *ExemptionScope `json:"scope,omitempty"`
}

Exemption : Exemption struct

type ExemptionDeletionInfo

type ExemptionDeletionInfo struct {
	NumberOfExemptionsDeleted *int64 `json:"number_of_exemptions_deleted" validate:"required"`
}

ExemptionDeletionInfo : ExemptionDeletionInfo struct

type ExemptionScope

type ExemptionScope struct {
	// The type of scope the exemption applies to: account, namespace, repository, image.
	ScopeType *string `json:"scope_type" validate:"required"`

	// The IBM Cloud Registry namespace included in scope.
	Namespace *string `json:"namespace,omitempty"`

	// The IBM Cloud Registry repository included in scope.
	Repository *string `json:"repository,omitempty"`

	// The IBM Cloud Registry tag included in scope.
	Tag *string `json:"tag,omitempty"`
}

ExemptionScope : ExemptionScope struct

type ExemptionTypeInfo

type ExemptionTypeInfo struct {
	DisplayName *string `json:"display_name" validate:"required"`

	Identifier *string `json:"identifier" validate:"required"`

	TranslationKey *string `json:"translationKey,omitempty"`

	ValidationRegex *string `json:"validation_regex" validate:"required"`
}

ExemptionTypeInfo : ExemptionTypeInfo struct

type ExemptionsAccountDeleteHandlerOptions

type ExemptionsAccountDeleteHandlerOptions struct {

	// Allows users to set headers on API requests
	Headers map[string]string
}

ExemptionsAccountDeleteHandlerOptions : The ExemptionsAccountDeleteHandler options.

func (*ExemptionsAccountDeleteHandlerOptions) SetHeaders

SetHeaders : Allow user to set Headers

type GetExemptionAccountOptions

type GetExemptionAccountOptions struct {
	// Exemption type, e.g. 'cve' or 'sn' or 'configuration'. See /va/api/v3/exempt/types for more details.
	IssueType *string `json:"-" validate:"required,ne="`

	// Exemption ID, e.g. 'CVE-2018-9999'. See /va/api/v3/exempt/types for more details.
	IssueID *string `json:"-" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetExemptionAccountOptions : The GetExemptionAccount options.

func (*GetExemptionAccountOptions) SetHeaders

func (options *GetExemptionAccountOptions) SetHeaders(param map[string]string) *GetExemptionAccountOptions

SetHeaders : Allow user to set Headers

func (*GetExemptionAccountOptions) SetIssueID

func (_options *GetExemptionAccountOptions) SetIssueID(issueID string) *GetExemptionAccountOptions

SetIssueID : Allow user to set IssueID

func (*GetExemptionAccountOptions) SetIssueType

func (_options *GetExemptionAccountOptions) SetIssueType(issueType string) *GetExemptionAccountOptions

SetIssueType : Allow user to set IssueType

type GetExemptionResourceOptions

type GetExemptionResourceOptions struct {
	// IBM Cloud Registry resource (namespace, namespace/repository, namespace/repository:tag, or
	// namespace/repository@sha256:hash).
	Resource *string `json:"-" validate:"required,ne="`

	// Exemption type, e.g. 'cve' or 'sn' or 'configuration'. See /va/api/v3/exempt/types for more details.
	IssueType *string `json:"-" validate:"required,ne="`

	// Exemption ID, e.g. 'CVE-2018-9999'. See /va/api/v3/exempt/types for more details.
	IssueID *string `json:"-" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetExemptionResourceOptions : The GetExemptionResource options.

func (*GetExemptionResourceOptions) SetHeaders

func (options *GetExemptionResourceOptions) SetHeaders(param map[string]string) *GetExemptionResourceOptions

SetHeaders : Allow user to set Headers

func (*GetExemptionResourceOptions) SetIssueID

func (_options *GetExemptionResourceOptions) SetIssueID(issueID string) *GetExemptionResourceOptions

SetIssueID : Allow user to set IssueID

func (*GetExemptionResourceOptions) SetIssueType

func (_options *GetExemptionResourceOptions) SetIssueType(issueType string) *GetExemptionResourceOptions

SetIssueType : Allow user to set IssueType

func (*GetExemptionResourceOptions) SetResource

func (_options *GetExemptionResourceOptions) SetResource(resource string) *GetExemptionResourceOptions

SetResource : Allow user to set Resource

type ImageReportQueryPathOptions

type ImageReportQueryPathOptions struct {
	// The name of the image. For example, us.icr.io/namespace/repository:tag.
	Name *string `json:"-" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ImageReportQueryPathOptions : The ImageReportQueryPath options.

func (*ImageReportQueryPathOptions) SetHeaders

func (options *ImageReportQueryPathOptions) SetHeaders(param map[string]string) *ImageReportQueryPathOptions

SetHeaders : Allow user to set Headers

func (*ImageReportQueryPathOptions) SetName

SetName : Allow user to set Name

type ImageStatusQueryPathOptions

type ImageStatusQueryPathOptions struct {
	// The name of the image. For example, us.icr.io/namespace/repository:tag.
	Name *string `json:"-" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ImageStatusQueryPathOptions : The ImageStatusQueryPath options.

func (*ImageStatusQueryPathOptions) SetHeaders

func (options *ImageStatusQueryPathOptions) SetHeaders(param map[string]string) *ImageStatusQueryPathOptions

SetHeaders : Allow user to set Headers

func (*ImageStatusQueryPathOptions) SetName

SetName : Allow user to set Name

type ListAccountExemptionsOptions

type ListAccountExemptionsOptions struct {

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListAccountExemptionsOptions : The ListAccountExemptions options.

func (*ListAccountExemptionsOptions) SetHeaders

SetHeaders : Allow user to set Headers

type ListBulkImageExemptionsOptions

type ListBulkImageExemptionsOptions struct {
	// List of images.
	Body []string `json:"body" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListBulkImageExemptionsOptions : The ListBulkImageExemptions options.

func (*ListBulkImageExemptionsOptions) SetBody

SetBody : Allow user to set Body

func (*ListBulkImageExemptionsOptions) SetHeaders

SetHeaders : Allow user to set Headers

type ListExemptionAccountOptions

type ListExemptionAccountOptions struct {

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListExemptionAccountOptions : The ListExemptionAccount options.

func (*ListExemptionAccountOptions) SetHeaders

func (options *ListExemptionAccountOptions) SetHeaders(param map[string]string) *ListExemptionAccountOptions

SetHeaders : Allow user to set Headers

type ListExemptionResourceOptions

type ListExemptionResourceOptions struct {
	// IBM Cloud Registry resource (namespace, namespace/repository, namespace/repository:tag, or
	// namespace/repository@sha256:hash).
	Resource *string `json:"-" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListExemptionResourceOptions : The ListExemptionResource options.

func (*ListExemptionResourceOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListExemptionResourceOptions) SetResource

func (_options *ListExemptionResourceOptions) SetResource(resource string) *ListExemptionResourceOptions

SetResource : Allow user to set Resource

type ListImageExemptionsOptions

type ListImageExemptionsOptions struct {
	// IBM Cloud Registry resource (namespace, namespace/repository, namespace/repository:tag, or
	// namespace/repository@sha256:hash).
	Resource *string `json:"-" validate:"required,ne="`

	// Include scope on returned exemptions.
	IncludeScope *bool `json:"-"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListImageExemptionsOptions : The ListImageExemptions options.

func (*ListImageExemptionsOptions) SetHeaders

func (options *ListImageExemptionsOptions) SetHeaders(param map[string]string) *ListImageExemptionsOptions

SetHeaders : Allow user to set Headers

func (*ListImageExemptionsOptions) SetIncludeScope

func (_options *ListImageExemptionsOptions) SetIncludeScope(includeScope bool) *ListImageExemptionsOptions

SetIncludeScope : Allow user to set IncludeScope

func (*ListImageExemptionsOptions) SetResource

func (_options *ListImageExemptionsOptions) SetResource(resource string) *ListImageExemptionsOptions

SetResource : Allow user to set Resource

type ScanReport

type ScanReport struct {
	// Possible configuration issues found in the docker object.
	ConfigurationIssues []ScanresultConfigurationIssue `json:"configuration_issues" validate:"required"`

	// The unique ID of the report.
	ID *string `json:"id" validate:"required"`

	// The scan time of the report as a UNIX timestamp.
	ScanTime *int64 `json:"scan_time" validate:"required"`

	// Overall vulnerability assessment status: OK, WARN, FAIL, UNSUPPORTED, INCOMPLETE, UNSCANNED. For more information
	// about these status codes, see
	// https://{DomainName}/apidocs/container-registry/va#getting-started-vulnerability-report-status-codes.
	Status *string `json:"status" validate:"required"`

	// Vulnerabilities found in the docker object at the scan time.
	Vulnerabilities []ScanresultCVE `json:"vulnerabilities" validate:"required"`
}

ScanReport : ScanReport struct

type ScanReportList

type ScanReportList struct {
	// A dictionary of image names as key and report.Report object as value.
	Assessments map[string]ScanReport `json:"assessments" validate:"required"`
}

ScanReportList : ScanReportList struct

type ScanreportImageSummary

type ScanreportImageSummary struct {
	// The number of configuration issues found.
	ConfigurationIssueCount *int64 `json:"configuration_issue_count" validate:"required"`

	// The image creation time as a UNIX timestamp.
	CreatedTime *int64 `json:"created_time" validate:"required"`

	// The number of exempt configuration issues found.
	ExemptConfigurationIssueCount *int64 `json:"exempt_configuration_issue_count" validate:"required"`

	// The number of exempt issues found.
	ExemptIssueCount *int64 `json:"exempt_issue_count" validate:"required"`

	// The number of exempt vulnerability issues found.
	ExemptVulnerabilityCount *int64 `json:"exempt_vulnerability_count" validate:"required"`

	// The number of issues found.
	IssueCount *int64 `json:"issue_count" validate:"required"`

	// Full docker image name including tag e.g. us.icr.io/namespace/repository:tag.
	Name *string `json:"name" validate:"required"`

	// The scan time of the report as a UNIX timestamp.
	ScanTime *int64 `json:"scan_time" validate:"required"`

	// Overall vulnerability assessment status: OK, WARN, FAIL, UNSUPPORTED, INCOMPLETE, UNSCANNED. For more information
	// about these status codes, see
	// https://{DomainName}/apidocs/container-registry/va#getting-started-vulnerability-report-status-codes.
	Status *string `json:"status" validate:"required"`

	// The number of vulnerability issues found.
	VulnerabilityCount *int64 `json:"vulnerability_count" validate:"required"`
}

ScanreportImageSummary : ScanreportImageSummary struct

type ScanreportImageSummaryList

type ScanreportImageSummaryList struct {
	// List of image summaries.
	Images []ScanreportImageSummary `json:"images" validate:"required"`
}

ScanreportImageSummaryList : ScanreportImageSummaryList struct

type ScanreportSummary

type ScanreportSummary struct {
	// The number of configuration issues found.
	ConfigurationIssueCount *int64 `json:"configuration_issue_count" validate:"required"`

	// The number of exempt configuration issues found.
	ExemptConfigurationIssueCount *int64 `json:"exempt_configuration_issue_count" validate:"required"`

	// The number of exempt issues found.
	ExemptIssueCount *int64 `json:"exempt_issue_count" validate:"required"`

	// The number of exempt vulnerability issues found.
	ExemptVulnerabilityCount *int64 `json:"exempt_vulnerability_count" validate:"required"`

	// The number of issues found.
	IssueCount *int64 `json:"issue_count" validate:"required"`

	// The scan time of the report as a UNIX timestamp.
	ScanTime *int64 `json:"scan_time" validate:"required"`

	// Overall vulnerability assessment status: OK, WARN, FAIL, UNSUPPORTED, INCOMPLETE, UNSCANNED. For more information
	// about these status codes, see
	// https://{DomainName}/apidocs/container-registry/va#getting-started-vulnerability-report-status-codes.
	Status *string `json:"status" validate:"required"`

	// The number of vulnerability issues found.
	VulnerabilityCount *int64 `json:"vulnerability_count" validate:"required"`
}

ScanreportSummary : ScanreportSummary struct

type ScanresultCVE

type ScanresultCVE struct {
	// True if this CVE has been exempted by user policy, and false otherwise.
	CveExempt *bool `json:"cve_exempt" validate:"required"`

	// The ID for this CVE.
	CveID *string `json:"cve_id" validate:"required"`

	// Number of security notices that contain fixes for this CVE and are exempted by user policy.
	ExemptSecurityNoticeCount *int64 `json:"exempt_security_notice_count" validate:"required"`

	// 'exempt' if this CVE is exempt or all security notices for this CVE are exempt. 'partial' if this CVE is not exempt
	// but a subset of security notices for this CVE are exempt. 'active' if this CVE is not exempt and no security notices
	// for this CVE are exempt.
	ExemptStatus *string `json:"exempt_status" validate:"required"`

	// Number of security notices that contain fixes for this CVE and are not exempted by user policy.
	SecurityNoticeCount *int64 `json:"security_notice_count" validate:"required"`

	// Security notices that contain fixes for this CVE.
	SecurityNotices []ScanresultSecurityNotice `json:"security_notices" validate:"required"`

	// The summary of the security vulnerability for this CVE.
	Summary *string `json:"summary" validate:"required"`

	// Total number of security notices that contain fixes for this CVE.
	TotalSecurityNoticeCount *int64 `json:"total_security_notice_count" validate:"required"`
}

ScanresultCVE : ScanresultCVE struct

type ScanresultConfigurationIssue

type ScanresultConfigurationIssue struct {
	// Advice on how to solve this ConfigurationIssue.
	CorrectiveAction *string `json:"corrective_action" validate:"required"`

	// Description of this ConfigurationIssue.
	Description *string `json:"description" validate:"required"`

	// True if this configuration issue is exempted by user policy, and false otherwise.
	Exempt *bool `json:"exempt" validate:"required"`

	// Additional keys and string values about this ConfigurationIssue.
	Meta map[string]string `json:"meta" validate:"required"`

	// The ID of the check which found this ConfigurationIssue.
	Type *string `json:"type" validate:"required"`
}

ScanresultConfigurationIssue : ScanresultConfigurationIssue struct

type ScanresultPackageFixes

type ScanresultPackageFixes struct {
	// Advice on how to solve this vulnerability.
	CorrectiveAction *string `json:"corrective_action" validate:"required"`

	// Description of the vulnerability.
	Description *string `json:"description" validate:"required"`

	// The version of this package that contains the fix for this vulnerability.
	FixVersion *string `json:"fix_version" validate:"required"`

	// The version of this package that was found installed at scan time.
	InstalledVersion *string `json:"installed_version" validate:"required"`

	// The name of the package.
	PackageName *string `json:"package_name" validate:"required"`
}

ScanresultPackageFixes : ScanresultPackageFixes struct

type ScanresultSecurityNotice

type ScanresultSecurityNotice struct {
	// Further information about this security notice.
	Notice *string `json:"notice" validate:"required"`

	// True if this security notice has been exempted by user policy, and false otherwise.
	NoticeExempt *bool `json:"notice_exempt" validate:"required"`

	// The ID for this security notice.
	NoticeID *string `json:"notice_id" validate:"required"`

	// Summary of information about the security vulnerabilities fixed by this security notice.
	Summary *string `json:"summary" validate:"required"`

	// Package updates that contain fixes for this vulnerability.
	VulnerablePackages []ScanresultPackageFixes `json:"vulnerable_packages" validate:"required"`
}

ScanresultSecurityNotice : ScanresultSecurityNotice struct

type VulnerabilityAdvisorV3

type VulnerabilityAdvisorV3 struct {
	Service *core.BaseService

	// The unique ID for your IBM Cloud account. Run 'ibmcloud cr info' to get the ID of the target account.
	Account *string

	// The preferred language code for this request.
	AcceptLanguage *string
}

VulnerabilityAdvisorV3 : Management interface of Vulnerability Advisor for IBM Cloud Container Registry

API Version: 3.0.0

func NewVulnerabilityAdvisorV3

func NewVulnerabilityAdvisorV3(options *VulnerabilityAdvisorV3Options) (service *VulnerabilityAdvisorV3, err error)

NewVulnerabilityAdvisorV3 : constructs an instance of VulnerabilityAdvisorV3 with passed in options.

func NewVulnerabilityAdvisorV3UsingExternalConfig

func NewVulnerabilityAdvisorV3UsingExternalConfig(options *VulnerabilityAdvisorV3Options) (vulnerabilityAdvisor *VulnerabilityAdvisorV3, err error)

NewVulnerabilityAdvisorV3UsingExternalConfig : constructs an instance of VulnerabilityAdvisorV3 with passed in options and external configuration.

func (*VulnerabilityAdvisorV3) AccountReportQueryPath

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) AccountReportQueryPath(accountReportQueryPathOptions *AccountReportQueryPathOptions) (result *ScanReportList, response *core.DetailedResponse, err error)

AccountReportQueryPath : Get the vulnerability assessment for all images Get the vulnerability assessment for the list of registry images that belong to a specific account.

func (*VulnerabilityAdvisorV3) AccountReportQueryPathWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) AccountReportQueryPathWithContext(ctx context.Context, accountReportQueryPathOptions *AccountReportQueryPathOptions) (result *ScanReportList, response *core.DetailedResponse, err error)

AccountReportQueryPathWithContext is an alternate form of the AccountReportQueryPath method which supports a Context parameter

func (*VulnerabilityAdvisorV3) AccountStatusQueryPath

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) AccountStatusQueryPath(accountStatusQueryPathOptions *AccountStatusQueryPathOptions) (result *ScanreportImageSummaryList, response *core.DetailedResponse, err error)

AccountStatusQueryPath : Get vulnerability assessment status for all images Get the vulnerability assessment status for the list of registry images that belong to a specific account.

func (*VulnerabilityAdvisorV3) AccountStatusQueryPathWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) AccountStatusQueryPathWithContext(ctx context.Context, accountStatusQueryPathOptions *AccountStatusQueryPathOptions) (result *ScanreportImageSummaryList, response *core.DetailedResponse, err error)

AccountStatusQueryPathWithContext is an alternate form of the AccountStatusQueryPath method which supports a Context parameter

func (*VulnerabilityAdvisorV3) Clone

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) Clone() *VulnerabilityAdvisorV3

Clone makes a copy of "vulnerabilityAdvisor" suitable for processing requests.

func (*VulnerabilityAdvisorV3) CreateExemptionAccount

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) CreateExemptionAccount(createExemptionAccountOptions *CreateExemptionAccountOptions) (result *Exemption, response *core.DetailedResponse, err error)

CreateExemptionAccount : Create or update an account level exemption Create or update an exemption that is specified with account level scope.

func (*VulnerabilityAdvisorV3) CreateExemptionAccountWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) CreateExemptionAccountWithContext(ctx context.Context, createExemptionAccountOptions *CreateExemptionAccountOptions) (result *Exemption, response *core.DetailedResponse, err error)

CreateExemptionAccountWithContext is an alternate form of the CreateExemptionAccount method which supports a Context parameter

func (*VulnerabilityAdvisorV3) CreateExemptionResource

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) CreateExemptionResource(createExemptionResourceOptions *CreateExemptionResourceOptions) (result *Exemption, response *core.DetailedResponse, err error)

CreateExemptionResource : Create or update a resource exemption Create or update an exemption that is specified for a resource (account, registry namespace, repository, or image).

func (*VulnerabilityAdvisorV3) CreateExemptionResourceWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) CreateExemptionResourceWithContext(ctx context.Context, createExemptionResourceOptions *CreateExemptionResourceOptions) (result *Exemption, response *core.DetailedResponse, err error)

CreateExemptionResourceWithContext is an alternate form of the CreateExemptionResource method which supports a Context parameter

func (*VulnerabilityAdvisorV3) DeleteExemptionAccount

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) DeleteExemptionAccount(deleteExemptionAccountOptions *DeleteExemptionAccountOptions) (response *core.DetailedResponse, err error)

DeleteExemptionAccount : Delete an account level exemption Delete an exemption that is specified with account level scope.

func (*VulnerabilityAdvisorV3) DeleteExemptionAccountWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) DeleteExemptionAccountWithContext(ctx context.Context, deleteExemptionAccountOptions *DeleteExemptionAccountOptions) (response *core.DetailedResponse, err error)

DeleteExemptionAccountWithContext is an alternate form of the DeleteExemptionAccount method which supports a Context parameter

func (*VulnerabilityAdvisorV3) DeleteExemptionResource

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) DeleteExemptionResource(deleteExemptionResourceOptions *DeleteExemptionResourceOptions) (response *core.DetailedResponse, err error)

DeleteExemptionResource : Delete a resource exemption Delete an exemption that is specified for a resource (account, registry namespace, repository, or image).

func (*VulnerabilityAdvisorV3) DeleteExemptionResourceWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) DeleteExemptionResourceWithContext(ctx context.Context, deleteExemptionResourceOptions *DeleteExemptionResourceOptions) (response *core.DetailedResponse, err error)

DeleteExemptionResourceWithContext is an alternate form of the DeleteExemptionResource method which supports a Context parameter

func (*VulnerabilityAdvisorV3) DisableRetries

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) DisableRetries()

DisableRetries disables automatic retries for requests invoked for this service instance.

func (*VulnerabilityAdvisorV3) EnableRetries

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) EnableRetries(maxRetries int, maxRetryInterval time.Duration)

EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.

func (*VulnerabilityAdvisorV3) ExemptHandler

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ExemptHandler(exemptHandlerOptions *ExemptHandlerOptions) (result []ExemptionTypeInfo, response *core.DetailedResponse, err error)

ExemptHandler : List the types of exemption List the types of exemption.

func (*VulnerabilityAdvisorV3) ExemptHandlerWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ExemptHandlerWithContext(ctx context.Context, exemptHandlerOptions *ExemptHandlerOptions) (result []ExemptionTypeInfo, response *core.DetailedResponse, err error)

ExemptHandlerWithContext is an alternate form of the ExemptHandler method which supports a Context parameter

func (*VulnerabilityAdvisorV3) ExemptionsAccountDeleteHandler

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ExemptionsAccountDeleteHandler(exemptionsAccountDeleteHandlerOptions *ExemptionsAccountDeleteHandlerOptions) (result *ExemptionDeletionInfo, response *core.DetailedResponse, err error)

ExemptionsAccountDeleteHandler : Delete all exemptions Delete all of the exemptions in the given account.

func (*VulnerabilityAdvisorV3) ExemptionsAccountDeleteHandlerWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ExemptionsAccountDeleteHandlerWithContext(ctx context.Context, exemptionsAccountDeleteHandlerOptions *ExemptionsAccountDeleteHandlerOptions) (result *ExemptionDeletionInfo, response *core.DetailedResponse, err error)

ExemptionsAccountDeleteHandlerWithContext is an alternate form of the ExemptionsAccountDeleteHandler method which supports a Context parameter

func (*VulnerabilityAdvisorV3) GetEnableGzipCompression

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) GetEnableGzipCompression() bool

GetEnableGzipCompression returns the service's EnableGzipCompression field

func (*VulnerabilityAdvisorV3) GetExemptionAccount

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) GetExemptionAccount(getExemptionAccountOptions *GetExemptionAccountOptions) (result *Exemption, response *core.DetailedResponse, err error)

GetExemptionAccount : Get an account level exemption Get details of an exemption that is specified with account level scope.

func (*VulnerabilityAdvisorV3) GetExemptionAccountWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) GetExemptionAccountWithContext(ctx context.Context, getExemptionAccountOptions *GetExemptionAccountOptions) (result *Exemption, response *core.DetailedResponse, err error)

GetExemptionAccountWithContext is an alternate form of the GetExemptionAccount method which supports a Context parameter

func (*VulnerabilityAdvisorV3) GetExemptionResource

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) GetExemptionResource(getExemptionResourceOptions *GetExemptionResourceOptions) (result *Exemption, response *core.DetailedResponse, err error)

GetExemptionResource : Get details of a resource exemption Get an exemption that is specified for a resource (account, registry namespace, repository, or image).

func (*VulnerabilityAdvisorV3) GetExemptionResourceWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) GetExemptionResourceWithContext(ctx context.Context, getExemptionResourceOptions *GetExemptionResourceOptions) (result *Exemption, response *core.DetailedResponse, err error)

GetExemptionResourceWithContext is an alternate form of the GetExemptionResource method which supports a Context parameter

func (*VulnerabilityAdvisorV3) GetServiceURL

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) GetServiceURL() string

GetServiceURL returns the service URL

func (*VulnerabilityAdvisorV3) ImageReportQueryPath

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ImageReportQueryPath(imageReportQueryPathOptions *ImageReportQueryPathOptions) (result *ScanReport, response *core.DetailedResponse, err error)

ImageReportQueryPath : Get vulnerability assessment Get the vulnerability assessment for a registry image.

func (*VulnerabilityAdvisorV3) ImageReportQueryPathWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ImageReportQueryPathWithContext(ctx context.Context, imageReportQueryPathOptions *ImageReportQueryPathOptions) (result *ScanReport, response *core.DetailedResponse, err error)

ImageReportQueryPathWithContext is an alternate form of the ImageReportQueryPath method which supports a Context parameter

func (*VulnerabilityAdvisorV3) ImageStatusQueryPath

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ImageStatusQueryPath(imageStatusQueryPathOptions *ImageStatusQueryPathOptions) (result *ScanreportSummary, response *core.DetailedResponse, err error)

ImageStatusQueryPath : Get vulnerability status Get the overall vulnerability status for a registry image.

func (*VulnerabilityAdvisorV3) ImageStatusQueryPathWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ImageStatusQueryPathWithContext(ctx context.Context, imageStatusQueryPathOptions *ImageStatusQueryPathOptions) (result *ScanreportSummary, response *core.DetailedResponse, err error)

ImageStatusQueryPathWithContext is an alternate form of the ImageStatusQueryPath method which supports a Context parameter

func (*VulnerabilityAdvisorV3) ListAccountExemptions

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ListAccountExemptions(listAccountExemptionsOptions *ListAccountExemptionsOptions) (result []Exemption, response *core.DetailedResponse, err error)

ListAccountExemptions : List all exemptions List all of the exemptions in the given account.

func (*VulnerabilityAdvisorV3) ListAccountExemptionsWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ListAccountExemptionsWithContext(ctx context.Context, listAccountExemptionsOptions *ListAccountExemptionsOptions) (result []Exemption, response *core.DetailedResponse, err error)

ListAccountExemptionsWithContext is an alternate form of the ListAccountExemptions method which supports a Context parameter

func (*VulnerabilityAdvisorV3) ListBulkImageExemptions

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ListBulkImageExemptions(listBulkImageExemptionsOptions *ListBulkImageExemptionsOptions) (result map[string][]Exemption, response *core.DetailedResponse, err error)

ListBulkImageExemptions : List exemptions for images List the exemptions for the given list of images.

func (*VulnerabilityAdvisorV3) ListBulkImageExemptionsWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ListBulkImageExemptionsWithContext(ctx context.Context, listBulkImageExemptionsOptions *ListBulkImageExemptionsOptions) (result map[string][]Exemption, response *core.DetailedResponse, err error)

ListBulkImageExemptionsWithContext is an alternate form of the ListBulkImageExemptions method which supports a Context parameter

func (*VulnerabilityAdvisorV3) ListExemptionAccount

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ListExemptionAccount(listExemptionAccountOptions *ListExemptionAccountOptions) (result []Exemption, response *core.DetailedResponse, err error)

ListExemptionAccount : List account level exemptions List the exemptions that are specified with account level scope.

func (*VulnerabilityAdvisorV3) ListExemptionAccountWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ListExemptionAccountWithContext(ctx context.Context, listExemptionAccountOptions *ListExemptionAccountOptions) (result []Exemption, response *core.DetailedResponse, err error)

ListExemptionAccountWithContext is an alternate form of the ListExemptionAccount method which supports a Context parameter

func (*VulnerabilityAdvisorV3) ListExemptionResource

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ListExemptionResource(listExemptionResourceOptions *ListExemptionResourceOptions) (result []Exemption, response *core.DetailedResponse, err error)

ListExemptionResource : List resource exemptions List the exemptions that are specified for a resource (account, registry namespace, repository, or image).

func (*VulnerabilityAdvisorV3) ListExemptionResourceWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ListExemptionResourceWithContext(ctx context.Context, listExemptionResourceOptions *ListExemptionResourceOptions) (result []Exemption, response *core.DetailedResponse, err error)

ListExemptionResourceWithContext is an alternate form of the ListExemptionResource method which supports a Context parameter

func (*VulnerabilityAdvisorV3) ListImageExemptions

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ListImageExemptions(listImageExemptionsOptions *ListImageExemptionsOptions) (result []Exemption, response *core.DetailedResponse, err error)

ListImageExemptions : List image exemptions List all of the exemptions for an image.

func (*VulnerabilityAdvisorV3) ListImageExemptionsWithContext

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) ListImageExemptionsWithContext(ctx context.Context, listImageExemptionsOptions *ListImageExemptionsOptions) (result []Exemption, response *core.DetailedResponse, err error)

ListImageExemptionsWithContext is an alternate form of the ListImageExemptions method which supports a Context parameter

func (*VulnerabilityAdvisorV3) NewAccountReportQueryPathOptions

func (*VulnerabilityAdvisorV3) NewAccountReportQueryPathOptions() *AccountReportQueryPathOptions

NewAccountReportQueryPathOptions : Instantiate AccountReportQueryPathOptions

func (*VulnerabilityAdvisorV3) NewAccountStatusQueryPathOptions

func (*VulnerabilityAdvisorV3) NewAccountStatusQueryPathOptions() *AccountStatusQueryPathOptions

NewAccountStatusQueryPathOptions : Instantiate AccountStatusQueryPathOptions

func (*VulnerabilityAdvisorV3) NewCreateExemptionAccountOptions

func (*VulnerabilityAdvisorV3) NewCreateExemptionAccountOptions(issueType string, issueID string) *CreateExemptionAccountOptions

NewCreateExemptionAccountOptions : Instantiate CreateExemptionAccountOptions

func (*VulnerabilityAdvisorV3) NewCreateExemptionResourceOptions

func (*VulnerabilityAdvisorV3) NewCreateExemptionResourceOptions(resource string, issueType string, issueID string) *CreateExemptionResourceOptions

NewCreateExemptionResourceOptions : Instantiate CreateExemptionResourceOptions

func (*VulnerabilityAdvisorV3) NewDeleteExemptionAccountOptions

func (*VulnerabilityAdvisorV3) NewDeleteExemptionAccountOptions(issueType string, issueID string) *DeleteExemptionAccountOptions

NewDeleteExemptionAccountOptions : Instantiate DeleteExemptionAccountOptions

func (*VulnerabilityAdvisorV3) NewDeleteExemptionResourceOptions

func (*VulnerabilityAdvisorV3) NewDeleteExemptionResourceOptions(resource string, issueType string, issueID string) *DeleteExemptionResourceOptions

NewDeleteExemptionResourceOptions : Instantiate DeleteExemptionResourceOptions

func (*VulnerabilityAdvisorV3) NewExemptHandlerOptions

func (*VulnerabilityAdvisorV3) NewExemptHandlerOptions() *ExemptHandlerOptions

NewExemptHandlerOptions : Instantiate ExemptHandlerOptions

func (*VulnerabilityAdvisorV3) NewExemptionsAccountDeleteHandlerOptions

func (*VulnerabilityAdvisorV3) NewExemptionsAccountDeleteHandlerOptions() *ExemptionsAccountDeleteHandlerOptions

NewExemptionsAccountDeleteHandlerOptions : Instantiate ExemptionsAccountDeleteHandlerOptions

func (*VulnerabilityAdvisorV3) NewGetExemptionAccountOptions

func (*VulnerabilityAdvisorV3) NewGetExemptionAccountOptions(issueType string, issueID string) *GetExemptionAccountOptions

NewGetExemptionAccountOptions : Instantiate GetExemptionAccountOptions

func (*VulnerabilityAdvisorV3) NewGetExemptionResourceOptions

func (*VulnerabilityAdvisorV3) NewGetExemptionResourceOptions(resource string, issueType string, issueID string) *GetExemptionResourceOptions

NewGetExemptionResourceOptions : Instantiate GetExemptionResourceOptions

func (*VulnerabilityAdvisorV3) NewImageReportQueryPathOptions

func (*VulnerabilityAdvisorV3) NewImageReportQueryPathOptions(name string) *ImageReportQueryPathOptions

NewImageReportQueryPathOptions : Instantiate ImageReportQueryPathOptions

func (*VulnerabilityAdvisorV3) NewImageStatusQueryPathOptions

func (*VulnerabilityAdvisorV3) NewImageStatusQueryPathOptions(name string) *ImageStatusQueryPathOptions

NewImageStatusQueryPathOptions : Instantiate ImageStatusQueryPathOptions

func (*VulnerabilityAdvisorV3) NewListAccountExemptionsOptions

func (*VulnerabilityAdvisorV3) NewListAccountExemptionsOptions() *ListAccountExemptionsOptions

NewListAccountExemptionsOptions : Instantiate ListAccountExemptionsOptions

func (*VulnerabilityAdvisorV3) NewListBulkImageExemptionsOptions

func (*VulnerabilityAdvisorV3) NewListBulkImageExemptionsOptions(body []string) *ListBulkImageExemptionsOptions

NewListBulkImageExemptionsOptions : Instantiate ListBulkImageExemptionsOptions

func (*VulnerabilityAdvisorV3) NewListExemptionAccountOptions

func (*VulnerabilityAdvisorV3) NewListExemptionAccountOptions() *ListExemptionAccountOptions

NewListExemptionAccountOptions : Instantiate ListExemptionAccountOptions

func (*VulnerabilityAdvisorV3) NewListExemptionResourceOptions

func (*VulnerabilityAdvisorV3) NewListExemptionResourceOptions(resource string) *ListExemptionResourceOptions

NewListExemptionResourceOptions : Instantiate ListExemptionResourceOptions

func (*VulnerabilityAdvisorV3) NewListImageExemptionsOptions

func (*VulnerabilityAdvisorV3) NewListImageExemptionsOptions(resource string) *ListImageExemptionsOptions

NewListImageExemptionsOptions : Instantiate ListImageExemptionsOptions

func (*VulnerabilityAdvisorV3) SetDefaultHeaders

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) SetDefaultHeaders(headers http.Header)

SetDefaultHeaders sets HTTP headers to be sent in every request

func (*VulnerabilityAdvisorV3) SetEnableGzipCompression

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) SetEnableGzipCompression(enableGzip bool)

SetEnableGzipCompression sets the service's EnableGzipCompression field

func (*VulnerabilityAdvisorV3) SetServiceURL

func (vulnerabilityAdvisor *VulnerabilityAdvisorV3) SetServiceURL(url string) error

SetServiceURL sets the service URL

type VulnerabilityAdvisorV3Options

type VulnerabilityAdvisorV3Options struct {
	ServiceName   string
	URL           string
	Authenticator core.Authenticator

	// The unique ID for your IBM Cloud account. Run 'ibmcloud cr info' to get the ID of the target account.
	Account *string `validate:"required"`

	// The preferred language code for this request.
	AcceptLanguage *string
}

VulnerabilityAdvisorV3Options : Service options

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL