nessus

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.8.3 DO NOT EDIT.

Package api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.8.3 DO NOT EDIT.

Index

Constants

View Source
const (
	CloudScopes = "cloud.Scopes"
)

Variables

This section is empty.

Functions

func NewAgentConfigDetailsRequest

func NewAgentConfigDetailsRequest(server string, scannerId int32) (*http.Request, error)

NewAgentConfigDetailsRequest generates requests for AgentConfigDetails

func NewAgentConfigEditRequest

func NewAgentConfigEditRequest(server string, scannerId int32, body AgentConfigEditJSONRequestBody) (*http.Request, error)

NewAgentConfigEditRequest calls the generic AgentConfigEdit builder with application/json body

func NewAgentConfigEditRequestWithBody

func NewAgentConfigEditRequestWithBody(server string, scannerId int32, contentType string, body io.Reader) (*http.Request, error)

NewAgentConfigEditRequestWithBody generates requests for AgentConfigEdit with any type of body

func NewAgentExclusionsCreateRequest

func NewAgentExclusionsCreateRequest(server string, scannerId int32, body AgentExclusionsCreateJSONRequestBody) (*http.Request, error)

NewAgentExclusionsCreateRequest calls the generic AgentExclusionsCreate builder with application/json body

func NewAgentExclusionsCreateRequestWithBody

func NewAgentExclusionsCreateRequestWithBody(server string, scannerId int32, contentType string, body io.Reader) (*http.Request, error)

NewAgentExclusionsCreateRequestWithBody generates requests for AgentExclusionsCreate with any type of body

func NewAgentExclusionsDeleteRequest

func NewAgentExclusionsDeleteRequest(server string, scannerId int32, exclusionId int32) (*http.Request, error)

NewAgentExclusionsDeleteRequest generates requests for AgentExclusionsDelete

func NewAgentExclusionsDetailsRequest

func NewAgentExclusionsDetailsRequest(server string, scannerId int32, exclusionId int32) (*http.Request, error)

NewAgentExclusionsDetailsRequest generates requests for AgentExclusionsDetails

func NewAgentExclusionsEditRequest

func NewAgentExclusionsEditRequest(server string, scannerId int32, exclusionId int32, body AgentExclusionsEditJSONRequestBody) (*http.Request, error)

NewAgentExclusionsEditRequest calls the generic AgentExclusionsEdit builder with application/json body

func NewAgentExclusionsEditRequestWithBody

func NewAgentExclusionsEditRequestWithBody(server string, scannerId int32, exclusionId int32, contentType string, body io.Reader) (*http.Request, error)

NewAgentExclusionsEditRequestWithBody generates requests for AgentExclusionsEdit with any type of body

func NewAgentExclusionsListRequest

func NewAgentExclusionsListRequest(server string, scannerId int32) (*http.Request, error)

NewAgentExclusionsListRequest generates requests for AgentExclusionsList

func NewAgentGroupListAgentsRequest

func NewAgentGroupListAgentsRequest(server string, scannerId int32, agentGroupId int32, params *AgentGroupListAgentsParams) (*http.Request, error)

NewAgentGroupListAgentsRequest generates requests for AgentGroupListAgents

func NewAgentGroupsAddAgentRequest

func NewAgentGroupsAddAgentRequest(server string, scannerId int32, groupId int32, agentId int32) (*http.Request, error)

NewAgentGroupsAddAgentRequest generates requests for AgentGroupsAddAgent

func NewAgentGroupsConfigureRequest

func NewAgentGroupsConfigureRequest(server string, scannerId int32, groupId int32, body AgentGroupsConfigureJSONRequestBody) (*http.Request, error)

NewAgentGroupsConfigureRequest calls the generic AgentGroupsConfigure builder with application/json body

func NewAgentGroupsConfigureRequestWithBody

func NewAgentGroupsConfigureRequestWithBody(server string, scannerId int32, groupId int32, contentType string, body io.Reader) (*http.Request, error)

NewAgentGroupsConfigureRequestWithBody generates requests for AgentGroupsConfigure with any type of body

func NewAgentGroupsCreateRequest

func NewAgentGroupsCreateRequest(server string, scannerId int32, body AgentGroupsCreateJSONRequestBody) (*http.Request, error)

NewAgentGroupsCreateRequest calls the generic AgentGroupsCreate builder with application/json body

func NewAgentGroupsCreateRequestWithBody

func NewAgentGroupsCreateRequestWithBody(server string, scannerId int32, contentType string, body io.Reader) (*http.Request, error)

NewAgentGroupsCreateRequestWithBody generates requests for AgentGroupsCreate with any type of body

func NewAgentGroupsDeleteAgentRequest

func NewAgentGroupsDeleteAgentRequest(server string, scannerId int32, groupId int32, agentId int32) (*http.Request, error)

NewAgentGroupsDeleteAgentRequest generates requests for AgentGroupsDeleteAgent

func NewAgentGroupsDeleteRequest

func NewAgentGroupsDeleteRequest(server string, scannerId int32, groupId int32) (*http.Request, error)

NewAgentGroupsDeleteRequest generates requests for AgentGroupsDelete

func NewAgentGroupsDetailsRequest

func NewAgentGroupsDetailsRequest(server string, scannerId int32, groupId int32, params *AgentGroupsDetailsParams) (*http.Request, error)

NewAgentGroupsDetailsRequest generates requests for AgentGroupsDetails

func NewAgentGroupsListRequest

func NewAgentGroupsListRequest(server string, scannerId int32) (*http.Request, error)

NewAgentGroupsListRequest generates requests for AgentGroupsList

func NewAgentsDeleteRequest

func NewAgentsDeleteRequest(server string, scannerId int32, agentId int32) (*http.Request, error)

NewAgentsDeleteRequest generates requests for AgentsDelete

func NewAgentsGetRequest

func NewAgentsGetRequest(server string, scannerId int32, agentId int32) (*http.Request, error)

NewAgentsGetRequest generates requests for AgentsGet

func NewAgentsListRequest

func NewAgentsListRequest(server string, scannerId int32, params *AgentsListParams) (*http.Request, error)

NewAgentsListRequest generates requests for AgentsList

func NewAssetsAssetInfoRequest

func NewAssetsAssetInfoRequest(server string, assetUuid string) (*http.Request, error)

NewAssetsAssetInfoRequest generates requests for AssetsAssetInfo

func NewAssetsBulkDeleteRequest

func NewAssetsBulkDeleteRequest(server string, body AssetsBulkDeleteJSONRequestBody) (*http.Request, error)

NewAssetsBulkDeleteRequest calls the generic AssetsBulkDelete builder with application/json body

func NewAssetsBulkDeleteRequestWithBody

func NewAssetsBulkDeleteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAssetsBulkDeleteRequestWithBody generates requests for AssetsBulkDelete with any type of body

func NewAssetsBulkMoveRequest

func NewAssetsBulkMoveRequest(server string, body AssetsBulkMoveJSONRequestBody) (*http.Request, error)

NewAssetsBulkMoveRequest calls the generic AssetsBulkMove builder with application/json body

func NewAssetsBulkMoveRequestWithBody

func NewAssetsBulkMoveRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAssetsBulkMoveRequestWithBody generates requests for AssetsBulkMove with any type of body

func NewAssetsBulkUpdateAcrRequest

func NewAssetsBulkUpdateAcrRequest(server string, body AssetsBulkUpdateAcrJSONRequestBody) (*http.Request, error)

NewAssetsBulkUpdateAcrRequest calls the generic AssetsBulkUpdateAcr builder with application/json body

func NewAssetsBulkUpdateAcrRequestWithBody

func NewAssetsBulkUpdateAcrRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAssetsBulkUpdateAcrRequestWithBody generates requests for AssetsBulkUpdateAcr with any type of body

func NewAssetsImportJobInfoRequest

func NewAssetsImportJobInfoRequest(server string, assetImportJobUuid string) (*http.Request, error)

NewAssetsImportJobInfoRequest generates requests for AssetsImportJobInfo

func NewAssetsImportRequest

func NewAssetsImportRequest(server string, body AssetsImportJSONRequestBody) (*http.Request, error)

NewAssetsImportRequest calls the generic AssetsImport builder with application/json body

func NewAssetsImportRequestWithBody

func NewAssetsImportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAssetsImportRequestWithBody generates requests for AssetsImport with any type of body

func NewAssetsListAssetsRequest

func NewAssetsListAssetsRequest(server string) (*http.Request, error)

NewAssetsListAssetsRequest generates requests for AssetsListAssets

func NewAssetsListImportJobsRequest

func NewAssetsListImportJobsRequest(server string) (*http.Request, error)

NewAssetsListImportJobsRequest generates requests for AssetsListImportJobs

func NewAuditLogEventsRequest

func NewAuditLogEventsRequest(server string, params *AuditLogEventsParams) (*http.Request, error)

NewAuditLogEventsRequest generates requests for AuditLogEvents

func NewBulkAddAgentsRequest

func NewBulkAddAgentsRequest(server string, groupId string, body BulkAddAgentsJSONRequestBody) (*http.Request, error)

NewBulkAddAgentsRequest calls the generic BulkAddAgents builder with application/json body

func NewBulkAddAgentsRequestWithBody

func NewBulkAddAgentsRequestWithBody(server string, groupId string, contentType string, body io.Reader) (*http.Request, error)

NewBulkAddAgentsRequestWithBody generates requests for BulkAddAgents with any type of body

func NewBulkRemoveAgentsRequest

func NewBulkRemoveAgentsRequest(server string, groupId int32, body BulkRemoveAgentsJSONRequestBody) (*http.Request, error)

NewBulkRemoveAgentsRequest calls the generic BulkRemoveAgents builder with application/json body

func NewBulkRemoveAgentsRequestWithBody

func NewBulkRemoveAgentsRequestWithBody(server string, groupId int32, contentType string, body io.Reader) (*http.Request, error)

NewBulkRemoveAgentsRequestWithBody generates requests for BulkRemoveAgents with any type of body

func NewBulkTaskAgentGroupStatusRequest

func NewBulkTaskAgentGroupStatusRequest(server string, groupId int32, taskUuid string) (*http.Request, error)

NewBulkTaskAgentGroupStatusRequest generates requests for BulkTaskAgentGroupStatus

func NewBulkTaskAgentStatusRequest

func NewBulkTaskAgentStatusRequest(server string, taskUuid string) (*http.Request, error)

NewBulkTaskAgentStatusRequest generates requests for BulkTaskAgentStatus

func NewBulkUnlinkAgentsRequest

func NewBulkUnlinkAgentsRequest(server string, body BulkUnlinkAgentsJSONRequestBody) (*http.Request, error)

NewBulkUnlinkAgentsRequest calls the generic BulkUnlinkAgents builder with application/json body

func NewBulkUnlinkAgentsRequestWithBody

func NewBulkUnlinkAgentsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewBulkUnlinkAgentsRequestWithBody generates requests for BulkUnlinkAgents with any type of body

func NewCredentialsCreateRequest

func NewCredentialsCreateRequest(server string, body CredentialsCreateJSONRequestBody) (*http.Request, error)

NewCredentialsCreateRequest calls the generic CredentialsCreate builder with application/json body

func NewCredentialsCreateRequestWithBody

func NewCredentialsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCredentialsCreateRequestWithBody generates requests for CredentialsCreate with any type of body

func NewCredentialsDeleteRequest

func NewCredentialsDeleteRequest(server string, uuid string) (*http.Request, error)

NewCredentialsDeleteRequest generates requests for CredentialsDelete

func NewCredentialsDetailsRequest

func NewCredentialsDetailsRequest(server string, uuid string) (*http.Request, error)

NewCredentialsDetailsRequest generates requests for CredentialsDetails

func NewCredentialsFileUploadRequestWithBody

func NewCredentialsFileUploadRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCredentialsFileUploadRequestWithBody generates requests for CredentialsFileUpload with any type of body

func NewCredentialsListCredentialTypesRequest

func NewCredentialsListCredentialTypesRequest(server string) (*http.Request, error)

NewCredentialsListCredentialTypesRequest generates requests for CredentialsListCredentialTypes

func NewCredentialsListRequest

func NewCredentialsListRequest(server string, params *CredentialsListParams) (*http.Request, error)

NewCredentialsListRequest generates requests for CredentialsList

func NewCredentialsUpdateRequest

func NewCredentialsUpdateRequest(server string, uuid string, body CredentialsUpdateJSONRequestBody) (*http.Request, error)

NewCredentialsUpdateRequest calls the generic CredentialsUpdate builder with application/json body

func NewCredentialsUpdateRequestWithBody

func NewCredentialsUpdateRequestWithBody(server string, uuid string, contentType string, body io.Reader) (*http.Request, error)

NewCredentialsUpdateRequestWithBody generates requests for CredentialsUpdate with any type of body

func NewEditorAuditsRequest

func NewEditorAuditsRequest(server string, pType EditorAuditsParamsType, objectId int32, fileId int32) (*http.Request, error)

NewEditorAuditsRequest generates requests for EditorAudits

func NewEditorDetailsRequest

func NewEditorDetailsRequest(server string, pType EditorDetailsParamsType, id int32) (*http.Request, error)

NewEditorDetailsRequest generates requests for EditorDetails

func NewEditorListTemplatesRequest

func NewEditorListTemplatesRequest(server string, pType EditorListTemplatesParamsType) (*http.Request, error)

NewEditorListTemplatesRequest generates requests for EditorListTemplates

func NewEditorPluginDescriptionRequest

func NewEditorPluginDescriptionRequest(server string, policyId int32, familyId int32, pluginId int32) (*http.Request, error)

NewEditorPluginDescriptionRequest generates requests for EditorPluginDescription

func NewEditorTemplateDetailsRequest

func NewEditorTemplateDetailsRequest(server string, pType EditorTemplateDetailsParamsType, templateUuid string) (*http.Request, error)

NewEditorTemplateDetailsRequest generates requests for EditorTemplateDetails

func NewExclusionsCreateRequest

func NewExclusionsCreateRequest(server string, body ExclusionsCreateJSONRequestBody) (*http.Request, error)

NewExclusionsCreateRequest calls the generic ExclusionsCreate builder with application/json body

func NewExclusionsCreateRequestWithBody

func NewExclusionsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewExclusionsCreateRequestWithBody generates requests for ExclusionsCreate with any type of body

func NewExclusionsDeleteRequest

func NewExclusionsDeleteRequest(server string, exclusionId int32) (*http.Request, error)

NewExclusionsDeleteRequest generates requests for ExclusionsDelete

func NewExclusionsDetailsRequest

func NewExclusionsDetailsRequest(server string, exclusionId int32) (*http.Request, error)

NewExclusionsDetailsRequest generates requests for ExclusionsDetails

func NewExclusionsEditRequest

func NewExclusionsEditRequest(server string, exclusionId int32, body ExclusionsEditJSONRequestBody) (*http.Request, error)

NewExclusionsEditRequest calls the generic ExclusionsEdit builder with application/json body

func NewExclusionsEditRequestWithBody

func NewExclusionsEditRequestWithBody(server string, exclusionId int32, contentType string, body io.Reader) (*http.Request, error)

NewExclusionsEditRequestWithBody generates requests for ExclusionsEdit with any type of body

func NewExclusionsImportRequest

func NewExclusionsImportRequest(server string, body ExclusionsImportJSONRequestBody) (*http.Request, error)

NewExclusionsImportRequest calls the generic ExclusionsImport builder with application/json body

func NewExclusionsImportRequestWithBody

func NewExclusionsImportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewExclusionsImportRequestWithBody generates requests for ExclusionsImport with any type of body

func NewExclusionsListRequest

func NewExclusionsListRequest(server string) (*http.Request, error)

NewExclusionsListRequest generates requests for ExclusionsList

func NewExportsAssetsDownloadChunkRequest

func NewExportsAssetsDownloadChunkRequest(server string, exportUuid string, chunkId int32) (*http.Request, error)

NewExportsAssetsDownloadChunkRequest generates requests for ExportsAssetsDownloadChunk

func NewExportsAssetsExportCancelRequest

func NewExportsAssetsExportCancelRequest(server string, exportUuid string) (*http.Request, error)

NewExportsAssetsExportCancelRequest generates requests for ExportsAssetsExportCancel

func NewExportsAssetsExportStatusRecentRequest

func NewExportsAssetsExportStatusRecentRequest(server string) (*http.Request, error)

NewExportsAssetsExportStatusRecentRequest generates requests for ExportsAssetsExportStatusRecent

func NewExportsAssetsExportStatusRequest

func NewExportsAssetsExportStatusRequest(server string, exportUuid string) (*http.Request, error)

NewExportsAssetsExportStatusRequest generates requests for ExportsAssetsExportStatus

func NewExportsAssetsRequestExportRequest

func NewExportsAssetsRequestExportRequest(server string, body ExportsAssetsRequestExportJSONRequestBody) (*http.Request, error)

NewExportsAssetsRequestExportRequest calls the generic ExportsAssetsRequestExport builder with application/json body

func NewExportsAssetsRequestExportRequestWithBody

func NewExportsAssetsRequestExportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewExportsAssetsRequestExportRequestWithBody generates requests for ExportsAssetsRequestExport with any type of body

func NewExportsVulnsDownloadChunkRequest

func NewExportsVulnsDownloadChunkRequest(server string, exportUuid string, chunkId int32) (*http.Request, error)

NewExportsVulnsDownloadChunkRequest generates requests for ExportsVulnsDownloadChunk

func NewExportsVulnsExportCancelRequest

func NewExportsVulnsExportCancelRequest(server string, exportUuid string) (*http.Request, error)

NewExportsVulnsExportCancelRequest generates requests for ExportsVulnsExportCancel

func NewExportsVulnsExportStatusRecentRequest

func NewExportsVulnsExportStatusRecentRequest(server string) (*http.Request, error)

NewExportsVulnsExportStatusRecentRequest generates requests for ExportsVulnsExportStatusRecent

func NewExportsVulnsExportStatusRequest

func NewExportsVulnsExportStatusRequest(server string, exportUuid string) (*http.Request, error)

NewExportsVulnsExportStatusRequest generates requests for ExportsVulnsExportStatus

func NewExportsVulnsRequestExportRequest

func NewExportsVulnsRequestExportRequest(server string, body ExportsVulnsRequestExportJSONRequestBody) (*http.Request, error)

NewExportsVulnsRequestExportRequest calls the generic ExportsVulnsRequestExport builder with application/json body

func NewExportsVulnsRequestExportRequestWithBody

func NewExportsVulnsRequestExportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewExportsVulnsRequestExportRequestWithBody generates requests for ExportsVulnsRequestExport with any type of body

func NewFileUploadRequestWithBody

func NewFileUploadRequestWithBody(server string, params *FileUploadParams, contentType string, body io.Reader) (*http.Request, error)

NewFileUploadRequestWithBody generates requests for FileUpload with any type of body

func NewFoldersCreateRequest

func NewFoldersCreateRequest(server string, body FoldersCreateJSONRequestBody) (*http.Request, error)

NewFoldersCreateRequest calls the generic FoldersCreate builder with application/json body

func NewFoldersCreateRequestWithBody

func NewFoldersCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewFoldersCreateRequestWithBody generates requests for FoldersCreate with any type of body

func NewFoldersDeleteRequest

func NewFoldersDeleteRequest(server string, folderId int32) (*http.Request, error)

NewFoldersDeleteRequest generates requests for FoldersDelete

func NewFoldersEditRequest

func NewFoldersEditRequest(server string, folderId int32, body FoldersEditJSONRequestBody) (*http.Request, error)

NewFoldersEditRequest calls the generic FoldersEdit builder with application/json body

func NewFoldersEditRequestWithBody

func NewFoldersEditRequestWithBody(server string, folderId int32, contentType string, body io.Reader) (*http.Request, error)

NewFoldersEditRequestWithBody generates requests for FoldersEdit with any type of body

func NewFoldersListRequest

func NewFoldersListRequest(server string) (*http.Request, error)

NewFoldersListRequest generates requests for FoldersList

func NewIoAgentBulkOperationsAddToNetworkRequest

func NewIoAgentBulkOperationsAddToNetworkRequest(server string, body IoAgentBulkOperationsAddToNetworkJSONRequestBody) (*http.Request, error)

NewIoAgentBulkOperationsAddToNetworkRequest calls the generic IoAgentBulkOperationsAddToNetwork builder with application/json body

func NewIoAgentBulkOperationsAddToNetworkRequestWithBody

func NewIoAgentBulkOperationsAddToNetworkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewIoAgentBulkOperationsAddToNetworkRequestWithBody generates requests for IoAgentBulkOperationsAddToNetwork with any type of body

func NewIoAgentBulkOperationsDirectiveRequest

func NewIoAgentBulkOperationsDirectiveRequest(server string, body IoAgentBulkOperationsDirectiveJSONRequestBody) (*http.Request, error)

NewIoAgentBulkOperationsDirectiveRequest calls the generic IoAgentBulkOperationsDirective builder with application/json body

func NewIoAgentBulkOperationsDirectiveRequestWithBody

func NewIoAgentBulkOperationsDirectiveRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewIoAgentBulkOperationsDirectiveRequestWithBody generates requests for IoAgentBulkOperationsDirective with any type of body

func NewIoAgentBulkOperationsGroupDirectiveRequest

func NewIoAgentBulkOperationsGroupDirectiveRequest(server string, groupId int32, body IoAgentBulkOperationsGroupDirectiveJSONRequestBody) (*http.Request, error)

NewIoAgentBulkOperationsGroupDirectiveRequest calls the generic IoAgentBulkOperationsGroupDirective builder with application/json body

func NewIoAgentBulkOperationsGroupDirectiveRequestWithBody

func NewIoAgentBulkOperationsGroupDirectiveRequestWithBody(server string, groupId int32, contentType string, body io.Reader) (*http.Request, error)

NewIoAgentBulkOperationsGroupDirectiveRequestWithBody generates requests for IoAgentBulkOperationsGroupDirective with any type of body

func NewIoAgentBulkOperationsRemoveFromNetworkRequest

func NewIoAgentBulkOperationsRemoveFromNetworkRequest(server string, body IoAgentBulkOperationsRemoveFromNetworkJSONRequestBody) (*http.Request, error)

NewIoAgentBulkOperationsRemoveFromNetworkRequest calls the generic IoAgentBulkOperationsRemoveFromNetwork builder with application/json body

func NewIoAgentBulkOperationsRemoveFromNetworkRequestWithBody

func NewIoAgentBulkOperationsRemoveFromNetworkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewIoAgentBulkOperationsRemoveFromNetworkRequestWithBody generates requests for IoAgentBulkOperationsRemoveFromNetwork with any type of body

func NewIoExportsComplianceCancelRequest

func NewIoExportsComplianceCancelRequest(server string, exportUuid string) (*http.Request, error)

NewIoExportsComplianceCancelRequest generates requests for IoExportsComplianceCancel

func NewIoExportsComplianceCreateRequest

func NewIoExportsComplianceCreateRequest(server string, body IoExportsComplianceCreateJSONRequestBody) (*http.Request, error)

NewIoExportsComplianceCreateRequest calls the generic IoExportsComplianceCreate builder with application/json body

func NewIoExportsComplianceCreateRequestWithBody

func NewIoExportsComplianceCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewIoExportsComplianceCreateRequestWithBody generates requests for IoExportsComplianceCreate with any type of body

func NewIoExportsComplianceDownloadRequest

func NewIoExportsComplianceDownloadRequest(server string, exportUuid string, chunkId int32) (*http.Request, error)

NewIoExportsComplianceDownloadRequest generates requests for IoExportsComplianceDownload

func NewIoExportsComplianceStatusRequest

func NewIoExportsComplianceStatusRequest(server string, exportUuid string) (*http.Request, error)

NewIoExportsComplianceStatusRequest generates requests for IoExportsComplianceStatus

func NewIoFiltersAgentsListRequest

func NewIoFiltersAgentsListRequest(server string) (*http.Request, error)

NewIoFiltersAgentsListRequest generates requests for IoFiltersAgentsList

func NewIoFiltersAssetsListRequest

func NewIoFiltersAssetsListRequest(server string) (*http.Request, error)

NewIoFiltersAssetsListRequest generates requests for IoFiltersAssetsList

func NewIoFiltersAssetsListV2Request

func NewIoFiltersAssetsListV2Request(server string, body IoFiltersAssetsListV2JSONRequestBody) (*http.Request, error)

NewIoFiltersAssetsListV2Request calls the generic IoFiltersAssetsListV2 builder with application/json body

func NewIoFiltersAssetsListV2RequestWithBody

func NewIoFiltersAssetsListV2RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewIoFiltersAssetsListV2RequestWithBody generates requests for IoFiltersAssetsListV2 with any type of body

func NewIoFiltersCredentialsListRequest

func NewIoFiltersCredentialsListRequest(server string) (*http.Request, error)

NewIoFiltersCredentialsListRequest generates requests for IoFiltersCredentialsList

func NewIoFiltersScanHistoryListRequest

func NewIoFiltersScanHistoryListRequest(server string) (*http.Request, error)

NewIoFiltersScanHistoryListRequest generates requests for IoFiltersScanHistoryList

func NewIoFiltersScanListRequest

func NewIoFiltersScanListRequest(server string) (*http.Request, error)

NewIoFiltersScanListRequest generates requests for IoFiltersScanList

func NewIoFiltersVulnerabilitiesWorkbenchListRequest

func NewIoFiltersVulnerabilitiesWorkbenchListRequest(server string) (*http.Request, error)

NewIoFiltersVulnerabilitiesWorkbenchListRequest generates requests for IoFiltersVulnerabilitiesWorkbenchList

func NewIoFiltersVulnerabilitiesWorkbenchListV2Request

func NewIoFiltersVulnerabilitiesWorkbenchListV2Request(server string, body IoFiltersVulnerabilitiesWorkbenchListV2JSONRequestBody) (*http.Request, error)

NewIoFiltersVulnerabilitiesWorkbenchListV2Request calls the generic IoFiltersVulnerabilitiesWorkbenchListV2 builder with application/json body

func NewIoFiltersVulnerabilitiesWorkbenchListV2RequestWithBody

func NewIoFiltersVulnerabilitiesWorkbenchListV2RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewIoFiltersVulnerabilitiesWorkbenchListV2RequestWithBody generates requests for IoFiltersVulnerabilitiesWorkbenchListV2 with any type of body

func NewIoNetworksAssetCountDetailsRequest

func NewIoNetworksAssetCountDetailsRequest(server string, networkId string, numDays int) (*http.Request, error)

NewIoNetworksAssetCountDetailsRequest generates requests for IoNetworksAssetCountDetails

func NewIoPluginsDetailsRequest

func NewIoPluginsDetailsRequest(server string, id int32) (*http.Request, error)

NewIoPluginsDetailsRequest generates requests for IoPluginsDetails

func NewIoPluginsFamiliesListRequest

func NewIoPluginsFamiliesListRequest(server string, params *IoPluginsFamiliesListParams) (*http.Request, error)

NewIoPluginsFamiliesListRequest generates requests for IoPluginsFamiliesList

func NewIoPluginsFamilyDetailsRequest

func NewIoPluginsFamilyDetailsRequest(server string, id int32) (*http.Request, error)

NewIoPluginsFamilyDetailsRequest generates requests for IoPluginsFamilyDetails

func NewIoPluginsListRequest

func NewIoPluginsListRequest(server string, params *IoPluginsListParams) (*http.Request, error)

NewIoPluginsListRequest generates requests for IoPluginsList

func NewIoScannerGroupsListRoutesRequest

func NewIoScannerGroupsListRoutesRequest(server string, groupId int32) (*http.Request, error)

NewIoScannerGroupsListRoutesRequest generates requests for IoScannerGroupsListRoutes

func NewIoScannerGroupsUpdateRoutesRequest

func NewIoScannerGroupsUpdateRoutesRequest(server string, groupId int32, body IoScannerGroupsUpdateRoutesJSONRequestBody) (*http.Request, error)

NewIoScannerGroupsUpdateRoutesRequest calls the generic IoScannerGroupsUpdateRoutes builder with application/json body

func NewIoScannerGroupsUpdateRoutesRequestWithBody

func NewIoScannerGroupsUpdateRoutesRequestWithBody(server string, groupId int32, contentType string, body io.Reader) (*http.Request, error)

NewIoScannerGroupsUpdateRoutesRequestWithBody generates requests for IoScannerGroupsUpdateRoutes with any type of body

func NewIoScansCheckAutoTargetsRequest

func NewIoScansCheckAutoTargetsRequest(server string, params *IoScansCheckAutoTargetsParams, body IoScansCheckAutoTargetsJSONRequestBody) (*http.Request, error)

NewIoScansCheckAutoTargetsRequest calls the generic IoScansCheckAutoTargets builder with application/json body

func NewIoScansCheckAutoTargetsRequestWithBody

func NewIoScansCheckAutoTargetsRequestWithBody(server string, params *IoScansCheckAutoTargetsParams, contentType string, body io.Reader) (*http.Request, error)

NewIoScansCheckAutoTargetsRequestWithBody generates requests for IoScansCheckAutoTargets with any type of body

func NewIoScansCredentialsConvertRequest

func NewIoScansCredentialsConvertRequest(server string, scanId int, credentialsId int, body IoScansCredentialsConvertJSONRequestBody) (*http.Request, error)

NewIoScansCredentialsConvertRequest calls the generic IoScansCredentialsConvert builder with application/json body

func NewIoScansCredentialsConvertRequestWithBody

func NewIoScansCredentialsConvertRequestWithBody(server string, scanId int, credentialsId int, contentType string, body io.Reader) (*http.Request, error)

NewIoScansCredentialsConvertRequestWithBody generates requests for IoScansCredentialsConvert with any type of body

func NewIoScansRemediationCreateRequest

func NewIoScansRemediationCreateRequest(server string, body IoScansRemediationCreateJSONRequestBody) (*http.Request, error)

NewIoScansRemediationCreateRequest calls the generic IoScansRemediationCreate builder with application/json body

func NewIoScansRemediationCreateRequestWithBody

func NewIoScansRemediationCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewIoScansRemediationCreateRequestWithBody generates requests for IoScansRemediationCreate with any type of body

func NewIoScansRemediationListRequest

func NewIoScansRemediationListRequest(server string, params *IoScansRemediationListParams) (*http.Request, error)

NewIoScansRemediationListRequest generates requests for IoScansRemediationList

func NewIoV1AccessGroupsCreateRequest

func NewIoV1AccessGroupsCreateRequest(server string, body IoV1AccessGroupsCreateJSONRequestBody) (*http.Request, error)

NewIoV1AccessGroupsCreateRequest calls the generic IoV1AccessGroupsCreate builder with application/json body

func NewIoV1AccessGroupsCreateRequestWithBody

func NewIoV1AccessGroupsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewIoV1AccessGroupsCreateRequestWithBody generates requests for IoV1AccessGroupsCreate with any type of body

func NewIoV1AccessGroupsDeleteRequest

func NewIoV1AccessGroupsDeleteRequest(server string, id string) (*http.Request, error)

NewIoV1AccessGroupsDeleteRequest generates requests for IoV1AccessGroupsDelete

func NewIoV1AccessGroupsDetailsRequest

func NewIoV1AccessGroupsDetailsRequest(server string, id string) (*http.Request, error)

NewIoV1AccessGroupsDetailsRequest generates requests for IoV1AccessGroupsDetails

func NewIoV1AccessGroupsEditRequest

func NewIoV1AccessGroupsEditRequest(server string, id string, body IoV1AccessGroupsEditJSONRequestBody) (*http.Request, error)

NewIoV1AccessGroupsEditRequest calls the generic IoV1AccessGroupsEdit builder with application/json body

func NewIoV1AccessGroupsEditRequestWithBody

func NewIoV1AccessGroupsEditRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewIoV1AccessGroupsEditRequestWithBody generates requests for IoV1AccessGroupsEdit with any type of body

func NewIoV1AccessGroupsListFiltersRequest

func NewIoV1AccessGroupsListFiltersRequest(server string) (*http.Request, error)

NewIoV1AccessGroupsListFiltersRequest generates requests for IoV1AccessGroupsListFilters

func NewIoV1AccessGroupsListRequest

func NewIoV1AccessGroupsListRequest(server string, params *IoV1AccessGroupsListParams) (*http.Request, error)

NewIoV1AccessGroupsListRequest generates requests for IoV1AccessGroupsList

func NewIoV1AccessGroupsListRuleFiltersRequest

func NewIoV1AccessGroupsListRuleFiltersRequest(server string) (*http.Request, error)

NewIoV1AccessGroupsListRuleFiltersRequest generates requests for IoV1AccessGroupsListRuleFilters

func NewIoV2AccessGroupsCreateRequest

func NewIoV2AccessGroupsCreateRequest(server string, body IoV2AccessGroupsCreateJSONRequestBody) (*http.Request, error)

NewIoV2AccessGroupsCreateRequest calls the generic IoV2AccessGroupsCreate builder with application/json body

func NewIoV2AccessGroupsCreateRequestWithBody

func NewIoV2AccessGroupsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewIoV2AccessGroupsCreateRequestWithBody generates requests for IoV2AccessGroupsCreate with any type of body

func NewIoV2AccessGroupsDeleteRequest

func NewIoV2AccessGroupsDeleteRequest(server string, id string) (*http.Request, error)

NewIoV2AccessGroupsDeleteRequest generates requests for IoV2AccessGroupsDelete

func NewIoV2AccessGroupsDetailsRequest

func NewIoV2AccessGroupsDetailsRequest(server string, id string) (*http.Request, error)

NewIoV2AccessGroupsDetailsRequest generates requests for IoV2AccessGroupsDetails

func NewIoV2AccessGroupsEditRequest

func NewIoV2AccessGroupsEditRequest(server string, id string, body IoV2AccessGroupsEditJSONRequestBody) (*http.Request, error)

NewIoV2AccessGroupsEditRequest calls the generic IoV2AccessGroupsEdit builder with application/json body

func NewIoV2AccessGroupsEditRequestWithBody

func NewIoV2AccessGroupsEditRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewIoV2AccessGroupsEditRequestWithBody generates requests for IoV2AccessGroupsEdit with any type of body

func NewIoV2AccessGroupsListFiltersRequest

func NewIoV2AccessGroupsListFiltersRequest(server string) (*http.Request, error)

NewIoV2AccessGroupsListFiltersRequest generates requests for IoV2AccessGroupsListFilters

func NewIoV2AccessGroupsListRequest

func NewIoV2AccessGroupsListRequest(server string, params *IoV2AccessGroupsListParams) (*http.Request, error)

NewIoV2AccessGroupsListRequest generates requests for IoV2AccessGroupsList

func NewIoV2AccessGroupsListRuleFiltersRequest

func NewIoV2AccessGroupsListRuleFiltersRequest(server string) (*http.Request, error)

NewIoV2AccessGroupsListRuleFiltersRequest generates requests for IoV2AccessGroupsListRuleFilters

func NewNetworksAssignScannerBulkRequest

func NewNetworksAssignScannerBulkRequest(server string, networkId string, body NetworksAssignScannerBulkJSONRequestBody) (*http.Request, error)

NewNetworksAssignScannerBulkRequest calls the generic NetworksAssignScannerBulk builder with application/json body

func NewNetworksAssignScannerBulkRequestWithBody

func NewNetworksAssignScannerBulkRequestWithBody(server string, networkId string, contentType string, body io.Reader) (*http.Request, error)

NewNetworksAssignScannerBulkRequestWithBody generates requests for NetworksAssignScannerBulk with any type of body

func NewNetworksAssignScannerRequest

func NewNetworksAssignScannerRequest(server string, networkId string, scannerUuid string) (*http.Request, error)

NewNetworksAssignScannerRequest generates requests for NetworksAssignScanner

func NewNetworksCreateRequest

func NewNetworksCreateRequest(server string, body NetworksCreateJSONRequestBody) (*http.Request, error)

NewNetworksCreateRequest calls the generic NetworksCreate builder with application/json body

func NewNetworksCreateRequestWithBody

func NewNetworksCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewNetworksCreateRequestWithBody generates requests for NetworksCreate with any type of body

func NewNetworksDeleteRequest

func NewNetworksDeleteRequest(server string, networkId string) (*http.Request, error)

NewNetworksDeleteRequest generates requests for NetworksDelete

func NewNetworksDetailsRequest

func NewNetworksDetailsRequest(server string, networkId string) (*http.Request, error)

NewNetworksDetailsRequest generates requests for NetworksDetails

func NewNetworksListAssignableScannersRequest

func NewNetworksListAssignableScannersRequest(server string, networkId string) (*http.Request, error)

NewNetworksListAssignableScannersRequest generates requests for NetworksListAssignableScanners

func NewNetworksListRequest

func NewNetworksListRequest(server string, params *NetworksListParams) (*http.Request, error)

NewNetworksListRequest generates requests for NetworksList

func NewNetworksListScannersRequest

func NewNetworksListScannersRequest(server string, networkId string) (*http.Request, error)

NewNetworksListScannersRequest generates requests for NetworksListScanners

func NewNetworksUpdateRequest

func NewNetworksUpdateRequest(server string, networkId string, body NetworksUpdateJSONRequestBody) (*http.Request, error)

NewNetworksUpdateRequest calls the generic NetworksUpdate builder with application/json body

func NewNetworksUpdateRequestWithBody

func NewNetworksUpdateRequestWithBody(server string, networkId string, contentType string, body io.Reader) (*http.Request, error)

NewNetworksUpdateRequestWithBody generates requests for NetworksUpdate with any type of body

func NewPermissionsChangeRequest

func NewPermissionsChangeRequest(server string, objectType PermissionsChangeParamsObjectType, objectId int32, body PermissionsChangeJSONRequestBody) (*http.Request, error)

NewPermissionsChangeRequest calls the generic PermissionsChange builder with application/json body

func NewPermissionsChangeRequestWithBody

func NewPermissionsChangeRequestWithBody(server string, objectType PermissionsChangeParamsObjectType, objectId int32, contentType string, body io.Reader) (*http.Request, error)

NewPermissionsChangeRequestWithBody generates requests for PermissionsChange with any type of body

func NewPermissionsListRequest

func NewPermissionsListRequest(server string, objectType PermissionsListParamsObjectType, objectId int32) (*http.Request, error)

NewPermissionsListRequest generates requests for PermissionsList

func NewPoliciesConfigureRequest

func NewPoliciesConfigureRequest(server string, policyId int32) (*http.Request, error)

NewPoliciesConfigureRequest generates requests for PoliciesConfigure

func NewPoliciesCopyRequest

func NewPoliciesCopyRequest(server string, policyId int32) (*http.Request, error)

NewPoliciesCopyRequest generates requests for PoliciesCopy

func NewPoliciesCreateRequest

func NewPoliciesCreateRequest(server string, body PoliciesCreateJSONRequestBody) (*http.Request, error)

NewPoliciesCreateRequest calls the generic PoliciesCreate builder with application/json body

func NewPoliciesCreateRequestWithBody

func NewPoliciesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPoliciesCreateRequestWithBody generates requests for PoliciesCreate with any type of body

func NewPoliciesDeleteRequest

func NewPoliciesDeleteRequest(server string, policyId int32) (*http.Request, error)

NewPoliciesDeleteRequest generates requests for PoliciesDelete

func NewPoliciesDetailsRequest

func NewPoliciesDetailsRequest(server string, policyId int32) (*http.Request, error)

NewPoliciesDetailsRequest generates requests for PoliciesDetails

func NewPoliciesExportRequest

func NewPoliciesExportRequest(server string, policyId int32) (*http.Request, error)

NewPoliciesExportRequest generates requests for PoliciesExport

func NewPoliciesImportRequest

func NewPoliciesImportRequest(server string, body PoliciesImportJSONRequestBody) (*http.Request, error)

NewPoliciesImportRequest calls the generic PoliciesImport builder with application/json body

func NewPoliciesImportRequestWithBody

func NewPoliciesImportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPoliciesImportRequestWithBody generates requests for PoliciesImport with any type of body

func NewPoliciesListRequest

func NewPoliciesListRequest(server string) (*http.Request, error)

NewPoliciesListRequest generates requests for PoliciesList

func NewScannerGroupsAddScannerRequest

func NewScannerGroupsAddScannerRequest(server string, groupId int32, scannerId int32) (*http.Request, error)

NewScannerGroupsAddScannerRequest generates requests for ScannerGroupsAddScanner

func NewScannerGroupsCreateRequest

func NewScannerGroupsCreateRequest(server string, body ScannerGroupsCreateJSONRequestBody) (*http.Request, error)

NewScannerGroupsCreateRequest calls the generic ScannerGroupsCreate builder with application/json body

func NewScannerGroupsCreateRequestWithBody

func NewScannerGroupsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewScannerGroupsCreateRequestWithBody generates requests for ScannerGroupsCreate with any type of body

func NewScannerGroupsDeleteRequest

func NewScannerGroupsDeleteRequest(server string, groupId int32) (*http.Request, error)

NewScannerGroupsDeleteRequest generates requests for ScannerGroupsDelete

func NewScannerGroupsDeleteScannerRequest

func NewScannerGroupsDeleteScannerRequest(server string, groupId int32, scannerId int32) (*http.Request, error)

NewScannerGroupsDeleteScannerRequest generates requests for ScannerGroupsDeleteScanner

func NewScannerGroupsDetailsRequest

func NewScannerGroupsDetailsRequest(server string, groupId int32) (*http.Request, error)

NewScannerGroupsDetailsRequest generates requests for ScannerGroupsDetails

func NewScannerGroupsEditRequest

func NewScannerGroupsEditRequest(server string, groupId int32, body ScannerGroupsEditJSONRequestBody) (*http.Request, error)

NewScannerGroupsEditRequest calls the generic ScannerGroupsEdit builder with application/json body

func NewScannerGroupsEditRequestWithBody

func NewScannerGroupsEditRequestWithBody(server string, groupId int32, contentType string, body io.Reader) (*http.Request, error)

NewScannerGroupsEditRequestWithBody generates requests for ScannerGroupsEdit with any type of body

func NewScannerGroupsListRequest

func NewScannerGroupsListRequest(server string) (*http.Request, error)

NewScannerGroupsListRequest generates requests for ScannerGroupsList

func NewScannerGroupsListScannersRequest

func NewScannerGroupsListScannersRequest(server string, groupId int32) (*http.Request, error)

NewScannerGroupsListScannersRequest generates requests for ScannerGroupsListScanners

func NewScannersControlScansRequest

func NewScannersControlScansRequest(server string, scannerId int32, scanUuid string, body ScannersControlScansJSONRequestBody) (*http.Request, error)

NewScannersControlScansRequest calls the generic ScannersControlScans builder with application/json body

func NewScannersControlScansRequestWithBody

func NewScannersControlScansRequestWithBody(server string, scannerId int32, scanUuid string, contentType string, body io.Reader) (*http.Request, error)

NewScannersControlScansRequestWithBody generates requests for ScannersControlScans with any type of body

func NewScannersDeleteRequest

func NewScannersDeleteRequest(server string, scannerId int32) (*http.Request, error)

NewScannersDeleteRequest generates requests for ScannersDelete

func NewScannersDetailsRequest

func NewScannersDetailsRequest(server string, scannerId int32) (*http.Request, error)

NewScannersDetailsRequest generates requests for ScannersDetails

func NewScannersEditRequest

func NewScannersEditRequest(server string, scannerId int32, body ScannersEditJSONRequestBody) (*http.Request, error)

NewScannersEditRequest calls the generic ScannersEdit builder with application/json body

func NewScannersEditRequestWithBody

func NewScannersEditRequestWithBody(server string, scannerId int32, contentType string, body io.Reader) (*http.Request, error)

NewScannersEditRequestWithBody generates requests for ScannersEdit with any type of body

func NewScannersGetAwsTargetsRequest

func NewScannersGetAwsTargetsRequest(server string, scannerId int32) (*http.Request, error)

NewScannersGetAwsTargetsRequest generates requests for ScannersGetAwsTargets

func NewScannersGetScannerKeyRequest

func NewScannersGetScannerKeyRequest(server string, scannerId int32) (*http.Request, error)

NewScannersGetScannerKeyRequest generates requests for ScannersGetScannerKey

func NewScannersGetScansRequest

func NewScannersGetScansRequest(server string, scannerId int32) (*http.Request, error)

NewScannersGetScansRequest generates requests for ScannersGetScans

func NewScannersListRequest

func NewScannersListRequest(server string) (*http.Request, error)

NewScannersListRequest generates requests for ScannersList

func NewScannersToggleLinkStateRequest

func NewScannersToggleLinkStateRequest(server string, scannerId int32, body ScannersToggleLinkStateJSONRequestBody) (*http.Request, error)

NewScannersToggleLinkStateRequest calls the generic ScannersToggleLinkState builder with application/json body

func NewScannersToggleLinkStateRequestWithBody

func NewScannersToggleLinkStateRequestWithBody(server string, scannerId int32, contentType string, body io.Reader) (*http.Request, error)

NewScannersToggleLinkStateRequestWithBody generates requests for ScannersToggleLinkState with any type of body

func NewScansAttachmentsRequest

func NewScansAttachmentsRequest(server string, scanId string, attachmentId string, params *ScansAttachmentsParams) (*http.Request, error)

NewScansAttachmentsRequest generates requests for ScansAttachments

func NewScansConfigureRequest

func NewScansConfigureRequest(server string, scanId string, body ScansConfigureJSONRequestBody) (*http.Request, error)

NewScansConfigureRequest calls the generic ScansConfigure builder with application/json body

func NewScansConfigureRequestWithBody

func NewScansConfigureRequestWithBody(server string, scanId string, contentType string, body io.Reader) (*http.Request, error)

NewScansConfigureRequestWithBody generates requests for ScansConfigure with any type of body

func NewScansCopyRequest

func NewScansCopyRequest(server string, scanId string, body ScansCopyJSONRequestBody) (*http.Request, error)

NewScansCopyRequest calls the generic ScansCopy builder with application/json body

func NewScansCopyRequestWithBody

func NewScansCopyRequestWithBody(server string, scanId string, contentType string, body io.Reader) (*http.Request, error)

NewScansCopyRequestWithBody generates requests for ScansCopy with any type of body

func NewScansCreateRequest

func NewScansCreateRequest(server string, body ScansCreateJSONRequestBody) (*http.Request, error)

NewScansCreateRequest calls the generic ScansCreate builder with application/json body

func NewScansCreateRequestWithBody

func NewScansCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewScansCreateRequestWithBody generates requests for ScansCreate with any type of body

func NewScansDeleteHistoryRequest

func NewScansDeleteHistoryRequest(server string, scanId string, historyId int32) (*http.Request, error)

NewScansDeleteHistoryRequest generates requests for ScansDeleteHistory

func NewScansDeleteRequest

func NewScansDeleteRequest(server string, scanId string) (*http.Request, error)

NewScansDeleteRequest generates requests for ScansDelete

func NewScansDetailsRequest

func NewScansDetailsRequest(server string, scanId string, params *ScansDetailsParams) (*http.Request, error)

NewScansDetailsRequest generates requests for ScansDetails

func NewScansExportDownloadRequest

func NewScansExportDownloadRequest(server string, scanId string, fileId string) (*http.Request, error)

NewScansExportDownloadRequest generates requests for ScansExportDownload

func NewScansExportRequestRequest

func NewScansExportRequestRequest(server string, scanId string, params *ScansExportRequestParams, body ScansExportRequestJSONRequestBody) (*http.Request, error)

NewScansExportRequestRequest calls the generic ScansExportRequest builder with application/json body

func NewScansExportRequestRequestWithBody

func NewScansExportRequestRequestWithBody(server string, scanId string, params *ScansExportRequestParams, contentType string, body io.Reader) (*http.Request, error)

NewScansExportRequestRequestWithBody generates requests for ScansExportRequest with any type of body

func NewScansExportStatusRequest

func NewScansExportStatusRequest(server string, scanId string, fileId string) (*http.Request, error)

NewScansExportStatusRequest generates requests for ScansExportStatus

func NewScansGetLatestStatusRequest

func NewScansGetLatestStatusRequest(server string, scanId string) (*http.Request, error)

NewScansGetLatestStatusRequest generates requests for ScansGetLatestStatus

func NewScansHistoryDetailsRequest

func NewScansHistoryDetailsRequest(server string, scanId string, historyUuid string) (*http.Request, error)

NewScansHistoryDetailsRequest generates requests for ScansHistoryDetails

func NewScansHistoryRequest

func NewScansHistoryRequest(server string, scanId string, params *ScansHistoryParams) (*http.Request, error)

NewScansHistoryRequest generates requests for ScansHistory

func NewScansHostDetailsRequest

func NewScansHostDetailsRequest(server string, scanUuid string, hostId int32, params *ScansHostDetailsParams) (*http.Request, error)

NewScansHostDetailsRequest generates requests for ScansHostDetails

func NewScansImportRequest

func NewScansImportRequest(server string, params *ScansImportParams, body ScansImportJSONRequestBody) (*http.Request, error)

NewScansImportRequest calls the generic ScansImport builder with application/json body

func NewScansImportRequestWithBody

func NewScansImportRequestWithBody(server string, params *ScansImportParams, contentType string, body io.Reader) (*http.Request, error)

NewScansImportRequestWithBody generates requests for ScansImport with any type of body

func NewScansLaunchRequest

func NewScansLaunchRequest(server string, scanId string, body ScansLaunchJSONRequestBody) (*http.Request, error)

NewScansLaunchRequest calls the generic ScansLaunch builder with application/json body

func NewScansLaunchRequestWithBody

func NewScansLaunchRequestWithBody(server string, scanId string, contentType string, body io.Reader) (*http.Request, error)

NewScansLaunchRequestWithBody generates requests for ScansLaunch with any type of body

func NewScansListRequest

func NewScansListRequest(server string, params *ScansListParams) (*http.Request, error)

NewScansListRequest generates requests for ScansList

func NewScansPauseRequest

func NewScansPauseRequest(server string, scanId string) (*http.Request, error)

NewScansPauseRequest generates requests for ScansPause

func NewScansPluginOutputRequest

func NewScansPluginOutputRequest(server string, scanUuid string, hostId int32, pluginId int32, params *ScansPluginOutputParams) (*http.Request, error)

NewScansPluginOutputRequest generates requests for ScansPluginOutput

func NewScansReadStatusRequest

func NewScansReadStatusRequest(server string, scanId string, body ScansReadStatusJSONRequestBody) (*http.Request, error)

NewScansReadStatusRequest calls the generic ScansReadStatus builder with application/json body

func NewScansReadStatusRequestWithBody

func NewScansReadStatusRequestWithBody(server string, scanId string, contentType string, body io.Reader) (*http.Request, error)

NewScansReadStatusRequestWithBody generates requests for ScansReadStatus with any type of body

func NewScansResumeRequest

func NewScansResumeRequest(server string, scanId string) (*http.Request, error)

NewScansResumeRequest generates requests for ScansResume

func NewScansScheduleRequest

func NewScansScheduleRequest(server string, scanId string, body ScansScheduleJSONRequestBody) (*http.Request, error)

NewScansScheduleRequest calls the generic ScansSchedule builder with application/json body

func NewScansScheduleRequestWithBody

func NewScansScheduleRequestWithBody(server string, scanId string, contentType string, body io.Reader) (*http.Request, error)

NewScansScheduleRequestWithBody generates requests for ScansSchedule with any type of body

func NewScansStopRequest

func NewScansStopRequest(server string, scanId string) (*http.Request, error)

NewScansStopRequest generates requests for ScansStop

func NewScansTimezonesRequest

func NewScansTimezonesRequest(server string) (*http.Request, error)

NewScansTimezonesRequest generates requests for ScansTimezones

func NewServerPropertiesRequest

func NewServerPropertiesRequest(server string) (*http.Request, error)

NewServerPropertiesRequest generates requests for ServerProperties

func NewServerStatusRequest

func NewServerStatusRequest(server string) (*http.Request, error)

NewServerStatusRequest generates requests for ServerStatus

func NewTagsAssignAssetTagsRequest

func NewTagsAssignAssetTagsRequest(server string, body TagsAssignAssetTagsJSONRequestBody) (*http.Request, error)

NewTagsAssignAssetTagsRequest calls the generic TagsAssignAssetTags builder with application/json body

func NewTagsAssignAssetTagsRequestWithBody

func NewTagsAssignAssetTagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewTagsAssignAssetTagsRequestWithBody generates requests for TagsAssignAssetTags with any type of body

func NewTagsCreateTagCategoryRequest

func NewTagsCreateTagCategoryRequest(server string, body TagsCreateTagCategoryJSONRequestBody) (*http.Request, error)

NewTagsCreateTagCategoryRequest calls the generic TagsCreateTagCategory builder with application/json body

func NewTagsCreateTagCategoryRequestWithBody

func NewTagsCreateTagCategoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewTagsCreateTagCategoryRequestWithBody generates requests for TagsCreateTagCategory with any type of body

func NewTagsCreateTagValueRequest

func NewTagsCreateTagValueRequest(server string, body TagsCreateTagValueJSONRequestBody) (*http.Request, error)

NewTagsCreateTagValueRequest calls the generic TagsCreateTagValue builder with application/json body

func NewTagsCreateTagValueRequestWithBody

func NewTagsCreateTagValueRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewTagsCreateTagValueRequestWithBody generates requests for TagsCreateTagValue with any type of body

func NewTagsDeleteTagCategoryRequest

func NewTagsDeleteTagCategoryRequest(server string, categoryUuid string) (*http.Request, error)

NewTagsDeleteTagCategoryRequest generates requests for TagsDeleteTagCategory

func NewTagsDeleteTagValueRequest

func NewTagsDeleteTagValueRequest(server string, valueUuid string) (*http.Request, error)

NewTagsDeleteTagValueRequest generates requests for TagsDeleteTagValue

func NewTagsDeleteTagValuesBulkRequest

func NewTagsDeleteTagValuesBulkRequest(server string, body TagsDeleteTagValuesBulkJSONRequestBody) (*http.Request, error)

NewTagsDeleteTagValuesBulkRequest calls the generic TagsDeleteTagValuesBulk builder with application/json body

func NewTagsDeleteTagValuesBulkRequestWithBody

func NewTagsDeleteTagValuesBulkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewTagsDeleteTagValuesBulkRequestWithBody generates requests for TagsDeleteTagValuesBulk with any type of body

func NewTagsEditTagCategoryRequest

func NewTagsEditTagCategoryRequest(server string, categoryUuid string, body TagsEditTagCategoryJSONRequestBody) (*http.Request, error)

NewTagsEditTagCategoryRequest calls the generic TagsEditTagCategory builder with application/json body

func NewTagsEditTagCategoryRequestWithBody

func NewTagsEditTagCategoryRequestWithBody(server string, categoryUuid string, contentType string, body io.Reader) (*http.Request, error)

NewTagsEditTagCategoryRequestWithBody generates requests for TagsEditTagCategory with any type of body

func NewTagsListAssetFiltersRequest

func NewTagsListAssetFiltersRequest(server string) (*http.Request, error)

NewTagsListAssetFiltersRequest generates requests for TagsListAssetFilters

func NewTagsListAssetTagsRequest

func NewTagsListAssetTagsRequest(server string, assetUuid string) (*http.Request, error)

NewTagsListAssetTagsRequest generates requests for TagsListAssetTags

func NewTagsListTagCategoriesRequest

func NewTagsListTagCategoriesRequest(server string, params *TagsListTagCategoriesParams) (*http.Request, error)

NewTagsListTagCategoriesRequest generates requests for TagsListTagCategories

func NewTagsListTagValuesRequest

func NewTagsListTagValuesRequest(server string, params *TagsListTagValuesParams) (*http.Request, error)

NewTagsListTagValuesRequest generates requests for TagsListTagValues

func NewTagsTagCategoryDetailsRequest

func NewTagsTagCategoryDetailsRequest(server string, categoryUuid string) (*http.Request, error)

NewTagsTagCategoryDetailsRequest generates requests for TagsTagCategoryDetails

func NewTagsTagValueDetailsRequest

func NewTagsTagValueDetailsRequest(server string, valueUuid string) (*http.Request, error)

NewTagsTagValueDetailsRequest generates requests for TagsTagValueDetails

func NewTagsUpdateTagValueRequest

func NewTagsUpdateTagValueRequest(server string, valueUuid string, body TagsUpdateTagValueJSONRequestBody) (*http.Request, error)

NewTagsUpdateTagValueRequest calls the generic TagsUpdateTagValue builder with application/json body

func NewTagsUpdateTagValueRequestWithBody

func NewTagsUpdateTagValueRequestWithBody(server string, valueUuid string, contentType string, body io.Reader) (*http.Request, error)

NewTagsUpdateTagValueRequestWithBody generates requests for TagsUpdateTagValue with any type of body

func NewTargetGroupsCreateRequest

func NewTargetGroupsCreateRequest(server string, body TargetGroupsCreateJSONRequestBody) (*http.Request, error)

NewTargetGroupsCreateRequest calls the generic TargetGroupsCreate builder with application/json body

func NewTargetGroupsCreateRequestWithBody

func NewTargetGroupsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewTargetGroupsCreateRequestWithBody generates requests for TargetGroupsCreate with any type of body

func NewTargetGroupsDeleteRequest

func NewTargetGroupsDeleteRequest(server string, groupId int32) (*http.Request, error)

NewTargetGroupsDeleteRequest generates requests for TargetGroupsDelete

func NewTargetGroupsDetailsRequest

func NewTargetGroupsDetailsRequest(server string, groupId int32) (*http.Request, error)

NewTargetGroupsDetailsRequest generates requests for TargetGroupsDetails

func NewTargetGroupsEditRequest

func NewTargetGroupsEditRequest(server string, groupId int32, body TargetGroupsEditJSONRequestBody) (*http.Request, error)

NewTargetGroupsEditRequest calls the generic TargetGroupsEdit builder with application/json body

func NewTargetGroupsEditRequestWithBody

func NewTargetGroupsEditRequestWithBody(server string, groupId int32, contentType string, body io.Reader) (*http.Request, error)

NewTargetGroupsEditRequestWithBody generates requests for TargetGroupsEdit with any type of body

func NewTargetGroupsListRequest

func NewTargetGroupsListRequest(server string) (*http.Request, error)

NewTargetGroupsListRequest generates requests for TargetGroupsList

func NewVulnerabilitiesImportRequest

func NewVulnerabilitiesImportRequest(server string, body VulnerabilitiesImportJSONRequestBody) (*http.Request, error)

NewVulnerabilitiesImportRequest calls the generic VulnerabilitiesImport builder with application/json body

func NewVulnerabilitiesImportRequestWithBody

func NewVulnerabilitiesImportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewVulnerabilitiesImportRequestWithBody generates requests for VulnerabilitiesImport with any type of body

func NewVulnerabilitiesImportV2Request

func NewVulnerabilitiesImportV2Request(server string, body VulnerabilitiesImportV2JSONRequestBody) (*http.Request, error)

NewVulnerabilitiesImportV2Request calls the generic VulnerabilitiesImportV2 builder with application/json body

func NewVulnerabilitiesImportV2RequestWithBody

func NewVulnerabilitiesImportV2RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewVulnerabilitiesImportV2RequestWithBody generates requests for VulnerabilitiesImportV2 with any type of body

func NewWorkbenchesAssetInfoRequest

func NewWorkbenchesAssetInfoRequest(server string, assetId string, params *WorkbenchesAssetInfoParams) (*http.Request, error)

NewWorkbenchesAssetInfoRequest generates requests for WorkbenchesAssetInfo

func NewWorkbenchesAssetVulnerabilitiesRequest

func NewWorkbenchesAssetVulnerabilitiesRequest(server string, assetId string, params *WorkbenchesAssetVulnerabilitiesParams) (*http.Request, error)

NewWorkbenchesAssetVulnerabilitiesRequest generates requests for WorkbenchesAssetVulnerabilities

func NewWorkbenchesAssetVulnerabilityInfoRequest

func NewWorkbenchesAssetVulnerabilityInfoRequest(server string, assetId string, pluginId int32, params *WorkbenchesAssetVulnerabilityInfoParams) (*http.Request, error)

NewWorkbenchesAssetVulnerabilityInfoRequest generates requests for WorkbenchesAssetVulnerabilityInfo

func NewWorkbenchesAssetVulnerabilityOutputRequest

func NewWorkbenchesAssetVulnerabilityOutputRequest(server string, assetId string, pluginId int32, params *WorkbenchesAssetVulnerabilityOutputParams) (*http.Request, error)

NewWorkbenchesAssetVulnerabilityOutputRequest generates requests for WorkbenchesAssetVulnerabilityOutput

func NewWorkbenchesAssetsActivityRequest

func NewWorkbenchesAssetsActivityRequest(server string, assetUuid string) (*http.Request, error)

NewWorkbenchesAssetsActivityRequest generates requests for WorkbenchesAssetsActivity

func NewWorkbenchesAssetsDeleteRequest

func NewWorkbenchesAssetsDeleteRequest(server string, assetUuid string) (*http.Request, error)

NewWorkbenchesAssetsDeleteRequest generates requests for WorkbenchesAssetsDelete

func NewWorkbenchesAssetsRequest

func NewWorkbenchesAssetsRequest(server string, params *WorkbenchesAssetsParams) (*http.Request, error)

NewWorkbenchesAssetsRequest generates requests for WorkbenchesAssets

func NewWorkbenchesAssetsVulnerabilitiesRequest

func NewWorkbenchesAssetsVulnerabilitiesRequest(server string, params *WorkbenchesAssetsVulnerabilitiesParams) (*http.Request, error)

NewWorkbenchesAssetsVulnerabilitiesRequest generates requests for WorkbenchesAssetsVulnerabilities

func NewWorkbenchesExportDownloadRequest

func NewWorkbenchesExportDownloadRequest(server string, fileId int32) (*http.Request, error)

NewWorkbenchesExportDownloadRequest generates requests for WorkbenchesExportDownload

func NewWorkbenchesExportRequestRequest

func NewWorkbenchesExportRequestRequest(server string, params *WorkbenchesExportRequestParams) (*http.Request, error)

NewWorkbenchesExportRequestRequest generates requests for WorkbenchesExportRequest

func NewWorkbenchesExportStatusRequest

func NewWorkbenchesExportStatusRequest(server string, fileId int32) (*http.Request, error)

NewWorkbenchesExportStatusRequest generates requests for WorkbenchesExportStatus

func NewWorkbenchesVulnerabilitiesRequest

func NewWorkbenchesVulnerabilitiesRequest(server string, params *WorkbenchesVulnerabilitiesParams) (*http.Request, error)

NewWorkbenchesVulnerabilitiesRequest generates requests for WorkbenchesVulnerabilities

func NewWorkbenchesVulnerabilityInfoRequest

func NewWorkbenchesVulnerabilityInfoRequest(server string, pluginId int32, params *WorkbenchesVulnerabilityInfoParams) (*http.Request, error)

NewWorkbenchesVulnerabilityInfoRequest generates requests for WorkbenchesVulnerabilityInfo

func NewWorkbenchesVulnerabilityOutputRequest

func NewWorkbenchesVulnerabilityOutputRequest(server string, pluginId int32, params *WorkbenchesVulnerabilityOutputParams) (*http.Request, error)

NewWorkbenchesVulnerabilityOutputRequest generates requests for WorkbenchesVulnerabilityOutput

Types

type APIClient

ClientWithResponses builds on ClientInterface to offer response payloads

func NewAPIClient

func NewAPIClient(baseURL string, opts ...ClientOption) (*APIClient, error)

NewAPIClient Create a new API (yes, naming is awkward)

func NewClientFromEnvironment

func NewClientFromEnvironment(opts ...ClientOption) (*APIClient, error)

NewClientFromEnvironment creates a new client from default environment variables

type AgentConfig

type AgentConfig struct {
	*ClientWithResponses
}

AgentConfig implementation of the AgentConfig interface

func (*AgentConfig) Details

func (c *AgentConfig) Details(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
	AutoUnlink *struct {
		Enabled    *bool  "json:\"enabled,omitempty\""
		Expiration *int32 "json:\"expiration,omitempty\""
	} "json:\"auto_unlink,omitempty\""
	SoftwareUpdate *bool "json:\"software_update,omitempty\""
}, error)

Details calls the AgentConfig ´s function

func (*AgentConfig) Edit

func (c *AgentConfig) Edit(arg1 int32, arg2 AgentConfigEditJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	AutoUnlink *struct {
		Enabled    *bool  "json:\"enabled,omitempty\""
		Expiration *int32 "json:\"expiration,omitempty\""
	} "json:\"auto_unlink,omitempty\""
	SoftwareUpdate *bool "json:\"software_update,omitempty\""
}, error)

Edit calls the AgentConfig ´s function

func (*AgentConfig) EditWithBody

func (c *AgentConfig) EditWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	AutoUnlink *struct {
		Enabled    *bool  "json:\"enabled,omitempty\""
		Expiration *int32 "json:\"expiration,omitempty\""
	} "json:\"auto_unlink,omitempty\""
	SoftwareUpdate *bool "json:\"software_update,omitempty\""
}, error)

EditWithBody calls the AgentConfig ´s function

type AgentConfigDetailsResponse

type AgentConfigDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		AutoUnlink *struct {
			// If true, agent auto-unlink is enabled. Enabling auto-unlink causes it to take effect against all agents retroactively.
			Enabled *bool `json:"enabled,omitempty"`

			// The expiration time for agents, in days. If an agent has not communicated in the specified number of days, Tenable.io classifies the agent as expired and auto-unlinks the agent if auto_unlink.enabled is `true`. Valid values are 1-365.
			Expiration *int32 `json:"expiration,omitempty"`
		} `json:"auto_unlink,omitempty"`

		// If true, software updates are enabled for agents pursuant to any agent exclusions that are in effect. If false, software updates are disabled for all agents, even if no agent exclusions are in effect.
		SoftwareUpdate *bool `json:"software_update,omitempty"`
	}
}

func ParseAgentConfigDetailsResponse

func ParseAgentConfigDetailsResponse(rsp *http.Response) (*AgentConfigDetailsResponse, error)

ParseAgentConfigDetailsResponse parses an HTTP response from a AgentConfigDetailsWithResponse call

func (AgentConfigDetailsResponse) Status

Status returns HTTPResponse.Status

func (AgentConfigDetailsResponse) StatusCode

func (r AgentConfigDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentConfigEditJSONBody

type AgentConfigEditJSONBody struct {
	AutoUnlink *struct {
		// If true, agent auto-unlink is enabled. Enabling auto-unlink causes it to take effect against all agents retroactively.
		Enabled *bool `json:"enabled,omitempty"`

		// The expiration time for agents, in days. If an agent has not communicated in this number of days, it will be considered `expired` and auto-unlinked if auto\_unlink.enabled is `true`. Valid values are 1-365.
		Expiration *int32 `json:"expiration,omitempty"`
	} `json:"auto_unlink,omitempty"`

	// If true, software updates are enabled for agents pursuant to any agent exclusions that are in effect. If false, software updates are disabled for all agents, even if no agent exclusions are in effect.
	SoftwareUpdate *bool `json:"software_update,omitempty"`
}

AgentConfigEditJSONBody defines parameters for AgentConfigEdit.

type AgentConfigEditJSONRequestBody

type AgentConfigEditJSONRequestBody AgentConfigEditJSONBody

AgentConfigEditJSONRequestBody defines body for AgentConfigEdit for application/json ContentType.

type AgentConfigEditResponse

type AgentConfigEditResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		AutoUnlink *struct {
			// If true, agent auto-unlink is enabled. Enabling auto-unlink causes it to take effect against all agents retroactively.
			Enabled *bool `json:"enabled,omitempty"`

			// The expiration time for agents, in days. If an agent has not communicated in the specified number of days, Tenable.io classifies the agent as expired and auto-unlinks the agent if auto_unlink.enabled is `true`. Valid values are 1-365.
			Expiration *int32 `json:"expiration,omitempty"`
		} `json:"auto_unlink,omitempty"`

		// If true, software updates are enabled for agents pursuant to any agent exclusions that are in effect. If false, software updates are disabled for all agents, even if no agent exclusions are in effect.
		SoftwareUpdate *bool `json:"software_update,omitempty"`
	}
}

func ParseAgentConfigEditResponse

func ParseAgentConfigEditResponse(rsp *http.Response) (*AgentConfigEditResponse, error)

ParseAgentConfigEditResponse parses an HTTP response from a AgentConfigEditWithResponse call

func (AgentConfigEditResponse) Status

func (r AgentConfigEditResponse) Status() string

Status returns HTTPResponse.Status

func (AgentConfigEditResponse) StatusCode

func (r AgentConfigEditResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentConfigInterface

type AgentConfigInterface interface {
	Details(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
		AutoUnlink *struct {
			Enabled    *bool  "json:\"enabled,omitempty\""
			Expiration *int32 "json:\"expiration,omitempty\""
		} "json:\"auto_unlink,omitempty\""
		SoftwareUpdate *bool "json:\"software_update,omitempty\""
	}, error)
	EditWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		AutoUnlink *struct {
			Enabled    *bool  "json:\"enabled,omitempty\""
			Expiration *int32 "json:\"expiration,omitempty\""
		} "json:\"auto_unlink,omitempty\""
		SoftwareUpdate *bool "json:\"software_update,omitempty\""
	}, error)
	Edit(arg1 int32, arg2 AgentConfigEditJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		AutoUnlink *struct {
			Enabled    *bool  "json:\"enabled,omitempty\""
			Expiration *int32 "json:\"expiration,omitempty\""
		} "json:\"auto_unlink,omitempty\""
		SoftwareUpdate *bool "json:\"software_update,omitempty\""
	}, error)
}

AgentConfigInterface contains all methods for the nessus api

type AgentExclusions

type AgentExclusions struct {
	*ClientWithResponses
}

AgentExclusions implementation of the AgentExclusions interface

func (*AgentExclusions) Create

func (c *AgentExclusions) Create(arg1 int32, arg2 AgentExclusionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	Schedule             *struct {
		Enabled *bool   "json:\"enabled,omitempty\""
		Endtime *string "json:\"endtime,omitempty\""
		Rrules  struct {
			Bymonthday *int                   "json:\"bymonthday,omitempty\""
			Byweekday  *string                "json:\"byweekday,omitempty\""
			Freq       N200ScheduleRrulesFreq "json:\"freq\""
			Interval   *int                   "json:\"interval,omitempty\""
		} "json:\"rrules\""
		Starttime string "json:\"starttime\""
		Timezone  string "json:\"timezone\""
	} "json:\"schedule,omitempty\""
}, error)

Create calls the AgentExclusions ´s function

func (*AgentExclusions) CreateWithBody

func (c *AgentExclusions) CreateWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	Schedule             *struct {
		Enabled *bool   "json:\"enabled,omitempty\""
		Endtime *string "json:\"endtime,omitempty\""
		Rrules  struct {
			Bymonthday *int                   "json:\"bymonthday,omitempty\""
			Byweekday  *string                "json:\"byweekday,omitempty\""
			Freq       N200ScheduleRrulesFreq "json:\"freq\""
			Interval   *int                   "json:\"interval,omitempty\""
		} "json:\"rrules\""
		Starttime string "json:\"starttime\""
		Timezone  string "json:\"timezone\""
	} "json:\"schedule,omitempty\""
}, error)

CreateWithBody calls the AgentExclusions ´s function

func (*AgentExclusions) Delete

func (c *AgentExclusions) Delete(arg1 int32, arg2 int32, reqEditors ...RequestEditorFn) (*interface{}, error)

Delete calls the AgentExclusions ´s function

func (*AgentExclusions) Details

func (c *AgentExclusions) Details(arg1 int32, arg2 int32, reqEditors ...RequestEditorFn) (*struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	Schedule             *struct {
		Enabled *bool   "json:\"enabled,omitempty\""
		Endtime *string "json:\"endtime,omitempty\""
		Rrules  struct {
			Bymonthday *int                   "json:\"bymonthday,omitempty\""
			Byweekday  *string                "json:\"byweekday,omitempty\""
			Freq       N200ScheduleRrulesFreq "json:\"freq\""
			Interval   *int                   "json:\"interval,omitempty\""
		} "json:\"rrules\""
		Starttime string "json:\"starttime\""
		Timezone  string "json:\"timezone\""
	} "json:\"schedule,omitempty\""
}, error)

Details calls the AgentExclusions ´s function

func (*AgentExclusions) Edit

func (c *AgentExclusions) Edit(arg1 int32, arg2 int32, arg3 AgentExclusionsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)

Edit calls the AgentExclusions ´s function

func (*AgentExclusions) EditWithBody

func (c *AgentExclusions) EditWithBody(arg1 int32, arg2 int32, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)

EditWithBody calls the AgentExclusions ´s function

func (*AgentExclusions) List

func (c *AgentExclusions) List(arg1 int32, reqEditors ...RequestEditorFn) (*[]struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	Schedule             *struct {
		Enabled *bool   "json:\"enabled,omitempty\""
		Endtime *string "json:\"endtime,omitempty\""
		Rrules  struct {
			Bymonthday *int                   "json:\"bymonthday,omitempty\""
			Byweekday  *string                "json:\"byweekday,omitempty\""
			Freq       N200ScheduleRrulesFreq "json:\"freq\""
			Interval   *int                   "json:\"interval,omitempty\""
		} "json:\"rrules\""
		Starttime string "json:\"starttime\""
		Timezone  string "json:\"timezone\""
	} "json:\"schedule,omitempty\""
}, error)

List calls the AgentExclusions ´s function

type AgentExclusionsCreateJSONBody

type AgentExclusionsCreateJSONBody struct {
	// The description of the exclusion.
	Description *string `json:"description,omitempty"`

	// The name of the exclusion.
	Name     string `json:"name"`
	Schedule struct {
		// If true, the exclusion is scheduled.
		Enabled *bool `json:"enabled,omitempty"`

		// The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
		Endtime *string `json:"endtime,omitempty"`
		Rrules  struct {
			// The day of the month to repeat a MONTHLY freq rule on.
			Bymonthday *int `json:"bymonthday,omitempty"`

			// A comma separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA).
			Byweekday *string `json:"byweekday,omitempty"`

			// The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY).
			Freq AgentExclusionsCreateJSONBodyScheduleRrulesFreq `json:"freq"`

			// The interval of the rule.
			Interval *int `json:"interval,omitempty"`
		} `json:"rrules"`

		// The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
		Starttime string `json:"starttime"`

		// The timezone for the exclusion as returned by [scans: timezones](ref:scans-timezones).
		Timezone string `json:"timezone"`
	} `json:"schedule"`
}

AgentExclusionsCreateJSONBody defines parameters for AgentExclusionsCreate.

type AgentExclusionsCreateJSONBodyScheduleRrulesFreq

type AgentExclusionsCreateJSONBodyScheduleRrulesFreq string

AgentExclusionsCreateJSONBodyScheduleRrulesFreq defines parameters for AgentExclusionsCreate.

type AgentExclusionsCreateJSONRequestBody

type AgentExclusionsCreateJSONRequestBody AgentExclusionsCreateJSONBody

AgentExclusionsCreateJSONRequestBody defines body for AgentExclusionsCreate for application/json ContentType.

type AgentExclusionsCreateResponse

type AgentExclusionsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The creation date of the exclusion in unixtime.
		CreationDate *int `json:"creation_date,omitempty"`

		// The description of the exclusion.
		Description *string `json:"description,omitempty"`

		// The unique ID of the exclusion.
		Id *int `json:"id,omitempty"`

		// The last modification date for the exclusion in unixtime.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The name of the exclusion.
		Name     *string `json:"name,omitempty"`
		Schedule *struct {
			// If true, the exclusion is scheduled.
			Enabled *bool `json:"enabled,omitempty"`

			// The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
			Endtime *string `json:"endtime,omitempty"`
			Rrules  struct {
				// The day of the month to repeat a MONTHLY freq rule on.
				Bymonthday *int `json:"bymonthday,omitempty"`

				// A comma separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA).
				Byweekday *string `json:"byweekday,omitempty"`

				// The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY).
				Freq N200ScheduleRrulesFreq `json:"freq"`

				// The interval of the rule.
				Interval *int `json:"interval,omitempty"`
			} `json:"rrules"`

			// The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
			Starttime string `json:"starttime"`

			// The timezone for the exclusion as returned by [scans: timezones](ref:scans-timezones).
			Timezone string `json:"timezone"`
		} `json:"schedule,omitempty"`
	}
}

func ParseAgentExclusionsCreateResponse

func ParseAgentExclusionsCreateResponse(rsp *http.Response) (*AgentExclusionsCreateResponse, error)

ParseAgentExclusionsCreateResponse parses an HTTP response from a AgentExclusionsCreateWithResponse call

func (AgentExclusionsCreateResponse) Status

Status returns HTTPResponse.Status

func (AgentExclusionsCreateResponse) StatusCode

func (r AgentExclusionsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentExclusionsDeleteResponse

type AgentExclusionsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseAgentExclusionsDeleteResponse

func ParseAgentExclusionsDeleteResponse(rsp *http.Response) (*AgentExclusionsDeleteResponse, error)

ParseAgentExclusionsDeleteResponse parses an HTTP response from a AgentExclusionsDeleteWithResponse call

func (AgentExclusionsDeleteResponse) Status

Status returns HTTPResponse.Status

func (AgentExclusionsDeleteResponse) StatusCode

func (r AgentExclusionsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentExclusionsDetailsResponse

type AgentExclusionsDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The creation date of the exclusion in unixtime.
		CreationDate *int `json:"creation_date,omitempty"`

		// The description of the exclusion.
		Description *string `json:"description,omitempty"`

		// The unique ID of the exclusion.
		Id *int `json:"id,omitempty"`

		// The last modification date for the exclusion in unixtime.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The name of the exclusion.
		Name     *string `json:"name,omitempty"`
		Schedule *struct {
			// If true, the exclusion is scheduled.
			Enabled *bool `json:"enabled,omitempty"`

			// The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
			Endtime *string `json:"endtime,omitempty"`
			Rrules  struct {
				// The day of the month to repeat a MONTHLY freq rule on.
				Bymonthday *int `json:"bymonthday,omitempty"`

				// A comma separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA).
				Byweekday *string `json:"byweekday,omitempty"`

				// The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY).
				Freq N200ScheduleRrulesFreq `json:"freq"`

				// The interval of the rule.
				Interval *int `json:"interval,omitempty"`
			} `json:"rrules"`

			// The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
			Starttime string `json:"starttime"`

			// The timezone for the exclusion as returned by [scans: timezones](ref:scans-timezones).
			Timezone string `json:"timezone"`
		} `json:"schedule,omitempty"`
	}
}

func ParseAgentExclusionsDetailsResponse

func ParseAgentExclusionsDetailsResponse(rsp *http.Response) (*AgentExclusionsDetailsResponse, error)

ParseAgentExclusionsDetailsResponse parses an HTTP response from a AgentExclusionsDetailsWithResponse call

func (AgentExclusionsDetailsResponse) Status

Status returns HTTPResponse.Status

func (AgentExclusionsDetailsResponse) StatusCode

func (r AgentExclusionsDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentExclusionsEditJSONBody

type AgentExclusionsEditJSONBody struct {
	// The description of the exclusion.
	Description *string `json:"description,omitempty"`

	// The name of the exclusion.
	Name     *string `json:"name,omitempty"`
	Schedule struct {
		// If true, the exclusion is scheduled.
		Enabled *bool `json:"enabled,omitempty"`

		// The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
		Endtime *string `json:"endtime,omitempty"`
		Rrules  struct {
			// The day of the month to repeat a MONTHLY freq rule on.
			Bymonthday *int `json:"bymonthday,omitempty"`

			// A comma separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA).
			Byweekday *string `json:"byweekday,omitempty"`

			// The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY).
			Freq AgentExclusionsEditJSONBodyScheduleRrulesFreq `json:"freq"`

			// The interval of the rule.
			Interval *int `json:"interval,omitempty"`
		} `json:"rrules"`

		// The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
		Starttime string `json:"starttime"`

		// The timezone for the exclusion as returned by [scans: timezones](ref:scans-timezones).
		Timezone string `json:"timezone"`
	} `json:"schedule"`
}

AgentExclusionsEditJSONBody defines parameters for AgentExclusionsEdit.

type AgentExclusionsEditJSONBodyScheduleRrulesFreq

type AgentExclusionsEditJSONBodyScheduleRrulesFreq string

AgentExclusionsEditJSONBodyScheduleRrulesFreq defines parameters for AgentExclusionsEdit.

type AgentExclusionsEditJSONRequestBody

type AgentExclusionsEditJSONRequestBody AgentExclusionsEditJSONBody

AgentExclusionsEditJSONRequestBody defines body for AgentExclusionsEdit for application/json ContentType.

type AgentExclusionsEditResponse

type AgentExclusionsEditResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseAgentExclusionsEditResponse

func ParseAgentExclusionsEditResponse(rsp *http.Response) (*AgentExclusionsEditResponse, error)

ParseAgentExclusionsEditResponse parses an HTTP response from a AgentExclusionsEditWithResponse call

func (AgentExclusionsEditResponse) Status

Status returns HTTPResponse.Status

func (AgentExclusionsEditResponse) StatusCode

func (r AgentExclusionsEditResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentExclusionsInterface

type AgentExclusionsInterface interface {
	CreateWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Schedule             *struct {
			Enabled *bool   "json:\"enabled,omitempty\""
			Endtime *string "json:\"endtime,omitempty\""
			Rrules  struct {
				Bymonthday *int                   "json:\"bymonthday,omitempty\""
				Byweekday  *string                "json:\"byweekday,omitempty\""
				Freq       N200ScheduleRrulesFreq "json:\"freq\""
				Interval   *int                   "json:\"interval,omitempty\""
			} "json:\"rrules\""
			Starttime string "json:\"starttime\""
			Timezone  string "json:\"timezone\""
		} "json:\"schedule,omitempty\""
	}, error)
	Create(arg1 int32, arg2 AgentExclusionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Schedule             *struct {
			Enabled *bool   "json:\"enabled,omitempty\""
			Endtime *string "json:\"endtime,omitempty\""
			Rrules  struct {
				Bymonthday *int                   "json:\"bymonthday,omitempty\""
				Byweekday  *string                "json:\"byweekday,omitempty\""
				Freq       N200ScheduleRrulesFreq "json:\"freq\""
				Interval   *int                   "json:\"interval,omitempty\""
			} "json:\"rrules\""
			Starttime string "json:\"starttime\""
			Timezone  string "json:\"timezone\""
		} "json:\"schedule,omitempty\""
	}, error)
	Delete(arg1 int32, arg2 int32, reqEditors ...RequestEditorFn) (*interface{}, error)
	Details(arg1 int32, arg2 int32, reqEditors ...RequestEditorFn) (*struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Schedule             *struct {
			Enabled *bool   "json:\"enabled,omitempty\""
			Endtime *string "json:\"endtime,omitempty\""
			Rrules  struct {
				Bymonthday *int                   "json:\"bymonthday,omitempty\""
				Byweekday  *string                "json:\"byweekday,omitempty\""
				Freq       N200ScheduleRrulesFreq "json:\"freq\""
				Interval   *int                   "json:\"interval,omitempty\""
			} "json:\"rrules\""
			Starttime string "json:\"starttime\""
			Timezone  string "json:\"timezone\""
		} "json:\"schedule,omitempty\""
	}, error)
	EditWithBody(arg1 int32, arg2 int32, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)
	Edit(arg1 int32, arg2 int32, arg3 AgentExclusionsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)
	List(arg1 int32, reqEditors ...RequestEditorFn) (*[]struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Schedule             *struct {
			Enabled *bool   "json:\"enabled,omitempty\""
			Endtime *string "json:\"endtime,omitempty\""
			Rrules  struct {
				Bymonthday *int                   "json:\"bymonthday,omitempty\""
				Byweekday  *string                "json:\"byweekday,omitempty\""
				Freq       N200ScheduleRrulesFreq "json:\"freq\""
				Interval   *int                   "json:\"interval,omitempty\""
			} "json:\"rrules\""
			Starttime string "json:\"starttime\""
			Timezone  string "json:\"timezone\""
		} "json:\"schedule,omitempty\""
	}, error)
}

AgentExclusionsInterface contains all methods for the nessus api

type AgentExclusionsListResponse

type AgentExclusionsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// The creation date of the exclusion in unixtime.
		CreationDate *int `json:"creation_date,omitempty"`

		// The description of the exclusion.
		Description *string `json:"description,omitempty"`

		// The unique ID of the exclusion.
		Id *int `json:"id,omitempty"`

		// The last modification date for the exclusion in unixtime.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The name of the exclusion.
		Name     *string `json:"name,omitempty"`
		Schedule *struct {
			// If true, the exclusion is scheduled.
			Enabled *bool `json:"enabled,omitempty"`

			// The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
			Endtime *string `json:"endtime,omitempty"`
			Rrules  struct {
				// The day of the month to repeat a MONTHLY freq rule on.
				Bymonthday *int `json:"bymonthday,omitempty"`

				// A comma separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA).
				Byweekday *string `json:"byweekday,omitempty"`

				// The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY).
				Freq N200ScheduleRrulesFreq `json:"freq"`

				// The interval of the rule.
				Interval *int `json:"interval,omitempty"`
			} `json:"rrules"`

			// The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
			Starttime string `json:"starttime"`

			// The timezone for the exclusion as returned by [scans: timezones](ref:scans-timezones).
			Timezone string `json:"timezone"`
		} `json:"schedule,omitempty"`
	}
}

func ParseAgentExclusionsListResponse

func ParseAgentExclusionsListResponse(rsp *http.Response) (*AgentExclusionsListResponse, error)

ParseAgentExclusionsListResponse parses an HTTP response from a AgentExclusionsListWithResponse call

func (AgentExclusionsListResponse) Status

Status returns HTTPResponse.Status

func (AgentExclusionsListResponse) StatusCode

func (r AgentExclusionsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentGroup

type AgentGroup struct {
	*ClientWithResponses
}

AgentGroup implementation of the AgentGroup interface

func (*AgentGroup) ListAgents

func (c *AgentGroup) ListAgents(arg1 int32, arg2 int32, params *AgentGroupListAgentsParams, reqEditors ...RequestEditorFn) (*struct {
	Agents *[]struct {
		CoreBuild   *string "json:\"core_build,omitempty\""
		CoreVersion *string "json:\"core_version,omitempty\""
		Distro      *string "json:\"distro,omitempty\""
		Groups      *[]struct {
			Id   *int    "json:\"id,omitempty\""
			Name *string "json:\"name,omitempty\""
		} "json:\"groups,omitempty\""
		Id           *int              "json:\"id,omitempty\""
		Ip           *string           "json:\"ip,omitempty\""
		LastConnect  *int              "json:\"last_connect,omitempty\""
		LastScanned  *int              "json:\"last_scanned,omitempty\""
		LinkedOn     *int              "json:\"linked_on,omitempty\""
		Name         *string           "json:\"name,omitempty\""
		NetworkName  *string           "json:\"network_name,omitempty\""
		NetworkUuid  *string           "json:\"network_uuid,omitempty\""
		Platform     *string           "json:\"platform,omitempty\""
		PluginFeedId *string           "json:\"plugin_feed_id,omitempty\""
		Status       *N200AgentsStatus "json:\"status,omitempty\""
		Uuid         *string           "json:\"uuid,omitempty\""
	} "json:\"agents,omitempty\""
	Pagination *struct {
		Limit  *int32 "json:\"limit,omitempty\""
		Offset *int32 "json:\"offset,omitempty\""
		Sort   *[]struct {
			Name  *string "json:\"name,omitempty\""
			Order *string "json:\"order,omitempty\""
		} "json:\"sort,omitempty\""
		Total *int32 "json:\"total,omitempty\""
	} "json:\"pagination,omitempty\""
}, error)

ListAgents calls the AgentGroup ´s function

type AgentGroupInterface

type AgentGroupInterface interface {
	ListAgents(arg1 int32, arg2 int32, params *AgentGroupListAgentsParams, reqEditors ...RequestEditorFn) (*struct {
		Agents *[]struct {
			CoreBuild   *string "json:\"core_build,omitempty\""
			CoreVersion *string "json:\"core_version,omitempty\""
			Distro      *string "json:\"distro,omitempty\""
			Groups      *[]struct {
				Id   *int    "json:\"id,omitempty\""
				Name *string "json:\"name,omitempty\""
			} "json:\"groups,omitempty\""
			Id           *int              "json:\"id,omitempty\""
			Ip           *string           "json:\"ip,omitempty\""
			LastConnect  *int              "json:\"last_connect,omitempty\""
			LastScanned  *int              "json:\"last_scanned,omitempty\""
			LinkedOn     *int              "json:\"linked_on,omitempty\""
			Name         *string           "json:\"name,omitempty\""
			NetworkName  *string           "json:\"network_name,omitempty\""
			NetworkUuid  *string           "json:\"network_uuid,omitempty\""
			Platform     *string           "json:\"platform,omitempty\""
			PluginFeedId *string           "json:\"plugin_feed_id,omitempty\""
			Status       *N200AgentsStatus "json:\"status,omitempty\""
			Uuid         *string           "json:\"uuid,omitempty\""
		} "json:\"agents,omitempty\""
		Pagination *struct {
			Limit  *int32 "json:\"limit,omitempty\""
			Offset *int32 "json:\"offset,omitempty\""
			Sort   *[]struct {
				Name  *string "json:\"name,omitempty\""
				Order *string "json:\"order,omitempty\""
			} "json:\"sort,omitempty\""
			Total *int32 "json:\"total,omitempty\""
		} "json:\"pagination,omitempty\""
	}, error)
	// contains filtered or unexported methods
}

AgentGroupInterface contains all methods for the nessus api

type AgentGroupListAgentsParams

type AgentGroupListAgentsParams struct {
	// Apply a filter in the format `::`. For example, `field1:match:sometext` would match any records where the value of field1 contains `sometext`. You can use multiple query filters. For a list of supported filters, use the [GET /filters/scans/agents](ref:filters-agents-filters) endpoint.
	F *string `json:"f,omitempty"`

	// Filter type. If the filter type is `and`, the record is only returned if all filters match. If the filter type is `or`, the record is returned if any of the filters match.
	Ft *string `json:"ft,omitempty"`

	// Wildcard filter text. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the wildcard\_fields' values matches against the filter string, then the record matches the wildcard filter. For a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters. For example, if `w=wild&f=field1:match:one&f=field2:match:two&ft=or`, the record would match if the value of any supported wildcard\_fields contained `wild`, AND either field1's value contained `one` or field2's value contained `two`.
	W *string `json:"w,omitempty"`

	// A comma-delimited subset of wildcard\_fields to search when applying the wildcard filter. For example, `field1,field2`. If `w` is provided, but `wf` is not, then all wildcard\_fields' values are searched against the wildcard filter text.
	Wf *string `json:"wf,omitempty"`

	// The number of records to retrieve. If this parameter is omitted, Tenable.io uses the default value of `50`. The minimum supported limit is `1`, and the maximum supported limit is `5000`.
	Limit *int32 `json:"limit,omitempty"`

	// The starting record to retrieve. If this parameter is omitted, Tenable.io uses the default value of `0`.
	Offset *int32 `json:"offset,omitempty"`

	// The field you want to use to sort the results by along with the sort order. The field is specified first, followed by a colon, and the order is specified second (`asc` or `desc`). For example, `name:desc` would sort results by the `name` field in descending order.
	//
	// If you specify multiple fields, the fields must be separated by commas. For example, `name:desc,platform:asc` would first sort results by the `name` field in descending order and then by the `platform` field in ascending order.
	//
	// Sort can only be applied to the sortable_fields specified by the filter capabilities. There may be no more than max_sort_fields number of columns used in the sort, as specified by the filter capabilities.
	Sort *string `json:"sort,omitempty"`
}

AgentGroupListAgentsParams defines parameters for AgentGroupListAgents.

type AgentGroupListAgentsResponse

type AgentGroupListAgentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Agents *[]struct {
			// Build number for the agent.
			CoreBuild *string `json:"core_build,omitempty"`

			// Build version for the agent.
			CoreVersion *string `json:"core_version,omitempty"`

			// The agent software distribution.
			Distro *string `json:"distro,omitempty"`

			// Array of groups to which the agent belongs. Groups are returned in the form {"name": "group name", "id": "group id"}.
			Groups *[]struct {
				// The unique ID of the agent group to which the agent belongs.
				Id *int `json:"id,omitempty"`

				// The name of the agent group to which the agent belongs.
				Name *string `json:"name,omitempty"`
			} `json:"groups,omitempty"`

			// The unique ID of the agent.
			Id *int `json:"id,omitempty"`

			// The IP address of the agent.
			Ip *string `json:"ip,omitempty"`

			// The Unix timestamp when the agent last communicated with Tenable.io.
			LastConnect *int `json:"last_connect,omitempty"`

			// The Unix timestamp when the agent last scanned the asset.
			LastScanned *int `json:"last_scanned,omitempty"`

			// The Unix timestamp when the link from Tenable.io to the agent was established.
			LinkedOn *int `json:"linked_on,omitempty"`

			// The name of the agent.
			Name *string `json:"name,omitempty"`

			// The name of the network that the agent belongs to.
			NetworkName *string `json:"network_name,omitempty"`

			// The UUID of the network that the agent belongs to.
			NetworkUuid *string `json:"network_uuid,omitempty"`

			// The platform of the agent.
			Platform *string `json:"platform,omitempty"`

			// The currently loaded plugin set of the agent (null if the agent has no plugin set loaded).
			PluginFeedId *string `json:"plugin_feed_id,omitempty"`

			// "on", "off", or "init".  "on" means that the agent has connected recently, and is therefore likely ready to scan.  "off" means that the agent has not been seen recently and should be considered offline.  "init" means that the agent is online, but it is still processing plugin updates and is not ready to scan.
			Status *N200AgentsStatus `json:"status,omitempty"`

			// The UUID of the agent. Note: This value corresponds to the ID of the asset where the agent is installed. You can use this attribute to match agent data to asset data.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"agents,omitempty"`
		Pagination *struct {
			// The number of records requested (or the default value if omitted from the request).
			Limit *int32 `json:"limit,omitempty"`

			// The starting record you requested (or zero if omitted).
			Offset *int32 `json:"offset,omitempty"`

			// An array of objects representing the fields and sort order you specified in the request, which Tenable.io used to sort the returned data.
			Sort *[]struct {
				// The field on which Tenable.io sorted the results.
				Name *string `json:"name,omitempty"`

				// The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending).
				Order *string `json:"order,omitempty"`
			} `json:"sort,omitempty"`

			// The total number of records matching your search criteria.
			Total *int32 `json:"total,omitempty"`
		} `json:"pagination,omitempty"`
	}
	JSON400 *struct {
		// A brief description of the cause of the error.
		Error *string `json:"error,omitempty"`
	}
}

func ParseAgentGroupListAgentsResponse

func ParseAgentGroupListAgentsResponse(rsp *http.Response) (*AgentGroupListAgentsResponse, error)

ParseAgentGroupListAgentsResponse parses an HTTP response from a AgentGroupListAgentsWithResponse call

func (AgentGroupListAgentsResponse) Status

Status returns HTTPResponse.Status

func (AgentGroupListAgentsResponse) StatusCode

func (r AgentGroupListAgentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentGroupsAddAgentResponse

type AgentGroupsAddAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseAgentGroupsAddAgentResponse

func ParseAgentGroupsAddAgentResponse(rsp *http.Response) (*AgentGroupsAddAgentResponse, error)

ParseAgentGroupsAddAgentResponse parses an HTTP response from a AgentGroupsAddAgentWithResponse call

func (AgentGroupsAddAgentResponse) Status

Status returns HTTPResponse.Status

func (AgentGroupsAddAgentResponse) StatusCode

func (r AgentGroupsAddAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentGroupsConfigureJSONBody

type AgentGroupsConfigureJSONBody struct {
	// The name for the agent group.
	Name string `json:"name"`
}

AgentGroupsConfigureJSONBody defines parameters for AgentGroupsConfigure.

type AgentGroupsConfigureJSONRequestBody

type AgentGroupsConfigureJSONRequestBody AgentGroupsConfigureJSONBody

AgentGroupsConfigureJSONRequestBody defines body for AgentGroupsConfigure for application/json ContentType.

type AgentGroupsConfigureResponse

type AgentGroupsConfigureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseAgentGroupsConfigureResponse

func ParseAgentGroupsConfigureResponse(rsp *http.Response) (*AgentGroupsConfigureResponse, error)

ParseAgentGroupsConfigureResponse parses an HTTP response from a AgentGroupsConfigureWithResponse call

func (AgentGroupsConfigureResponse) Status

Status returns HTTPResponse.Status

func (AgentGroupsConfigureResponse) StatusCode

func (r AgentGroupsConfigureResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentGroupsCreateJSONBody

type AgentGroupsCreateJSONBody struct {
	// The name of the agent group.
	Name string `json:"name"`
}

AgentGroupsCreateJSONBody defines parameters for AgentGroupsCreate.

type AgentGroupsCreateJSONRequestBody

type AgentGroupsCreateJSONRequestBody AgentGroupsCreateJSONBody

AgentGroupsCreateJSONRequestBody defines body for AgentGroupsCreate for application/json ContentType.

type AgentGroupsCreateResponse

type AgentGroupsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The agents in the group. The agent records can be filtered, sorted, and paginated.
		Agents *[]string `json:"agents,omitempty"`

		// The creation date of the agent group in unixtime.
		CreationDate *int `json:"creation_date,omitempty"`

		// The unique ID of the agent group.
		Id *int `json:"id,omitempty"`

		// The last modification date for the agent group in unixtime.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The name of the agent group.
		Name *string `json:"name,omitempty"`

		// The username for the owner of the agent group.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the agent group.
		OwnerId *string `json:"owner_id,omitempty"`

		// The name for the owner of the agent group.
		OwnerName *string `json:"owner_name,omitempty"`

		// The UUID of the owner of the agent group.
		OwnerUuid *string `json:"owner_uuid,omitempty"`

		// The shared status of the agent group.
		Shared *bool `json:"shared,omitempty"`

		// The sharing permissions for the agent group.
		UserPermissions *int `json:"user_permissions,omitempty"`

		// The UUID of the agent group.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseAgentGroupsCreateResponse

func ParseAgentGroupsCreateResponse(rsp *http.Response) (*AgentGroupsCreateResponse, error)

ParseAgentGroupsCreateResponse parses an HTTP response from a AgentGroupsCreateWithResponse call

func (AgentGroupsCreateResponse) Status

func (r AgentGroupsCreateResponse) Status() string

Status returns HTTPResponse.Status

func (AgentGroupsCreateResponse) StatusCode

func (r AgentGroupsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentGroupsDeleteAgentResponse

type AgentGroupsDeleteAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseAgentGroupsDeleteAgentResponse

func ParseAgentGroupsDeleteAgentResponse(rsp *http.Response) (*AgentGroupsDeleteAgentResponse, error)

ParseAgentGroupsDeleteAgentResponse parses an HTTP response from a AgentGroupsDeleteAgentWithResponse call

func (AgentGroupsDeleteAgentResponse) Status

Status returns HTTPResponse.Status

func (AgentGroupsDeleteAgentResponse) StatusCode

func (r AgentGroupsDeleteAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentGroupsDeleteResponse

type AgentGroupsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseAgentGroupsDeleteResponse

func ParseAgentGroupsDeleteResponse(rsp *http.Response) (*AgentGroupsDeleteResponse, error)

ParseAgentGroupsDeleteResponse parses an HTTP response from a AgentGroupsDeleteWithResponse call

func (AgentGroupsDeleteResponse) Status

func (r AgentGroupsDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (AgentGroupsDeleteResponse) StatusCode

func (r AgentGroupsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentGroupsDetailsParams

type AgentGroupsDetailsParams struct {
	// Apply a filter in the format `::`. For example, `field1:match:sometext` would match any records where the value of field1 contains `sometext`. You can use multiple query filters.
	F *string `json:"f,omitempty"`

	// Filter type. If the filter type is `and`, the record is only returned if all filters match. If the filter type is `or`, the record is returned if any of the filters match.
	Ft *string `json:"ft,omitempty"`

	// Wildcard filter text. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the wildcard\_fields' values matches against the filter string, then the record matches the wildcard filter. For a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters. For example, if `w=wild&f=field1:match:one&f=field2:match:two&ft=or`, the record would match if the value of any supported wildcard\_fields contained `wild`, AND either field1's value contained `one` or field2's value contained `two`.
	W *string `json:"w,omitempty"`

	// A comma delimited subset of wildcard\_fields to search when applying the wildcard filter. For example, `field1,field2`. If `w` is provided, but `wf` is not, then all wildcard\_fields' values are searched against the wildcard filter text.
	Wf *string `json:"wf,omitempty"`

	// The number of records to retrieve. If this parameter is omitted, Tenable.io uses the default value of `50`. The minimum supported limit is `1`, and the maximum supported limit is `5000`.
	Limit *int32 `json:"limit,omitempty"`

	// The starting record to retrieve. If this parameter is omitted, Tenable.io uses the default value of `0`.
	Offset *int32 `json:"offset,omitempty"`

	// The field you want to use to sort the results by along with the sort order. The field is specified first, followed by a colon, and the order is specified second (`asc` or `desc`). For example, `name:desc` would sort results by the `name` field in descending order.
	//
	// If you specify multiple fields, the fields must be separated by commas. For example, `name:desc,creation_date:asc` would first sort results by the `name` field in descending order and then by the `creation_date` field in ascending order.
	//
	// Sort can only be applied to the sortable_fields specified by the filter capabilities. There may be no more than max_sort_fields number of columns used in the sort, as specified by the filter capabilities.
	Sort *string `json:"sort,omitempty"`
}

AgentGroupsDetailsParams defines parameters for AgentGroupsDetails.

type AgentGroupsDetailsResponse

type AgentGroupsDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The agents in the group. The agent records can be filtered, sorted, and paginated.
		Agents *[]string `json:"agents,omitempty"`

		// The creation date of the agent group in unixtime.
		CreationDate *int `json:"creation_date,omitempty"`

		// The unique ID of the agent group.
		Id *int `json:"id,omitempty"`

		// The last modification date for the agent group in unixtime.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The name of the agent group.
		Name *string `json:"name,omitempty"`

		// The username for the owner of the agent group.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the agent group.
		OwnerId *string `json:"owner_id,omitempty"`

		// The name for the owner of the agent group.
		OwnerName *string `json:"owner_name,omitempty"`

		// The UUID of the owner of the agent group.
		OwnerUuid *string `json:"owner_uuid,omitempty"`

		// The shared status of the agent group.
		Shared *bool `json:"shared,omitempty"`

		// The sharing permissions for the agent group.
		UserPermissions *int `json:"user_permissions,omitempty"`

		// The UUID of the agent group.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseAgentGroupsDetailsResponse

func ParseAgentGroupsDetailsResponse(rsp *http.Response) (*AgentGroupsDetailsResponse, error)

ParseAgentGroupsDetailsResponse parses an HTTP response from a AgentGroupsDetailsWithResponse call

func (AgentGroupsDetailsResponse) Status

Status returns HTTPResponse.Status

func (AgentGroupsDetailsResponse) StatusCode

func (r AgentGroupsDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentGroupsListResponse

type AgentGroupsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// The agents in the group. The agent records can be filtered, sorted, and paginated.
		Agents *[]string `json:"agents,omitempty"`

		// The creation date of the agent group in unixtime.
		CreationDate *int `json:"creation_date,omitempty"`

		// The unique ID of the agent group.
		Id *int `json:"id,omitempty"`

		// The last modification date for the agent group in unixtime.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The name of the agent group.
		Name *string `json:"name,omitempty"`

		// The username for the owner of the agent group.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the agent group.
		OwnerId *string `json:"owner_id,omitempty"`

		// The name for the owner of the agent group.
		OwnerName *string `json:"owner_name,omitempty"`

		// The UUID of the owner of the agent group.
		OwnerUuid *string `json:"owner_uuid,omitempty"`

		// The shared status of the agent group.
		Shared *bool `json:"shared,omitempty"`

		// The sharing permissions for the agent group.
		UserPermissions *int `json:"user_permissions,omitempty"`

		// The UUID of the agent group.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseAgentGroupsListResponse

func ParseAgentGroupsListResponse(rsp *http.Response) (*AgentGroupsListResponse, error)

ParseAgentGroupsListResponse parses an HTTP response from a AgentGroupsListWithResponse call

func (AgentGroupsListResponse) Status

func (r AgentGroupsListResponse) Status() string

Status returns HTTPResponse.Status

func (AgentGroupsListResponse) StatusCode

func (r AgentGroupsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentsDeleteResponse

type AgentsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseAgentsDeleteResponse

func ParseAgentsDeleteResponse(rsp *http.Response) (*AgentsDeleteResponse, error)

ParseAgentsDeleteResponse parses an HTTP response from a AgentsDeleteWithResponse call

func (AgentsDeleteResponse) Status

func (r AgentsDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (AgentsDeleteResponse) StatusCode

func (r AgentsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentsGetResponse

type AgentsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Build number for the agent.
		CoreBuild *string `json:"core_build,omitempty"`

		// Build version for the agent.
		CoreVersion *string `json:"core_version,omitempty"`

		// The agent software distribution.
		Distro *string `json:"distro,omitempty"`

		// Array of groups to which the agent belongs. Groups are returned in the form {"name": "group name", "id": "group id"}.
		Groups *[]struct {
			// The unique ID of the agent group to which the agent belongs.
			Id *int `json:"id,omitempty"`

			// The name of the agent group to which the agent belongs.
			Name *string `json:"name,omitempty"`
		} `json:"groups,omitempty"`

		// The unique ID of the agent.
		Id *int `json:"id,omitempty"`

		// The IP address of the agent.
		Ip *string `json:"ip,omitempty"`

		// The Unix timestamp when the agent last communicated with Tenable.io.
		LastConnect *int `json:"last_connect,omitempty"`

		// The Unix timestamp when the agent last scanned the asset.
		LastScanned *int `json:"last_scanned,omitempty"`

		// The Unix timestamp when the link from Tenable.io to the agent was established.
		LinkedOn *int `json:"linked_on,omitempty"`

		// The name of the agent.
		Name *string `json:"name,omitempty"`

		// The name of the network that the agent belongs to.
		NetworkName *string `json:"network_name,omitempty"`

		// The UUID of the network that the agent belongs to.
		NetworkUuid *string `json:"network_uuid,omitempty"`

		// The platform of the agent.
		Platform *string `json:"platform,omitempty"`

		// The currently loaded plugin set of the agent (null if the agent has no plugin set loaded).
		PluginFeedId *string `json:"plugin_feed_id,omitempty"`

		// "on", "off", or "init".  "on" means that the agent has connected recently, and is therefore likely ready to scan.  "off" means that the agent has not been seen recently and should be considered offline.  "init" means that the agent is online, but it is still processing plugin updates and is not ready to scan.
		Status *N200Status `json:"status,omitempty"`

		// The UUID of the agent. Note: This value corresponds to the ID of the asset where the agent is installed. You can use this attribute to match agent data to asset data.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseAgentsGetResponse

func ParseAgentsGetResponse(rsp *http.Response) (*AgentsGetResponse, error)

ParseAgentsGetResponse parses an HTTP response from a AgentsGetWithResponse call

func (AgentsGetResponse) Status

func (r AgentsGetResponse) Status() string

Status returns HTTPResponse.Status

func (AgentsGetResponse) StatusCode

func (r AgentsGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentsListParams

type AgentsListParams struct {
	// Apply a filter in the format `::`. For example, `field1:match:sometext` would match any records where the value of field1 contains `sometext`. You can use multiple query filters. For a list of supported filters, use the [GET /filters/scans/agents](ref:filters-agents-filters) endpoint.
	F *string `json:"f,omitempty"`

	// Filter type. If the filter type is `and`, the record is only returned if all filters match. If the filter type is `or`, the record is returned if any of the filters match.
	Ft *string `json:"ft,omitempty"`

	// Wildcard filter text. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the wildcard\_fields' values matches against the filter string, then the record matches the wildcard filter. For a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters. For example, if `w=wild&f=field1:match:one&f=field2:match:two&ft=or`, the record would match if the value of any supported wildcard\_fields contained `wild`, AND either field1's value contained `one` or field2's value contained `two`.
	W *string `json:"w,omitempty"`

	// A comma-delimited subset of wildcard\_fields to search when applying the wildcard filter. For example, `field1,field2`. If `w` is provided, but `wf` is not, then all wildcard\_fields' values are searched against the wildcard filter text.
	Wf *string `json:"wf,omitempty"`

	// The number of records to retrieve. If this parameter is omitted, Tenable.io uses the default value of `50`. The minimum supported limit is `1`, and the maximum supported limit is `5000`.
	Limit *int32 `json:"limit,omitempty"`

	// The starting record to retrieve. If this parameter is omitted, Tenable.io uses the default value of `0`.
	Offset *int32 `json:"offset,omitempty"`

	// The field you want to use to sort the results by along with the sort order. The field is specified first, followed by a colon, and the order is specified second (`asc` or `desc`). For example, `name:desc` would sort results by the `name` field in descending order.
	//
	// If you specify multiple fields, the fields must be separated by commas. For example, `name:desc,platform:asc` would first sort results by the `name` field in descending order and then by the `platform` field in ascending order.
	//
	// Sort can only be applied to the sortable_fields specified by the filter capabilities. There may be no more than max_sort_fields number of columns used in the sort, as specified by the filter capabilities.
	Sort *string `json:"sort,omitempty"`
}

AgentsListParams defines parameters for AgentsList.

type AgentsListResponse

type AgentsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Agents *[]struct {
			// Build number for the agent.
			CoreBuild *string `json:"core_build,omitempty"`

			// Build version for the agent.
			CoreVersion *string `json:"core_version,omitempty"`

			// The agent software distribution.
			Distro *string `json:"distro,omitempty"`

			// Array of groups to which the agent belongs. Groups are returned in the form {"name": "group name", "id": "group id"}.
			Groups *[]struct {
				// The unique ID of the agent group to which the agent belongs.
				Id *int `json:"id,omitempty"`

				// The name of the agent group to which the agent belongs.
				Name *string `json:"name,omitempty"`
			} `json:"groups,omitempty"`

			// The unique ID of the agent.
			Id *int `json:"id,omitempty"`

			// The IP address of the agent.
			Ip *string `json:"ip,omitempty"`

			// The Unix timestamp when the agent last communicated with Tenable.io.
			LastConnect *int `json:"last_connect,omitempty"`

			// The Unix timestamp when the agent last scanned the asset.
			LastScanned *int `json:"last_scanned,omitempty"`

			// The Unix timestamp when the link from Tenable.io to the agent was established.
			LinkedOn *int `json:"linked_on,omitempty"`

			// The name of the agent.
			Name *string `json:"name,omitempty"`

			// The name of the network that the agent belongs to.
			NetworkName *string `json:"network_name,omitempty"`

			// The UUID of the network that the agent belongs to.
			NetworkUuid *string `json:"network_uuid,omitempty"`

			// The platform of the agent.
			Platform *string `json:"platform,omitempty"`

			// The currently loaded plugin set of the agent (null if the agent has no plugin set loaded).
			PluginFeedId *string `json:"plugin_feed_id,omitempty"`

			// "on", "off", or "init".  "on" means that the agent has connected recently, and is therefore likely ready to scan.  "off" means that the agent has not been seen recently and should be considered offline.  "init" means that the agent is online, but it is still processing plugin updates and is not ready to scan.
			Status *N200AgentsStatus `json:"status,omitempty"`

			// The UUID of the agent. Note: This value corresponds to the ID of the asset where the agent is installed. You can use this attribute to match agent data to asset data.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"agents,omitempty"`
		Pagination *struct {
			// The number of records requested (or the default value if omitted from the request).
			Limit *int32 `json:"limit,omitempty"`

			// The starting record you requested (or zero if omitted).
			Offset *int32 `json:"offset,omitempty"`

			// An array of objects representing the fields and sort order you specified in the request, which Tenable.io used to sort the returned data.
			Sort *[]struct {
				// The field on which Tenable.io sorted the results.
				Name *string `json:"name,omitempty"`

				// The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending).
				Order *string `json:"order,omitempty"`
			} `json:"sort,omitempty"`

			// The total number of records matching your search criteria.
			Total *int32 `json:"total,omitempty"`
		} `json:"pagination,omitempty"`
	}
}

func ParseAgentsListResponse

func ParseAgentsListResponse(rsp *http.Response) (*AgentsListResponse, error)

ParseAgentsListResponse parses an HTTP response from a AgentsListWithResponse call

func (AgentsListResponse) Status

func (r AgentsListResponse) Status() string

Status returns HTTPResponse.Status

func (AgentsListResponse) StatusCode

func (r AgentsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Assets

type Assets struct {
	*ClientWithResponses
}

Assets implementation of the Assets interface

func (*Assets) AssetInfo

func (c *Assets) AssetInfo(contentType string, reqEditors ...RequestEditorFn) (*struct {
	AcrDrivers *[]struct {
		DriverName  *string   "json:\"driver_name,omitempty\""
		DriverValue *[]string "json:\"driver_value,omitempty\""
	} "json:\"acr_drivers,omitempty\""
	AcrScore                  *int      "json:\"acr_score,omitempty\""
	AgentName                 *[]string "json:\"agent_name,omitempty\""
	AwsAvailabilityZone       *[]string "json:\"aws_availability_zone,omitempty\""
	AwsEc2InstanceAmiId       *[]string "json:\"aws_ec2_instance_ami_id,omitempty\""
	AwsEc2InstanceGroupName   *[]string "json:\"aws_ec2_instance_group_name,omitempty\""
	AwsEc2InstanceId          *[]string "json:\"aws_ec2_instance_id,omitempty\""
	AwsEc2InstanceStateName   *[]string "json:\"aws_ec2_instance_state_name,omitempty\""
	AwsEc2InstanceType        *[]string "json:\"aws_ec2_instance_type,omitempty\""
	AwsEc2Name                *[]string "json:\"aws_ec2_name,omitempty\""
	AwsEc2ProductCode         *[]string "json:\"aws_ec2_product_code,omitempty\""
	AwsOwnerId                *[]string "json:\"aws_owner_id,omitempty\""
	AwsRegion                 *[]string "json:\"aws_region,omitempty\""
	AwsSubnetId               *[]string "json:\"aws_subnet_id,omitempty\""
	AwsVpcId                  *[]string "json:\"aws_vpc_id,omitempty\""
	AzureResourceId           *[]string "json:\"azure_resource_id,omitempty\""
	AzureVmId                 *[]string "json:\"azure_vm_id,omitempty\""
	BiosUuid                  *[]string "json:\"bios_uuid,omitempty\""
	CreatedAt                 *string   "json:\"created_at,omitempty\""
	ExposureScore             *int      "json:\"exposure_score,omitempty\""
	FirstSeen                 *string   "json:\"first_seen,omitempty\""
	Fqdn                      *[]string "json:\"fqdn,omitempty\""
	GcpInstanceId             *[]string "json:\"gcp_instance_id,omitempty\""
	GcpProjectId              *[]string "json:\"gcp_project_id,omitempty\""
	GcpZone                   *[]string "json:\"gcp_zone,omitempty\""
	HasAgent                  *bool     "json:\"has_agent,omitempty\""
	Hostname                  *[]string "json:\"hostname,omitempty\""
	Id                        *string   "json:\"id,omitempty\""
	InstalledSoftware         *[]string "json:\"installed_software,omitempty\""
	Ipv4                      *[]string "json:\"ipv4,omitempty\""
	Ipv6                      *[]string "json:\"ipv6,omitempty\""
	LastAuthenticatedScanDate *string   "json:\"last_authenticated_scan_date,omitempty\""
	LastLicensedScanDate      *string   "json:\"last_licensed_scan_date,omitempty\""
	LastScanTarget            *string   "json:\"last_scan_target,omitempty\""
	LastSeen                  *string   "json:\"last_seen,omitempty\""
	MacAddress                *[]string "json:\"mac_address,omitempty\""
	McafeeEpoAgentGuid        *[]string "json:\"mcafee_epo_agent_guid,omitempty\""
	McafeeEpoGuid             *[]string "json:\"mcafee_epo_guid,omitempty\""
	NetbiosName               *[]string "json:\"netbios_name,omitempty\""
	NetworkId                 *[]string "json:\"network_id,omitempty\""
	OperatingSystem           *[]string "json:\"operating_system,omitempty\""
	QualysAssetId             *[]string "json:\"qualys_asset_id,omitempty\""
	QualysHostId              *[]string "json:\"qualys_host_id,omitempty\""
	ScanFrequency             *[]struct {
		Frequency *int  "json:\"frequency,omitempty\""
		Interval  *int  "json:\"interval,omitempty\""
		Licensed  *bool "json:\"licensed,omitempty\""
	} "json:\"scan_frequency,omitempty\""
	ServicenowSysid *[]string "json:\"servicenow_sysid,omitempty\""
	Sources         *[][]struct {
		FirstSeen *string "json:\"first_seen,omitempty\""
		LastSeen  *string "json:\"last_seen,omitempty\""
		Name      *string "json:\"name,omitempty\""
	} "json:\"sources,omitempty\""
	SshFingerprint *[]string "json:\"ssh_fingerprint,omitempty\""
	SystemType     *[]string "json:\"system_type,omitempty\""
	Tags           *[]struct {
		AddedAt  *string "json:\"added_at,omitempty\""
		AddedBy  *string "json:\"added_by,omitempty\""
		TagKey   *string "json:\"tag_key,omitempty\""
		TagUuid  *string "json:\"tag_uuid,omitempty\""
		TagValue *string "json:\"tag_value,omitempty\""
	} "json:\"tags,omitempty\""
	TenableUuid *[]string "json:\"tenable_uuid,omitempty\""
	UpdatedAt   *string   "json:\"updated_at,omitempty\""
}, error)

AssetInfo calls the Assets ´s function

func (*Assets) BulkDelete

BulkDelete calls the Assets ´s function

func (*Assets) BulkDeleteWithBody

func (c *Assets) BulkDeleteWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*AssetsBulkDeleteResponse, error)

BulkDeleteWithBody calls the Assets ´s function

func (*Assets) BulkMove

BulkMove calls the Assets ´s function

func (*Assets) BulkMoveWithBody

func (c *Assets) BulkMoveWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*AssetsBulkMoveResponse, error)

BulkMoveWithBody calls the Assets ´s function

func (*Assets) BulkUpdateAcr

BulkUpdateAcr calls the Assets ´s function

func (*Assets) BulkUpdateAcrWithBody

func (c *Assets) BulkUpdateAcrWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*AssetsBulkUpdateAcrResponse, error)

BulkUpdateAcrWithBody calls the Assets ´s function

func (*Assets) Import

func (c *Assets) Import(arg1 AssetsImportJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	AssetImportJobUuid *string "json:\"asset_import_job_uuid,omitempty\""
}, error)

Import calls the Assets ´s function

func (*Assets) ImportJobInfo

func (c *Assets) ImportJobInfo(contentType string, reqEditors ...RequestEditorFn) (*struct {
	Batches        *int32  "json:\"batches,omitempty\""
	ContainerId    *string "json:\"container_id,omitempty\""
	EndTime        *int32  "json:\"end_time,omitempty\""
	FailedAssets   *int    "json:\"failed_assets,omitempty\""
	JobId          *string "json:\"job_id,omitempty\""
	LastUpdateTime *int32  "json:\"last_update_time,omitempty\""
	Source         *string "json:\"source,omitempty\""
	StartTime      *int32  "json:\"start_time,omitempty\""
	Status         *string "json:\"status,omitempty\""
	StatusMessage  *string "json:\"status_message,omitempty\""
	UploadedAssets *int32  "json:\"uploaded_assets,omitempty\""
}, error)

ImportJobInfo calls the Assets ´s function

func (*Assets) ImportWithBody

func (c *Assets) ImportWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	AssetImportJobUuid *string "json:\"asset_import_job_uuid,omitempty\""
}, error)

ImportWithBody calls the Assets ´s function

func (*Assets) ListAssets

func (c *Assets) ListAssets(reqEditors ...RequestEditorFn) (*struct {
	Assets *[]struct {
		AcrDrivers *[]struct {
			DriverName  *string   "json:\"driver_name,omitempty\""
			DriverValue *[]string "json:\"driver_value,omitempty\""
		} "json:\"acr_drivers,omitempty\""
		AcrScore        *int      "json:\"acr_score,omitempty\""
		AgentName       *[]string "json:\"agent_name,omitempty\""
		AwsEc2Name      *[]string "json:\"aws_ec2_name,omitempty\""
		ExposureScore   *int      "json:\"exposure_score,omitempty\""
		Fqdn            *[]string "json:\"fqdn,omitempty\""
		HasAgent        *bool     "json:\"has_agent,omitempty\""
		Id              *string   "json:\"id,omitempty\""
		Ipv4            *[]string "json:\"ipv4,omitempty\""
		Ipv6            *[]string "json:\"ipv6,omitempty\""
		LastScanTarget  *string   "json:\"last_scan_target,omitempty\""
		LastSeen        *string   "json:\"last_seen,omitempty\""
		MacAddress      *[]string "json:\"mac_address,omitempty\""
		NetbiosName     *[]string "json:\"netbios_name,omitempty\""
		OperatingSystem *[]string "json:\"operating_system,omitempty\""
		ScanFrequency   *[]struct {
			Frequency *int  "json:\"frequency,omitempty\""
			Interval  *int  "json:\"interval,omitempty\""
			Licensed  *bool "json:\"licensed,omitempty\""
		} "json:\"scan_frequency,omitempty\""
		Sources *[][]struct {
			FirstSeen *string "json:\"first_seen,omitempty\""
			LastSeen  *string "json:\"last_seen,omitempty\""
			Name      *string "json:\"name,omitempty\""
		} "json:\"sources,omitempty\""
	} "json:\"assets,omitempty\""
	Total *int "json:\"total,omitempty\""
}, error)

ListAssets calls the Assets ´s function

func (*Assets) ListImportJobs

func (c *Assets) ListImportJobs(reqEditors ...RequestEditorFn) (*[]struct {
	Batches        *int32  "json:\"batches,omitempty\""
	ContainerId    *string "json:\"container_id,omitempty\""
	EndTime        *int32  "json:\"end_time,omitempty\""
	FailedAssets   *int    "json:\"failed_assets,omitempty\""
	JobId          *string "json:\"job_id,omitempty\""
	LastUpdateTime *int32  "json:\"last_update_time,omitempty\""
	Source         *string "json:\"source,omitempty\""
	StartTime      *int32  "json:\"start_time,omitempty\""
	Status         *string "json:\"status,omitempty\""
	StatusMessage  *string "json:\"status_message,omitempty\""
	UploadedAssets *int32  "json:\"uploaded_assets,omitempty\""
}, error)

ListImportJobs calls the Assets ´s function

type AssetsAssetInfoResponse

type AssetsAssetInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The key drivers that Tenable uses to calculate an asset's Tenable-provided ACR. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
		//
		// This attribute is only present if you have a Lumin license.
		AcrDrivers *[]struct {
			// The type of characteristic.
			DriverName *string `json:"driver_name,omitempty"`

			// The characteristic value.
			DriverValue *[]string `json:"driver_value,omitempty"`
		} `json:"acr_drivers,omitempty"`

		// The Asset Criticality Rating (ACR) for the asset. Tenable assigns an ACR to each asset on your network to represent the asset's relative risk as an integer from 1 to 10. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
		//
		// This attribute is only present if you have a Lumin license.
		AcrScore *int `json:"acr_score,omitempty"`

		// The names of any Nessus agents that scanned and identified the asset.
		AgentName *[]string `json:"agent_name,omitempty"`

		// The availability zone where Amazon Web Services hosts the virtual machine instance, for example, `us-east-1a`. Availability zones are subdivisions of AWS regions. For more information, see Regions and Availability Zones in the AWS documentation.
		AwsAvailabilityZone *[]string `json:"aws_availability_zone,omitempty"`

		// The unique identifier of the Linux AMI image in Amazon Elastic Compute Cloud (Amazon EC2). For more information, see the Amazon Elastic Compute Cloud Documentation.
		AwsEc2InstanceAmiId *[]string `json:"aws_ec2_instance_ami_id,omitempty"`

		// The virtual machine instance's group in AWS.
		AwsEc2InstanceGroupName *[]string `json:"aws_ec2_instance_group_name,omitempty"`

		// The unique identifier of the Linux instance in Amazon EC2. For more information, see the Amazon Elastic Compute Cloud Documentation.
		AwsEc2InstanceId *[]string `json:"aws_ec2_instance_id,omitempty"`

		// The state of the virtual machine instance in AWS at the time of the scan. For more information on instance states, see the AWS documentation.
		AwsEc2InstanceStateName *[]string `json:"aws_ec2_instance_state_name,omitempty"`

		// The type of instance in AWS EC2.
		AwsEc2InstanceType *[]string `json:"aws_ec2_instance_type,omitempty"`

		// The name of the virtual machine instance in AWS EC2.
		AwsEc2Name *[]string `json:"aws_ec2_name,omitempty"`

		// The product code associated with the AMI used to launch the virtual machine instance in AWS EC2.
		AwsEc2ProductCode *[]string `json:"aws_ec2_product_code,omitempty"`

		// The canonical user identifier for the AWS account associated with the virtual machine instance. For example, `79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be`. For more information, see AWS Account Identifiers in the AWS documentation.
		AwsOwnerId *[]string `json:"aws_owner_id,omitempty"`

		// The region where AWS hosts the virtual machine instance, for example, `us-east-1`. For more information, see Regions and Availability Zones in the AWS documentation.
		AwsRegion *[]string `json:"aws_region,omitempty"`

		// The unique identifier of the AWS subnet where the virtual machine instance was running at the time of the scan.
		AwsSubnetId *[]string `json:"aws_subnet_id,omitempty"`

		// The unique identifier for the public cloud that hosts the AWS virtual machine instance. For more information, see the Amazon Virtual Private Cloud User Guide.
		AwsVpcId *[]string `json:"aws_vpc_id,omitempty"`

		// The unique identifier of the resource in the Azure Resource Manager. For more information, see the Azure Resource Manager Documentation.
		AzureResourceId *[]string `json:"azure_resource_id,omitempty"`

		// The unique identifier of the Microsoft Azure virtual machine instance. For more information, see "Accessing and Using Azure VM Unique ID" in the Microsoft Azure documentation.
		AzureVmId *[]string `json:"azure_vm_id,omitempty"`

		// The BIOS UUID that scans have associated with the asset.
		BiosUuid *[]string `json:"bios_uuid,omitempty"`

		// The time and date when Tenable.io created the asset record.
		CreatedAt *string `json:"created_at,omitempty"`

		// The Asset Exposure Score (AES) for the asset. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
		ExposureScore *int `json:"exposure_score,omitempty"`

		// The time and date when a scan first identified the asset.
		FirstSeen *string `json:"first_seen,omitempty"`

		// The fully-qualified domain names that scans have associated with the asset record.
		Fqdn *[]string `json:"fqdn,omitempty"`

		// The unique identifier of the virtual machine instance in GCP.
		GcpInstanceId *[]string `json:"gcp_instance_id,omitempty"`

		// The customized name of the project to which the virtual machine instance belongs in Google Cloud Platform (GCP). For more information, see "Creating and Managing Projects" in the GCP documentation.
		GcpProjectId *[]string `json:"gcp_project_id,omitempty"`

		// The zone where the virtual machine instance runs in GCP. For more information, see "Regions and Zones" in the GCP documentation.
		GcpZone *[]string `json:"gcp_zone,omitempty"`

		// Indicates if a Nessus agent scan detected the asset.
		HasAgent *bool `json:"has_agent,omitempty"`

		// The hostnames that scans have associated with the asset record.
		Hostname *[]string `json:"hostname,omitempty"`

		// The UUID of the asset. Use this value as the unique key for the asset.
		Id *string `json:"id,omitempty"`

		// A list of Common Platform Enumeration (CPE) values that represent software applications a scan identified as present on an asset. This attribute supports the CPE 2.2 format. For more information, see the "Component Syntax" section of the [CPE Specification, Version 2.2](https://cpe.mitre.org/files/cpe-specification_2.2.pdf). For assets identified in Tenable scans, this attribute contains data only if a scan using [Nessus Plugin ID 45590](https://www.tenable.com/plugins/nessus/45590) has evaluated the asset.
		//
		// **Note:** If no scan detects an application within 30 days of the scan that originally detected the application, Tenable.io considers the detection of that application expired. As a result, the next time a scan evaluates the asset, Tenable.io removes the expired application from the installed_software attribute. This activity is logged as a `remove` type of `attribute_change` update in the asset activity log.
		InstalledSoftware *[]string `json:"installed_software,omitempty"`

		// The IPv4 addresses that scans have associated with the asset record.
		Ipv4 *[]string `json:"ipv4,omitempty"`

		// The IPv6 addresses that scans have associated with the asset record.
		Ipv6 *[]string `json:"ipv6,omitempty"`

		// The time and date of the last credentialed scan run on the asset.
		LastAuthenticatedScanDate *string `json:"last_authenticated_scan_date,omitempty"`

		// The time and date of the last scan that identified the asset as licensed. Tenable.io categorizes an asset as licensed if a scan of that asset has returned results from a non-discovery plugin within the last 90 days.
		LastLicensedScanDate *string `json:"last_licensed_scan_date,omitempty"`

		// The IPv4 address, IPv6 address, or FQDN that the scanner last used to evaluate the asset.
		LastScanTarget *string `json:"last_scan_target,omitempty"`

		// The time and date of the scan that most recently identified the asset.
		LastSeen *string `json:"last_seen,omitempty"`

		// The MAC addresses that scans have associated with the asset record.
		MacAddress *[]string `json:"mac_address,omitempty"`

		// The unique identifier of the McAfee ePO agent that identified the asset. For more information, see the McAfee documentation.
		McafeeEpoAgentGuid *[]string `json:"mcafee_epo_agent_guid,omitempty"`

		// The unique identifier of the asset in McAfee ePolicy Orchestrator (ePO). For more information, see the McAfee documentation.
		McafeeEpoGuid *[]string `json:"mcafee_epo_guid,omitempty"`

		// The NetBIOS names that scans have associated with the asset record.
		NetbiosName *[]string `json:"netbios_name,omitempty"`

		// The ID of the network object to which the asset belongs. For more information, see [Manage Networks](doc:manage-networks-tio).
		NetworkId *[]string `json:"network_id,omitempty"`

		// The operating systems that scans have associated with the asset record.
		OperatingSystem *[]string `json:"operating_system,omitempty"`

		// The Asset ID of the asset in Qualys. For more information, see the Qualys documentation.
		QualysAssetId *[]string `json:"qualys_asset_id,omitempty"`

		// The Host ID of the asset in Qualys. For more information, see the Qualys documentation.
		QualysHostId *[]string `json:"qualys_host_id,omitempty"`

		// Information about how often scans ran against the asset during specified intervals.
		ScanFrequency *[]struct {
			// The number of times that a scan ran against the asset during the specified interval.
			Frequency *int `json:"frequency,omitempty"`

			// The number of days over which Tenable searches for scans involving the asset.
			Interval *int `json:"interval,omitempty"`

			// Indicates whether the asset was licensed at the time of the identified scans.
			Licensed *bool `json:"licensed,omitempty"`
		} `json:"scan_frequency,omitempty"`

		// The unique record identifier of the asset in ServiceNow. For more information, see the ServiceNow documentation.
		ServicenowSysid *[]string `json:"servicenow_sysid,omitempty"`

		// The sources of the scans that identified the asset.
		Sources *[][]struct {
			// The ISO timestamp when the source first reported the asset.
			FirstSeen *string `json:"first_seen,omitempty"`

			// The ISO timestamp when the source last reported the asset.
			LastSeen *string `json:"last_seen,omitempty"`

			// The name of the entity that reported the asset details. Sources can include sensors, connectors, and API imports. Source names can be customized by your organization (for example, you specify a name when you import asset records). If your organization does not customize source names, system-generated names include:
			//  - AWS—You obtained the asset data from an Amazon Web Services connector.
			//  - NESSUS_AGENT—You obtained the asset data obtained from a Nessus agent scan.
			//  - PVS—You obtained the asset data from a Nessus Network Monitor (NNM) scan.
			//  - NESSUS_SCAN—You obtained the asset data from a Nessus scan.
			//  - WAS—You obtained the asset data from a  Web Application Scanning scan.
			Name *string `json:"name,omitempty"`
		} `json:"sources,omitempty"`

		// The SSH key fingerprints that scans have associated with the asset record.
		SshFingerprint *[]string `json:"ssh_fingerprint,omitempty"`

		// The system types as reported by Plugin ID 54615. Possible values include `router`, `general-purpose`, `scan-host`, and `embedded`.
		SystemType *[]string `json:"system_type,omitempty"`

		// Category tags assigned to the asset in Tenable.io.
		Tags *[]struct {
			// The ISO timestamp when the tag was assigned to the asset.
			AddedAt *string `json:"added_at,omitempty"`

			// The UUID of the user who assigned the tag to the asset.
			AddedBy *string `json:"added_by,omitempty"`

			// The tag category (the first half of the category:value pair).
			TagKey *string `json:"tag_key,omitempty"`

			// The UUID of the tag.
			TagUuid *string `json:"tag_uuid,omitempty"`

			// The tag value (the second half of the category:value pair).
			TagValue *string `json:"tag_value,omitempty"`
		} `json:"tags,omitempty"`

		// The UUID of the agent if an agent is present on the asset. If no agent is present on the asset, then the UUID is a unique identifier assigned by Tenable.io during a credentialed scan when the [Create unique identifier on hosts scanned with credentials](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Scans/Classic/AdvancedSettings.htm) option is enabled. Note that no UUID is set for uncredentialed, non-agent scans.
		TenableUuid *[]string `json:"tenable_uuid,omitempty"`

		// The time and date when the asset record was last updated.
		UpdatedAt *string `json:"updated_at,omitempty"`
	}
}

func ParseAssetsAssetInfoResponse

func ParseAssetsAssetInfoResponse(rsp *http.Response) (*AssetsAssetInfoResponse, error)

ParseAssetsAssetInfoResponse parses an HTTP response from a AssetsAssetInfoWithResponse call

func (AssetsAssetInfoResponse) Status

func (r AssetsAssetInfoResponse) Status() string

Status returns HTTPResponse.Status

func (AssetsAssetInfoResponse) StatusCode

func (r AssetsAssetInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AssetsBulkDeleteJSONBody

type AssetsBulkDeleteJSONBody struct {
	// Indicates whether or not to completely remove the asset from your licensed asset count along with all related data. If this parameter is omitted, Tenable.io uses the default value of `false`.
	HardDelete *bool `json:"hard_delete,omitempty"`

	// The query for selecting the assets to delete. Must include one or more filters. A filter must include an asset attribute, an operator, and a value. To get the list of supported filters, use the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. Sets of multiple filters must be specified inside `and` or `or` arrays.
	//
	// **Note:** You can also nest conditions, for example, specify a set of `or` sub-conditions for a condition inside the `and` array.
	Query struct {
		// To select assets that match all of multiple conditions, specify the conditions inside the `and` array.
		And *[]struct {
			// The name of the asset attribute to match. Asset attributes can include tags, for example, `tag.city`.
			Field *string `json:"field,omitempty"`

			// The operator to apply to the matched value, for example, `eq` (equals), `neq` (does not equal), or `match` (contains).
			Operator *string `json:"operator,omitempty"`

			// The asset attribute value to match.
			//
			//  **Note:** The value is case sensitive when used with the `match` (contains) or `nmatch` (does not contain) operators.
			Value *string `json:"value,omitempty"`
		} `json:"and,omitempty"`

		// The name of the asset attribute to match. Asset attributes can include tags, for example, `tag.city`.
		Field *string `json:"field,omitempty"`

		// The operator to apply to the matched value, for example, `eq` (equals), `neq` (does not equal), or `match` (contains).
		Operator *string `json:"operator,omitempty"`

		// To select assets that match any of multiple conditions, specify the conditions inside the `or` array.
		Or *[]struct {
			// The name of the asset attribute to match. Asset attributes can include tags, for example, `tag.city`.
			Field *string `json:"field,omitempty"`

			// The operator to apply to the matched value, for example, `eq` (equals), `neq` (does not equal), or `match` (contains).
			Operator *string `json:"operator,omitempty"`

			// The asset attribute value to match.
			//
			//  **Note:** The value is case sensitive when used with the `match` (contains) or `nmatch` (does not contain) operators.
			Value *string `json:"value,omitempty"`
		} `json:"or,omitempty"`

		// The asset attribute value to match.
		//
		//  **Note:** The value is case sensitive when used with the `match` (contains) or `nmatch` (does not contain) operators.
		Value *string `json:"value,omitempty"`
	} `json:"query"`
}

AssetsBulkDeleteJSONBody defines parameters for AssetsBulkDelete.

type AssetsBulkDeleteJSONRequestBody

type AssetsBulkDeleteJSONRequestBody AssetsBulkDeleteJSONBody

AssetsBulkDeleteJSONRequestBody defines body for AssetsBulkDelete for application/json ContentType.

type AssetsBulkDeleteResponse

type AssetsBulkDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *struct {
		// The number of assets affected by the operation.
		AssetCount *int `json:"asset_count,omitempty"`
	}
}

func ParseAssetsBulkDeleteResponse

func ParseAssetsBulkDeleteResponse(rsp *http.Response) (*AssetsBulkDeleteResponse, error)

ParseAssetsBulkDeleteResponse parses an HTTP response from a AssetsBulkDeleteWithResponse call

func (AssetsBulkDeleteResponse) Status

func (r AssetsBulkDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (AssetsBulkDeleteResponse) StatusCode

func (r AssetsBulkDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AssetsBulkMoveJSONBody

type AssetsBulkMoveJSONBody struct {
	// The UUID of the network to associate with the specified assets. Use the [GET /networks](ref:networks-list) endpoint with the name filter to find the UUID of the network.
	Destination string `json:"destination"`

	// The UUID of the network currently associated with the assets. Use the [GET /networks](ref:networks-list) endpoint with the name attribute as filter to find the UUID of the network.
	Source string `json:"source"`

	// The IPv4 addresses of the assets to move. The addresses can be represented as a comma-separated list, a range, or CIDR, for example `1.1.1.1, 2.2.2.2-2.2.2.200, 3.3.3.0/24`.
	Targets string `json:"targets"`
}

AssetsBulkMoveJSONBody defines parameters for AssetsBulkMove.

type AssetsBulkMoveJSONRequestBody

type AssetsBulkMoveJSONRequestBody AssetsBulkMoveJSONBody

AssetsBulkMoveJSONRequestBody defines body for AssetsBulkMove for application/json ContentType.

type AssetsBulkMoveResponse

type AssetsBulkMoveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *struct {
		// The number of assets affected by the operation.
		AssetCount *int `json:"asset_count,omitempty"`
	}
}

func ParseAssetsBulkMoveResponse

func ParseAssetsBulkMoveResponse(rsp *http.Response) (*AssetsBulkMoveResponse, error)

ParseAssetsBulkMoveResponse parses an HTTP response from a AssetsBulkMoveWithResponse call

func (AssetsBulkMoveResponse) Status

func (r AssetsBulkMoveResponse) Status() string

Status returns HTTPResponse.Status

func (AssetsBulkMoveResponse) StatusCode

func (r AssetsBulkMoveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AssetsBulkUpdateAcrJSONBody

type AssetsBulkUpdateAcrJSONBody []struct {
	// The ACR score you want to assign to the asset. The ACR must be an integer from 1 to 10.
	AcrScore int `json:"acr_score"`

	// The identifiers of the assets to update to the specified ACR. At least one asset object is required in this array.
	Asset []struct {
		// Fully-qualified domain names (FQDNs) associated with the asset or assets.
		Fqdn *[]string `json:"fqdn,omitempty"`

		// The UUID for a specific asset. Use this value as the unique key for the asset.
		Id *string `json:"id,omitempty"`

		// IPv4 addresses associated with the asset or assets.
		Ipv4 *[]string `json:"ipv4,omitempty"`

		// MAC addresses associated with the asset or assets.
		MacAddress *[]string `json:"mac_address,omitempty"`

		// The NetBIOS name for the asset.
		NetbiosName *string `json:"netbios_name,omitempty"`
	} `json:"asset"`

	// Any notes you want to add to clarify the circumstances behind the update. This parameter corresponds to the **Note** parameter when editing an ACR in the Tenable.io Lumin user interface. For more information, see [Edit an ACR](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminEditACR.htm).
	Note *string `json:"note,omitempty"`

	// The reasons you are updating the ACR for the assets. Supported values include:
	//
	//  - Business Critical
	//  - In Scope For Compliance
	//  - Existing Mitigation Control
	//  - Dev only
	//  - Key drivers does not match
	//  - Other
	//
	// This parameter corresponds to the **Overwrite Reasoning** parameter when editing an ACR in the Tenable.io Lumin user interface. For more information, see [Edit an ACR](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminEditACR.htm).
	Reason *[]AssetsBulkUpdateAcrJSONBodyReason `json:"reason,omitempty"`
}

AssetsBulkUpdateAcrJSONBody defines parameters for AssetsBulkUpdateAcr.

type AssetsBulkUpdateAcrJSONBodyReason

type AssetsBulkUpdateAcrJSONBodyReason string

AssetsBulkUpdateAcrJSONBodyReason defines parameters for AssetsBulkUpdateAcr.

type AssetsBulkUpdateAcrJSONRequestBody

type AssetsBulkUpdateAcrJSONRequestBody AssetsBulkUpdateAcrJSONBody

AssetsBulkUpdateAcrJSONRequestBody defines body for AssetsBulkUpdateAcr for application/json ContentType.

type AssetsBulkUpdateAcrResponse

type AssetsBulkUpdateAcrResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAssetsBulkUpdateAcrResponse

func ParseAssetsBulkUpdateAcrResponse(rsp *http.Response) (*AssetsBulkUpdateAcrResponse, error)

ParseAssetsBulkUpdateAcrResponse parses an HTTP response from a AssetsBulkUpdateAcrWithResponse call

func (AssetsBulkUpdateAcrResponse) Status

Status returns HTTPResponse.Status

func (AssetsBulkUpdateAcrResponse) StatusCode

func (r AssetsBulkUpdateAcrResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AssetsImportJSONBody

type AssetsImportJSONBody struct {
	// An array of asset objects to import. Each asset object requires a value for at least one of the following properties: fqdn, ipv4, netbios\_name, mac\_address.
	//
	// For an example of this request body, see [Add Asset Data to Tenable.io](doc:add-asset-data-to-tenableio). For the complete list of importable asset attributes, see [Common Asset Attributes](doc:common-asset-attributes#section-asset-attribute-definitions).
	Assets []struct {
		// The availability zone where Amazon Web Services hosts the virtual machine instance, for example, `us-east-1a`. Availability zones are subdivisions of AWS regions. For more information, see "Regions and Availability Zones" in the AWS documentation.
		AwsAvailabilityZone *string `json:"aws_availability_zone,omitempty"`

		// The unique identifier of the Linux AMI image in Amazon Elastic Compute Cloud (Amazon EC2). For more information, see the Amazon Elastic Compute Cloud Documentation.
		AwsEc2InstanceAmiId *string `json:"aws_ec2_instance_ami_id,omitempty"`

		// The virtual machine instance's group in AWS.
		AwsEc2InstanceGroupName *string `json:"aws_ec2_instance_group_name,omitempty"`

		// The unique identifier of the Linux instance in Amazon EC2. For more information, see the Amazon Elastic Compute Cloud Documentation.
		AwsEc2InstanceId *string `json:"aws_ec2_instance_id,omitempty"`

		// The state of the virtual machine instance in AWS at the time of the scan. For more information on instance states, see the AWS documentation.
		AwsEc2InstanceStateName *string `json:"aws_ec2_instance_state_name,omitempty"`

		// The type of instance in AWS EC2.
		AwsEc2InstanceType *string `json:"aws_ec2_instance_type,omitempty"`

		// The name of the virtual machine instance in AWS EC2.
		AwsEc2Name *string `json:"aws_ec2_name,omitempty"`

		// The product code associated with the AMI used to launch the virtual machine instance in AWS EC2.
		AwsEc2ProductCode *string `json:"aws_ec2_product_code,omitempty"`

		// The canonical user identifier for the AWS account associated with the asset. For more information, see "AWS Account Identifiers" in the AWS documentation.
		AwsOwnerId *string `json:"aws_owner_id,omitempty"`

		// The region where AWS hosts the virtual machine instance, for example, `us-east-1`. For more information, see "Regions and Availability Zones" in the AWS documentation.
		AwsRegion *string `json:"aws_region,omitempty"`

		// The unique identifier of the AWS subnet where the virtual machine instance was running at the time of the scan.
		AwsSubnetId *string `json:"aws_subnet_id,omitempty"`

		// The unique identifier of the public cloud that hosts the AWS virtual machine instance. For more information, see the Amazon Virtual Private Cloud User Guide.
		AwsVpcId *string `json:"aws_vpc_id,omitempty"`

		// The unique identifier of the resource in the Azure Resource Manager. For more information, see the Azure Resource Manager Documentation.
		AzureResourceId *string `json:"azure_resource_id,omitempty"`

		// The unique identifier of the Microsoft Azure virtual machine instance. For more information, see "Accessing and Using Azure VM Unique ID" in the Microsoft Azure documentation.
		AzureVmId *string `json:"azure_vm_id,omitempty"`

		// The unique identifiers of the asset in HCL BigFix. For more information, see the HCL BigFix documentation.
		BigfixAssetId *[]string `json:"bigfix_asset_id,omitempty"`

		// The BIOS UUID of the asset.
		BiosUuid *string `json:"bios_uuid,omitempty"`

		// A list of FQDNs for the asset.
		Fqdn *[]string `json:"fqdn,omitempty"`

		// The unique identifier of the virtual machine instance in GCP.
		GcpInstanceId *string `json:"gcp_instance_id,omitempty"`

		// The customized name of the project to which the virtual machine instance belongs in Google Cloud Platform (GCP). For more information see "Creating and Managing Projects" in the GCP documentation.
		GcpProjectId *string `json:"gcp_project_id,omitempty"`

		// The zone where the virtual machine instance runs in GCP. For more information, see "Regions and Zones" in the GCP documentation.
		GcpZone *string `json:"gcp_zone,omitempty"`

		// A list of hostnames for the asset.
		Hostname *[]string `json:"hostname,omitempty"`

		// A list of Common Platform Enumeration (CPE) values that represent software applications a scan identified as present on an asset. The strings in this array must be valid CPE 2.2 values. For more information, see the "Component Syntax" section of the [CPE Specification, Version 2.2](https://cpe.mitre.org/files/cpe-specification_2.2.pdf).
		//
		// **Note:** If no scan detects an application within 30 days of the scan that originally detected the application, Tenable.io considers the detection of that application expired. As a result, the next time a scan evaluates the asset, Tenable.io removes the expired application from the installed_software attribute. This activity is logged as a `remove` type of `attribute_change` update in the asset activity log.
		InstalledSoftware *[]string `json:"installed_software,omitempty"`

		// A list of IPv4 addresses for the asset. Tenable.io supports this legacy field for backwards compatibility, but for new requests, this field should be replaced by the ipv4 field.
		IpAddress *[]string `json:"ip_address,omitempty"`

		// A list of IPv4 addresses for the asset.
		Ipv4 *[]string `json:"ipv4,omitempty"`

		// A list of IPv6 addresses for the asset.
		Ipv6 *[]string `json:"ipv6,omitempty"`

		// A list of MAC addresses for the asset.
		MacAddress *[]string `json:"mac_address,omitempty"`

		// The manufacturer's unique identifier of the Trusted Platform Module (TPM) associated with the asset.
		ManufacturerTpmId *string `json:"manufacturer_tpm_id,omitempty"`

		// The unique identifier of the McAfee ePO agent that identified the asset. For more information, see the McAfee documentation.
		McafeeEpoAgentGuid *string `json:"mcafee_epo_agent_guid,omitempty"`

		// The unique identifier of the asset in McAfee ePolicy Orchestrator (ePO). For more information, see the McAfee documentation.
		McafeeEpoGuid *string `json:"mcafee_epo_guid,omitempty"`

		// The NetBIOS name for the asset.
		NetbiosName *string `json:"netbios_name,omitempty"`

		// The operating systems that scans have associated with the asset record.
		OperatingSystem *[]string `json:"operating_system,omitempty"`

		// The Asset ID of the asset in Qualys. For more information, see the Qualys documentation.
		QualysAssetId *string `json:"qualys_asset_id,omitempty"`

		// The Host ID of the asset in Qualys. For more information, see the Qualys documentation.
		QualysHostId *string `json:"qualys_host_id,omitempty"`

		// The unique record identifier of the asset in ServiceNow. For more information, see the ServiceNow documentation.
		ServicenowSysId *string `json:"servicenow_sys_id,omitempty"`

		// The SSH key fingerprints that scans have associated with the asset record.
		SshFingerprint *string `json:"ssh_fingerprint,omitempty"`

		// The hardware key for the asset in Symantec Endpoint Protection.
		SymantecEpHardwareKey *string `json:"symantec_ep_hardware_key,omitempty"`
	} `json:"assets"`

	// A user-defined name for the source of the import containing the asset records. You can specify only one source for each import.
	Source string `json:"source"`
}

AssetsImportJSONBody defines parameters for AssetsImport.

type AssetsImportJSONRequestBody

type AssetsImportJSONRequestBody AssetsImportJSONBody

AssetsImportJSONRequestBody defines body for AssetsImport for application/json ContentType.

type AssetsImportJobInfoResponse

type AssetsImportJobInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The number of batches in the asset import job.
		Batches *int32 `json:"batches,omitempty"`

		// The UUID of your Tenable.io container.
		ContainerId *string `json:"container_id,omitempty"`

		// The Unix timestamp when Tenable.io completed processing the import job.
		EndTime *int32 `json:"end_time,omitempty"`

		// The number of assets from the import job that Tenable.io failed to import.
		FailedAssets *int `json:"failed_assets,omitempty"`

		// The UUID of the asset import job.
		JobId *string `json:"job_id,omitempty"`

		// The Unix timestamp when Tenable.io performed an action on the import job.
		LastUpdateTime *int32 `json:"last_update_time,omitempty"`

		// A user-defined name for the source of the import containing the asset records. You can specify only one source for each import.
		Source *string `json:"source,omitempty"`

		// The Unix timestamp when Tenable.io started processing the import job.
		StartTime *int32 `json:"start_time,omitempty"`

		// The status of the import job. Possible values include: COMPLETE, IN_PROGRESS, or ERROR.
		Status *string `json:"status,omitempty"`

		// The description of why a job failed.
		StatusMessage *string `json:"status_message,omitempty"`

		// The number of assets from the import job that Tenable.io successfully imported.
		UploadedAssets *int32 `json:"uploaded_assets,omitempty"`
	}
}

func ParseAssetsImportJobInfoResponse

func ParseAssetsImportJobInfoResponse(rsp *http.Response) (*AssetsImportJobInfoResponse, error)

ParseAssetsImportJobInfoResponse parses an HTTP response from a AssetsImportJobInfoWithResponse call

func (AssetsImportJobInfoResponse) Status

Status returns HTTPResponse.Status

func (AssetsImportJobInfoResponse) StatusCode

func (r AssetsImportJobInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AssetsImportResponse

type AssetsImportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The asset import job UUID.
		AssetImportJobUuid *string `json:"asset_import_job_uuid,omitempty"`
	}
}

func ParseAssetsImportResponse

func ParseAssetsImportResponse(rsp *http.Response) (*AssetsImportResponse, error)

ParseAssetsImportResponse parses an HTTP response from a AssetsImportWithResponse call

func (AssetsImportResponse) Status

func (r AssetsImportResponse) Status() string

Status returns HTTPResponse.Status

func (AssetsImportResponse) StatusCode

func (r AssetsImportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AssetsInterface

type AssetsInterface interface {
	AssetInfo(contentType string, reqEditors ...RequestEditorFn) (*struct {
		AcrDrivers *[]struct {
			DriverName  *string   "json:\"driver_name,omitempty\""
			DriverValue *[]string "json:\"driver_value,omitempty\""
		} "json:\"acr_drivers,omitempty\""
		AcrScore                  *int      "json:\"acr_score,omitempty\""
		AgentName                 *[]string "json:\"agent_name,omitempty\""
		AwsAvailabilityZone       *[]string "json:\"aws_availability_zone,omitempty\""
		AwsEc2InstanceAmiId       *[]string "json:\"aws_ec2_instance_ami_id,omitempty\""
		AwsEc2InstanceGroupName   *[]string "json:\"aws_ec2_instance_group_name,omitempty\""
		AwsEc2InstanceId          *[]string "json:\"aws_ec2_instance_id,omitempty\""
		AwsEc2InstanceStateName   *[]string "json:\"aws_ec2_instance_state_name,omitempty\""
		AwsEc2InstanceType        *[]string "json:\"aws_ec2_instance_type,omitempty\""
		AwsEc2Name                *[]string "json:\"aws_ec2_name,omitempty\""
		AwsEc2ProductCode         *[]string "json:\"aws_ec2_product_code,omitempty\""
		AwsOwnerId                *[]string "json:\"aws_owner_id,omitempty\""
		AwsRegion                 *[]string "json:\"aws_region,omitempty\""
		AwsSubnetId               *[]string "json:\"aws_subnet_id,omitempty\""
		AwsVpcId                  *[]string "json:\"aws_vpc_id,omitempty\""
		AzureResourceId           *[]string "json:\"azure_resource_id,omitempty\""
		AzureVmId                 *[]string "json:\"azure_vm_id,omitempty\""
		BiosUuid                  *[]string "json:\"bios_uuid,omitempty\""
		CreatedAt                 *string   "json:\"created_at,omitempty\""
		ExposureScore             *int      "json:\"exposure_score,omitempty\""
		FirstSeen                 *string   "json:\"first_seen,omitempty\""
		Fqdn                      *[]string "json:\"fqdn,omitempty\""
		GcpInstanceId             *[]string "json:\"gcp_instance_id,omitempty\""
		GcpProjectId              *[]string "json:\"gcp_project_id,omitempty\""
		GcpZone                   *[]string "json:\"gcp_zone,omitempty\""
		HasAgent                  *bool     "json:\"has_agent,omitempty\""
		Hostname                  *[]string "json:\"hostname,omitempty\""
		Id                        *string   "json:\"id,omitempty\""
		InstalledSoftware         *[]string "json:\"installed_software,omitempty\""
		Ipv4                      *[]string "json:\"ipv4,omitempty\""
		Ipv6                      *[]string "json:\"ipv6,omitempty\""
		LastAuthenticatedScanDate *string   "json:\"last_authenticated_scan_date,omitempty\""
		LastLicensedScanDate      *string   "json:\"last_licensed_scan_date,omitempty\""
		LastScanTarget            *string   "json:\"last_scan_target,omitempty\""
		LastSeen                  *string   "json:\"last_seen,omitempty\""
		MacAddress                *[]string "json:\"mac_address,omitempty\""
		McafeeEpoAgentGuid        *[]string "json:\"mcafee_epo_agent_guid,omitempty\""
		McafeeEpoGuid             *[]string "json:\"mcafee_epo_guid,omitempty\""
		NetbiosName               *[]string "json:\"netbios_name,omitempty\""
		NetworkId                 *[]string "json:\"network_id,omitempty\""
		OperatingSystem           *[]string "json:\"operating_system,omitempty\""
		QualysAssetId             *[]string "json:\"qualys_asset_id,omitempty\""
		QualysHostId              *[]string "json:\"qualys_host_id,omitempty\""
		ScanFrequency             *[]struct {
			Frequency *int  "json:\"frequency,omitempty\""
			Interval  *int  "json:\"interval,omitempty\""
			Licensed  *bool "json:\"licensed,omitempty\""
		} "json:\"scan_frequency,omitempty\""
		ServicenowSysid *[]string "json:\"servicenow_sysid,omitempty\""
		Sources         *[][]struct {
			FirstSeen *string "json:\"first_seen,omitempty\""
			LastSeen  *string "json:\"last_seen,omitempty\""
			Name      *string "json:\"name,omitempty\""
		} "json:\"sources,omitempty\""
		SshFingerprint *[]string "json:\"ssh_fingerprint,omitempty\""
		SystemType     *[]string "json:\"system_type,omitempty\""
		Tags           *[]struct {
			AddedAt  *string "json:\"added_at,omitempty\""
			AddedBy  *string "json:\"added_by,omitempty\""
			TagKey   *string "json:\"tag_key,omitempty\""
			TagUuid  *string "json:\"tag_uuid,omitempty\""
			TagValue *string "json:\"tag_value,omitempty\""
		} "json:\"tags,omitempty\""
		TenableUuid *[]string "json:\"tenable_uuid,omitempty\""
		UpdatedAt   *string   "json:\"updated_at,omitempty\""
	}, error)
	BulkDeleteWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*AssetsBulkDeleteResponse, error)
	BulkDelete(arg1 AssetsBulkDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*AssetsBulkDeleteResponse, error)
	BulkMoveWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*AssetsBulkMoveResponse, error)
	BulkMove(arg1 AssetsBulkMoveJSONRequestBody, reqEditors ...RequestEditorFn) (*AssetsBulkMoveResponse, error)
	BulkUpdateAcrWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*AssetsBulkUpdateAcrResponse, error)
	BulkUpdateAcr(arg1 AssetsBulkUpdateAcrJSONRequestBody, reqEditors ...RequestEditorFn) (*AssetsBulkUpdateAcrResponse, error)
	ImportJobInfo(contentType string, reqEditors ...RequestEditorFn) (*struct {
		Batches        *int32  "json:\"batches,omitempty\""
		ContainerId    *string "json:\"container_id,omitempty\""
		EndTime        *int32  "json:\"end_time,omitempty\""
		FailedAssets   *int    "json:\"failed_assets,omitempty\""
		JobId          *string "json:\"job_id,omitempty\""
		LastUpdateTime *int32  "json:\"last_update_time,omitempty\""
		Source         *string "json:\"source,omitempty\""
		StartTime      *int32  "json:\"start_time,omitempty\""
		Status         *string "json:\"status,omitempty\""
		StatusMessage  *string "json:\"status_message,omitempty\""
		UploadedAssets *int32  "json:\"uploaded_assets,omitempty\""
	}, error)
	ImportWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		AssetImportJobUuid *string "json:\"asset_import_job_uuid,omitempty\""
	}, error)
	Import(arg1 AssetsImportJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		AssetImportJobUuid *string "json:\"asset_import_job_uuid,omitempty\""
	}, error)
	ListAssets(reqEditors ...RequestEditorFn) (*struct {
		Assets *[]struct {
			AcrDrivers *[]struct {
				DriverName  *string   "json:\"driver_name,omitempty\""
				DriverValue *[]string "json:\"driver_value,omitempty\""
			} "json:\"acr_drivers,omitempty\""
			AcrScore        *int      "json:\"acr_score,omitempty\""
			AgentName       *[]string "json:\"agent_name,omitempty\""
			AwsEc2Name      *[]string "json:\"aws_ec2_name,omitempty\""
			ExposureScore   *int      "json:\"exposure_score,omitempty\""
			Fqdn            *[]string "json:\"fqdn,omitempty\""
			HasAgent        *bool     "json:\"has_agent,omitempty\""
			Id              *string   "json:\"id,omitempty\""
			Ipv4            *[]string "json:\"ipv4,omitempty\""
			Ipv6            *[]string "json:\"ipv6,omitempty\""
			LastScanTarget  *string   "json:\"last_scan_target,omitempty\""
			LastSeen        *string   "json:\"last_seen,omitempty\""
			MacAddress      *[]string "json:\"mac_address,omitempty\""
			NetbiosName     *[]string "json:\"netbios_name,omitempty\""
			OperatingSystem *[]string "json:\"operating_system,omitempty\""
			ScanFrequency   *[]struct {
				Frequency *int  "json:\"frequency,omitempty\""
				Interval  *int  "json:\"interval,omitempty\""
				Licensed  *bool "json:\"licensed,omitempty\""
			} "json:\"scan_frequency,omitempty\""
			Sources *[][]struct {
				FirstSeen *string "json:\"first_seen,omitempty\""
				LastSeen  *string "json:\"last_seen,omitempty\""
				Name      *string "json:\"name,omitempty\""
			} "json:\"sources,omitempty\""
		} "json:\"assets,omitempty\""
		Total *int "json:\"total,omitempty\""
	}, error)
	ListImportJobs(reqEditors ...RequestEditorFn) (*[]struct {
		Batches        *int32  "json:\"batches,omitempty\""
		ContainerId    *string "json:\"container_id,omitempty\""
		EndTime        *int32  "json:\"end_time,omitempty\""
		FailedAssets   *int    "json:\"failed_assets,omitempty\""
		JobId          *string "json:\"job_id,omitempty\""
		LastUpdateTime *int32  "json:\"last_update_time,omitempty\""
		Source         *string "json:\"source,omitempty\""
		StartTime      *int32  "json:\"start_time,omitempty\""
		Status         *string "json:\"status,omitempty\""
		StatusMessage  *string "json:\"status_message,omitempty\""
		UploadedAssets *int32  "json:\"uploaded_assets,omitempty\""
	}, error)
}

AssetsInterface contains all methods for the nessus api

type AssetsListAssetsResponse

type AssetsListAssetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A list of assets with details.
		Assets *[]struct {
			// The key drivers that Tenable uses to calculate an asset's Tenable-provided ACR. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
			//
			// This attribute is only present if you have a Lumin license.
			AcrDrivers *[]struct {
				// The type of characteristic.
				DriverName *string `json:"driver_name,omitempty"`

				// The characteristic value.
				DriverValue *[]string `json:"driver_value,omitempty"`
			} `json:"acr_drivers,omitempty"`

			// The Asset Criticality Rating (ACR) for the asset. With Lumin, Tenable assigns an ACR to each asset on your network to represent the asset's relative risk as an integer from 1 to 10. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
			//
			// This attribute is only present if you have a Lumin license.
			AcrScore *int `json:"acr_score,omitempty"`

			// The names of any Nessus agents that scanned and identified the asset.
			AgentName *[]string `json:"agent_name,omitempty"`

			// The name of the virtual machine instance in AWS EC2.
			AwsEc2Name *[]string `json:"aws_ec2_name,omitempty"`

			// The Asset Exposure Score (AES) for the asset. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
			//
			// This attribute is only present if you have a Lumin license.
			ExposureScore *int `json:"exposure_score,omitempty"`

			// A list of fully-qualified domain names (FQDNs) for the asset.
			Fqdn *[]string `json:"fqdn,omitempty"`

			// A value specifying whether a Nessus agent scan detected the asset (`true`).
			HasAgent *bool `json:"has_agent,omitempty"`

			// The UUID of the asset. Use this value as the unique key for the asset.
			Id *string `json:"id,omitempty"`

			// A list of IPv4 addresses for the asset.
			Ipv4 *[]string `json:"ipv4,omitempty"`

			// A list of IPv6 addresses for the asset.
			Ipv6 *[]string `json:"ipv6,omitempty"`

			// The IPv4 address, IPv6 address, or FQDN that the scanner last used to evaluate the asset.
			LastScanTarget *string `json:"last_scan_target,omitempty"`

			// The ISO timestamp of the scan that most recently detected the asset.
			LastSeen *string `json:"last_seen,omitempty"`

			// A list of MAC addresses for the asset.
			MacAddress *[]string `json:"mac_address,omitempty"`

			// The NetBIOS name for the asset.
			NetbiosName *[]string `json:"netbios_name,omitempty"`

			// The operating systems that scans have associated with the asset record.
			OperatingSystem *[]string `json:"operating_system,omitempty"`

			// Information about how often scans ran against the asset during specified intervals. This attribute is only present if you have a Lumin license.
			ScanFrequency *[]struct {
				// The number of times that a scan ran against the asset during the specified interval.
				Frequency *int `json:"frequency,omitempty"`

				// The number of days over which Tenable searches for scans involving the asset.
				Interval *int `json:"interval,omitempty"`

				// Indicates whether the asset was licensed at the time of the identified scans.
				Licensed *bool `json:"licensed,omitempty"`
			} `json:"scan_frequency,omitempty"`

			// The sources of the scans that identified the asset.
			Sources *[][]struct {
				// The ISO timestamp when the source first reported the asset.
				FirstSeen *string `json:"first_seen,omitempty"`

				// The ISO timestamp when the source last reported the asset.
				LastSeen *string `json:"last_seen,omitempty"`

				// The name of the entity that reported the asset details. Sources can include sensors, connectors, and API imports. Source names can be customized by your organization (for example, you specify a name when you import asset records). If your organization does not customize source names, system-generated names include:
				//  - AWS—You obtained the asset data from an Amazon Web Services connector.
				//  - NESSUS_AGENT—You obtained the asset data obtained from a Nessus agent scan.
				//  - PVS—You obtained the asset data from a Nessus Network Monitor (NNM) scan.
				//  - NESSUS_SCAN—You obtained the asset data from a Nessus scan.
				//  - WAS—You obtained the asset data from a  Web Application Scanning scan.
				Name *string `json:"name,omitempty"`
			} `json:"sources,omitempty"`
		} `json:"assets,omitempty"`

		// The total number of assets in your Tenable.io instance.
		Total *int `json:"total,omitempty"`
	}
}

func ParseAssetsListAssetsResponse

func ParseAssetsListAssetsResponse(rsp *http.Response) (*AssetsListAssetsResponse, error)

ParseAssetsListAssetsResponse parses an HTTP response from a AssetsListAssetsWithResponse call

func (AssetsListAssetsResponse) Status

func (r AssetsListAssetsResponse) Status() string

Status returns HTTPResponse.Status

func (AssetsListAssetsResponse) StatusCode

func (r AssetsListAssetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AssetsListImportJobsResponse

type AssetsListImportJobsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// The number of batches in the asset import job.
		Batches *int32 `json:"batches,omitempty"`

		// The UUID of your Tenable.io container.
		ContainerId *string `json:"container_id,omitempty"`

		// The Unix timestamp when Tenable.io completed processing the import job.
		EndTime *int32 `json:"end_time,omitempty"`

		// The number of assets from the import job that Tenable.io failed to import.
		FailedAssets *int `json:"failed_assets,omitempty"`

		// The UUID of the asset import job.
		JobId *string `json:"job_id,omitempty"`

		// The Unix timestamp when Tenable.io performed an action on the import job.
		LastUpdateTime *int32 `json:"last_update_time,omitempty"`

		// A user-defined name for the source of the import containing the asset records. You can specify only one source for each import.
		Source *string `json:"source,omitempty"`

		// The Unix timestamp when Tenable.io started processing the import job.
		StartTime *int32 `json:"start_time,omitempty"`

		// The status of the import job. Possible values include: COMPLETE, IN_PROGRESS, or ERROR.
		Status *string `json:"status,omitempty"`

		// The description of why a job failed.
		StatusMessage *string `json:"status_message,omitempty"`

		// The number of assets from the import job that Tenable.io successfully imported.
		UploadedAssets *int32 `json:"uploaded_assets,omitempty"`
	}
}

func ParseAssetsListImportJobsResponse

func ParseAssetsListImportJobsResponse(rsp *http.Response) (*AssetsListImportJobsResponse, error)

ParseAssetsListImportJobsResponse parses an HTTP response from a AssetsListImportJobsWithResponse call

func (AssetsListImportJobsResponse) Status

Status returns HTTPResponse.Status

func (AssetsListImportJobsResponse) StatusCode

func (r AssetsListImportJobsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AuditLog

type AuditLog struct {
	*ClientWithResponses
}

AuditLog implementation of the AuditLog interface

func (*AuditLog) Events

func (c *AuditLog) Events(params *AuditLogEventsParams, reqEditors ...RequestEditorFn) (*[]struct {
	Action *string "json:\"action,omitempty\""
	Actor  *struct {
		Id   *string "json:\"id,omitempty\""
		Name *string "json:\"name,omitempty\""
	} "json:\"actor,omitempty\""
	Crud        *string "json:\"crud,omitempty\""
	Description *string "json:\"description,omitempty\""
	Fields      *struct {
		Pair *struct {
			Key   *string "json:\"key,omitempty\""
			Value *string "json:\"value,omitempty\""
		} "json:\"pair,omitempty\""
	} "json:\"fields,omitempty\""
	Id          *string "json:\"id,omitempty\""
	IsAnonymous *bool   "json:\"is_anonymous,omitempty\""
	IsFailure   *bool   "json:\"is_failure,omitempty\""
	Received    *string "json:\"received,omitempty\""
	Target      *struct {
		Id   *string "json:\"id,omitempty\""
		Name *string "json:\"name,omitempty\""
		Type *string "json:\"type,omitempty\""
	} "json:\"target,omitempty\""
}, error)

Events calls the AuditLog ´s function

type AuditLogEventsParams

type AuditLogEventsParams struct {
	// A filter condition in the `field.operator:value` format. Filter conditions can include:
	// * date.gt:<YYYY-MM-DD>—Tenable.io returns events only if the date when the events occurred is after the date you specify. For example: `f=date.gt:2017-12-31`
	// * date.lt:<YYYY-MM-DD>—Tenable.io returns events only if the date when the events occurred is before the date you specify. For example: `f=date.lt:2017-12-31`
	// * actor_id.match:<UUID>—Tenable.io returns only the events with a matching actor UUID. For example: `f=actor_id.match:ee512c41-282e-489c-a2cf-8bda1151e630`
	// * target_id.match:<UUID>—Tenable.io returns only the events with a matching target UUID. For example: `f=target_id.match:ee512c41-282e-489c-a2cf-8bda1151e630`
	//
	// You can specify multiple `f` parameters, separated by ampersand (&) characters. For example: `?f=date.gt:2018-12-31&f=date.lt:2019-12-31&f=actor_id.match:f54eeec5-84e0-44bb-9ebe-64898bea0e59&limit=5000`
	F *string `json:"f,omitempty"`

	// Sets the limit for how many events Tenable.io should return by the call. By default, this value is 50. For example: `limit=5000`
	Limit *int32 `json:"limit,omitempty"`
}

AuditLogEventsParams defines parameters for AuditLogEvents.

type AuditLogEventsResponse

type AuditLogEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// The action that was taken by the user.
		Action *string `json:"action,omitempty"`
		Actor  *struct {
			// The UUID of the user that took the action.
			Id *string `json:"id,omitempty"`

			// The username of the user that took the action.
			Name *string `json:"name,omitempty"`
		} `json:"actor,omitempty"`

		// Indicates whether the action taken was creating (c), reading (r), updating (u), or deleting (d) an entity.
		Crud *string `json:"crud,omitempty"`

		// A description of the event.
		Description *string `json:"description,omitempty"`
		Fields      *struct {
			Pair *struct {
				// A key. The exact string varies based on the action that was taken.
				Key *string `json:"key,omitempty"`

				// A value that corresponds to a key. The value varies based on the request of the action that was taken.
				Value *string `json:"value,omitempty"`
			} `json:"pair,omitempty"`
		} `json:"fields,omitempty"`

		// The unique ID of the event.
		Id *string `json:"id,omitempty"`

		// Indicates whether the action was performed anonymously.
		IsAnonymous *bool `json:"is_anonymous,omitempty"`

		// Indicates whether the action the user took succeeded or failed. Tenable.io logs an event regardless of whether a user action succeeds.
		IsFailure *bool `json:"is_failure,omitempty"`

		// The date and time the event occured in ISO 8601 format.
		Received *string `json:"received,omitempty"`
		Target   *struct {
			// The UUID of the target entity. For example, a user UUID.
			Id *string `json:"id,omitempty"`

			// The name of the target entity. For example, a username.
			Name *string `json:"name,omitempty"`

			// The type of entity that was the target of the action. For example, a user.
			Type *string `json:"type,omitempty"`
		} `json:"target,omitempty"`
	}
}

func ParseAuditLogEventsResponse

func ParseAuditLogEventsResponse(rsp *http.Response) (*AuditLogEventsResponse, error)

ParseAuditLogEventsResponse parses an HTTP response from a AuditLogEventsWithResponse call

func (AuditLogEventsResponse) Status

func (r AuditLogEventsResponse) Status() string

Status returns HTTPResponse.Status

func (AuditLogEventsResponse) StatusCode

func (r AuditLogEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AuditLogInterface

type AuditLogInterface interface {
	Events(params *AuditLogEventsParams, reqEditors ...RequestEditorFn) (*[]struct {
		Action *string "json:\"action,omitempty\""
		Actor  *struct {
			Id   *string "json:\"id,omitempty\""
			Name *string "json:\"name,omitempty\""
		} "json:\"actor,omitempty\""
		Crud        *string "json:\"crud,omitempty\""
		Description *string "json:\"description,omitempty\""
		Fields      *struct {
			Pair *struct {
				Key   *string "json:\"key,omitempty\""
				Value *string "json:\"value,omitempty\""
			} "json:\"pair,omitempty\""
		} "json:\"fields,omitempty\""
		Id          *string "json:\"id,omitempty\""
		IsAnonymous *bool   "json:\"is_anonymous,omitempty\""
		IsFailure   *bool   "json:\"is_failure,omitempty\""
		Received    *string "json:\"received,omitempty\""
		Target      *struct {
			Id   *string "json:\"id,omitempty\""
			Name *string "json:\"name,omitempty\""
			Type *string "json:\"type,omitempty\""
		} "json:\"target,omitempty\""
	}, error)
}

AuditLogInterface contains all methods for the nessus api

type AuthResponse

type AuthResponse struct {
	MD5SumWizardTemplates string "json:\"md5sum_wizard_templates,omitempty\""
	Token                 string "json:\"token,omitempty\""
	MD5SumTenableLinks    string "json:\"md5sum_tenable_links,omitempty\""
}

type Bulk

type Bulk struct {
	*ClientWithResponses
}

Bulk implementation of the Bulk interface

func (*Bulk) AddAgents

func (c *Bulk) AddAgents(arg1 string, arg2 BulkAddAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

AddAgents calls the Bulk ´s function

func (*Bulk) AddAgentsWithBody

func (c *Bulk) AddAgentsWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

AddAgentsWithBody calls the Bulk ´s function

func (*Bulk) RemoveAgents

func (c *Bulk) RemoveAgents(arg1 int32, arg2 BulkRemoveAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

RemoveAgents calls the Bulk ´s function

func (*Bulk) RemoveAgentsWithBody

func (c *Bulk) RemoveAgentsWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

RemoveAgentsWithBody calls the Bulk ´s function

func (*Bulk) TaskAgentGroupStatus

func (c *Bulk) TaskAgentGroupStatus(arg1 int32, contentType string, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

TaskAgentGroupStatus calls the Bulk ´s function

func (*Bulk) TaskAgentStatus

func (c *Bulk) TaskAgentStatus(contentType string, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

TaskAgentStatus calls the Bulk ´s function

func (*Bulk) UnlinkAgents

func (c *Bulk) UnlinkAgents(arg1 BulkUnlinkAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

UnlinkAgents calls the Bulk ´s function

func (*Bulk) UnlinkAgentsWithBody

func (c *Bulk) UnlinkAgentsWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

UnlinkAgentsWithBody calls the Bulk ´s function

type BulkAddAgentsJSONBody

type BulkAddAgentsJSONBody struct {
	// Specifies criteria you wish to filter agents on.
	Criteria *struct {
		// Indicates whether or not to match against all agents.
		AllAgents *bool `json:"all_agents,omitempty"`

		// Indicates how to combine the `filters` conditions. Possible values are `and` or `or`.
		FilterType *BulkAddAgentsJSONBodyCriteriaFilterType `json:"filter_type,omitempty"`

		// An array of string or numeric operations to match against agents. For example, `name:match:laptop` or `core_version:lt:10.0.0`.
		Filters *[]interface{} `json:"filters,omitempty"`

		// Additional filters that will always be added as `and` conditions.
		HardcodedFilters *[]interface{} `json:"hardcoded_filters,omitempty"`

		// A string used to match against all string-like attributes of an agent.
		Wildcard *string `json:"wildcard,omitempty"`
	} `json:"criteria,omitempty"`

	// An array of agent IDs or UUIDs to add to the criteria filter.
	Items *[]interface{} `json:"items,omitempty"`

	// An array of agent IDs or UUIDs to exclude from the criteria filter.
	NotItems *[]interface{} `json:"not_items,omitempty"`
}

BulkAddAgentsJSONBody defines parameters for BulkAddAgents.

type BulkAddAgentsJSONBodyCriteriaFilterType

type BulkAddAgentsJSONBodyCriteriaFilterType string

BulkAddAgentsJSONBodyCriteriaFilterType defines parameters for BulkAddAgents.

type BulkAddAgentsJSONRequestBody

type BulkAddAgentsJSONRequestBody BulkAddAgentsJSONBody

BulkAddAgentsJSONRequestBody defines body for BulkAddAgents for application/json ContentType.

type BulkAddAgentsResponse

type BulkAddAgentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// `total_work_units_completed` divided by `total_work_units`.
		CompletionPercentage *int `json:"completion_percentage,omitempty"`

		// The UUID of the container where the task is operating.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// End time of the task in unix time milliseconds, if the task is finished.
		EndTime *int `json:"end_time,omitempty"`

		// Last time progress was made on executing the task in unix time milliseconds.
		LastUpdateTime *int `json:"last_update_time,omitempty"`

		// An informative, human-readable message about the state of the task.
		Message *string `json:"message,omitempty"`

		// Start time of the task in unix time milliseconds.
		StartTime *int `json:"start_time,omitempty"`

		// State of the task. `NEW` means that the task was created, but has not yet started running. `RUNNING` means that the task is in progress. `COMPLETED` means that the task is done. `FAILED` means that there was an error completing the task. `STALE` means that the task has not been updated in a long time.
		Status *N200Status `json:"status,omitempty"`

		// The UUID of the task.
		TaskId *string `json:"task_id,omitempty"`

		// Total amount of work which the task will attempt to complete.
		TotalWorkUnits *int `json:"total_work_units,omitempty"`

		// Total amount of work that the task has completed.
		TotalWorkUnitsCompleted *int `json:"total_work_units_completed,omitempty"`
	}
}

func ParseBulkAddAgentsResponse

func ParseBulkAddAgentsResponse(rsp *http.Response) (*BulkAddAgentsResponse, error)

ParseBulkAddAgentsResponse parses an HTTP response from a BulkAddAgentsWithResponse call

func (BulkAddAgentsResponse) Status

func (r BulkAddAgentsResponse) Status() string

Status returns HTTPResponse.Status

func (BulkAddAgentsResponse) StatusCode

func (r BulkAddAgentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BulkInterface

type BulkInterface interface {
	AddAgentsWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
	AddAgents(arg1 string, arg2 BulkAddAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
	RemoveAgentsWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
	RemoveAgents(arg1 int32, arg2 BulkRemoveAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
	TaskAgentGroupStatus(arg1 int32, contentType string, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
	TaskAgentStatus(contentType string, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
	UnlinkAgentsWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
	UnlinkAgents(arg1 BulkUnlinkAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
}

BulkInterface contains all methods for the nessus api

type BulkRemoveAgentsJSONBody

type BulkRemoveAgentsJSONBody struct {
	// Specifies criteria you wish to filter agents on.
	Criteria *struct {
		// Indicates whether or not to match against all agents.
		AllAgents *bool `json:"all_agents,omitempty"`

		// Indicates how to combine the `filters` conditions. Possible values are `and` or `or`.
		FilterType *BulkRemoveAgentsJSONBodyCriteriaFilterType `json:"filter_type,omitempty"`

		// An array of string or numeric operations to match against agents. For example, `name:match:laptop` or `core_version:lt:10.0.0`.
		Filters *[]interface{} `json:"filters,omitempty"`

		// Additional filters that will always be added as `and` conditions.
		HardcodedFilters *[]interface{} `json:"hardcoded_filters,omitempty"`

		// A string used to match against all string-like attributes of an agent.
		Wildcard *string `json:"wildcard,omitempty"`
	} `json:"criteria,omitempty"`

	// An array of agent IDs or UUIDs to add to the criteria filter.
	Items *[]interface{} `json:"items,omitempty"`

	// An array of agent IDs or UUIDs to exclude from the criteria filter.
	NotItems *[]interface{} `json:"not_items,omitempty"`
}

BulkRemoveAgentsJSONBody defines parameters for BulkRemoveAgents.

type BulkRemoveAgentsJSONBodyCriteriaFilterType

type BulkRemoveAgentsJSONBodyCriteriaFilterType string

BulkRemoveAgentsJSONBodyCriteriaFilterType defines parameters for BulkRemoveAgents.

type BulkRemoveAgentsJSONRequestBody

type BulkRemoveAgentsJSONRequestBody BulkRemoveAgentsJSONBody

BulkRemoveAgentsJSONRequestBody defines body for BulkRemoveAgents for application/json ContentType.

type BulkRemoveAgentsResponse

type BulkRemoveAgentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// `total_work_units_completed` divided by `total_work_units`.
		CompletionPercentage *int `json:"completion_percentage,omitempty"`

		// The UUID of the container where the task is operating.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// End time of the task in unix time milliseconds, if the task is finished.
		EndTime *int `json:"end_time,omitempty"`

		// Last time progress was made on executing the task in unix time milliseconds.
		LastUpdateTime *int `json:"last_update_time,omitempty"`

		// An informative, human-readable message about the state of the task.
		Message *string `json:"message,omitempty"`

		// Start time of the task in unix time milliseconds.
		StartTime *int `json:"start_time,omitempty"`

		// State of the task. `NEW` means that the task was created, but has not yet started running. `RUNNING` means that the task is in progress. `COMPLETED` means that the task is done. `FAILED` means that there was an error completing the task. `STALE` means that the task has not been updated in a long time.
		Status *N200Status `json:"status,omitempty"`

		// The UUID of the task.
		TaskId *string `json:"task_id,omitempty"`

		// Total amount of work which the task will attempt to complete.
		TotalWorkUnits *int `json:"total_work_units,omitempty"`

		// Total amount of work that the task has completed.
		TotalWorkUnitsCompleted *int `json:"total_work_units_completed,omitempty"`
	}
}

func ParseBulkRemoveAgentsResponse

func ParseBulkRemoveAgentsResponse(rsp *http.Response) (*BulkRemoveAgentsResponse, error)

ParseBulkRemoveAgentsResponse parses an HTTP response from a BulkRemoveAgentsWithResponse call

func (BulkRemoveAgentsResponse) Status

func (r BulkRemoveAgentsResponse) Status() string

Status returns HTTPResponse.Status

func (BulkRemoveAgentsResponse) StatusCode

func (r BulkRemoveAgentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BulkTaskAgentGroupStatusResponse

type BulkTaskAgentGroupStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// `total_work_units_completed` divided by `total_work_units`.
		CompletionPercentage *int `json:"completion_percentage,omitempty"`

		// The UUID of the container where the task is operating.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// End time of the task in unix time milliseconds, if the task is finished.
		EndTime *int `json:"end_time,omitempty"`

		// Last time progress was made on executing the task in unix time milliseconds.
		LastUpdateTime *int `json:"last_update_time,omitempty"`

		// An informative, human-readable message about the state of the task.
		Message *string `json:"message,omitempty"`

		// Start time of the task in unix time milliseconds.
		StartTime *int `json:"start_time,omitempty"`

		// State of the task. `NEW` means that the task was created, but has not yet started running. `RUNNING` means that the task is in progress. `COMPLETED` means that the task is done. `FAILED` means that there was an error completing the task. `STALE` means that the task has not been updated in a long time.
		Status *N200Status `json:"status,omitempty"`

		// The UUID of the task.
		TaskId *string `json:"task_id,omitempty"`

		// Total amount of work which the task will attempt to complete.
		TotalWorkUnits *int `json:"total_work_units,omitempty"`

		// Total amount of work that the task has completed.
		TotalWorkUnitsCompleted *int `json:"total_work_units_completed,omitempty"`
	}
}

func ParseBulkTaskAgentGroupStatusResponse

func ParseBulkTaskAgentGroupStatusResponse(rsp *http.Response) (*BulkTaskAgentGroupStatusResponse, error)

ParseBulkTaskAgentGroupStatusResponse parses an HTTP response from a BulkTaskAgentGroupStatusWithResponse call

func (BulkTaskAgentGroupStatusResponse) Status

Status returns HTTPResponse.Status

func (BulkTaskAgentGroupStatusResponse) StatusCode

func (r BulkTaskAgentGroupStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BulkTaskAgentStatusResponse

type BulkTaskAgentStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// `total_work_units_completed` divided by `total_work_units`.
		CompletionPercentage *int `json:"completion_percentage,omitempty"`

		// The UUID of the container where the task is operating.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// End time of the task in unix time milliseconds, if the task is finished.
		EndTime *int `json:"end_time,omitempty"`

		// Last time progress was made on executing the task in unix time milliseconds.
		LastUpdateTime *int `json:"last_update_time,omitempty"`

		// An informative, human-readable message about the state of the task.
		Message *string `json:"message,omitempty"`

		// Start time of the task in unix time milliseconds.
		StartTime *int `json:"start_time,omitempty"`

		// State of the task. `NEW` means that the task was created, but has not yet started running. `RUNNING` means that the task is in progress. `COMPLETED` means that the task is done. `FAILED` means that there was an error completing the task. `STALE` means that the task has not been updated in a long time.
		Status *N200Status `json:"status,omitempty"`

		// The UUID of the task.
		TaskId *string `json:"task_id,omitempty"`

		// Total amount of work which the task will attempt to complete.
		TotalWorkUnits *int `json:"total_work_units,omitempty"`

		// Total amount of work that the task has completed.
		TotalWorkUnitsCompleted *int `json:"total_work_units_completed,omitempty"`
	}
}

func ParseBulkTaskAgentStatusResponse

func ParseBulkTaskAgentStatusResponse(rsp *http.Response) (*BulkTaskAgentStatusResponse, error)

ParseBulkTaskAgentStatusResponse parses an HTTP response from a BulkTaskAgentStatusWithResponse call

func (BulkTaskAgentStatusResponse) Status

Status returns HTTPResponse.Status

func (BulkTaskAgentStatusResponse) StatusCode

func (r BulkTaskAgentStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BulkUnlinkAgentsJSONBody

type BulkUnlinkAgentsJSONBody struct {
	// Specifies criteria you wish to filter agents on.
	Criteria *struct {
		// Indicates whether or not to match against all agents.
		AllAgents *bool `json:"all_agents,omitempty"`

		// Indicates how to combine the `filters` conditions. Possible values are `and` or `or`.
		FilterType *BulkUnlinkAgentsJSONBodyCriteriaFilterType `json:"filter_type,omitempty"`

		// An array of string or numeric operations to match against agents. For example, `name:match:laptop` or `core_version:lt:10.0.0`.
		Filters *[]interface{} `json:"filters,omitempty"`

		// Additional filters that will always be added as `and` conditions.
		HardcodedFilters *[]interface{} `json:"hardcoded_filters,omitempty"`

		// A string used to match against all string-like attributes of an agent.
		Wildcard *string `json:"wildcard,omitempty"`
	} `json:"criteria,omitempty"`

	// An array of agent IDs or UUIDs to add to the criteria filter.
	Items *[]interface{} `json:"items,omitempty"`

	// An array of agent IDs or UUIDs to exclude from the criteria filter.
	NotItems *[]interface{} `json:"not_items,omitempty"`
}

BulkUnlinkAgentsJSONBody defines parameters for BulkUnlinkAgents.

type BulkUnlinkAgentsJSONBodyCriteriaFilterType

type BulkUnlinkAgentsJSONBodyCriteriaFilterType string

BulkUnlinkAgentsJSONBodyCriteriaFilterType defines parameters for BulkUnlinkAgents.

type BulkUnlinkAgentsJSONRequestBody

type BulkUnlinkAgentsJSONRequestBody BulkUnlinkAgentsJSONBody

BulkUnlinkAgentsJSONRequestBody defines body for BulkUnlinkAgents for application/json ContentType.

type BulkUnlinkAgentsResponse

type BulkUnlinkAgentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// `total_work_units_completed` divided by `total_work_units`.
		CompletionPercentage *int `json:"completion_percentage,omitempty"`

		// The UUID of the container where the task is operating.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// End time of the task in unix time milliseconds, if the task is finished.
		EndTime *int `json:"end_time,omitempty"`

		// Last time progress was made on executing the task in unix time milliseconds.
		LastUpdateTime *int `json:"last_update_time,omitempty"`

		// An informative, human-readable message about the state of the task.
		Message *string `json:"message,omitempty"`

		// Start time of the task in unix time milliseconds.
		StartTime *int `json:"start_time,omitempty"`

		// State of the task. `NEW` means that the task was created, but has not yet started running. `RUNNING` means that the task is in progress. `COMPLETED` means that the task is done. `FAILED` means that there was an error completing the task. `STALE` means that the task has not been updated in a long time.
		Status *N200Status `json:"status,omitempty"`

		// The UUID of the task.
		TaskId *string `json:"task_id,omitempty"`

		// Total amount of work which the task will attempt to complete.
		TotalWorkUnits *int `json:"total_work_units,omitempty"`

		// Total amount of work that the task has completed.
		TotalWorkUnitsCompleted *int `json:"total_work_units_completed,omitempty"`
	}
}

func ParseBulkUnlinkAgentsResponse

func ParseBulkUnlinkAgentsResponse(rsp *http.Response) (*BulkUnlinkAgentsResponse, error)

ParseBulkUnlinkAgentsResponse parses an HTTP response from a BulkUnlinkAgentsWithResponse call

func (BulkUnlinkAgentsResponse) Status

func (r BulkUnlinkAgentsResponse) Status() string

Status returns HTTPResponse.Status

func (BulkUnlinkAgentsResponse) StatusCode

func (r BulkUnlinkAgentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
	// contains filtered or unexported fields
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AgentConfigDetails

func (c *Client) AgentConfigDetails(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentConfigEdit

func (c *Client) AgentConfigEdit(ctx context.Context, scannerId int32, body AgentConfigEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentConfigEditWithBody

func (c *Client) AgentConfigEditWithBody(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentExclusionsCreate

func (c *Client) AgentExclusionsCreate(ctx context.Context, scannerId int32, body AgentExclusionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentExclusionsCreateWithBody

func (c *Client) AgentExclusionsCreateWithBody(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentExclusionsDelete

func (c *Client) AgentExclusionsDelete(ctx context.Context, scannerId int32, exclusionId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentExclusionsDetails

func (c *Client) AgentExclusionsDetails(ctx context.Context, scannerId int32, exclusionId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentExclusionsEdit

func (c *Client) AgentExclusionsEdit(ctx context.Context, scannerId int32, exclusionId int32, body AgentExclusionsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentExclusionsEditWithBody

func (c *Client) AgentExclusionsEditWithBody(ctx context.Context, scannerId int32, exclusionId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentExclusionsList

func (c *Client) AgentExclusionsList(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentGroupListAgents

func (c *Client) AgentGroupListAgents(ctx context.Context, scannerId int32, agentGroupId int32, params *AgentGroupListAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentGroupsAddAgent

func (c *Client) AgentGroupsAddAgent(ctx context.Context, scannerId int32, groupId int32, agentId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentGroupsConfigure

func (c *Client) AgentGroupsConfigure(ctx context.Context, scannerId int32, groupId int32, body AgentGroupsConfigureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentGroupsConfigureWithBody

func (c *Client) AgentGroupsConfigureWithBody(ctx context.Context, scannerId int32, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentGroupsCreate

func (c *Client) AgentGroupsCreate(ctx context.Context, scannerId int32, body AgentGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentGroupsCreateWithBody

func (c *Client) AgentGroupsCreateWithBody(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentGroupsDelete

func (c *Client) AgentGroupsDelete(ctx context.Context, scannerId int32, groupId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentGroupsDeleteAgent

func (c *Client) AgentGroupsDeleteAgent(ctx context.Context, scannerId int32, groupId int32, agentId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentGroupsDetails

func (c *Client) AgentGroupsDetails(ctx context.Context, scannerId int32, groupId int32, params *AgentGroupsDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentGroupsList

func (c *Client) AgentGroupsList(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentsDelete

func (c *Client) AgentsDelete(ctx context.Context, scannerId int32, agentId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentsGet

func (c *Client) AgentsGet(ctx context.Context, scannerId int32, agentId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AgentsList

func (c *Client) AgentsList(ctx context.Context, scannerId int32, params *AgentsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AssetsAssetInfo

func (c *Client) AssetsAssetInfo(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AssetsBulkDelete

func (c *Client) AssetsBulkDelete(ctx context.Context, body AssetsBulkDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AssetsBulkDeleteWithBody

func (c *Client) AssetsBulkDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AssetsBulkMove

func (c *Client) AssetsBulkMove(ctx context.Context, body AssetsBulkMoveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AssetsBulkMoveWithBody

func (c *Client) AssetsBulkMoveWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AssetsBulkUpdateAcr

func (c *Client) AssetsBulkUpdateAcr(ctx context.Context, body AssetsBulkUpdateAcrJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AssetsBulkUpdateAcrWithBody

func (c *Client) AssetsBulkUpdateAcrWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AssetsImport

func (c *Client) AssetsImport(ctx context.Context, body AssetsImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AssetsImportJobInfo

func (c *Client) AssetsImportJobInfo(ctx context.Context, assetImportJobUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AssetsImportWithBody

func (c *Client) AssetsImportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AssetsListAssets

func (c *Client) AssetsListAssets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AssetsListImportJobs

func (c *Client) AssetsListImportJobs(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AuditLogEvents

func (c *Client) AuditLogEvents(ctx context.Context, params *AuditLogEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BulkAddAgents

func (c *Client) BulkAddAgents(ctx context.Context, groupId string, body BulkAddAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BulkAddAgentsWithBody

func (c *Client) BulkAddAgentsWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BulkRemoveAgents

func (c *Client) BulkRemoveAgents(ctx context.Context, groupId int32, body BulkRemoveAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BulkRemoveAgentsWithBody

func (c *Client) BulkRemoveAgentsWithBody(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BulkTaskAgentGroupStatus

func (c *Client) BulkTaskAgentGroupStatus(ctx context.Context, groupId int32, taskUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BulkTaskAgentStatus

func (c *Client) BulkTaskAgentStatus(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BulkUnlinkAgents

func (c *Client) BulkUnlinkAgents(ctx context.Context, body BulkUnlinkAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BulkUnlinkAgentsWithBody

func (c *Client) BulkUnlinkAgentsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CredentialsCreate

func (c *Client) CredentialsCreate(ctx context.Context, body CredentialsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CredentialsCreateWithBody

func (c *Client) CredentialsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CredentialsDelete

func (c *Client) CredentialsDelete(ctx context.Context, uuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CredentialsDetails

func (c *Client) CredentialsDetails(ctx context.Context, uuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CredentialsFileUploadWithBody

func (c *Client) CredentialsFileUploadWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CredentialsList

func (c *Client) CredentialsList(ctx context.Context, params *CredentialsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CredentialsListCredentialTypes

func (c *Client) CredentialsListCredentialTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CredentialsUpdate

func (c *Client) CredentialsUpdate(ctx context.Context, uuid string, body CredentialsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CredentialsUpdateWithBody

func (c *Client) CredentialsUpdateWithBody(ctx context.Context, uuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Debugf

func (c *Client) Debugf(format string, v ...interface{})

Debugf logs debug info

func (*Client) Do

func (c *Client) Do(req *http.Request) (*http.Response, error)

Do wrap the doer for tracing

func (*Client) EditorAudits

func (c *Client) EditorAudits(ctx context.Context, pType EditorAuditsParamsType, objectId int32, fileId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditorDetails

func (c *Client) EditorDetails(ctx context.Context, pType EditorDetailsParamsType, id int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditorListTemplates

func (c *Client) EditorListTemplates(ctx context.Context, pType EditorListTemplatesParamsType, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditorPluginDescription

func (c *Client) EditorPluginDescription(ctx context.Context, policyId int32, familyId int32, pluginId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditorTemplateDetails

func (c *Client) EditorTemplateDetails(ctx context.Context, pType EditorTemplateDetailsParamsType, templateUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Errorf

func (c *Client) Errorf(format string, v ...interface{})

Errorf logs errors

func (*Client) ExclusionsCreate

func (c *Client) ExclusionsCreate(ctx context.Context, body ExclusionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExclusionsCreateWithBody

func (c *Client) ExclusionsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExclusionsDelete

func (c *Client) ExclusionsDelete(ctx context.Context, exclusionId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExclusionsDetails

func (c *Client) ExclusionsDetails(ctx context.Context, exclusionId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExclusionsEdit

func (c *Client) ExclusionsEdit(ctx context.Context, exclusionId int32, body ExclusionsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExclusionsEditWithBody

func (c *Client) ExclusionsEditWithBody(ctx context.Context, exclusionId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExclusionsImport

func (c *Client) ExclusionsImport(ctx context.Context, body ExclusionsImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExclusionsImportWithBody

func (c *Client) ExclusionsImportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExclusionsList

func (c *Client) ExclusionsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportsAssetsDownloadChunk

func (c *Client) ExportsAssetsDownloadChunk(ctx context.Context, exportUuid string, chunkId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportsAssetsExportCancel

func (c *Client) ExportsAssetsExportCancel(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportsAssetsExportStatus

func (c *Client) ExportsAssetsExportStatus(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportsAssetsExportStatusRecent

func (c *Client) ExportsAssetsExportStatusRecent(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportsAssetsRequestExport

func (c *Client) ExportsAssetsRequestExport(ctx context.Context, body ExportsAssetsRequestExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportsAssetsRequestExportWithBody

func (c *Client) ExportsAssetsRequestExportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportsVulnsDownloadChunk

func (c *Client) ExportsVulnsDownloadChunk(ctx context.Context, exportUuid string, chunkId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportsVulnsExportCancel

func (c *Client) ExportsVulnsExportCancel(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportsVulnsExportStatus

func (c *Client) ExportsVulnsExportStatus(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportsVulnsExportStatusRecent

func (c *Client) ExportsVulnsExportStatusRecent(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportsVulnsRequestExport

func (c *Client) ExportsVulnsRequestExport(ctx context.Context, body ExportsVulnsRequestExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportsVulnsRequestExportWithBody

func (c *Client) ExportsVulnsRequestExportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FileUploadWithBody

func (c *Client) FileUploadWithBody(ctx context.Context, params *FileUploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FoldersCreate

func (c *Client) FoldersCreate(ctx context.Context, body FoldersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FoldersCreateWithBody

func (c *Client) FoldersCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FoldersDelete

func (c *Client) FoldersDelete(ctx context.Context, folderId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FoldersEdit

func (c *Client) FoldersEdit(ctx context.Context, folderId int32, body FoldersEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FoldersEditWithBody

func (c *Client) FoldersEditWithBody(ctx context.Context, folderId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FoldersList

func (c *Client) FoldersList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoAgentBulkOperationsAddToNetwork

func (c *Client) IoAgentBulkOperationsAddToNetwork(ctx context.Context, body IoAgentBulkOperationsAddToNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoAgentBulkOperationsAddToNetworkWithBody

func (c *Client) IoAgentBulkOperationsAddToNetworkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoAgentBulkOperationsDirective

func (c *Client) IoAgentBulkOperationsDirective(ctx context.Context, body IoAgentBulkOperationsDirectiveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoAgentBulkOperationsDirectiveWithBody

func (c *Client) IoAgentBulkOperationsDirectiveWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoAgentBulkOperationsGroupDirective

func (c *Client) IoAgentBulkOperationsGroupDirective(ctx context.Context, groupId int32, body IoAgentBulkOperationsGroupDirectiveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoAgentBulkOperationsGroupDirectiveWithBody

func (c *Client) IoAgentBulkOperationsGroupDirectiveWithBody(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoAgentBulkOperationsRemoveFromNetwork

func (c *Client) IoAgentBulkOperationsRemoveFromNetwork(ctx context.Context, body IoAgentBulkOperationsRemoveFromNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoAgentBulkOperationsRemoveFromNetworkWithBody

func (c *Client) IoAgentBulkOperationsRemoveFromNetworkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoExportsComplianceCancel

func (c *Client) IoExportsComplianceCancel(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoExportsComplianceCreate

func (c *Client) IoExportsComplianceCreate(ctx context.Context, body IoExportsComplianceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoExportsComplianceCreateWithBody

func (c *Client) IoExportsComplianceCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoExportsComplianceDownload

func (c *Client) IoExportsComplianceDownload(ctx context.Context, exportUuid string, chunkId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoExportsComplianceStatus

func (c *Client) IoExportsComplianceStatus(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoFiltersAgentsList

func (c *Client) IoFiltersAgentsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoFiltersAssetsList

func (c *Client) IoFiltersAssetsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoFiltersAssetsListV2

func (c *Client) IoFiltersAssetsListV2(ctx context.Context, body IoFiltersAssetsListV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoFiltersAssetsListV2WithBody

func (c *Client) IoFiltersAssetsListV2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoFiltersCredentialsList

func (c *Client) IoFiltersCredentialsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoFiltersScanHistoryList

func (c *Client) IoFiltersScanHistoryList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoFiltersScanList

func (c *Client) IoFiltersScanList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoFiltersVulnerabilitiesWorkbenchList

func (c *Client) IoFiltersVulnerabilitiesWorkbenchList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoFiltersVulnerabilitiesWorkbenchListV2

func (c *Client) IoFiltersVulnerabilitiesWorkbenchListV2(ctx context.Context, body IoFiltersVulnerabilitiesWorkbenchListV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoFiltersVulnerabilitiesWorkbenchListV2WithBody

func (c *Client) IoFiltersVulnerabilitiesWorkbenchListV2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoNetworksAssetCountDetails

func (c *Client) IoNetworksAssetCountDetails(ctx context.Context, networkId string, numDays int, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoPluginsDetails

func (c *Client) IoPluginsDetails(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoPluginsFamiliesList

func (c *Client) IoPluginsFamiliesList(ctx context.Context, params *IoPluginsFamiliesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoPluginsFamilyDetails

func (c *Client) IoPluginsFamilyDetails(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoPluginsList

func (c *Client) IoPluginsList(ctx context.Context, params *IoPluginsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoScannerGroupsListRoutes

func (c *Client) IoScannerGroupsListRoutes(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoScannerGroupsUpdateRoutes

func (c *Client) IoScannerGroupsUpdateRoutes(ctx context.Context, groupId int32, body IoScannerGroupsUpdateRoutesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoScannerGroupsUpdateRoutesWithBody

func (c *Client) IoScannerGroupsUpdateRoutesWithBody(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoScansCheckAutoTargets

func (c *Client) IoScansCheckAutoTargets(ctx context.Context, params *IoScansCheckAutoTargetsParams, body IoScansCheckAutoTargetsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoScansCheckAutoTargetsWithBody

func (c *Client) IoScansCheckAutoTargetsWithBody(ctx context.Context, params *IoScansCheckAutoTargetsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoScansCredentialsConvert

func (c *Client) IoScansCredentialsConvert(ctx context.Context, scanId int, credentialsId int, body IoScansCredentialsConvertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoScansCredentialsConvertWithBody

func (c *Client) IoScansCredentialsConvertWithBody(ctx context.Context, scanId int, credentialsId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoScansRemediationCreate

func (c *Client) IoScansRemediationCreate(ctx context.Context, body IoScansRemediationCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoScansRemediationCreateWithBody

func (c *Client) IoScansRemediationCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoScansRemediationList

func (c *Client) IoScansRemediationList(ctx context.Context, params *IoScansRemediationListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV1AccessGroupsCreate

func (c *Client) IoV1AccessGroupsCreate(ctx context.Context, body IoV1AccessGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV1AccessGroupsCreateWithBody

func (c *Client) IoV1AccessGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV1AccessGroupsDelete

func (c *Client) IoV1AccessGroupsDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV1AccessGroupsDetails

func (c *Client) IoV1AccessGroupsDetails(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV1AccessGroupsEdit

func (c *Client) IoV1AccessGroupsEdit(ctx context.Context, id string, body IoV1AccessGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV1AccessGroupsEditWithBody

func (c *Client) IoV1AccessGroupsEditWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV1AccessGroupsList

func (c *Client) IoV1AccessGroupsList(ctx context.Context, params *IoV1AccessGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV1AccessGroupsListFilters

func (c *Client) IoV1AccessGroupsListFilters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV1AccessGroupsListRuleFilters

func (c *Client) IoV1AccessGroupsListRuleFilters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV2AccessGroupsCreate

func (c *Client) IoV2AccessGroupsCreate(ctx context.Context, body IoV2AccessGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV2AccessGroupsCreateWithBody

func (c *Client) IoV2AccessGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV2AccessGroupsDelete

func (c *Client) IoV2AccessGroupsDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV2AccessGroupsDetails

func (c *Client) IoV2AccessGroupsDetails(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV2AccessGroupsEdit

func (c *Client) IoV2AccessGroupsEdit(ctx context.Context, id string, body IoV2AccessGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV2AccessGroupsEditWithBody

func (c *Client) IoV2AccessGroupsEditWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV2AccessGroupsList

func (c *Client) IoV2AccessGroupsList(ctx context.Context, params *IoV2AccessGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV2AccessGroupsListFilters

func (c *Client) IoV2AccessGroupsListFilters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IoV2AccessGroupsListRuleFilters

func (c *Client) IoV2AccessGroupsListRuleFilters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) NetworksAssignScanner

func (c *Client) NetworksAssignScanner(ctx context.Context, networkId string, scannerUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) NetworksAssignScannerBulk

func (c *Client) NetworksAssignScannerBulk(ctx context.Context, networkId string, body NetworksAssignScannerBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) NetworksAssignScannerBulkWithBody

func (c *Client) NetworksAssignScannerBulkWithBody(ctx context.Context, networkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) NetworksCreate

func (c *Client) NetworksCreate(ctx context.Context, body NetworksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) NetworksCreateWithBody

func (c *Client) NetworksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) NetworksDelete

func (c *Client) NetworksDelete(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) NetworksDetails

func (c *Client) NetworksDetails(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) NetworksList

func (c *Client) NetworksList(ctx context.Context, params *NetworksListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) NetworksListAssignableScanners

func (c *Client) NetworksListAssignableScanners(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) NetworksListScanners

func (c *Client) NetworksListScanners(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) NetworksUpdate

func (c *Client) NetworksUpdate(ctx context.Context, networkId string, body NetworksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) NetworksUpdateWithBody

func (c *Client) NetworksUpdateWithBody(ctx context.Context, networkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PermissionsChange

func (c *Client) PermissionsChange(ctx context.Context, objectType PermissionsChangeParamsObjectType, objectId int32, body PermissionsChangeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PermissionsChangeWithBody

func (c *Client) PermissionsChangeWithBody(ctx context.Context, objectType PermissionsChangeParamsObjectType, objectId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PermissionsList

func (c *Client) PermissionsList(ctx context.Context, objectType PermissionsListParamsObjectType, objectId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesConfigure

func (c *Client) PoliciesConfigure(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesCopy

func (c *Client) PoliciesCopy(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesCreate

func (c *Client) PoliciesCreate(ctx context.Context, body PoliciesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesCreateWithBody

func (c *Client) PoliciesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesDelete

func (c *Client) PoliciesDelete(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesDetails

func (c *Client) PoliciesDetails(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesExport

func (c *Client) PoliciesExport(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesImport

func (c *Client) PoliciesImport(ctx context.Context, body PoliciesImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesImportWithBody

func (c *Client) PoliciesImportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesList

func (c *Client) PoliciesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannerGroupsAddScanner

func (c *Client) ScannerGroupsAddScanner(ctx context.Context, groupId int32, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannerGroupsCreate

func (c *Client) ScannerGroupsCreate(ctx context.Context, body ScannerGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannerGroupsCreateWithBody

func (c *Client) ScannerGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannerGroupsDelete

func (c *Client) ScannerGroupsDelete(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannerGroupsDeleteScanner

func (c *Client) ScannerGroupsDeleteScanner(ctx context.Context, groupId int32, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannerGroupsDetails

func (c *Client) ScannerGroupsDetails(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannerGroupsEdit

func (c *Client) ScannerGroupsEdit(ctx context.Context, groupId int32, body ScannerGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannerGroupsEditWithBody

func (c *Client) ScannerGroupsEditWithBody(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannerGroupsList

func (c *Client) ScannerGroupsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannerGroupsListScanners

func (c *Client) ScannerGroupsListScanners(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannersControlScans

func (c *Client) ScannersControlScans(ctx context.Context, scannerId int32, scanUuid string, body ScannersControlScansJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannersControlScansWithBody

func (c *Client) ScannersControlScansWithBody(ctx context.Context, scannerId int32, scanUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannersDelete

func (c *Client) ScannersDelete(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannersDetails

func (c *Client) ScannersDetails(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannersEdit

func (c *Client) ScannersEdit(ctx context.Context, scannerId int32, body ScannersEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannersEditWithBody

func (c *Client) ScannersEditWithBody(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannersGetAwsTargets

func (c *Client) ScannersGetAwsTargets(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannersGetScannerKey

func (c *Client) ScannersGetScannerKey(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannersGetScans

func (c *Client) ScannersGetScans(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannersList

func (c *Client) ScannersList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannersToggleLinkState

func (c *Client) ScannersToggleLinkState(ctx context.Context, scannerId int32, body ScannersToggleLinkStateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScannersToggleLinkStateWithBody

func (c *Client) ScannersToggleLinkStateWithBody(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansAttachments

func (c *Client) ScansAttachments(ctx context.Context, scanId string, attachmentId string, params *ScansAttachmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansConfigure

func (c *Client) ScansConfigure(ctx context.Context, scanId string, body ScansConfigureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansConfigureWithBody

func (c *Client) ScansConfigureWithBody(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansCopy

func (c *Client) ScansCopy(ctx context.Context, scanId string, body ScansCopyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansCopyWithBody

func (c *Client) ScansCopyWithBody(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansCreate

func (c *Client) ScansCreate(ctx context.Context, body ScansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansCreateWithBody

func (c *Client) ScansCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansDelete

func (c *Client) ScansDelete(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansDeleteHistory

func (c *Client) ScansDeleteHistory(ctx context.Context, scanId string, historyId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansDetails

func (c *Client) ScansDetails(ctx context.Context, scanId string, params *ScansDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansExportDownload

func (c *Client) ScansExportDownload(ctx context.Context, scanId string, fileId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansExportRequest

func (c *Client) ScansExportRequest(ctx context.Context, scanId string, params *ScansExportRequestParams, body ScansExportRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansExportRequestWithBody

func (c *Client) ScansExportRequestWithBody(ctx context.Context, scanId string, params *ScansExportRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansExportStatus

func (c *Client) ScansExportStatus(ctx context.Context, scanId string, fileId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansGetLatestStatus

func (c *Client) ScansGetLatestStatus(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansHistory

func (c *Client) ScansHistory(ctx context.Context, scanId string, params *ScansHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansHistoryDetails

func (c *Client) ScansHistoryDetails(ctx context.Context, scanId string, historyUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansHostDetails

func (c *Client) ScansHostDetails(ctx context.Context, scanUuid string, hostId int32, params *ScansHostDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansImport

func (c *Client) ScansImport(ctx context.Context, params *ScansImportParams, body ScansImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansImportWithBody

func (c *Client) ScansImportWithBody(ctx context.Context, params *ScansImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansLaunch

func (c *Client) ScansLaunch(ctx context.Context, scanId string, body ScansLaunchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansLaunchWithBody

func (c *Client) ScansLaunchWithBody(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansList

func (c *Client) ScansList(ctx context.Context, params *ScansListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansPause

func (c *Client) ScansPause(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansPluginOutput

func (c *Client) ScansPluginOutput(ctx context.Context, scanUuid string, hostId int32, pluginId int32, params *ScansPluginOutputParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansReadStatus

func (c *Client) ScansReadStatus(ctx context.Context, scanId string, body ScansReadStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansReadStatusWithBody

func (c *Client) ScansReadStatusWithBody(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansResume

func (c *Client) ScansResume(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansSchedule

func (c *Client) ScansSchedule(ctx context.Context, scanId string, body ScansScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansScheduleWithBody

func (c *Client) ScansScheduleWithBody(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansStop

func (c *Client) ScansStop(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScansTimezones

func (c *Client) ScansTimezones(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ServerProperties

func (c *Client) ServerProperties(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ServerStatus

func (c *Client) ServerStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsAssignAssetTags

func (c *Client) TagsAssignAssetTags(ctx context.Context, body TagsAssignAssetTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsAssignAssetTagsWithBody

func (c *Client) TagsAssignAssetTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsCreateTagCategory

func (c *Client) TagsCreateTagCategory(ctx context.Context, body TagsCreateTagCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsCreateTagCategoryWithBody

func (c *Client) TagsCreateTagCategoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsCreateTagValue

func (c *Client) TagsCreateTagValue(ctx context.Context, body TagsCreateTagValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsCreateTagValueWithBody

func (c *Client) TagsCreateTagValueWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsDeleteTagCategory

func (c *Client) TagsDeleteTagCategory(ctx context.Context, categoryUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsDeleteTagValue

func (c *Client) TagsDeleteTagValue(ctx context.Context, valueUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsDeleteTagValuesBulk

func (c *Client) TagsDeleteTagValuesBulk(ctx context.Context, body TagsDeleteTagValuesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsDeleteTagValuesBulkWithBody

func (c *Client) TagsDeleteTagValuesBulkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsEditTagCategory

func (c *Client) TagsEditTagCategory(ctx context.Context, categoryUuid string, body TagsEditTagCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsEditTagCategoryWithBody

func (c *Client) TagsEditTagCategoryWithBody(ctx context.Context, categoryUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsListAssetFilters

func (c *Client) TagsListAssetFilters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsListAssetTags

func (c *Client) TagsListAssetTags(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsListTagCategories

func (c *Client) TagsListTagCategories(ctx context.Context, params *TagsListTagCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsListTagValues

func (c *Client) TagsListTagValues(ctx context.Context, params *TagsListTagValuesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsTagCategoryDetails

func (c *Client) TagsTagCategoryDetails(ctx context.Context, categoryUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsTagValueDetails

func (c *Client) TagsTagValueDetails(ctx context.Context, valueUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsUpdateTagValue

func (c *Client) TagsUpdateTagValue(ctx context.Context, valueUuid string, body TagsUpdateTagValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TagsUpdateTagValueWithBody

func (c *Client) TagsUpdateTagValueWithBody(ctx context.Context, valueUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TargetGroupsCreate

func (c *Client) TargetGroupsCreate(ctx context.Context, body TargetGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TargetGroupsCreateWithBody

func (c *Client) TargetGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TargetGroupsDelete

func (c *Client) TargetGroupsDelete(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TargetGroupsDetails

func (c *Client) TargetGroupsDetails(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TargetGroupsEdit

func (c *Client) TargetGroupsEdit(ctx context.Context, groupId int32, body TargetGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TargetGroupsEditWithBody

func (c *Client) TargetGroupsEditWithBody(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TargetGroupsList

func (c *Client) TargetGroupsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Tracef

func (c *Client) Tracef(format string, v ...interface{})

Tracef logs trace info

func (*Client) VulnerabilitiesImport

func (c *Client) VulnerabilitiesImport(ctx context.Context, body VulnerabilitiesImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VulnerabilitiesImportV2

func (c *Client) VulnerabilitiesImportV2(ctx context.Context, body VulnerabilitiesImportV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VulnerabilitiesImportV2WithBody

func (c *Client) VulnerabilitiesImportV2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VulnerabilitiesImportWithBody

func (c *Client) VulnerabilitiesImportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Warnf

func (c *Client) Warnf(format string, v ...interface{})

Warnf logs warings

func (*Client) WorkbenchesAssetInfo

func (c *Client) WorkbenchesAssetInfo(ctx context.Context, assetId string, params *WorkbenchesAssetInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkbenchesAssetVulnerabilities

func (c *Client) WorkbenchesAssetVulnerabilities(ctx context.Context, assetId string, params *WorkbenchesAssetVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkbenchesAssetVulnerabilityInfo

func (c *Client) WorkbenchesAssetVulnerabilityInfo(ctx context.Context, assetId string, pluginId int32, params *WorkbenchesAssetVulnerabilityInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkbenchesAssetVulnerabilityOutput

func (c *Client) WorkbenchesAssetVulnerabilityOutput(ctx context.Context, assetId string, pluginId int32, params *WorkbenchesAssetVulnerabilityOutputParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkbenchesAssets

func (c *Client) WorkbenchesAssets(ctx context.Context, params *WorkbenchesAssetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkbenchesAssetsActivity

func (c *Client) WorkbenchesAssetsActivity(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkbenchesAssetsDelete

func (c *Client) WorkbenchesAssetsDelete(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkbenchesAssetsVulnerabilities

func (c *Client) WorkbenchesAssetsVulnerabilities(ctx context.Context, params *WorkbenchesAssetsVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkbenchesExportDownload

func (c *Client) WorkbenchesExportDownload(ctx context.Context, fileId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkbenchesExportRequest

func (c *Client) WorkbenchesExportRequest(ctx context.Context, params *WorkbenchesExportRequestParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkbenchesExportStatus

func (c *Client) WorkbenchesExportStatus(ctx context.Context, fileId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkbenchesVulnerabilities

func (c *Client) WorkbenchesVulnerabilities(ctx context.Context, params *WorkbenchesVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkbenchesVulnerabilityInfo

func (c *Client) WorkbenchesVulnerabilityInfo(ctx context.Context, pluginId int32, params *WorkbenchesVulnerabilityInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkbenchesVulnerabilityOutput

func (c *Client) WorkbenchesVulnerabilityOutput(ctx context.Context, pluginId int32, params *WorkbenchesVulnerabilityOutputParams, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// IoV1AccessGroupsList request
	IoV1AccessGroupsList(ctx context.Context, params *IoV1AccessGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoV1AccessGroupsCreate request with any body
	IoV1AccessGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IoV1AccessGroupsCreate(ctx context.Context, body IoV1AccessGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoV1AccessGroupsListFilters request
	IoV1AccessGroupsListFilters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoV1AccessGroupsListRuleFilters request
	IoV1AccessGroupsListRuleFilters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoV1AccessGroupsDelete request
	IoV1AccessGroupsDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoV1AccessGroupsDetails request
	IoV1AccessGroupsDetails(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoV1AccessGroupsEdit request with any body
	IoV1AccessGroupsEditWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IoV1AccessGroupsEdit(ctx context.Context, id string, body IoV1AccessGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AssetsBulkUpdateAcr request with any body
	AssetsBulkUpdateAcrWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AssetsBulkUpdateAcr(ctx context.Context, body AssetsBulkUpdateAcrJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AssetsBulkDelete request with any body
	AssetsBulkDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AssetsBulkDelete(ctx context.Context, body AssetsBulkDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AssetsBulkMove request with any body
	AssetsBulkMoveWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AssetsBulkMove(ctx context.Context, body AssetsBulkMoveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VulnerabilitiesImportV2 request with any body
	VulnerabilitiesImportV2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	VulnerabilitiesImportV2(ctx context.Context, body VulnerabilitiesImportV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AssetsListAssets request
	AssetsListAssets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportsAssetsRequestExport request with any body
	ExportsAssetsRequestExportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ExportsAssetsRequestExport(ctx context.Context, body ExportsAssetsRequestExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportsAssetsExportStatusRecent request
	ExportsAssetsExportStatusRecent(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportsAssetsExportCancel request
	ExportsAssetsExportCancel(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportsAssetsDownloadChunk request
	ExportsAssetsDownloadChunk(ctx context.Context, exportUuid string, chunkId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportsAssetsExportStatus request
	ExportsAssetsExportStatus(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AssetsAssetInfo request
	AssetsAssetInfo(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AuditLogEvents request
	AuditLogEvents(ctx context.Context, params *AuditLogEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoExportsComplianceCreate request with any body
	IoExportsComplianceCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IoExportsComplianceCreate(ctx context.Context, body IoExportsComplianceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoExportsComplianceCancel request
	IoExportsComplianceCancel(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoExportsComplianceDownload request
	IoExportsComplianceDownload(ctx context.Context, exportUuid string, chunkId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoExportsComplianceStatus request
	IoExportsComplianceStatus(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CredentialsList request
	CredentialsList(ctx context.Context, params *CredentialsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CredentialsCreate request with any body
	CredentialsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CredentialsCreate(ctx context.Context, body CredentialsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CredentialsFileUpload request with any body
	CredentialsFileUploadWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CredentialsListCredentialTypes request
	CredentialsListCredentialTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CredentialsDelete request
	CredentialsDelete(ctx context.Context, uuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CredentialsDetails request
	CredentialsDetails(ctx context.Context, uuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CredentialsUpdate request with any body
	CredentialsUpdateWithBody(ctx context.Context, uuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CredentialsUpdate(ctx context.Context, uuid string, body CredentialsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditorPluginDescription request
	EditorPluginDescription(ctx context.Context, policyId int32, familyId int32, pluginId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditorListTemplates request
	EditorListTemplates(ctx context.Context, pType EditorListTemplatesParamsType, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditorTemplateDetails request
	EditorTemplateDetails(ctx context.Context, pType EditorTemplateDetailsParamsType, templateUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditorDetails request
	EditorDetails(ctx context.Context, pType EditorDetailsParamsType, id int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditorAudits request
	EditorAudits(ctx context.Context, pType EditorAuditsParamsType, objectId int32, fileId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExclusionsList request
	ExclusionsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExclusionsCreate request with any body
	ExclusionsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ExclusionsCreate(ctx context.Context, body ExclusionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExclusionsImport request with any body
	ExclusionsImportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ExclusionsImport(ctx context.Context, body ExclusionsImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExclusionsDelete request
	ExclusionsDelete(ctx context.Context, exclusionId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExclusionsDetails request
	ExclusionsDetails(ctx context.Context, exclusionId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExclusionsEdit request with any body
	ExclusionsEditWithBody(ctx context.Context, exclusionId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ExclusionsEdit(ctx context.Context, exclusionId int32, body ExclusionsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FileUpload request with any body
	FileUploadWithBody(ctx context.Context, params *FileUploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoFiltersCredentialsList request
	IoFiltersCredentialsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoFiltersAgentsList request
	IoFiltersAgentsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoFiltersScanList request
	IoFiltersScanList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoFiltersScanHistoryList request
	IoFiltersScanHistoryList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoFiltersAssetsList request
	IoFiltersAssetsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoFiltersAssetsListV2 request with any body
	IoFiltersAssetsListV2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IoFiltersAssetsListV2(ctx context.Context, body IoFiltersAssetsListV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoFiltersVulnerabilitiesWorkbenchList request
	IoFiltersVulnerabilitiesWorkbenchList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoFiltersVulnerabilitiesWorkbenchListV2 request with any body
	IoFiltersVulnerabilitiesWorkbenchListV2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IoFiltersVulnerabilitiesWorkbenchListV2(ctx context.Context, body IoFiltersVulnerabilitiesWorkbenchListV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FoldersList request
	FoldersList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FoldersCreate request with any body
	FoldersCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	FoldersCreate(ctx context.Context, body FoldersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FoldersDelete request
	FoldersDelete(ctx context.Context, folderId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FoldersEdit request with any body
	FoldersEditWithBody(ctx context.Context, folderId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	FoldersEdit(ctx context.Context, folderId int32, body FoldersEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AssetsListImportJobs request
	AssetsListImportJobs(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AssetsImportJobInfo request
	AssetsImportJobInfo(ctx context.Context, assetImportJobUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AssetsImport request with any body
	AssetsImportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AssetsImport(ctx context.Context, body AssetsImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VulnerabilitiesImport request with any body
	VulnerabilitiesImportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	VulnerabilitiesImport(ctx context.Context, body VulnerabilitiesImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// NetworksList request
	NetworksList(ctx context.Context, params *NetworksListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// NetworksCreate request with any body
	NetworksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	NetworksCreate(ctx context.Context, body NetworksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// NetworksDelete request
	NetworksDelete(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// NetworksDetails request
	NetworksDetails(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// NetworksUpdate request with any body
	NetworksUpdateWithBody(ctx context.Context, networkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	NetworksUpdate(ctx context.Context, networkId string, body NetworksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// NetworksListAssignableScanners request
	NetworksListAssignableScanners(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoNetworksAssetCountDetails request
	IoNetworksAssetCountDetails(ctx context.Context, networkId string, numDays int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// NetworksListScanners request
	NetworksListScanners(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// NetworksAssignScannerBulk request with any body
	NetworksAssignScannerBulkWithBody(ctx context.Context, networkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	NetworksAssignScannerBulk(ctx context.Context, networkId string, body NetworksAssignScannerBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// NetworksAssignScanner request
	NetworksAssignScanner(ctx context.Context, networkId string, scannerUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PermissionsList request
	PermissionsList(ctx context.Context, objectType PermissionsListParamsObjectType, objectId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PermissionsChange request with any body
	PermissionsChangeWithBody(ctx context.Context, objectType PermissionsChangeParamsObjectType, objectId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PermissionsChange(ctx context.Context, objectType PermissionsChangeParamsObjectType, objectId int32, body PermissionsChangeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoPluginsFamiliesList request
	IoPluginsFamiliesList(ctx context.Context, params *IoPluginsFamiliesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoPluginsFamilyDetails request
	IoPluginsFamilyDetails(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoPluginsList request
	IoPluginsList(ctx context.Context, params *IoPluginsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoPluginsDetails request
	IoPluginsDetails(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PoliciesList request
	PoliciesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PoliciesCreate request with any body
	PoliciesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PoliciesCreate(ctx context.Context, body PoliciesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PoliciesImport request with any body
	PoliciesImportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PoliciesImport(ctx context.Context, body PoliciesImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PoliciesDelete request
	PoliciesDelete(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PoliciesDetails request
	PoliciesDetails(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PoliciesConfigure request
	PoliciesConfigure(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PoliciesCopy request
	PoliciesCopy(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PoliciesExport request
	PoliciesExport(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannerGroupsList request
	ScannerGroupsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannerGroupsCreate request with any body
	ScannerGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScannerGroupsCreate(ctx context.Context, body ScannerGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannerGroupsDelete request
	ScannerGroupsDelete(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannerGroupsDetails request
	ScannerGroupsDetails(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannerGroupsEdit request with any body
	ScannerGroupsEditWithBody(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScannerGroupsEdit(ctx context.Context, groupId int32, body ScannerGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoScannerGroupsListRoutes request
	IoScannerGroupsListRoutes(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoScannerGroupsUpdateRoutes request with any body
	IoScannerGroupsUpdateRoutesWithBody(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IoScannerGroupsUpdateRoutes(ctx context.Context, groupId int32, body IoScannerGroupsUpdateRoutesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannerGroupsListScanners request
	ScannerGroupsListScanners(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannerGroupsDeleteScanner request
	ScannerGroupsDeleteScanner(ctx context.Context, groupId int32, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannerGroupsAddScanner request
	ScannerGroupsAddScanner(ctx context.Context, groupId int32, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannersList request
	ScannersList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkAddAgents request with any body
	BulkAddAgentsWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	BulkAddAgents(ctx context.Context, groupId string, body BulkAddAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoAgentBulkOperationsGroupDirective request with any body
	IoAgentBulkOperationsGroupDirectiveWithBody(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IoAgentBulkOperationsGroupDirective(ctx context.Context, groupId int32, body IoAgentBulkOperationsGroupDirectiveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkRemoveAgents request with any body
	BulkRemoveAgentsWithBody(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	BulkRemoveAgents(ctx context.Context, groupId int32, body BulkRemoveAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkTaskAgentGroupStatus request
	BulkTaskAgentGroupStatus(ctx context.Context, groupId int32, taskUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoAgentBulkOperationsAddToNetwork request with any body
	IoAgentBulkOperationsAddToNetworkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IoAgentBulkOperationsAddToNetwork(ctx context.Context, body IoAgentBulkOperationsAddToNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoAgentBulkOperationsDirective request with any body
	IoAgentBulkOperationsDirectiveWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IoAgentBulkOperationsDirective(ctx context.Context, body IoAgentBulkOperationsDirectiveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoAgentBulkOperationsRemoveFromNetwork request with any body
	IoAgentBulkOperationsRemoveFromNetworkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IoAgentBulkOperationsRemoveFromNetwork(ctx context.Context, body IoAgentBulkOperationsRemoveFromNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkUnlinkAgents request with any body
	BulkUnlinkAgentsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	BulkUnlinkAgents(ctx context.Context, body BulkUnlinkAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkTaskAgentStatus request
	BulkTaskAgentStatus(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannersDelete request
	ScannersDelete(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannersDetails request
	ScannersDetails(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannersEdit request with any body
	ScannersEditWithBody(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScannersEdit(ctx context.Context, scannerId int32, body ScannersEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentGroupsList request
	AgentGroupsList(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentGroupsCreate request with any body
	AgentGroupsCreateWithBody(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AgentGroupsCreate(ctx context.Context, scannerId int32, body AgentGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentGroupListAgents request
	AgentGroupListAgents(ctx context.Context, scannerId int32, agentGroupId int32, params *AgentGroupListAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentGroupsDelete request
	AgentGroupsDelete(ctx context.Context, scannerId int32, groupId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentGroupsDetails request
	AgentGroupsDetails(ctx context.Context, scannerId int32, groupId int32, params *AgentGroupsDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentGroupsConfigure request with any body
	AgentGroupsConfigureWithBody(ctx context.Context, scannerId int32, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AgentGroupsConfigure(ctx context.Context, scannerId int32, groupId int32, body AgentGroupsConfigureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentGroupsDeleteAgent request
	AgentGroupsDeleteAgent(ctx context.Context, scannerId int32, groupId int32, agentId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentGroupsAddAgent request
	AgentGroupsAddAgent(ctx context.Context, scannerId int32, groupId int32, agentId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsList request
	AgentsList(ctx context.Context, scannerId int32, params *AgentsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentConfigDetails request
	AgentConfigDetails(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentConfigEdit request with any body
	AgentConfigEditWithBody(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AgentConfigEdit(ctx context.Context, scannerId int32, body AgentConfigEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentExclusionsList request
	AgentExclusionsList(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentExclusionsCreate request with any body
	AgentExclusionsCreateWithBody(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AgentExclusionsCreate(ctx context.Context, scannerId int32, body AgentExclusionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentExclusionsDelete request
	AgentExclusionsDelete(ctx context.Context, scannerId int32, exclusionId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentExclusionsDetails request
	AgentExclusionsDetails(ctx context.Context, scannerId int32, exclusionId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentExclusionsEdit request with any body
	AgentExclusionsEditWithBody(ctx context.Context, scannerId int32, exclusionId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AgentExclusionsEdit(ctx context.Context, scannerId int32, exclusionId int32, body AgentExclusionsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsDelete request
	AgentsDelete(ctx context.Context, scannerId int32, agentId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsGet request
	AgentsGet(ctx context.Context, scannerId int32, agentId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannersGetAwsTargets request
	ScannersGetAwsTargets(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannersGetScannerKey request
	ScannersGetScannerKey(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannersToggleLinkState request with any body
	ScannersToggleLinkStateWithBody(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScannersToggleLinkState(ctx context.Context, scannerId int32, body ScannersToggleLinkStateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannersGetScans request
	ScannersGetScans(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScannersControlScans request with any body
	ScannersControlScansWithBody(ctx context.Context, scannerId int32, scanUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScannersControlScans(ctx context.Context, scannerId int32, scanUuid string, body ScannersControlScansJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansList request
	ScansList(ctx context.Context, params *ScansListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansCreate request with any body
	ScansCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScansCreate(ctx context.Context, body ScansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoScansCheckAutoTargets request with any body
	IoScansCheckAutoTargetsWithBody(ctx context.Context, params *IoScansCheckAutoTargetsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IoScansCheckAutoTargets(ctx context.Context, params *IoScansCheckAutoTargetsParams, body IoScansCheckAutoTargetsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansImport request with any body
	ScansImportWithBody(ctx context.Context, params *ScansImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScansImport(ctx context.Context, params *ScansImportParams, body ScansImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoScansRemediationList request
	IoScansRemediationList(ctx context.Context, params *IoScansRemediationListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoScansRemediationCreate request with any body
	IoScansRemediationCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IoScansRemediationCreate(ctx context.Context, body IoScansRemediationCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansTimezones request
	ScansTimezones(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansDelete request
	ScansDelete(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansDetails request
	ScansDetails(ctx context.Context, scanId string, params *ScansDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansConfigure request with any body
	ScansConfigureWithBody(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScansConfigure(ctx context.Context, scanId string, body ScansConfigureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansAttachments request
	ScansAttachments(ctx context.Context, scanId string, attachmentId string, params *ScansAttachmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansCopy request with any body
	ScansCopyWithBody(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScansCopy(ctx context.Context, scanId string, body ScansCopyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoScansCredentialsConvert request with any body
	IoScansCredentialsConvertWithBody(ctx context.Context, scanId int, credentialsId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IoScansCredentialsConvert(ctx context.Context, scanId int, credentialsId int, body IoScansCredentialsConvertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansExportRequest request with any body
	ScansExportRequestWithBody(ctx context.Context, scanId string, params *ScansExportRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScansExportRequest(ctx context.Context, scanId string, params *ScansExportRequestParams, body ScansExportRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansExportDownload request
	ScansExportDownload(ctx context.Context, scanId string, fileId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansExportStatus request
	ScansExportStatus(ctx context.Context, scanId string, fileId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansHistory request
	ScansHistory(ctx context.Context, scanId string, params *ScansHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansDeleteHistory request
	ScansDeleteHistory(ctx context.Context, scanId string, historyId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansHistoryDetails request
	ScansHistoryDetails(ctx context.Context, scanId string, historyUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansGetLatestStatus request
	ScansGetLatestStatus(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansLaunch request with any body
	ScansLaunchWithBody(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScansLaunch(ctx context.Context, scanId string, body ScansLaunchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansPause request
	ScansPause(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansResume request
	ScansResume(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansSchedule request with any body
	ScansScheduleWithBody(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScansSchedule(ctx context.Context, scanId string, body ScansScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansReadStatus request with any body
	ScansReadStatusWithBody(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScansReadStatus(ctx context.Context, scanId string, body ScansReadStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansStop request
	ScansStop(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansHostDetails request
	ScansHostDetails(ctx context.Context, scanUuid string, hostId int32, params *ScansHostDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScansPluginOutput request
	ScansPluginOutput(ctx context.Context, scanUuid string, hostId int32, pluginId int32, params *ScansPluginOutputParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ServerProperties request
	ServerProperties(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ServerStatus request
	ServerStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TagsAssignAssetTags request with any body
	TagsAssignAssetTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TagsAssignAssetTags(ctx context.Context, body TagsAssignAssetTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TagsListAssetFilters request
	TagsListAssetFilters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TagsListAssetTags request
	TagsListAssetTags(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TagsListTagCategories request
	TagsListTagCategories(ctx context.Context, params *TagsListTagCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TagsCreateTagCategory request with any body
	TagsCreateTagCategoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TagsCreateTagCategory(ctx context.Context, body TagsCreateTagCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TagsDeleteTagCategory request
	TagsDeleteTagCategory(ctx context.Context, categoryUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TagsTagCategoryDetails request
	TagsTagCategoryDetails(ctx context.Context, categoryUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TagsEditTagCategory request with any body
	TagsEditTagCategoryWithBody(ctx context.Context, categoryUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TagsEditTagCategory(ctx context.Context, categoryUuid string, body TagsEditTagCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TagsListTagValues request
	TagsListTagValues(ctx context.Context, params *TagsListTagValuesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TagsCreateTagValue request with any body
	TagsCreateTagValueWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TagsCreateTagValue(ctx context.Context, body TagsCreateTagValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TagsDeleteTagValuesBulk request with any body
	TagsDeleteTagValuesBulkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TagsDeleteTagValuesBulk(ctx context.Context, body TagsDeleteTagValuesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TagsDeleteTagValue request
	TagsDeleteTagValue(ctx context.Context, valueUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TagsTagValueDetails request
	TagsTagValueDetails(ctx context.Context, valueUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TagsUpdateTagValue request with any body
	TagsUpdateTagValueWithBody(ctx context.Context, valueUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TagsUpdateTagValue(ctx context.Context, valueUuid string, body TagsUpdateTagValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TargetGroupsList request
	TargetGroupsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TargetGroupsCreate request with any body
	TargetGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TargetGroupsCreate(ctx context.Context, body TargetGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TargetGroupsDelete request
	TargetGroupsDelete(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TargetGroupsDetails request
	TargetGroupsDetails(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TargetGroupsEdit request with any body
	TargetGroupsEditWithBody(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TargetGroupsEdit(ctx context.Context, groupId int32, body TargetGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoV2AccessGroupsList request
	IoV2AccessGroupsList(ctx context.Context, params *IoV2AccessGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoV2AccessGroupsCreate request with any body
	IoV2AccessGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IoV2AccessGroupsCreate(ctx context.Context, body IoV2AccessGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoV2AccessGroupsListFilters request
	IoV2AccessGroupsListFilters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoV2AccessGroupsListRuleFilters request
	IoV2AccessGroupsListRuleFilters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoV2AccessGroupsDelete request
	IoV2AccessGroupsDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoV2AccessGroupsDetails request
	IoV2AccessGroupsDetails(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IoV2AccessGroupsEdit request with any body
	IoV2AccessGroupsEditWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IoV2AccessGroupsEdit(ctx context.Context, id string, body IoV2AccessGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportsVulnsRequestExport request with any body
	ExportsVulnsRequestExportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ExportsVulnsRequestExport(ctx context.Context, body ExportsVulnsRequestExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportsVulnsExportStatusRecent request
	ExportsVulnsExportStatusRecent(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportsVulnsExportCancel request
	ExportsVulnsExportCancel(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportsVulnsDownloadChunk request
	ExportsVulnsDownloadChunk(ctx context.Context, exportUuid string, chunkId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportsVulnsExportStatus request
	ExportsVulnsExportStatus(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkbenchesAssets request
	WorkbenchesAssets(ctx context.Context, params *WorkbenchesAssetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkbenchesAssetsVulnerabilities request
	WorkbenchesAssetsVulnerabilities(ctx context.Context, params *WorkbenchesAssetsVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkbenchesAssetInfo request
	WorkbenchesAssetInfo(ctx context.Context, assetId string, params *WorkbenchesAssetInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkbenchesAssetVulnerabilities request
	WorkbenchesAssetVulnerabilities(ctx context.Context, assetId string, params *WorkbenchesAssetVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkbenchesAssetVulnerabilityInfo request
	WorkbenchesAssetVulnerabilityInfo(ctx context.Context, assetId string, pluginId int32, params *WorkbenchesAssetVulnerabilityInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkbenchesAssetVulnerabilityOutput request
	WorkbenchesAssetVulnerabilityOutput(ctx context.Context, assetId string, pluginId int32, params *WorkbenchesAssetVulnerabilityOutputParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkbenchesAssetsDelete request
	WorkbenchesAssetsDelete(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkbenchesAssetsActivity request
	WorkbenchesAssetsActivity(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkbenchesExportRequest request
	WorkbenchesExportRequest(ctx context.Context, params *WorkbenchesExportRequestParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkbenchesExportDownload request
	WorkbenchesExportDownload(ctx context.Context, fileId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkbenchesExportStatus request
	WorkbenchesExportStatus(ctx context.Context, fileId int32, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkbenchesVulnerabilities request
	WorkbenchesVulnerabilities(ctx context.Context, params *WorkbenchesVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkbenchesVulnerabilityInfo request
	WorkbenchesVulnerabilityInfo(ctx context.Context, pluginId int32, params *WorkbenchesVulnerabilityInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkbenchesVulnerabilityOutput request
	WorkbenchesVulnerabilityOutput(ctx context.Context, pluginId int32, params *WorkbenchesVulnerabilityOutputParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithContext

func WithContext(ctx context.Context) ClientOption

WithContext specifies the credentials for

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithInsecure

func WithInsecure(insecure bool) ClientOption

WithInsecure accept all certificates

func WithLogin

func WithLogin(user string, password string) ClientOption

WithLogin specifies the credentials for

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

func WithTrace

func WithTrace(trace bool) ClientOption

WithTrace write all requests to the log

func WithUserAgent

func WithUserAgent(userAgent string) ClientOption

WithUserAgent specify a user agent string to identify the client

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AgentConfigDetailsWithResponse

func (c *ClientWithResponses) AgentConfigDetailsWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*AgentConfigDetailsResponse, error)

AgentConfigDetailsWithResponse request returning *AgentConfigDetailsResponse

func (*ClientWithResponses) AgentConfigEditWithBodyWithResponse

func (c *ClientWithResponses) AgentConfigEditWithBodyWithResponse(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentConfigEditResponse, error)

AgentConfigEditWithBodyWithResponse request with arbitrary body returning *AgentConfigEditResponse

func (*ClientWithResponses) AgentConfigEditWithResponse

func (c *ClientWithResponses) AgentConfigEditWithResponse(ctx context.Context, scannerId int32, body AgentConfigEditJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentConfigEditResponse, error)

func (*ClientWithResponses) AgentExclusionsCreateWithBodyWithResponse

func (c *ClientWithResponses) AgentExclusionsCreateWithBodyWithResponse(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentExclusionsCreateResponse, error)

AgentExclusionsCreateWithBodyWithResponse request with arbitrary body returning *AgentExclusionsCreateResponse

func (*ClientWithResponses) AgentExclusionsCreateWithResponse

func (c *ClientWithResponses) AgentExclusionsCreateWithResponse(ctx context.Context, scannerId int32, body AgentExclusionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentExclusionsCreateResponse, error)

func (*ClientWithResponses) AgentExclusionsDeleteWithResponse

func (c *ClientWithResponses) AgentExclusionsDeleteWithResponse(ctx context.Context, scannerId int32, exclusionId int32, reqEditors ...RequestEditorFn) (*AgentExclusionsDeleteResponse, error)

AgentExclusionsDeleteWithResponse request returning *AgentExclusionsDeleteResponse

func (*ClientWithResponses) AgentExclusionsDetailsWithResponse

func (c *ClientWithResponses) AgentExclusionsDetailsWithResponse(ctx context.Context, scannerId int32, exclusionId int32, reqEditors ...RequestEditorFn) (*AgentExclusionsDetailsResponse, error)

AgentExclusionsDetailsWithResponse request returning *AgentExclusionsDetailsResponse

func (*ClientWithResponses) AgentExclusionsEditWithBodyWithResponse

func (c *ClientWithResponses) AgentExclusionsEditWithBodyWithResponse(ctx context.Context, scannerId int32, exclusionId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentExclusionsEditResponse, error)

AgentExclusionsEditWithBodyWithResponse request with arbitrary body returning *AgentExclusionsEditResponse

func (*ClientWithResponses) AgentExclusionsEditWithResponse

func (c *ClientWithResponses) AgentExclusionsEditWithResponse(ctx context.Context, scannerId int32, exclusionId int32, body AgentExclusionsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentExclusionsEditResponse, error)

func (*ClientWithResponses) AgentExclusionsListWithResponse

func (c *ClientWithResponses) AgentExclusionsListWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*AgentExclusionsListResponse, error)

AgentExclusionsListWithResponse request returning *AgentExclusionsListResponse

func (*ClientWithResponses) AgentGroupListAgentsWithResponse

func (c *ClientWithResponses) AgentGroupListAgentsWithResponse(ctx context.Context, scannerId int32, agentGroupId int32, params *AgentGroupListAgentsParams, reqEditors ...RequestEditorFn) (*AgentGroupListAgentsResponse, error)

AgentGroupListAgentsWithResponse request returning *AgentGroupListAgentsResponse

func (*ClientWithResponses) AgentGroupsAddAgentWithResponse

func (c *ClientWithResponses) AgentGroupsAddAgentWithResponse(ctx context.Context, scannerId int32, groupId int32, agentId int32, reqEditors ...RequestEditorFn) (*AgentGroupsAddAgentResponse, error)

AgentGroupsAddAgentWithResponse request returning *AgentGroupsAddAgentResponse

func (*ClientWithResponses) AgentGroupsConfigureWithBodyWithResponse

func (c *ClientWithResponses) AgentGroupsConfigureWithBodyWithResponse(ctx context.Context, scannerId int32, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentGroupsConfigureResponse, error)

AgentGroupsConfigureWithBodyWithResponse request with arbitrary body returning *AgentGroupsConfigureResponse

func (*ClientWithResponses) AgentGroupsConfigureWithResponse

func (c *ClientWithResponses) AgentGroupsConfigureWithResponse(ctx context.Context, scannerId int32, groupId int32, body AgentGroupsConfigureJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentGroupsConfigureResponse, error)

func (*ClientWithResponses) AgentGroupsCreateWithBodyWithResponse

func (c *ClientWithResponses) AgentGroupsCreateWithBodyWithResponse(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentGroupsCreateResponse, error)

AgentGroupsCreateWithBodyWithResponse request with arbitrary body returning *AgentGroupsCreateResponse

func (*ClientWithResponses) AgentGroupsCreateWithResponse

func (c *ClientWithResponses) AgentGroupsCreateWithResponse(ctx context.Context, scannerId int32, body AgentGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentGroupsCreateResponse, error)

func (*ClientWithResponses) AgentGroupsDeleteAgentWithResponse

func (c *ClientWithResponses) AgentGroupsDeleteAgentWithResponse(ctx context.Context, scannerId int32, groupId int32, agentId int32, reqEditors ...RequestEditorFn) (*AgentGroupsDeleteAgentResponse, error)

AgentGroupsDeleteAgentWithResponse request returning *AgentGroupsDeleteAgentResponse

func (*ClientWithResponses) AgentGroupsDeleteWithResponse

func (c *ClientWithResponses) AgentGroupsDeleteWithResponse(ctx context.Context, scannerId int32, groupId int32, reqEditors ...RequestEditorFn) (*AgentGroupsDeleteResponse, error)

AgentGroupsDeleteWithResponse request returning *AgentGroupsDeleteResponse

func (*ClientWithResponses) AgentGroupsDetailsWithResponse

func (c *ClientWithResponses) AgentGroupsDetailsWithResponse(ctx context.Context, scannerId int32, groupId int32, params *AgentGroupsDetailsParams, reqEditors ...RequestEditorFn) (*AgentGroupsDetailsResponse, error)

AgentGroupsDetailsWithResponse request returning *AgentGroupsDetailsResponse

func (*ClientWithResponses) AgentGroupsListWithResponse

func (c *ClientWithResponses) AgentGroupsListWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*AgentGroupsListResponse, error)

AgentGroupsListWithResponse request returning *AgentGroupsListResponse

func (*ClientWithResponses) AgentsDeleteWithResponse

func (c *ClientWithResponses) AgentsDeleteWithResponse(ctx context.Context, scannerId int32, agentId int32, reqEditors ...RequestEditorFn) (*AgentsDeleteResponse, error)

AgentsDeleteWithResponse request returning *AgentsDeleteResponse

func (*ClientWithResponses) AgentsGetWithResponse

func (c *ClientWithResponses) AgentsGetWithResponse(ctx context.Context, scannerId int32, agentId int32, reqEditors ...RequestEditorFn) (*AgentsGetResponse, error)

AgentsGetWithResponse request returning *AgentsGetResponse

func (*ClientWithResponses) AgentsListWithResponse

func (c *ClientWithResponses) AgentsListWithResponse(ctx context.Context, scannerId int32, params *AgentsListParams, reqEditors ...RequestEditorFn) (*AgentsListResponse, error)

AgentsListWithResponse request returning *AgentsListResponse

func (*ClientWithResponses) AssetsAssetInfoWithResponse

func (c *ClientWithResponses) AssetsAssetInfoWithResponse(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*AssetsAssetInfoResponse, error)

AssetsAssetInfoWithResponse request returning *AssetsAssetInfoResponse

func (*ClientWithResponses) AssetsBulkDeleteWithBodyWithResponse

func (c *ClientWithResponses) AssetsBulkDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssetsBulkDeleteResponse, error)

AssetsBulkDeleteWithBodyWithResponse request with arbitrary body returning *AssetsBulkDeleteResponse

func (*ClientWithResponses) AssetsBulkDeleteWithResponse

func (c *ClientWithResponses) AssetsBulkDeleteWithResponse(ctx context.Context, body AssetsBulkDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*AssetsBulkDeleteResponse, error)

func (*ClientWithResponses) AssetsBulkMoveWithBodyWithResponse

func (c *ClientWithResponses) AssetsBulkMoveWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssetsBulkMoveResponse, error)

AssetsBulkMoveWithBodyWithResponse request with arbitrary body returning *AssetsBulkMoveResponse

func (*ClientWithResponses) AssetsBulkMoveWithResponse

func (c *ClientWithResponses) AssetsBulkMoveWithResponse(ctx context.Context, body AssetsBulkMoveJSONRequestBody, reqEditors ...RequestEditorFn) (*AssetsBulkMoveResponse, error)

func (*ClientWithResponses) AssetsBulkUpdateAcrWithBodyWithResponse

func (c *ClientWithResponses) AssetsBulkUpdateAcrWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssetsBulkUpdateAcrResponse, error)

AssetsBulkUpdateAcrWithBodyWithResponse request with arbitrary body returning *AssetsBulkUpdateAcrResponse

func (*ClientWithResponses) AssetsBulkUpdateAcrWithResponse

func (c *ClientWithResponses) AssetsBulkUpdateAcrWithResponse(ctx context.Context, body AssetsBulkUpdateAcrJSONRequestBody, reqEditors ...RequestEditorFn) (*AssetsBulkUpdateAcrResponse, error)

func (*ClientWithResponses) AssetsImportJobInfoWithResponse

func (c *ClientWithResponses) AssetsImportJobInfoWithResponse(ctx context.Context, assetImportJobUuid string, reqEditors ...RequestEditorFn) (*AssetsImportJobInfoResponse, error)

AssetsImportJobInfoWithResponse request returning *AssetsImportJobInfoResponse

func (*ClientWithResponses) AssetsImportWithBodyWithResponse

func (c *ClientWithResponses) AssetsImportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssetsImportResponse, error)

AssetsImportWithBodyWithResponse request with arbitrary body returning *AssetsImportResponse

func (*ClientWithResponses) AssetsImportWithResponse

func (c *ClientWithResponses) AssetsImportWithResponse(ctx context.Context, body AssetsImportJSONRequestBody, reqEditors ...RequestEditorFn) (*AssetsImportResponse, error)

func (*ClientWithResponses) AssetsListAssetsWithResponse

func (c *ClientWithResponses) AssetsListAssetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AssetsListAssetsResponse, error)

AssetsListAssetsWithResponse request returning *AssetsListAssetsResponse

func (*ClientWithResponses) AssetsListImportJobsWithResponse

func (c *ClientWithResponses) AssetsListImportJobsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AssetsListImportJobsResponse, error)

AssetsListImportJobsWithResponse request returning *AssetsListImportJobsResponse

func (*ClientWithResponses) AuditLogEventsWithResponse

func (c *ClientWithResponses) AuditLogEventsWithResponse(ctx context.Context, params *AuditLogEventsParams, reqEditors ...RequestEditorFn) (*AuditLogEventsResponse, error)

AuditLogEventsWithResponse request returning *AuditLogEventsResponse

func (*ClientWithResponses) Authenticate

func (c *ClientWithResponses) Authenticate() error

Authenticate login using basic auth to optain a token

func (*ClientWithResponses) Authenticated

func (c *ClientWithResponses) Authenticated() bool

func (*ClientWithResponses) BulkAddAgentsWithBodyWithResponse

func (c *ClientWithResponses) BulkAddAgentsWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkAddAgentsResponse, error)

BulkAddAgentsWithBodyWithResponse request with arbitrary body returning *BulkAddAgentsResponse

func (*ClientWithResponses) BulkAddAgentsWithResponse

func (c *ClientWithResponses) BulkAddAgentsWithResponse(ctx context.Context, groupId string, body BulkAddAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkAddAgentsResponse, error)

func (*ClientWithResponses) BulkRemoveAgentsWithBodyWithResponse

func (c *ClientWithResponses) BulkRemoveAgentsWithBodyWithResponse(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkRemoveAgentsResponse, error)

BulkRemoveAgentsWithBodyWithResponse request with arbitrary body returning *BulkRemoveAgentsResponse

func (*ClientWithResponses) BulkRemoveAgentsWithResponse

func (c *ClientWithResponses) BulkRemoveAgentsWithResponse(ctx context.Context, groupId int32, body BulkRemoveAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkRemoveAgentsResponse, error)

func (*ClientWithResponses) BulkTaskAgentGroupStatusWithResponse

func (c *ClientWithResponses) BulkTaskAgentGroupStatusWithResponse(ctx context.Context, groupId int32, taskUuid string, reqEditors ...RequestEditorFn) (*BulkTaskAgentGroupStatusResponse, error)

BulkTaskAgentGroupStatusWithResponse request returning *BulkTaskAgentGroupStatusResponse

func (*ClientWithResponses) BulkTaskAgentStatusWithResponse

func (c *ClientWithResponses) BulkTaskAgentStatusWithResponse(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*BulkTaskAgentStatusResponse, error)

BulkTaskAgentStatusWithResponse request returning *BulkTaskAgentStatusResponse

func (*ClientWithResponses) BulkUnlinkAgentsWithBodyWithResponse

func (c *ClientWithResponses) BulkUnlinkAgentsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkUnlinkAgentsResponse, error)

BulkUnlinkAgentsWithBodyWithResponse request with arbitrary body returning *BulkUnlinkAgentsResponse

func (*ClientWithResponses) BulkUnlinkAgentsWithResponse

func (c *ClientWithResponses) BulkUnlinkAgentsWithResponse(ctx context.Context, body BulkUnlinkAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkUnlinkAgentsResponse, error)

func (*ClientWithResponses) CredentialsCreateWithBodyWithResponse

func (c *ClientWithResponses) CredentialsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialsCreateResponse, error)

CredentialsCreateWithBodyWithResponse request with arbitrary body returning *CredentialsCreateResponse

func (*ClientWithResponses) CredentialsCreateWithResponse

func (c *ClientWithResponses) CredentialsCreateWithResponse(ctx context.Context, body CredentialsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialsCreateResponse, error)

func (*ClientWithResponses) CredentialsDeleteWithResponse

func (c *ClientWithResponses) CredentialsDeleteWithResponse(ctx context.Context, uuid string, reqEditors ...RequestEditorFn) (*CredentialsDeleteResponse, error)

CredentialsDeleteWithResponse request returning *CredentialsDeleteResponse

func (*ClientWithResponses) CredentialsDetailsWithResponse

func (c *ClientWithResponses) CredentialsDetailsWithResponse(ctx context.Context, uuid string, reqEditors ...RequestEditorFn) (*CredentialsDetailsResponse, error)

CredentialsDetailsWithResponse request returning *CredentialsDetailsResponse

func (*ClientWithResponses) CredentialsFileUploadWithBodyWithResponse

func (c *ClientWithResponses) CredentialsFileUploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialsFileUploadResponse, error)

CredentialsFileUploadWithBodyWithResponse request with arbitrary body returning *CredentialsFileUploadResponse

func (*ClientWithResponses) CredentialsListCredentialTypesWithResponse

func (c *ClientWithResponses) CredentialsListCredentialTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CredentialsListCredentialTypesResponse, error)

CredentialsListCredentialTypesWithResponse request returning *CredentialsListCredentialTypesResponse

func (*ClientWithResponses) CredentialsListWithResponse

func (c *ClientWithResponses) CredentialsListWithResponse(ctx context.Context, params *CredentialsListParams, reqEditors ...RequestEditorFn) (*CredentialsListResponse, error)

CredentialsListWithResponse request returning *CredentialsListResponse

func (*ClientWithResponses) CredentialsUpdateWithBodyWithResponse

func (c *ClientWithResponses) CredentialsUpdateWithBodyWithResponse(ctx context.Context, uuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialsUpdateResponse, error)

CredentialsUpdateWithBodyWithResponse request with arbitrary body returning *CredentialsUpdateResponse

func (*ClientWithResponses) CredentialsUpdateWithResponse

func (c *ClientWithResponses) CredentialsUpdateWithResponse(ctx context.Context, uuid string, body CredentialsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialsUpdateResponse, error)

func (*ClientWithResponses) EditorAuditsWithResponse

func (c *ClientWithResponses) EditorAuditsWithResponse(ctx context.Context, pType EditorAuditsParamsType, objectId int32, fileId int32, reqEditors ...RequestEditorFn) (*EditorAuditsResponse, error)

EditorAuditsWithResponse request returning *EditorAuditsResponse

func (*ClientWithResponses) EditorDetailsWithResponse

func (c *ClientWithResponses) EditorDetailsWithResponse(ctx context.Context, pType EditorDetailsParamsType, id int32, reqEditors ...RequestEditorFn) (*EditorDetailsResponse, error)

EditorDetailsWithResponse request returning *EditorDetailsResponse

func (*ClientWithResponses) EditorListTemplatesWithResponse

func (c *ClientWithResponses) EditorListTemplatesWithResponse(ctx context.Context, pType EditorListTemplatesParamsType, reqEditors ...RequestEditorFn) (*EditorListTemplatesResponse, error)

EditorListTemplatesWithResponse request returning *EditorListTemplatesResponse

func (*ClientWithResponses) EditorPluginDescriptionWithResponse

func (c *ClientWithResponses) EditorPluginDescriptionWithResponse(ctx context.Context, policyId int32, familyId int32, pluginId int32, reqEditors ...RequestEditorFn) (*EditorPluginDescriptionResponse, error)

EditorPluginDescriptionWithResponse request returning *EditorPluginDescriptionResponse

func (*ClientWithResponses) EditorTemplateDetailsWithResponse

func (c *ClientWithResponses) EditorTemplateDetailsWithResponse(ctx context.Context, pType EditorTemplateDetailsParamsType, templateUuid string, reqEditors ...RequestEditorFn) (*EditorTemplateDetailsResponse, error)

EditorTemplateDetailsWithResponse request returning *EditorTemplateDetailsResponse

func (*ClientWithResponses) ExclusionsCreateWithBodyWithResponse

func (c *ClientWithResponses) ExclusionsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExclusionsCreateResponse, error)

ExclusionsCreateWithBodyWithResponse request with arbitrary body returning *ExclusionsCreateResponse

func (*ClientWithResponses) ExclusionsCreateWithResponse

func (c *ClientWithResponses) ExclusionsCreateWithResponse(ctx context.Context, body ExclusionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExclusionsCreateResponse, error)

func (*ClientWithResponses) ExclusionsDeleteWithResponse

func (c *ClientWithResponses) ExclusionsDeleteWithResponse(ctx context.Context, exclusionId int32, reqEditors ...RequestEditorFn) (*ExclusionsDeleteResponse, error)

ExclusionsDeleteWithResponse request returning *ExclusionsDeleteResponse

func (*ClientWithResponses) ExclusionsDetailsWithResponse

func (c *ClientWithResponses) ExclusionsDetailsWithResponse(ctx context.Context, exclusionId int32, reqEditors ...RequestEditorFn) (*ExclusionsDetailsResponse, error)

ExclusionsDetailsWithResponse request returning *ExclusionsDetailsResponse

func (*ClientWithResponses) ExclusionsEditWithBodyWithResponse

func (c *ClientWithResponses) ExclusionsEditWithBodyWithResponse(ctx context.Context, exclusionId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExclusionsEditResponse, error)

ExclusionsEditWithBodyWithResponse request with arbitrary body returning *ExclusionsEditResponse

func (*ClientWithResponses) ExclusionsEditWithResponse

func (c *ClientWithResponses) ExclusionsEditWithResponse(ctx context.Context, exclusionId int32, body ExclusionsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*ExclusionsEditResponse, error)

func (*ClientWithResponses) ExclusionsImportWithBodyWithResponse

func (c *ClientWithResponses) ExclusionsImportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExclusionsImportResponse, error)

ExclusionsImportWithBodyWithResponse request with arbitrary body returning *ExclusionsImportResponse

func (*ClientWithResponses) ExclusionsImportWithResponse

func (c *ClientWithResponses) ExclusionsImportWithResponse(ctx context.Context, body ExclusionsImportJSONRequestBody, reqEditors ...RequestEditorFn) (*ExclusionsImportResponse, error)

func (*ClientWithResponses) ExclusionsListWithResponse

func (c *ClientWithResponses) ExclusionsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExclusionsListResponse, error)

ExclusionsListWithResponse request returning *ExclusionsListResponse

func (*ClientWithResponses) ExportsAssetsDownloadChunkWithResponse

func (c *ClientWithResponses) ExportsAssetsDownloadChunkWithResponse(ctx context.Context, exportUuid string, chunkId int32, reqEditors ...RequestEditorFn) (*ExportsAssetsDownloadChunkResponse, error)

ExportsAssetsDownloadChunkWithResponse request returning *ExportsAssetsDownloadChunkResponse

func (*ClientWithResponses) ExportsAssetsExportCancelWithResponse

func (c *ClientWithResponses) ExportsAssetsExportCancelWithResponse(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*ExportsAssetsExportCancelResponse, error)

ExportsAssetsExportCancelWithResponse request returning *ExportsAssetsExportCancelResponse

func (*ClientWithResponses) ExportsAssetsExportStatusRecentWithResponse

func (c *ClientWithResponses) ExportsAssetsExportStatusRecentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExportsAssetsExportStatusRecentResponse, error)

ExportsAssetsExportStatusRecentWithResponse request returning *ExportsAssetsExportStatusRecentResponse

func (*ClientWithResponses) ExportsAssetsExportStatusWithResponse

func (c *ClientWithResponses) ExportsAssetsExportStatusWithResponse(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*ExportsAssetsExportStatusResponse, error)

ExportsAssetsExportStatusWithResponse request returning *ExportsAssetsExportStatusResponse

func (*ClientWithResponses) ExportsAssetsRequestExportWithBodyWithResponse

func (c *ClientWithResponses) ExportsAssetsRequestExportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportsAssetsRequestExportResponse, error)

ExportsAssetsRequestExportWithBodyWithResponse request with arbitrary body returning *ExportsAssetsRequestExportResponse

func (*ClientWithResponses) ExportsAssetsRequestExportWithResponse

func (c *ClientWithResponses) ExportsAssetsRequestExportWithResponse(ctx context.Context, body ExportsAssetsRequestExportJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportsAssetsRequestExportResponse, error)

func (*ClientWithResponses) ExportsVulnsDownloadChunkWithResponse

func (c *ClientWithResponses) ExportsVulnsDownloadChunkWithResponse(ctx context.Context, exportUuid string, chunkId int32, reqEditors ...RequestEditorFn) (*ExportsVulnsDownloadChunkResponse, error)

ExportsVulnsDownloadChunkWithResponse request returning *ExportsVulnsDownloadChunkResponse

func (*ClientWithResponses) ExportsVulnsExportCancelWithResponse

func (c *ClientWithResponses) ExportsVulnsExportCancelWithResponse(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*ExportsVulnsExportCancelResponse, error)

ExportsVulnsExportCancelWithResponse request returning *ExportsVulnsExportCancelResponse

func (*ClientWithResponses) ExportsVulnsExportStatusRecentWithResponse

func (c *ClientWithResponses) ExportsVulnsExportStatusRecentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExportsVulnsExportStatusRecentResponse, error)

ExportsVulnsExportStatusRecentWithResponse request returning *ExportsVulnsExportStatusRecentResponse

func (*ClientWithResponses) ExportsVulnsExportStatusWithResponse

func (c *ClientWithResponses) ExportsVulnsExportStatusWithResponse(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*ExportsVulnsExportStatusResponse, error)

ExportsVulnsExportStatusWithResponse request returning *ExportsVulnsExportStatusResponse

func (*ClientWithResponses) ExportsVulnsRequestExportWithBodyWithResponse

func (c *ClientWithResponses) ExportsVulnsRequestExportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportsVulnsRequestExportResponse, error)

ExportsVulnsRequestExportWithBodyWithResponse request with arbitrary body returning *ExportsVulnsRequestExportResponse

func (*ClientWithResponses) ExportsVulnsRequestExportWithResponse

func (c *ClientWithResponses) ExportsVulnsRequestExportWithResponse(ctx context.Context, body ExportsVulnsRequestExportJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportsVulnsRequestExportResponse, error)

func (*ClientWithResponses) FileUploadWithBodyWithResponse

func (c *ClientWithResponses) FileUploadWithBodyWithResponse(ctx context.Context, params *FileUploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FileUploadResponse, error)

FileUploadWithBodyWithResponse request with arbitrary body returning *FileUploadResponse

func (*ClientWithResponses) FoldersCreateWithBodyWithResponse

func (c *ClientWithResponses) FoldersCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FoldersCreateResponse, error)

FoldersCreateWithBodyWithResponse request with arbitrary body returning *FoldersCreateResponse

func (*ClientWithResponses) FoldersCreateWithResponse

func (c *ClientWithResponses) FoldersCreateWithResponse(ctx context.Context, body FoldersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*FoldersCreateResponse, error)

func (*ClientWithResponses) FoldersDeleteWithResponse

func (c *ClientWithResponses) FoldersDeleteWithResponse(ctx context.Context, folderId int32, reqEditors ...RequestEditorFn) (*FoldersDeleteResponse, error)

FoldersDeleteWithResponse request returning *FoldersDeleteResponse

func (*ClientWithResponses) FoldersEditWithBodyWithResponse

func (c *ClientWithResponses) FoldersEditWithBodyWithResponse(ctx context.Context, folderId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FoldersEditResponse, error)

FoldersEditWithBodyWithResponse request with arbitrary body returning *FoldersEditResponse

func (*ClientWithResponses) FoldersEditWithResponse

func (c *ClientWithResponses) FoldersEditWithResponse(ctx context.Context, folderId int32, body FoldersEditJSONRequestBody, reqEditors ...RequestEditorFn) (*FoldersEditResponse, error)

func (*ClientWithResponses) FoldersListWithResponse

func (c *ClientWithResponses) FoldersListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FoldersListResponse, error)

FoldersListWithResponse request returning *FoldersListResponse

func (*ClientWithResponses) IoAgentBulkOperationsAddToNetworkWithBodyWithResponse

func (c *ClientWithResponses) IoAgentBulkOperationsAddToNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoAgentBulkOperationsAddToNetworkResponse, error)

IoAgentBulkOperationsAddToNetworkWithBodyWithResponse request with arbitrary body returning *IoAgentBulkOperationsAddToNetworkResponse

func (*ClientWithResponses) IoAgentBulkOperationsDirectiveWithBodyWithResponse

func (c *ClientWithResponses) IoAgentBulkOperationsDirectiveWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoAgentBulkOperationsDirectiveResponse, error)

IoAgentBulkOperationsDirectiveWithBodyWithResponse request with arbitrary body returning *IoAgentBulkOperationsDirectiveResponse

func (*ClientWithResponses) IoAgentBulkOperationsDirectiveWithResponse

func (c *ClientWithResponses) IoAgentBulkOperationsDirectiveWithResponse(ctx context.Context, body IoAgentBulkOperationsDirectiveJSONRequestBody, reqEditors ...RequestEditorFn) (*IoAgentBulkOperationsDirectiveResponse, error)

func (*ClientWithResponses) IoAgentBulkOperationsGroupDirectiveWithBodyWithResponse

func (c *ClientWithResponses) IoAgentBulkOperationsGroupDirectiveWithBodyWithResponse(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoAgentBulkOperationsGroupDirectiveResponse, error)

IoAgentBulkOperationsGroupDirectiveWithBodyWithResponse request with arbitrary body returning *IoAgentBulkOperationsGroupDirectiveResponse

func (*ClientWithResponses) IoAgentBulkOperationsGroupDirectiveWithResponse

func (c *ClientWithResponses) IoAgentBulkOperationsGroupDirectiveWithResponse(ctx context.Context, groupId int32, body IoAgentBulkOperationsGroupDirectiveJSONRequestBody, reqEditors ...RequestEditorFn) (*IoAgentBulkOperationsGroupDirectiveResponse, error)

func (*ClientWithResponses) IoAgentBulkOperationsRemoveFromNetworkWithBodyWithResponse

func (c *ClientWithResponses) IoAgentBulkOperationsRemoveFromNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoAgentBulkOperationsRemoveFromNetworkResponse, error)

IoAgentBulkOperationsRemoveFromNetworkWithBodyWithResponse request with arbitrary body returning *IoAgentBulkOperationsRemoveFromNetworkResponse

func (*ClientWithResponses) IoExportsComplianceCancelWithResponse

func (c *ClientWithResponses) IoExportsComplianceCancelWithResponse(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*IoExportsComplianceCancelResponse, error)

IoExportsComplianceCancelWithResponse request returning *IoExportsComplianceCancelResponse

func (*ClientWithResponses) IoExportsComplianceCreateWithBodyWithResponse

func (c *ClientWithResponses) IoExportsComplianceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoExportsComplianceCreateResponse, error)

IoExportsComplianceCreateWithBodyWithResponse request with arbitrary body returning *IoExportsComplianceCreateResponse

func (*ClientWithResponses) IoExportsComplianceCreateWithResponse

func (c *ClientWithResponses) IoExportsComplianceCreateWithResponse(ctx context.Context, body IoExportsComplianceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IoExportsComplianceCreateResponse, error)

func (*ClientWithResponses) IoExportsComplianceDownloadWithResponse

func (c *ClientWithResponses) IoExportsComplianceDownloadWithResponse(ctx context.Context, exportUuid string, chunkId int32, reqEditors ...RequestEditorFn) (*IoExportsComplianceDownloadResponse, error)

IoExportsComplianceDownloadWithResponse request returning *IoExportsComplianceDownloadResponse

func (*ClientWithResponses) IoExportsComplianceStatusWithResponse

func (c *ClientWithResponses) IoExportsComplianceStatusWithResponse(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*IoExportsComplianceStatusResponse, error)

IoExportsComplianceStatusWithResponse request returning *IoExportsComplianceStatusResponse

func (*ClientWithResponses) IoFiltersAgentsListWithResponse

func (c *ClientWithResponses) IoFiltersAgentsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoFiltersAgentsListResponse, error)

IoFiltersAgentsListWithResponse request returning *IoFiltersAgentsListResponse

func (*ClientWithResponses) IoFiltersAssetsListV2WithBodyWithResponse

func (c *ClientWithResponses) IoFiltersAssetsListV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoFiltersAssetsListV2Response, error)

IoFiltersAssetsListV2WithBodyWithResponse request with arbitrary body returning *IoFiltersAssetsListV2Response

func (*ClientWithResponses) IoFiltersAssetsListV2WithResponse

func (c *ClientWithResponses) IoFiltersAssetsListV2WithResponse(ctx context.Context, body IoFiltersAssetsListV2JSONRequestBody, reqEditors ...RequestEditorFn) (*IoFiltersAssetsListV2Response, error)

func (*ClientWithResponses) IoFiltersAssetsListWithResponse

func (c *ClientWithResponses) IoFiltersAssetsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoFiltersAssetsListResponse, error)

IoFiltersAssetsListWithResponse request returning *IoFiltersAssetsListResponse

func (*ClientWithResponses) IoFiltersCredentialsListWithResponse

func (c *ClientWithResponses) IoFiltersCredentialsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoFiltersCredentialsListResponse, error)

IoFiltersCredentialsListWithResponse request returning *IoFiltersCredentialsListResponse

func (*ClientWithResponses) IoFiltersScanHistoryListWithResponse

func (c *ClientWithResponses) IoFiltersScanHistoryListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoFiltersScanHistoryListResponse, error)

IoFiltersScanHistoryListWithResponse request returning *IoFiltersScanHistoryListResponse

func (*ClientWithResponses) IoFiltersScanListWithResponse

func (c *ClientWithResponses) IoFiltersScanListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoFiltersScanListResponse, error)

IoFiltersScanListWithResponse request returning *IoFiltersScanListResponse

func (*ClientWithResponses) IoFiltersVulnerabilitiesWorkbenchListV2WithBodyWithResponse

func (c *ClientWithResponses) IoFiltersVulnerabilitiesWorkbenchListV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoFiltersVulnerabilitiesWorkbenchListV2Response, error)

IoFiltersVulnerabilitiesWorkbenchListV2WithBodyWithResponse request with arbitrary body returning *IoFiltersVulnerabilitiesWorkbenchListV2Response

func (*ClientWithResponses) IoFiltersVulnerabilitiesWorkbenchListWithResponse

func (c *ClientWithResponses) IoFiltersVulnerabilitiesWorkbenchListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoFiltersVulnerabilitiesWorkbenchListResponse, error)

IoFiltersVulnerabilitiesWorkbenchListWithResponse request returning *IoFiltersVulnerabilitiesWorkbenchListResponse

func (*ClientWithResponses) IoNetworksAssetCountDetailsWithResponse

func (c *ClientWithResponses) IoNetworksAssetCountDetailsWithResponse(ctx context.Context, networkId string, numDays int, reqEditors ...RequestEditorFn) (*IoNetworksAssetCountDetailsResponse, error)

IoNetworksAssetCountDetailsWithResponse request returning *IoNetworksAssetCountDetailsResponse

func (*ClientWithResponses) IoPluginsDetailsWithResponse

func (c *ClientWithResponses) IoPluginsDetailsWithResponse(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*IoPluginsDetailsResponse, error)

IoPluginsDetailsWithResponse request returning *IoPluginsDetailsResponse

func (*ClientWithResponses) IoPluginsFamiliesListWithResponse

func (c *ClientWithResponses) IoPluginsFamiliesListWithResponse(ctx context.Context, params *IoPluginsFamiliesListParams, reqEditors ...RequestEditorFn) (*IoPluginsFamiliesListResponse, error)

IoPluginsFamiliesListWithResponse request returning *IoPluginsFamiliesListResponse

func (*ClientWithResponses) IoPluginsFamilyDetailsWithResponse

func (c *ClientWithResponses) IoPluginsFamilyDetailsWithResponse(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*IoPluginsFamilyDetailsResponse, error)

IoPluginsFamilyDetailsWithResponse request returning *IoPluginsFamilyDetailsResponse

func (*ClientWithResponses) IoPluginsListWithResponse

func (c *ClientWithResponses) IoPluginsListWithResponse(ctx context.Context, params *IoPluginsListParams, reqEditors ...RequestEditorFn) (*IoPluginsListResponse, error)

IoPluginsListWithResponse request returning *IoPluginsListResponse

func (*ClientWithResponses) IoScannerGroupsListRoutesWithResponse

func (c *ClientWithResponses) IoScannerGroupsListRoutesWithResponse(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*IoScannerGroupsListRoutesResponse, error)

IoScannerGroupsListRoutesWithResponse request returning *IoScannerGroupsListRoutesResponse

func (*ClientWithResponses) IoScannerGroupsUpdateRoutesWithBodyWithResponse

func (c *ClientWithResponses) IoScannerGroupsUpdateRoutesWithBodyWithResponse(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoScannerGroupsUpdateRoutesResponse, error)

IoScannerGroupsUpdateRoutesWithBodyWithResponse request with arbitrary body returning *IoScannerGroupsUpdateRoutesResponse

func (*ClientWithResponses) IoScannerGroupsUpdateRoutesWithResponse

func (c *ClientWithResponses) IoScannerGroupsUpdateRoutesWithResponse(ctx context.Context, groupId int32, body IoScannerGroupsUpdateRoutesJSONRequestBody, reqEditors ...RequestEditorFn) (*IoScannerGroupsUpdateRoutesResponse, error)

func (*ClientWithResponses) IoScansCheckAutoTargetsWithBodyWithResponse

func (c *ClientWithResponses) IoScansCheckAutoTargetsWithBodyWithResponse(ctx context.Context, params *IoScansCheckAutoTargetsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoScansCheckAutoTargetsResponse, error)

IoScansCheckAutoTargetsWithBodyWithResponse request with arbitrary body returning *IoScansCheckAutoTargetsResponse

func (*ClientWithResponses) IoScansCredentialsConvertWithBodyWithResponse

func (c *ClientWithResponses) IoScansCredentialsConvertWithBodyWithResponse(ctx context.Context, scanId int, credentialsId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoScansCredentialsConvertResponse, error)

IoScansCredentialsConvertWithBodyWithResponse request with arbitrary body returning *IoScansCredentialsConvertResponse

func (*ClientWithResponses) IoScansCredentialsConvertWithResponse

func (c *ClientWithResponses) IoScansCredentialsConvertWithResponse(ctx context.Context, scanId int, credentialsId int, body IoScansCredentialsConvertJSONRequestBody, reqEditors ...RequestEditorFn) (*IoScansCredentialsConvertResponse, error)

func (*ClientWithResponses) IoScansRemediationCreateWithBodyWithResponse

func (c *ClientWithResponses) IoScansRemediationCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoScansRemediationCreateResponse, error)

IoScansRemediationCreateWithBodyWithResponse request with arbitrary body returning *IoScansRemediationCreateResponse

func (*ClientWithResponses) IoScansRemediationCreateWithResponse

func (c *ClientWithResponses) IoScansRemediationCreateWithResponse(ctx context.Context, body IoScansRemediationCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IoScansRemediationCreateResponse, error)

func (*ClientWithResponses) IoScansRemediationListWithResponse

func (c *ClientWithResponses) IoScansRemediationListWithResponse(ctx context.Context, params *IoScansRemediationListParams, reqEditors ...RequestEditorFn) (*IoScansRemediationListResponse, error)

IoScansRemediationListWithResponse request returning *IoScansRemediationListResponse

func (*ClientWithResponses) IoV1AccessGroupsCreateWithBodyWithResponse

func (c *ClientWithResponses) IoV1AccessGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsCreateResponse, error)

IoV1AccessGroupsCreateWithBodyWithResponse request with arbitrary body returning *IoV1AccessGroupsCreateResponse

func (*ClientWithResponses) IoV1AccessGroupsCreateWithResponse

func (c *ClientWithResponses) IoV1AccessGroupsCreateWithResponse(ctx context.Context, body IoV1AccessGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsCreateResponse, error)

func (*ClientWithResponses) IoV1AccessGroupsDeleteWithResponse

func (c *ClientWithResponses) IoV1AccessGroupsDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsDeleteResponse, error)

IoV1AccessGroupsDeleteWithResponse request returning *IoV1AccessGroupsDeleteResponse

func (*ClientWithResponses) IoV1AccessGroupsDetailsWithResponse

func (c *ClientWithResponses) IoV1AccessGroupsDetailsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsDetailsResponse, error)

IoV1AccessGroupsDetailsWithResponse request returning *IoV1AccessGroupsDetailsResponse

func (*ClientWithResponses) IoV1AccessGroupsEditWithBodyWithResponse

func (c *ClientWithResponses) IoV1AccessGroupsEditWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsEditResponse, error)

IoV1AccessGroupsEditWithBodyWithResponse request with arbitrary body returning *IoV1AccessGroupsEditResponse

func (*ClientWithResponses) IoV1AccessGroupsEditWithResponse

func (c *ClientWithResponses) IoV1AccessGroupsEditWithResponse(ctx context.Context, id string, body IoV1AccessGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsEditResponse, error)

func (*ClientWithResponses) IoV1AccessGroupsListFiltersWithResponse

func (c *ClientWithResponses) IoV1AccessGroupsListFiltersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsListFiltersResponse, error)

IoV1AccessGroupsListFiltersWithResponse request returning *IoV1AccessGroupsListFiltersResponse

func (*ClientWithResponses) IoV1AccessGroupsListRuleFiltersWithResponse

func (c *ClientWithResponses) IoV1AccessGroupsListRuleFiltersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsListRuleFiltersResponse, error)

IoV1AccessGroupsListRuleFiltersWithResponse request returning *IoV1AccessGroupsListRuleFiltersResponse

func (*ClientWithResponses) IoV1AccessGroupsListWithResponse

func (c *ClientWithResponses) IoV1AccessGroupsListWithResponse(ctx context.Context, params *IoV1AccessGroupsListParams, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsListResponse, error)

IoV1AccessGroupsListWithResponse request returning *IoV1AccessGroupsListResponse

func (*ClientWithResponses) IoV2AccessGroupsCreateWithBodyWithResponse

func (c *ClientWithResponses) IoV2AccessGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsCreateResponse, error)

IoV2AccessGroupsCreateWithBodyWithResponse request with arbitrary body returning *IoV2AccessGroupsCreateResponse

func (*ClientWithResponses) IoV2AccessGroupsCreateWithResponse

func (c *ClientWithResponses) IoV2AccessGroupsCreateWithResponse(ctx context.Context, body IoV2AccessGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsCreateResponse, error)

func (*ClientWithResponses) IoV2AccessGroupsDeleteWithResponse

func (c *ClientWithResponses) IoV2AccessGroupsDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsDeleteResponse, error)

IoV2AccessGroupsDeleteWithResponse request returning *IoV2AccessGroupsDeleteResponse

func (*ClientWithResponses) IoV2AccessGroupsDetailsWithResponse

func (c *ClientWithResponses) IoV2AccessGroupsDetailsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsDetailsResponse, error)

IoV2AccessGroupsDetailsWithResponse request returning *IoV2AccessGroupsDetailsResponse

func (*ClientWithResponses) IoV2AccessGroupsEditWithBodyWithResponse

func (c *ClientWithResponses) IoV2AccessGroupsEditWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsEditResponse, error)

IoV2AccessGroupsEditWithBodyWithResponse request with arbitrary body returning *IoV2AccessGroupsEditResponse

func (*ClientWithResponses) IoV2AccessGroupsEditWithResponse

func (c *ClientWithResponses) IoV2AccessGroupsEditWithResponse(ctx context.Context, id string, body IoV2AccessGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsEditResponse, error)

func (*ClientWithResponses) IoV2AccessGroupsListFiltersWithResponse

func (c *ClientWithResponses) IoV2AccessGroupsListFiltersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsListFiltersResponse, error)

IoV2AccessGroupsListFiltersWithResponse request returning *IoV2AccessGroupsListFiltersResponse

func (*ClientWithResponses) IoV2AccessGroupsListRuleFiltersWithResponse

func (c *ClientWithResponses) IoV2AccessGroupsListRuleFiltersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsListRuleFiltersResponse, error)

IoV2AccessGroupsListRuleFiltersWithResponse request returning *IoV2AccessGroupsListRuleFiltersResponse

func (*ClientWithResponses) IoV2AccessGroupsListWithResponse

func (c *ClientWithResponses) IoV2AccessGroupsListWithResponse(ctx context.Context, params *IoV2AccessGroupsListParams, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsListResponse, error)

IoV2AccessGroupsListWithResponse request returning *IoV2AccessGroupsListResponse

func (*ClientWithResponses) NetworksAssignScannerBulkWithBodyWithResponse

func (c *ClientWithResponses) NetworksAssignScannerBulkWithBodyWithResponse(ctx context.Context, networkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NetworksAssignScannerBulkResponse, error)

NetworksAssignScannerBulkWithBodyWithResponse request with arbitrary body returning *NetworksAssignScannerBulkResponse

func (*ClientWithResponses) NetworksAssignScannerBulkWithResponse

func (c *ClientWithResponses) NetworksAssignScannerBulkWithResponse(ctx context.Context, networkId string, body NetworksAssignScannerBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*NetworksAssignScannerBulkResponse, error)

func (*ClientWithResponses) NetworksAssignScannerWithResponse

func (c *ClientWithResponses) NetworksAssignScannerWithResponse(ctx context.Context, networkId string, scannerUuid string, reqEditors ...RequestEditorFn) (*NetworksAssignScannerResponse, error)

NetworksAssignScannerWithResponse request returning *NetworksAssignScannerResponse

func (*ClientWithResponses) NetworksCreateWithBodyWithResponse

func (c *ClientWithResponses) NetworksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NetworksCreateResponse, error)

NetworksCreateWithBodyWithResponse request with arbitrary body returning *NetworksCreateResponse

func (*ClientWithResponses) NetworksCreateWithResponse

func (c *ClientWithResponses) NetworksCreateWithResponse(ctx context.Context, body NetworksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*NetworksCreateResponse, error)

func (*ClientWithResponses) NetworksDeleteWithResponse

func (c *ClientWithResponses) NetworksDeleteWithResponse(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*NetworksDeleteResponse, error)

NetworksDeleteWithResponse request returning *NetworksDeleteResponse

func (*ClientWithResponses) NetworksDetailsWithResponse

func (c *ClientWithResponses) NetworksDetailsWithResponse(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*NetworksDetailsResponse, error)

NetworksDetailsWithResponse request returning *NetworksDetailsResponse

func (*ClientWithResponses) NetworksListAssignableScannersWithResponse

func (c *ClientWithResponses) NetworksListAssignableScannersWithResponse(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*NetworksListAssignableScannersResponse, error)

NetworksListAssignableScannersWithResponse request returning *NetworksListAssignableScannersResponse

func (*ClientWithResponses) NetworksListScannersWithResponse

func (c *ClientWithResponses) NetworksListScannersWithResponse(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*NetworksListScannersResponse, error)

NetworksListScannersWithResponse request returning *NetworksListScannersResponse

func (*ClientWithResponses) NetworksListWithResponse

func (c *ClientWithResponses) NetworksListWithResponse(ctx context.Context, params *NetworksListParams, reqEditors ...RequestEditorFn) (*NetworksListResponse, error)

NetworksListWithResponse request returning *NetworksListResponse

func (*ClientWithResponses) NetworksUpdateWithBodyWithResponse

func (c *ClientWithResponses) NetworksUpdateWithBodyWithResponse(ctx context.Context, networkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NetworksUpdateResponse, error)

NetworksUpdateWithBodyWithResponse request with arbitrary body returning *NetworksUpdateResponse

func (*ClientWithResponses) NetworksUpdateWithResponse

func (c *ClientWithResponses) NetworksUpdateWithResponse(ctx context.Context, networkId string, body NetworksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*NetworksUpdateResponse, error)

func (*ClientWithResponses) PermissionsChangeWithBodyWithResponse

func (c *ClientWithResponses) PermissionsChangeWithBodyWithResponse(ctx context.Context, objectType PermissionsChangeParamsObjectType, objectId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PermissionsChangeResponse, error)

PermissionsChangeWithBodyWithResponse request with arbitrary body returning *PermissionsChangeResponse

func (*ClientWithResponses) PermissionsChangeWithResponse

func (c *ClientWithResponses) PermissionsChangeWithResponse(ctx context.Context, objectType PermissionsChangeParamsObjectType, objectId int32, body PermissionsChangeJSONRequestBody, reqEditors ...RequestEditorFn) (*PermissionsChangeResponse, error)

func (*ClientWithResponses) PermissionsListWithResponse

func (c *ClientWithResponses) PermissionsListWithResponse(ctx context.Context, objectType PermissionsListParamsObjectType, objectId int32, reqEditors ...RequestEditorFn) (*PermissionsListResponse, error)

PermissionsListWithResponse request returning *PermissionsListResponse

func (*ClientWithResponses) PoliciesConfigureWithResponse

func (c *ClientWithResponses) PoliciesConfigureWithResponse(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*PoliciesConfigureResponse, error)

PoliciesConfigureWithResponse request returning *PoliciesConfigureResponse

func (*ClientWithResponses) PoliciesCopyWithResponse

func (c *ClientWithResponses) PoliciesCopyWithResponse(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*PoliciesCopyResponse, error)

PoliciesCopyWithResponse request returning *PoliciesCopyResponse

func (*ClientWithResponses) PoliciesCreateWithBodyWithResponse

func (c *ClientWithResponses) PoliciesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PoliciesCreateResponse, error)

PoliciesCreateWithBodyWithResponse request with arbitrary body returning *PoliciesCreateResponse

func (*ClientWithResponses) PoliciesCreateWithResponse

func (c *ClientWithResponses) PoliciesCreateWithResponse(ctx context.Context, body PoliciesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PoliciesCreateResponse, error)

func (*ClientWithResponses) PoliciesDeleteWithResponse

func (c *ClientWithResponses) PoliciesDeleteWithResponse(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*PoliciesDeleteResponse, error)

PoliciesDeleteWithResponse request returning *PoliciesDeleteResponse

func (*ClientWithResponses) PoliciesDetailsWithResponse

func (c *ClientWithResponses) PoliciesDetailsWithResponse(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*PoliciesDetailsResponse, error)

PoliciesDetailsWithResponse request returning *PoliciesDetailsResponse

func (*ClientWithResponses) PoliciesExportWithResponse

func (c *ClientWithResponses) PoliciesExportWithResponse(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*PoliciesExportResponse, error)

PoliciesExportWithResponse request returning *PoliciesExportResponse

func (*ClientWithResponses) PoliciesImportWithBodyWithResponse

func (c *ClientWithResponses) PoliciesImportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PoliciesImportResponse, error)

PoliciesImportWithBodyWithResponse request with arbitrary body returning *PoliciesImportResponse

func (*ClientWithResponses) PoliciesImportWithResponse

func (c *ClientWithResponses) PoliciesImportWithResponse(ctx context.Context, body PoliciesImportJSONRequestBody, reqEditors ...RequestEditorFn) (*PoliciesImportResponse, error)

func (*ClientWithResponses) PoliciesListWithResponse

func (c *ClientWithResponses) PoliciesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PoliciesListResponse, error)

PoliciesListWithResponse request returning *PoliciesListResponse

func (*ClientWithResponses) ScannerGroupsAddScannerWithResponse

func (c *ClientWithResponses) ScannerGroupsAddScannerWithResponse(ctx context.Context, groupId int32, scannerId int32, reqEditors ...RequestEditorFn) (*ScannerGroupsAddScannerResponse, error)

ScannerGroupsAddScannerWithResponse request returning *ScannerGroupsAddScannerResponse

func (*ClientWithResponses) ScannerGroupsCreateWithBodyWithResponse

func (c *ClientWithResponses) ScannerGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScannerGroupsCreateResponse, error)

ScannerGroupsCreateWithBodyWithResponse request with arbitrary body returning *ScannerGroupsCreateResponse

func (*ClientWithResponses) ScannerGroupsCreateWithResponse

func (c *ClientWithResponses) ScannerGroupsCreateWithResponse(ctx context.Context, body ScannerGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ScannerGroupsCreateResponse, error)

func (*ClientWithResponses) ScannerGroupsDeleteScannerWithResponse

func (c *ClientWithResponses) ScannerGroupsDeleteScannerWithResponse(ctx context.Context, groupId int32, scannerId int32, reqEditors ...RequestEditorFn) (*ScannerGroupsDeleteScannerResponse, error)

ScannerGroupsDeleteScannerWithResponse request returning *ScannerGroupsDeleteScannerResponse

func (*ClientWithResponses) ScannerGroupsDeleteWithResponse

func (c *ClientWithResponses) ScannerGroupsDeleteWithResponse(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*ScannerGroupsDeleteResponse, error)

ScannerGroupsDeleteWithResponse request returning *ScannerGroupsDeleteResponse

func (*ClientWithResponses) ScannerGroupsDetailsWithResponse

func (c *ClientWithResponses) ScannerGroupsDetailsWithResponse(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*ScannerGroupsDetailsResponse, error)

ScannerGroupsDetailsWithResponse request returning *ScannerGroupsDetailsResponse

func (*ClientWithResponses) ScannerGroupsEditWithBodyWithResponse

func (c *ClientWithResponses) ScannerGroupsEditWithBodyWithResponse(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScannerGroupsEditResponse, error)

ScannerGroupsEditWithBodyWithResponse request with arbitrary body returning *ScannerGroupsEditResponse

func (*ClientWithResponses) ScannerGroupsEditWithResponse

func (c *ClientWithResponses) ScannerGroupsEditWithResponse(ctx context.Context, groupId int32, body ScannerGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*ScannerGroupsEditResponse, error)

func (*ClientWithResponses) ScannerGroupsListScannersWithResponse

func (c *ClientWithResponses) ScannerGroupsListScannersWithResponse(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*ScannerGroupsListScannersResponse, error)

ScannerGroupsListScannersWithResponse request returning *ScannerGroupsListScannersResponse

func (*ClientWithResponses) ScannerGroupsListWithResponse

func (c *ClientWithResponses) ScannerGroupsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ScannerGroupsListResponse, error)

ScannerGroupsListWithResponse request returning *ScannerGroupsListResponse

func (*ClientWithResponses) ScannersControlScansWithBodyWithResponse

func (c *ClientWithResponses) ScannersControlScansWithBodyWithResponse(ctx context.Context, scannerId int32, scanUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScannersControlScansResponse, error)

ScannersControlScansWithBodyWithResponse request with arbitrary body returning *ScannersControlScansResponse

func (*ClientWithResponses) ScannersControlScansWithResponse

func (c *ClientWithResponses) ScannersControlScansWithResponse(ctx context.Context, scannerId int32, scanUuid string, body ScannersControlScansJSONRequestBody, reqEditors ...RequestEditorFn) (*ScannersControlScansResponse, error)

func (*ClientWithResponses) ScannersDeleteWithResponse

func (c *ClientWithResponses) ScannersDeleteWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*ScannersDeleteResponse, error)

ScannersDeleteWithResponse request returning *ScannersDeleteResponse

func (*ClientWithResponses) ScannersDetailsWithResponse

func (c *ClientWithResponses) ScannersDetailsWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*ScannersDetailsResponse, error)

ScannersDetailsWithResponse request returning *ScannersDetailsResponse

func (*ClientWithResponses) ScannersEditWithBodyWithResponse

func (c *ClientWithResponses) ScannersEditWithBodyWithResponse(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScannersEditResponse, error)

ScannersEditWithBodyWithResponse request with arbitrary body returning *ScannersEditResponse

func (*ClientWithResponses) ScannersEditWithResponse

func (c *ClientWithResponses) ScannersEditWithResponse(ctx context.Context, scannerId int32, body ScannersEditJSONRequestBody, reqEditors ...RequestEditorFn) (*ScannersEditResponse, error)

func (*ClientWithResponses) ScannersGetAwsTargetsWithResponse

func (c *ClientWithResponses) ScannersGetAwsTargetsWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*ScannersGetAwsTargetsResponse, error)

ScannersGetAwsTargetsWithResponse request returning *ScannersGetAwsTargetsResponse

func (*ClientWithResponses) ScannersGetScannerKeyWithResponse

func (c *ClientWithResponses) ScannersGetScannerKeyWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*ScannersGetScannerKeyResponse, error)

ScannersGetScannerKeyWithResponse request returning *ScannersGetScannerKeyResponse

func (*ClientWithResponses) ScannersGetScansWithResponse

func (c *ClientWithResponses) ScannersGetScansWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*ScannersGetScansResponse, error)

ScannersGetScansWithResponse request returning *ScannersGetScansResponse

func (*ClientWithResponses) ScannersListWithResponse

func (c *ClientWithResponses) ScannersListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ScannersListResponse, error)

ScannersListWithResponse request returning *ScannersListResponse

func (*ClientWithResponses) ScannersToggleLinkStateWithBodyWithResponse

func (c *ClientWithResponses) ScannersToggleLinkStateWithBodyWithResponse(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScannersToggleLinkStateResponse, error)

ScannersToggleLinkStateWithBodyWithResponse request with arbitrary body returning *ScannersToggleLinkStateResponse

func (*ClientWithResponses) ScannersToggleLinkStateWithResponse

func (c *ClientWithResponses) ScannersToggleLinkStateWithResponse(ctx context.Context, scannerId int32, body ScannersToggleLinkStateJSONRequestBody, reqEditors ...RequestEditorFn) (*ScannersToggleLinkStateResponse, error)

func (*ClientWithResponses) ScansAttachmentsWithResponse

func (c *ClientWithResponses) ScansAttachmentsWithResponse(ctx context.Context, scanId string, attachmentId string, params *ScansAttachmentsParams, reqEditors ...RequestEditorFn) (*ScansAttachmentsResponse, error)

ScansAttachmentsWithResponse request returning *ScansAttachmentsResponse

func (*ClientWithResponses) ScansConfigureWithBodyWithResponse

func (c *ClientWithResponses) ScansConfigureWithBodyWithResponse(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansConfigureResponse, error)

ScansConfigureWithBodyWithResponse request with arbitrary body returning *ScansConfigureResponse

func (*ClientWithResponses) ScansConfigureWithResponse

func (c *ClientWithResponses) ScansConfigureWithResponse(ctx context.Context, scanId string, body ScansConfigureJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansConfigureResponse, error)

func (*ClientWithResponses) ScansCopyWithBodyWithResponse

func (c *ClientWithResponses) ScansCopyWithBodyWithResponse(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansCopyResponse, error)

ScansCopyWithBodyWithResponse request with arbitrary body returning *ScansCopyResponse

func (*ClientWithResponses) ScansCopyWithResponse

func (c *ClientWithResponses) ScansCopyWithResponse(ctx context.Context, scanId string, body ScansCopyJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansCopyResponse, error)

func (*ClientWithResponses) ScansCreateWithBodyWithResponse

func (c *ClientWithResponses) ScansCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansCreateResponse, error)

ScansCreateWithBodyWithResponse request with arbitrary body returning *ScansCreateResponse

func (*ClientWithResponses) ScansCreateWithResponse

func (c *ClientWithResponses) ScansCreateWithResponse(ctx context.Context, body ScansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansCreateResponse, error)

func (*ClientWithResponses) ScansDeleteHistoryWithResponse

func (c *ClientWithResponses) ScansDeleteHistoryWithResponse(ctx context.Context, scanId string, historyId int32, reqEditors ...RequestEditorFn) (*ScansDeleteHistoryResponse, error)

ScansDeleteHistoryWithResponse request returning *ScansDeleteHistoryResponse

func (*ClientWithResponses) ScansDeleteWithResponse

func (c *ClientWithResponses) ScansDeleteWithResponse(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*ScansDeleteResponse, error)

ScansDeleteWithResponse request returning *ScansDeleteResponse

func (*ClientWithResponses) ScansDetailsWithResponse

func (c *ClientWithResponses) ScansDetailsWithResponse(ctx context.Context, scanId string, params *ScansDetailsParams, reqEditors ...RequestEditorFn) (*ScansDetailsResponse, error)

ScansDetailsWithResponse request returning *ScansDetailsResponse

func (*ClientWithResponses) ScansExportDownloadWithResponse

func (c *ClientWithResponses) ScansExportDownloadWithResponse(ctx context.Context, scanId string, fileId string, reqEditors ...RequestEditorFn) (*ScansExportDownloadResponse, error)

ScansExportDownloadWithResponse request returning *ScansExportDownloadResponse

func (*ClientWithResponses) ScansExportRequestWithBodyWithResponse

func (c *ClientWithResponses) ScansExportRequestWithBodyWithResponse(ctx context.Context, scanId string, params *ScansExportRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansExportRequestResponse, error)

ScansExportRequestWithBodyWithResponse request with arbitrary body returning *ScansExportRequestResponse

func (*ClientWithResponses) ScansExportRequestWithResponse

func (c *ClientWithResponses) ScansExportRequestWithResponse(ctx context.Context, scanId string, params *ScansExportRequestParams, body ScansExportRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansExportRequestResponse, error)

func (*ClientWithResponses) ScansExportStatusWithResponse

func (c *ClientWithResponses) ScansExportStatusWithResponse(ctx context.Context, scanId string, fileId string, reqEditors ...RequestEditorFn) (*ScansExportStatusResponse, error)

ScansExportStatusWithResponse request returning *ScansExportStatusResponse

func (*ClientWithResponses) ScansGetLatestStatusWithResponse

func (c *ClientWithResponses) ScansGetLatestStatusWithResponse(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*ScansGetLatestStatusResponse, error)

ScansGetLatestStatusWithResponse request returning *ScansGetLatestStatusResponse

func (*ClientWithResponses) ScansHistoryDetailsWithResponse

func (c *ClientWithResponses) ScansHistoryDetailsWithResponse(ctx context.Context, scanId string, historyUuid string, reqEditors ...RequestEditorFn) (*ScansHistoryDetailsResponse, error)

ScansHistoryDetailsWithResponse request returning *ScansHistoryDetailsResponse

func (*ClientWithResponses) ScansHistoryWithResponse

func (c *ClientWithResponses) ScansHistoryWithResponse(ctx context.Context, scanId string, params *ScansHistoryParams, reqEditors ...RequestEditorFn) (*ScansHistoryResponse, error)

ScansHistoryWithResponse request returning *ScansHistoryResponse

func (*ClientWithResponses) ScansHostDetailsWithResponse

func (c *ClientWithResponses) ScansHostDetailsWithResponse(ctx context.Context, scanUuid string, hostId int32, params *ScansHostDetailsParams, reqEditors ...RequestEditorFn) (*ScansHostDetailsResponse, error)

ScansHostDetailsWithResponse request returning *ScansHostDetailsResponse

func (*ClientWithResponses) ScansImportWithBodyWithResponse

func (c *ClientWithResponses) ScansImportWithBodyWithResponse(ctx context.Context, params *ScansImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansImportResponse, error)

ScansImportWithBodyWithResponse request with arbitrary body returning *ScansImportResponse

func (*ClientWithResponses) ScansImportWithResponse

func (c *ClientWithResponses) ScansImportWithResponse(ctx context.Context, params *ScansImportParams, body ScansImportJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansImportResponse, error)

func (*ClientWithResponses) ScansLaunchWithBodyWithResponse

func (c *ClientWithResponses) ScansLaunchWithBodyWithResponse(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansLaunchResponse, error)

ScansLaunchWithBodyWithResponse request with arbitrary body returning *ScansLaunchResponse

func (*ClientWithResponses) ScansLaunchWithResponse

func (c *ClientWithResponses) ScansLaunchWithResponse(ctx context.Context, scanId string, body ScansLaunchJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansLaunchResponse, error)

func (*ClientWithResponses) ScansListWithResponse

func (c *ClientWithResponses) ScansListWithResponse(ctx context.Context, params *ScansListParams, reqEditors ...RequestEditorFn) (*ScansListResponse, error)

ScansListWithResponse request returning *ScansListResponse

func (*ClientWithResponses) ScansPauseWithResponse

func (c *ClientWithResponses) ScansPauseWithResponse(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*ScansPauseResponse, error)

ScansPauseWithResponse request returning *ScansPauseResponse

func (*ClientWithResponses) ScansPluginOutputWithResponse

func (c *ClientWithResponses) ScansPluginOutputWithResponse(ctx context.Context, scanUuid string, hostId int32, pluginId int32, params *ScansPluginOutputParams, reqEditors ...RequestEditorFn) (*ScansPluginOutputResponse, error)

ScansPluginOutputWithResponse request returning *ScansPluginOutputResponse

func (*ClientWithResponses) ScansReadStatusWithBodyWithResponse

func (c *ClientWithResponses) ScansReadStatusWithBodyWithResponse(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansReadStatusResponse, error)

ScansReadStatusWithBodyWithResponse request with arbitrary body returning *ScansReadStatusResponse

func (*ClientWithResponses) ScansReadStatusWithResponse

func (c *ClientWithResponses) ScansReadStatusWithResponse(ctx context.Context, scanId string, body ScansReadStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansReadStatusResponse, error)

func (*ClientWithResponses) ScansResumeWithResponse

func (c *ClientWithResponses) ScansResumeWithResponse(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*ScansResumeResponse, error)

ScansResumeWithResponse request returning *ScansResumeResponse

func (*ClientWithResponses) ScansScheduleWithBodyWithResponse

func (c *ClientWithResponses) ScansScheduleWithBodyWithResponse(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansScheduleResponse, error)

ScansScheduleWithBodyWithResponse request with arbitrary body returning *ScansScheduleResponse

func (*ClientWithResponses) ScansScheduleWithResponse

func (c *ClientWithResponses) ScansScheduleWithResponse(ctx context.Context, scanId string, body ScansScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansScheduleResponse, error)

func (*ClientWithResponses) ScansStopWithResponse

func (c *ClientWithResponses) ScansStopWithResponse(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*ScansStopResponse, error)

ScansStopWithResponse request returning *ScansStopResponse

func (*ClientWithResponses) ScansTimezonesWithResponse

func (c *ClientWithResponses) ScansTimezonesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ScansTimezonesResponse, error)

ScansTimezonesWithResponse request returning *ScansTimezonesResponse

func (*ClientWithResponses) ServerPropertiesWithResponse

func (c *ClientWithResponses) ServerPropertiesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ServerPropertiesResponse, error)

ServerPropertiesWithResponse request returning *ServerPropertiesResponse

func (*ClientWithResponses) ServerStatusWithResponse

func (c *ClientWithResponses) ServerStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ServerStatusResponse, error)

ServerStatusWithResponse request returning *ServerStatusResponse

func (*ClientWithResponses) TagsAssignAssetTagsWithBodyWithResponse

func (c *ClientWithResponses) TagsAssignAssetTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TagsAssignAssetTagsResponse, error)

TagsAssignAssetTagsWithBodyWithResponse request with arbitrary body returning *TagsAssignAssetTagsResponse

func (*ClientWithResponses) TagsAssignAssetTagsWithResponse

func (c *ClientWithResponses) TagsAssignAssetTagsWithResponse(ctx context.Context, body TagsAssignAssetTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*TagsAssignAssetTagsResponse, error)

func (*ClientWithResponses) TagsCreateTagCategoryWithBodyWithResponse

func (c *ClientWithResponses) TagsCreateTagCategoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TagsCreateTagCategoryResponse, error)

TagsCreateTagCategoryWithBodyWithResponse request with arbitrary body returning *TagsCreateTagCategoryResponse

func (*ClientWithResponses) TagsCreateTagCategoryWithResponse

func (c *ClientWithResponses) TagsCreateTagCategoryWithResponse(ctx context.Context, body TagsCreateTagCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*TagsCreateTagCategoryResponse, error)

func (*ClientWithResponses) TagsCreateTagValueWithBodyWithResponse

func (c *ClientWithResponses) TagsCreateTagValueWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TagsCreateTagValueResponse, error)

TagsCreateTagValueWithBodyWithResponse request with arbitrary body returning *TagsCreateTagValueResponse

func (*ClientWithResponses) TagsCreateTagValueWithResponse

func (c *ClientWithResponses) TagsCreateTagValueWithResponse(ctx context.Context, body TagsCreateTagValueJSONRequestBody, reqEditors ...RequestEditorFn) (*TagsCreateTagValueResponse, error)

func (*ClientWithResponses) TagsDeleteTagCategoryWithResponse

func (c *ClientWithResponses) TagsDeleteTagCategoryWithResponse(ctx context.Context, categoryUuid string, reqEditors ...RequestEditorFn) (*TagsDeleteTagCategoryResponse, error)

TagsDeleteTagCategoryWithResponse request returning *TagsDeleteTagCategoryResponse

func (*ClientWithResponses) TagsDeleteTagValueWithResponse

func (c *ClientWithResponses) TagsDeleteTagValueWithResponse(ctx context.Context, valueUuid string, reqEditors ...RequestEditorFn) (*TagsDeleteTagValueResponse, error)

TagsDeleteTagValueWithResponse request returning *TagsDeleteTagValueResponse

func (*ClientWithResponses) TagsDeleteTagValuesBulkWithBodyWithResponse

func (c *ClientWithResponses) TagsDeleteTagValuesBulkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TagsDeleteTagValuesBulkResponse, error)

TagsDeleteTagValuesBulkWithBodyWithResponse request with arbitrary body returning *TagsDeleteTagValuesBulkResponse

func (*ClientWithResponses) TagsDeleteTagValuesBulkWithResponse

func (c *ClientWithResponses) TagsDeleteTagValuesBulkWithResponse(ctx context.Context, body TagsDeleteTagValuesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*TagsDeleteTagValuesBulkResponse, error)

func (*ClientWithResponses) TagsEditTagCategoryWithBodyWithResponse

func (c *ClientWithResponses) TagsEditTagCategoryWithBodyWithResponse(ctx context.Context, categoryUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TagsEditTagCategoryResponse, error)

TagsEditTagCategoryWithBodyWithResponse request with arbitrary body returning *TagsEditTagCategoryResponse

func (*ClientWithResponses) TagsEditTagCategoryWithResponse

func (c *ClientWithResponses) TagsEditTagCategoryWithResponse(ctx context.Context, categoryUuid string, body TagsEditTagCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*TagsEditTagCategoryResponse, error)

func (*ClientWithResponses) TagsListAssetFiltersWithResponse

func (c *ClientWithResponses) TagsListAssetFiltersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TagsListAssetFiltersResponse, error)

TagsListAssetFiltersWithResponse request returning *TagsListAssetFiltersResponse

func (*ClientWithResponses) TagsListAssetTagsWithResponse

func (c *ClientWithResponses) TagsListAssetTagsWithResponse(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*TagsListAssetTagsResponse, error)

TagsListAssetTagsWithResponse request returning *TagsListAssetTagsResponse

func (*ClientWithResponses) TagsListTagCategoriesWithResponse

func (c *ClientWithResponses) TagsListTagCategoriesWithResponse(ctx context.Context, params *TagsListTagCategoriesParams, reqEditors ...RequestEditorFn) (*TagsListTagCategoriesResponse, error)

TagsListTagCategoriesWithResponse request returning *TagsListTagCategoriesResponse

func (*ClientWithResponses) TagsListTagValuesWithResponse

func (c *ClientWithResponses) TagsListTagValuesWithResponse(ctx context.Context, params *TagsListTagValuesParams, reqEditors ...RequestEditorFn) (*TagsListTagValuesResponse, error)

TagsListTagValuesWithResponse request returning *TagsListTagValuesResponse

func (*ClientWithResponses) TagsTagCategoryDetailsWithResponse

func (c *ClientWithResponses) TagsTagCategoryDetailsWithResponse(ctx context.Context, categoryUuid string, reqEditors ...RequestEditorFn) (*TagsTagCategoryDetailsResponse, error)

TagsTagCategoryDetailsWithResponse request returning *TagsTagCategoryDetailsResponse

func (*ClientWithResponses) TagsTagValueDetailsWithResponse

func (c *ClientWithResponses) TagsTagValueDetailsWithResponse(ctx context.Context, valueUuid string, reqEditors ...RequestEditorFn) (*TagsTagValueDetailsResponse, error)

TagsTagValueDetailsWithResponse request returning *TagsTagValueDetailsResponse

func (*ClientWithResponses) TagsUpdateTagValueWithBodyWithResponse

func (c *ClientWithResponses) TagsUpdateTagValueWithBodyWithResponse(ctx context.Context, valueUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TagsUpdateTagValueResponse, error)

TagsUpdateTagValueWithBodyWithResponse request with arbitrary body returning *TagsUpdateTagValueResponse

func (*ClientWithResponses) TagsUpdateTagValueWithResponse

func (c *ClientWithResponses) TagsUpdateTagValueWithResponse(ctx context.Context, valueUuid string, body TagsUpdateTagValueJSONRequestBody, reqEditors ...RequestEditorFn) (*TagsUpdateTagValueResponse, error)

func (*ClientWithResponses) TargetGroupsCreateWithBodyWithResponse

func (c *ClientWithResponses) TargetGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TargetGroupsCreateResponse, error)

TargetGroupsCreateWithBodyWithResponse request with arbitrary body returning *TargetGroupsCreateResponse

func (*ClientWithResponses) TargetGroupsCreateWithResponse

func (c *ClientWithResponses) TargetGroupsCreateWithResponse(ctx context.Context, body TargetGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TargetGroupsCreateResponse, error)

func (*ClientWithResponses) TargetGroupsDeleteWithResponse

func (c *ClientWithResponses) TargetGroupsDeleteWithResponse(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*TargetGroupsDeleteResponse, error)

TargetGroupsDeleteWithResponse request returning *TargetGroupsDeleteResponse

func (*ClientWithResponses) TargetGroupsDetailsWithResponse

func (c *ClientWithResponses) TargetGroupsDetailsWithResponse(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*TargetGroupsDetailsResponse, error)

TargetGroupsDetailsWithResponse request returning *TargetGroupsDetailsResponse

func (*ClientWithResponses) TargetGroupsEditWithBodyWithResponse

func (c *ClientWithResponses) TargetGroupsEditWithBodyWithResponse(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TargetGroupsEditResponse, error)

TargetGroupsEditWithBodyWithResponse request with arbitrary body returning *TargetGroupsEditResponse

func (*ClientWithResponses) TargetGroupsEditWithResponse

func (c *ClientWithResponses) TargetGroupsEditWithResponse(ctx context.Context, groupId int32, body TargetGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*TargetGroupsEditResponse, error)

func (*ClientWithResponses) TargetGroupsListWithResponse

func (c *ClientWithResponses) TargetGroupsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TargetGroupsListResponse, error)

TargetGroupsListWithResponse request returning *TargetGroupsListResponse

func (*ClientWithResponses) VulnerabilitiesImportV2WithBodyWithResponse

func (c *ClientWithResponses) VulnerabilitiesImportV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VulnerabilitiesImportV2Response, error)

VulnerabilitiesImportV2WithBodyWithResponse request with arbitrary body returning *VulnerabilitiesImportV2Response

func (*ClientWithResponses) VulnerabilitiesImportV2WithResponse

func (c *ClientWithResponses) VulnerabilitiesImportV2WithResponse(ctx context.Context, body VulnerabilitiesImportV2JSONRequestBody, reqEditors ...RequestEditorFn) (*VulnerabilitiesImportV2Response, error)

func (*ClientWithResponses) VulnerabilitiesImportWithBodyWithResponse

func (c *ClientWithResponses) VulnerabilitiesImportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VulnerabilitiesImportResponse, error)

VulnerabilitiesImportWithBodyWithResponse request with arbitrary body returning *VulnerabilitiesImportResponse

func (*ClientWithResponses) VulnerabilitiesImportWithResponse

func (c *ClientWithResponses) VulnerabilitiesImportWithResponse(ctx context.Context, body VulnerabilitiesImportJSONRequestBody, reqEditors ...RequestEditorFn) (*VulnerabilitiesImportResponse, error)

func (*ClientWithResponses) WorkbenchesAssetInfoWithResponse

func (c *ClientWithResponses) WorkbenchesAssetInfoWithResponse(ctx context.Context, assetId string, params *WorkbenchesAssetInfoParams, reqEditors ...RequestEditorFn) (*WorkbenchesAssetInfoResponse, error)

WorkbenchesAssetInfoWithResponse request returning *WorkbenchesAssetInfoResponse

func (*ClientWithResponses) WorkbenchesAssetVulnerabilitiesWithResponse

func (c *ClientWithResponses) WorkbenchesAssetVulnerabilitiesWithResponse(ctx context.Context, assetId string, params *WorkbenchesAssetVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*WorkbenchesAssetVulnerabilitiesResponse, error)

WorkbenchesAssetVulnerabilitiesWithResponse request returning *WorkbenchesAssetVulnerabilitiesResponse

func (*ClientWithResponses) WorkbenchesAssetVulnerabilityInfoWithResponse

func (c *ClientWithResponses) WorkbenchesAssetVulnerabilityInfoWithResponse(ctx context.Context, assetId string, pluginId int32, params *WorkbenchesAssetVulnerabilityInfoParams, reqEditors ...RequestEditorFn) (*WorkbenchesAssetVulnerabilityInfoResponse, error)

WorkbenchesAssetVulnerabilityInfoWithResponse request returning *WorkbenchesAssetVulnerabilityInfoResponse

func (*ClientWithResponses) WorkbenchesAssetVulnerabilityOutputWithResponse

func (c *ClientWithResponses) WorkbenchesAssetVulnerabilityOutputWithResponse(ctx context.Context, assetId string, pluginId int32, params *WorkbenchesAssetVulnerabilityOutputParams, reqEditors ...RequestEditorFn) (*WorkbenchesAssetVulnerabilityOutputResponse, error)

WorkbenchesAssetVulnerabilityOutputWithResponse request returning *WorkbenchesAssetVulnerabilityOutputResponse

func (*ClientWithResponses) WorkbenchesAssetsActivityWithResponse

func (c *ClientWithResponses) WorkbenchesAssetsActivityWithResponse(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*WorkbenchesAssetsActivityResponse, error)

WorkbenchesAssetsActivityWithResponse request returning *WorkbenchesAssetsActivityResponse

func (*ClientWithResponses) WorkbenchesAssetsDeleteWithResponse

func (c *ClientWithResponses) WorkbenchesAssetsDeleteWithResponse(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*WorkbenchesAssetsDeleteResponse, error)

WorkbenchesAssetsDeleteWithResponse request returning *WorkbenchesAssetsDeleteResponse

func (*ClientWithResponses) WorkbenchesAssetsVulnerabilitiesWithResponse

func (c *ClientWithResponses) WorkbenchesAssetsVulnerabilitiesWithResponse(ctx context.Context, params *WorkbenchesAssetsVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*WorkbenchesAssetsVulnerabilitiesResponse, error)

WorkbenchesAssetsVulnerabilitiesWithResponse request returning *WorkbenchesAssetsVulnerabilitiesResponse

func (*ClientWithResponses) WorkbenchesAssetsWithResponse

func (c *ClientWithResponses) WorkbenchesAssetsWithResponse(ctx context.Context, params *WorkbenchesAssetsParams, reqEditors ...RequestEditorFn) (*WorkbenchesAssetsResponse, error)

WorkbenchesAssetsWithResponse request returning *WorkbenchesAssetsResponse

func (*ClientWithResponses) WorkbenchesExportDownloadWithResponse

func (c *ClientWithResponses) WorkbenchesExportDownloadWithResponse(ctx context.Context, fileId int32, reqEditors ...RequestEditorFn) (*WorkbenchesExportDownloadResponse, error)

WorkbenchesExportDownloadWithResponse request returning *WorkbenchesExportDownloadResponse

func (*ClientWithResponses) WorkbenchesExportRequestWithResponse

func (c *ClientWithResponses) WorkbenchesExportRequestWithResponse(ctx context.Context, params *WorkbenchesExportRequestParams, reqEditors ...RequestEditorFn) (*WorkbenchesExportRequestResponse, error)

WorkbenchesExportRequestWithResponse request returning *WorkbenchesExportRequestResponse

func (*ClientWithResponses) WorkbenchesExportStatusWithResponse

func (c *ClientWithResponses) WorkbenchesExportStatusWithResponse(ctx context.Context, fileId int32, reqEditors ...RequestEditorFn) (*WorkbenchesExportStatusResponse, error)

WorkbenchesExportStatusWithResponse request returning *WorkbenchesExportStatusResponse

func (*ClientWithResponses) WorkbenchesVulnerabilitiesWithResponse

func (c *ClientWithResponses) WorkbenchesVulnerabilitiesWithResponse(ctx context.Context, params *WorkbenchesVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*WorkbenchesVulnerabilitiesResponse, error)

WorkbenchesVulnerabilitiesWithResponse request returning *WorkbenchesVulnerabilitiesResponse

func (*ClientWithResponses) WorkbenchesVulnerabilityInfoWithResponse

func (c *ClientWithResponses) WorkbenchesVulnerabilityInfoWithResponse(ctx context.Context, pluginId int32, params *WorkbenchesVulnerabilityInfoParams, reqEditors ...RequestEditorFn) (*WorkbenchesVulnerabilityInfoResponse, error)

WorkbenchesVulnerabilityInfoWithResponse request returning *WorkbenchesVulnerabilityInfoResponse

func (*ClientWithResponses) WorkbenchesVulnerabilityOutputWithResponse

func (c *ClientWithResponses) WorkbenchesVulnerabilityOutputWithResponse(ctx context.Context, pluginId int32, params *WorkbenchesVulnerabilityOutputParams, reqEditors ...RequestEditorFn) (*WorkbenchesVulnerabilityOutputResponse, error)

WorkbenchesVulnerabilityOutputWithResponse request returning *WorkbenchesVulnerabilityOutputResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// IoV1AccessGroupsList request
	IoV1AccessGroupsListWithResponse(ctx context.Context, params *IoV1AccessGroupsListParams, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsListResponse, error)

	// IoV1AccessGroupsCreate request with any body
	IoV1AccessGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsCreateResponse, error)

	IoV1AccessGroupsCreateWithResponse(ctx context.Context, body IoV1AccessGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsCreateResponse, error)

	// IoV1AccessGroupsListFilters request
	IoV1AccessGroupsListFiltersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsListFiltersResponse, error)

	// IoV1AccessGroupsListRuleFilters request
	IoV1AccessGroupsListRuleFiltersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsListRuleFiltersResponse, error)

	// IoV1AccessGroupsDelete request
	IoV1AccessGroupsDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsDeleteResponse, error)

	// IoV1AccessGroupsDetails request
	IoV1AccessGroupsDetailsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsDetailsResponse, error)

	// IoV1AccessGroupsEdit request with any body
	IoV1AccessGroupsEditWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsEditResponse, error)

	IoV1AccessGroupsEditWithResponse(ctx context.Context, id string, body IoV1AccessGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsEditResponse, error)

	// AssetsBulkUpdateAcr request with any body
	AssetsBulkUpdateAcrWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssetsBulkUpdateAcrResponse, error)

	AssetsBulkUpdateAcrWithResponse(ctx context.Context, body AssetsBulkUpdateAcrJSONRequestBody, reqEditors ...RequestEditorFn) (*AssetsBulkUpdateAcrResponse, error)

	// AssetsBulkDelete request with any body
	AssetsBulkDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssetsBulkDeleteResponse, error)

	AssetsBulkDeleteWithResponse(ctx context.Context, body AssetsBulkDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*AssetsBulkDeleteResponse, error)

	// AssetsBulkMove request with any body
	AssetsBulkMoveWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssetsBulkMoveResponse, error)

	AssetsBulkMoveWithResponse(ctx context.Context, body AssetsBulkMoveJSONRequestBody, reqEditors ...RequestEditorFn) (*AssetsBulkMoveResponse, error)

	// VulnerabilitiesImportV2 request with any body
	VulnerabilitiesImportV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VulnerabilitiesImportV2Response, error)

	VulnerabilitiesImportV2WithResponse(ctx context.Context, body VulnerabilitiesImportV2JSONRequestBody, reqEditors ...RequestEditorFn) (*VulnerabilitiesImportV2Response, error)

	// AssetsListAssets request
	AssetsListAssetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AssetsListAssetsResponse, error)

	// ExportsAssetsRequestExport request with any body
	ExportsAssetsRequestExportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportsAssetsRequestExportResponse, error)

	ExportsAssetsRequestExportWithResponse(ctx context.Context, body ExportsAssetsRequestExportJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportsAssetsRequestExportResponse, error)

	// ExportsAssetsExportStatusRecent request
	ExportsAssetsExportStatusRecentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExportsAssetsExportStatusRecentResponse, error)

	// ExportsAssetsExportCancel request
	ExportsAssetsExportCancelWithResponse(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*ExportsAssetsExportCancelResponse, error)

	// ExportsAssetsDownloadChunk request
	ExportsAssetsDownloadChunkWithResponse(ctx context.Context, exportUuid string, chunkId int32, reqEditors ...RequestEditorFn) (*ExportsAssetsDownloadChunkResponse, error)

	// ExportsAssetsExportStatus request
	ExportsAssetsExportStatusWithResponse(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*ExportsAssetsExportStatusResponse, error)

	// AssetsAssetInfo request
	AssetsAssetInfoWithResponse(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*AssetsAssetInfoResponse, error)

	// AuditLogEvents request
	AuditLogEventsWithResponse(ctx context.Context, params *AuditLogEventsParams, reqEditors ...RequestEditorFn) (*AuditLogEventsResponse, error)

	// IoExportsComplianceCreate request with any body
	IoExportsComplianceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoExportsComplianceCreateResponse, error)

	IoExportsComplianceCreateWithResponse(ctx context.Context, body IoExportsComplianceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IoExportsComplianceCreateResponse, error)

	// IoExportsComplianceCancel request
	IoExportsComplianceCancelWithResponse(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*IoExportsComplianceCancelResponse, error)

	// IoExportsComplianceDownload request
	IoExportsComplianceDownloadWithResponse(ctx context.Context, exportUuid string, chunkId int32, reqEditors ...RequestEditorFn) (*IoExportsComplianceDownloadResponse, error)

	// IoExportsComplianceStatus request
	IoExportsComplianceStatusWithResponse(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*IoExportsComplianceStatusResponse, error)

	// CredentialsList request
	CredentialsListWithResponse(ctx context.Context, params *CredentialsListParams, reqEditors ...RequestEditorFn) (*CredentialsListResponse, error)

	// CredentialsCreate request with any body
	CredentialsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialsCreateResponse, error)

	CredentialsCreateWithResponse(ctx context.Context, body CredentialsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialsCreateResponse, error)

	// CredentialsFileUpload request with any body
	CredentialsFileUploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialsFileUploadResponse, error)

	// CredentialsListCredentialTypes request
	CredentialsListCredentialTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CredentialsListCredentialTypesResponse, error)

	// CredentialsDelete request
	CredentialsDeleteWithResponse(ctx context.Context, uuid string, reqEditors ...RequestEditorFn) (*CredentialsDeleteResponse, error)

	// CredentialsDetails request
	CredentialsDetailsWithResponse(ctx context.Context, uuid string, reqEditors ...RequestEditorFn) (*CredentialsDetailsResponse, error)

	// CredentialsUpdate request with any body
	CredentialsUpdateWithBodyWithResponse(ctx context.Context, uuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialsUpdateResponse, error)

	CredentialsUpdateWithResponse(ctx context.Context, uuid string, body CredentialsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialsUpdateResponse, error)

	// EditorPluginDescription request
	EditorPluginDescriptionWithResponse(ctx context.Context, policyId int32, familyId int32, pluginId int32, reqEditors ...RequestEditorFn) (*EditorPluginDescriptionResponse, error)

	// EditorListTemplates request
	EditorListTemplatesWithResponse(ctx context.Context, pType EditorListTemplatesParamsType, reqEditors ...RequestEditorFn) (*EditorListTemplatesResponse, error)

	// EditorTemplateDetails request
	EditorTemplateDetailsWithResponse(ctx context.Context, pType EditorTemplateDetailsParamsType, templateUuid string, reqEditors ...RequestEditorFn) (*EditorTemplateDetailsResponse, error)

	// EditorDetails request
	EditorDetailsWithResponse(ctx context.Context, pType EditorDetailsParamsType, id int32, reqEditors ...RequestEditorFn) (*EditorDetailsResponse, error)

	// EditorAudits request
	EditorAuditsWithResponse(ctx context.Context, pType EditorAuditsParamsType, objectId int32, fileId int32, reqEditors ...RequestEditorFn) (*EditorAuditsResponse, error)

	// ExclusionsList request
	ExclusionsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExclusionsListResponse, error)

	// ExclusionsCreate request with any body
	ExclusionsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExclusionsCreateResponse, error)

	ExclusionsCreateWithResponse(ctx context.Context, body ExclusionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExclusionsCreateResponse, error)

	// ExclusionsImport request with any body
	ExclusionsImportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExclusionsImportResponse, error)

	ExclusionsImportWithResponse(ctx context.Context, body ExclusionsImportJSONRequestBody, reqEditors ...RequestEditorFn) (*ExclusionsImportResponse, error)

	// ExclusionsDelete request
	ExclusionsDeleteWithResponse(ctx context.Context, exclusionId int32, reqEditors ...RequestEditorFn) (*ExclusionsDeleteResponse, error)

	// ExclusionsDetails request
	ExclusionsDetailsWithResponse(ctx context.Context, exclusionId int32, reqEditors ...RequestEditorFn) (*ExclusionsDetailsResponse, error)

	// ExclusionsEdit request with any body
	ExclusionsEditWithBodyWithResponse(ctx context.Context, exclusionId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExclusionsEditResponse, error)

	ExclusionsEditWithResponse(ctx context.Context, exclusionId int32, body ExclusionsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*ExclusionsEditResponse, error)

	// FileUpload request with any body
	FileUploadWithBodyWithResponse(ctx context.Context, params *FileUploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FileUploadResponse, error)

	// IoFiltersCredentialsList request
	IoFiltersCredentialsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoFiltersCredentialsListResponse, error)

	// IoFiltersAgentsList request
	IoFiltersAgentsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoFiltersAgentsListResponse, error)

	// IoFiltersScanList request
	IoFiltersScanListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoFiltersScanListResponse, error)

	// IoFiltersScanHistoryList request
	IoFiltersScanHistoryListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoFiltersScanHistoryListResponse, error)

	// IoFiltersAssetsList request
	IoFiltersAssetsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoFiltersAssetsListResponse, error)

	// IoFiltersAssetsListV2 request with any body
	IoFiltersAssetsListV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoFiltersAssetsListV2Response, error)

	IoFiltersAssetsListV2WithResponse(ctx context.Context, body IoFiltersAssetsListV2JSONRequestBody, reqEditors ...RequestEditorFn) (*IoFiltersAssetsListV2Response, error)

	// IoFiltersVulnerabilitiesWorkbenchList request
	IoFiltersVulnerabilitiesWorkbenchListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoFiltersVulnerabilitiesWorkbenchListResponse, error)

	// IoFiltersVulnerabilitiesWorkbenchListV2 request with any body
	IoFiltersVulnerabilitiesWorkbenchListV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoFiltersVulnerabilitiesWorkbenchListV2Response, error)

	IoFiltersVulnerabilitiesWorkbenchListV2WithResponse(ctx context.Context, body IoFiltersVulnerabilitiesWorkbenchListV2JSONRequestBody, reqEditors ...RequestEditorFn) (*IoFiltersVulnerabilitiesWorkbenchListV2Response, error)

	// FoldersList request
	FoldersListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FoldersListResponse, error)

	// FoldersCreate request with any body
	FoldersCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FoldersCreateResponse, error)

	FoldersCreateWithResponse(ctx context.Context, body FoldersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*FoldersCreateResponse, error)

	// FoldersDelete request
	FoldersDeleteWithResponse(ctx context.Context, folderId int32, reqEditors ...RequestEditorFn) (*FoldersDeleteResponse, error)

	// FoldersEdit request with any body
	FoldersEditWithBodyWithResponse(ctx context.Context, folderId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FoldersEditResponse, error)

	FoldersEditWithResponse(ctx context.Context, folderId int32, body FoldersEditJSONRequestBody, reqEditors ...RequestEditorFn) (*FoldersEditResponse, error)

	// AssetsListImportJobs request
	AssetsListImportJobsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AssetsListImportJobsResponse, error)

	// AssetsImportJobInfo request
	AssetsImportJobInfoWithResponse(ctx context.Context, assetImportJobUuid string, reqEditors ...RequestEditorFn) (*AssetsImportJobInfoResponse, error)

	// AssetsImport request with any body
	AssetsImportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssetsImportResponse, error)

	AssetsImportWithResponse(ctx context.Context, body AssetsImportJSONRequestBody, reqEditors ...RequestEditorFn) (*AssetsImportResponse, error)

	// VulnerabilitiesImport request with any body
	VulnerabilitiesImportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VulnerabilitiesImportResponse, error)

	VulnerabilitiesImportWithResponse(ctx context.Context, body VulnerabilitiesImportJSONRequestBody, reqEditors ...RequestEditorFn) (*VulnerabilitiesImportResponse, error)

	// NetworksList request
	NetworksListWithResponse(ctx context.Context, params *NetworksListParams, reqEditors ...RequestEditorFn) (*NetworksListResponse, error)

	// NetworksCreate request with any body
	NetworksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NetworksCreateResponse, error)

	NetworksCreateWithResponse(ctx context.Context, body NetworksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*NetworksCreateResponse, error)

	// NetworksDelete request
	NetworksDeleteWithResponse(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*NetworksDeleteResponse, error)

	// NetworksDetails request
	NetworksDetailsWithResponse(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*NetworksDetailsResponse, error)

	// NetworksUpdate request with any body
	NetworksUpdateWithBodyWithResponse(ctx context.Context, networkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NetworksUpdateResponse, error)

	NetworksUpdateWithResponse(ctx context.Context, networkId string, body NetworksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*NetworksUpdateResponse, error)

	// NetworksListAssignableScanners request
	NetworksListAssignableScannersWithResponse(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*NetworksListAssignableScannersResponse, error)

	// IoNetworksAssetCountDetails request
	IoNetworksAssetCountDetailsWithResponse(ctx context.Context, networkId string, numDays int, reqEditors ...RequestEditorFn) (*IoNetworksAssetCountDetailsResponse, error)

	// NetworksListScanners request
	NetworksListScannersWithResponse(ctx context.Context, networkId string, reqEditors ...RequestEditorFn) (*NetworksListScannersResponse, error)

	// NetworksAssignScannerBulk request with any body
	NetworksAssignScannerBulkWithBodyWithResponse(ctx context.Context, networkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NetworksAssignScannerBulkResponse, error)

	NetworksAssignScannerBulkWithResponse(ctx context.Context, networkId string, body NetworksAssignScannerBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*NetworksAssignScannerBulkResponse, error)

	// NetworksAssignScanner request
	NetworksAssignScannerWithResponse(ctx context.Context, networkId string, scannerUuid string, reqEditors ...RequestEditorFn) (*NetworksAssignScannerResponse, error)

	// PermissionsList request
	PermissionsListWithResponse(ctx context.Context, objectType PermissionsListParamsObjectType, objectId int32, reqEditors ...RequestEditorFn) (*PermissionsListResponse, error)

	// PermissionsChange request with any body
	PermissionsChangeWithBodyWithResponse(ctx context.Context, objectType PermissionsChangeParamsObjectType, objectId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PermissionsChangeResponse, error)

	PermissionsChangeWithResponse(ctx context.Context, objectType PermissionsChangeParamsObjectType, objectId int32, body PermissionsChangeJSONRequestBody, reqEditors ...RequestEditorFn) (*PermissionsChangeResponse, error)

	// IoPluginsFamiliesList request
	IoPluginsFamiliesListWithResponse(ctx context.Context, params *IoPluginsFamiliesListParams, reqEditors ...RequestEditorFn) (*IoPluginsFamiliesListResponse, error)

	// IoPluginsFamilyDetails request
	IoPluginsFamilyDetailsWithResponse(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*IoPluginsFamilyDetailsResponse, error)

	// IoPluginsList request
	IoPluginsListWithResponse(ctx context.Context, params *IoPluginsListParams, reqEditors ...RequestEditorFn) (*IoPluginsListResponse, error)

	// IoPluginsDetails request
	IoPluginsDetailsWithResponse(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*IoPluginsDetailsResponse, error)

	// PoliciesList request
	PoliciesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PoliciesListResponse, error)

	// PoliciesCreate request with any body
	PoliciesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PoliciesCreateResponse, error)

	PoliciesCreateWithResponse(ctx context.Context, body PoliciesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PoliciesCreateResponse, error)

	// PoliciesImport request with any body
	PoliciesImportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PoliciesImportResponse, error)

	PoliciesImportWithResponse(ctx context.Context, body PoliciesImportJSONRequestBody, reqEditors ...RequestEditorFn) (*PoliciesImportResponse, error)

	// PoliciesDelete request
	PoliciesDeleteWithResponse(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*PoliciesDeleteResponse, error)

	// PoliciesDetails request
	PoliciesDetailsWithResponse(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*PoliciesDetailsResponse, error)

	// PoliciesConfigure request
	PoliciesConfigureWithResponse(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*PoliciesConfigureResponse, error)

	// PoliciesCopy request
	PoliciesCopyWithResponse(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*PoliciesCopyResponse, error)

	// PoliciesExport request
	PoliciesExportWithResponse(ctx context.Context, policyId int32, reqEditors ...RequestEditorFn) (*PoliciesExportResponse, error)

	// ScannerGroupsList request
	ScannerGroupsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ScannerGroupsListResponse, error)

	// ScannerGroupsCreate request with any body
	ScannerGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScannerGroupsCreateResponse, error)

	ScannerGroupsCreateWithResponse(ctx context.Context, body ScannerGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ScannerGroupsCreateResponse, error)

	// ScannerGroupsDelete request
	ScannerGroupsDeleteWithResponse(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*ScannerGroupsDeleteResponse, error)

	// ScannerGroupsDetails request
	ScannerGroupsDetailsWithResponse(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*ScannerGroupsDetailsResponse, error)

	// ScannerGroupsEdit request with any body
	ScannerGroupsEditWithBodyWithResponse(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScannerGroupsEditResponse, error)

	ScannerGroupsEditWithResponse(ctx context.Context, groupId int32, body ScannerGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*ScannerGroupsEditResponse, error)

	// IoScannerGroupsListRoutes request
	IoScannerGroupsListRoutesWithResponse(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*IoScannerGroupsListRoutesResponse, error)

	// IoScannerGroupsUpdateRoutes request with any body
	IoScannerGroupsUpdateRoutesWithBodyWithResponse(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoScannerGroupsUpdateRoutesResponse, error)

	IoScannerGroupsUpdateRoutesWithResponse(ctx context.Context, groupId int32, body IoScannerGroupsUpdateRoutesJSONRequestBody, reqEditors ...RequestEditorFn) (*IoScannerGroupsUpdateRoutesResponse, error)

	// ScannerGroupsListScanners request
	ScannerGroupsListScannersWithResponse(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*ScannerGroupsListScannersResponse, error)

	// ScannerGroupsDeleteScanner request
	ScannerGroupsDeleteScannerWithResponse(ctx context.Context, groupId int32, scannerId int32, reqEditors ...RequestEditorFn) (*ScannerGroupsDeleteScannerResponse, error)

	// ScannerGroupsAddScanner request
	ScannerGroupsAddScannerWithResponse(ctx context.Context, groupId int32, scannerId int32, reqEditors ...RequestEditorFn) (*ScannerGroupsAddScannerResponse, error)

	// ScannersList request
	ScannersListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ScannersListResponse, error)

	// BulkAddAgents request with any body
	BulkAddAgentsWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkAddAgentsResponse, error)

	BulkAddAgentsWithResponse(ctx context.Context, groupId string, body BulkAddAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkAddAgentsResponse, error)

	// IoAgentBulkOperationsGroupDirective request with any body
	IoAgentBulkOperationsGroupDirectiveWithBodyWithResponse(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoAgentBulkOperationsGroupDirectiveResponse, error)

	IoAgentBulkOperationsGroupDirectiveWithResponse(ctx context.Context, groupId int32, body IoAgentBulkOperationsGroupDirectiveJSONRequestBody, reqEditors ...RequestEditorFn) (*IoAgentBulkOperationsGroupDirectiveResponse, error)

	// BulkRemoveAgents request with any body
	BulkRemoveAgentsWithBodyWithResponse(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkRemoveAgentsResponse, error)

	BulkRemoveAgentsWithResponse(ctx context.Context, groupId int32, body BulkRemoveAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkRemoveAgentsResponse, error)

	// BulkTaskAgentGroupStatus request
	BulkTaskAgentGroupStatusWithResponse(ctx context.Context, groupId int32, taskUuid string, reqEditors ...RequestEditorFn) (*BulkTaskAgentGroupStatusResponse, error)

	// IoAgentBulkOperationsAddToNetwork request with any body
	IoAgentBulkOperationsAddToNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoAgentBulkOperationsAddToNetworkResponse, error)

	IoAgentBulkOperationsAddToNetworkWithResponse(ctx context.Context, body IoAgentBulkOperationsAddToNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*IoAgentBulkOperationsAddToNetworkResponse, error)

	// IoAgentBulkOperationsDirective request with any body
	IoAgentBulkOperationsDirectiveWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoAgentBulkOperationsDirectiveResponse, error)

	IoAgentBulkOperationsDirectiveWithResponse(ctx context.Context, body IoAgentBulkOperationsDirectiveJSONRequestBody, reqEditors ...RequestEditorFn) (*IoAgentBulkOperationsDirectiveResponse, error)

	// IoAgentBulkOperationsRemoveFromNetwork request with any body
	IoAgentBulkOperationsRemoveFromNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoAgentBulkOperationsRemoveFromNetworkResponse, error)

	IoAgentBulkOperationsRemoveFromNetworkWithResponse(ctx context.Context, body IoAgentBulkOperationsRemoveFromNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*IoAgentBulkOperationsRemoveFromNetworkResponse, error)

	// BulkUnlinkAgents request with any body
	BulkUnlinkAgentsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkUnlinkAgentsResponse, error)

	BulkUnlinkAgentsWithResponse(ctx context.Context, body BulkUnlinkAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkUnlinkAgentsResponse, error)

	// BulkTaskAgentStatus request
	BulkTaskAgentStatusWithResponse(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*BulkTaskAgentStatusResponse, error)

	// ScannersDelete request
	ScannersDeleteWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*ScannersDeleteResponse, error)

	// ScannersDetails request
	ScannersDetailsWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*ScannersDetailsResponse, error)

	// ScannersEdit request with any body
	ScannersEditWithBodyWithResponse(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScannersEditResponse, error)

	ScannersEditWithResponse(ctx context.Context, scannerId int32, body ScannersEditJSONRequestBody, reqEditors ...RequestEditorFn) (*ScannersEditResponse, error)

	// AgentGroupsList request
	AgentGroupsListWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*AgentGroupsListResponse, error)

	// AgentGroupsCreate request with any body
	AgentGroupsCreateWithBodyWithResponse(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentGroupsCreateResponse, error)

	AgentGroupsCreateWithResponse(ctx context.Context, scannerId int32, body AgentGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentGroupsCreateResponse, error)

	// AgentGroupListAgents request
	AgentGroupListAgentsWithResponse(ctx context.Context, scannerId int32, agentGroupId int32, params *AgentGroupListAgentsParams, reqEditors ...RequestEditorFn) (*AgentGroupListAgentsResponse, error)

	// AgentGroupsDelete request
	AgentGroupsDeleteWithResponse(ctx context.Context, scannerId int32, groupId int32, reqEditors ...RequestEditorFn) (*AgentGroupsDeleteResponse, error)

	// AgentGroupsDetails request
	AgentGroupsDetailsWithResponse(ctx context.Context, scannerId int32, groupId int32, params *AgentGroupsDetailsParams, reqEditors ...RequestEditorFn) (*AgentGroupsDetailsResponse, error)

	// AgentGroupsConfigure request with any body
	AgentGroupsConfigureWithBodyWithResponse(ctx context.Context, scannerId int32, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentGroupsConfigureResponse, error)

	AgentGroupsConfigureWithResponse(ctx context.Context, scannerId int32, groupId int32, body AgentGroupsConfigureJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentGroupsConfigureResponse, error)

	// AgentGroupsDeleteAgent request
	AgentGroupsDeleteAgentWithResponse(ctx context.Context, scannerId int32, groupId int32, agentId int32, reqEditors ...RequestEditorFn) (*AgentGroupsDeleteAgentResponse, error)

	// AgentGroupsAddAgent request
	AgentGroupsAddAgentWithResponse(ctx context.Context, scannerId int32, groupId int32, agentId int32, reqEditors ...RequestEditorFn) (*AgentGroupsAddAgentResponse, error)

	// AgentsList request
	AgentsListWithResponse(ctx context.Context, scannerId int32, params *AgentsListParams, reqEditors ...RequestEditorFn) (*AgentsListResponse, error)

	// AgentConfigDetails request
	AgentConfigDetailsWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*AgentConfigDetailsResponse, error)

	// AgentConfigEdit request with any body
	AgentConfigEditWithBodyWithResponse(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentConfigEditResponse, error)

	AgentConfigEditWithResponse(ctx context.Context, scannerId int32, body AgentConfigEditJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentConfigEditResponse, error)

	// AgentExclusionsList request
	AgentExclusionsListWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*AgentExclusionsListResponse, error)

	// AgentExclusionsCreate request with any body
	AgentExclusionsCreateWithBodyWithResponse(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentExclusionsCreateResponse, error)

	AgentExclusionsCreateWithResponse(ctx context.Context, scannerId int32, body AgentExclusionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentExclusionsCreateResponse, error)

	// AgentExclusionsDelete request
	AgentExclusionsDeleteWithResponse(ctx context.Context, scannerId int32, exclusionId int32, reqEditors ...RequestEditorFn) (*AgentExclusionsDeleteResponse, error)

	// AgentExclusionsDetails request
	AgentExclusionsDetailsWithResponse(ctx context.Context, scannerId int32, exclusionId int32, reqEditors ...RequestEditorFn) (*AgentExclusionsDetailsResponse, error)

	// AgentExclusionsEdit request with any body
	AgentExclusionsEditWithBodyWithResponse(ctx context.Context, scannerId int32, exclusionId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentExclusionsEditResponse, error)

	AgentExclusionsEditWithResponse(ctx context.Context, scannerId int32, exclusionId int32, body AgentExclusionsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentExclusionsEditResponse, error)

	// AgentsDelete request
	AgentsDeleteWithResponse(ctx context.Context, scannerId int32, agentId int32, reqEditors ...RequestEditorFn) (*AgentsDeleteResponse, error)

	// AgentsGet request
	AgentsGetWithResponse(ctx context.Context, scannerId int32, agentId int32, reqEditors ...RequestEditorFn) (*AgentsGetResponse, error)

	// ScannersGetAwsTargets request
	ScannersGetAwsTargetsWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*ScannersGetAwsTargetsResponse, error)

	// ScannersGetScannerKey request
	ScannersGetScannerKeyWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*ScannersGetScannerKeyResponse, error)

	// ScannersToggleLinkState request with any body
	ScannersToggleLinkStateWithBodyWithResponse(ctx context.Context, scannerId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScannersToggleLinkStateResponse, error)

	ScannersToggleLinkStateWithResponse(ctx context.Context, scannerId int32, body ScannersToggleLinkStateJSONRequestBody, reqEditors ...RequestEditorFn) (*ScannersToggleLinkStateResponse, error)

	// ScannersGetScans request
	ScannersGetScansWithResponse(ctx context.Context, scannerId int32, reqEditors ...RequestEditorFn) (*ScannersGetScansResponse, error)

	// ScannersControlScans request with any body
	ScannersControlScansWithBodyWithResponse(ctx context.Context, scannerId int32, scanUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScannersControlScansResponse, error)

	ScannersControlScansWithResponse(ctx context.Context, scannerId int32, scanUuid string, body ScannersControlScansJSONRequestBody, reqEditors ...RequestEditorFn) (*ScannersControlScansResponse, error)

	// ScansList request
	ScansListWithResponse(ctx context.Context, params *ScansListParams, reqEditors ...RequestEditorFn) (*ScansListResponse, error)

	// ScansCreate request with any body
	ScansCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansCreateResponse, error)

	ScansCreateWithResponse(ctx context.Context, body ScansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansCreateResponse, error)

	// IoScansCheckAutoTargets request with any body
	IoScansCheckAutoTargetsWithBodyWithResponse(ctx context.Context, params *IoScansCheckAutoTargetsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoScansCheckAutoTargetsResponse, error)

	IoScansCheckAutoTargetsWithResponse(ctx context.Context, params *IoScansCheckAutoTargetsParams, body IoScansCheckAutoTargetsJSONRequestBody, reqEditors ...RequestEditorFn) (*IoScansCheckAutoTargetsResponse, error)

	// ScansImport request with any body
	ScansImportWithBodyWithResponse(ctx context.Context, params *ScansImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansImportResponse, error)

	ScansImportWithResponse(ctx context.Context, params *ScansImportParams, body ScansImportJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansImportResponse, error)

	// IoScansRemediationList request
	IoScansRemediationListWithResponse(ctx context.Context, params *IoScansRemediationListParams, reqEditors ...RequestEditorFn) (*IoScansRemediationListResponse, error)

	// IoScansRemediationCreate request with any body
	IoScansRemediationCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoScansRemediationCreateResponse, error)

	IoScansRemediationCreateWithResponse(ctx context.Context, body IoScansRemediationCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IoScansRemediationCreateResponse, error)

	// ScansTimezones request
	ScansTimezonesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ScansTimezonesResponse, error)

	// ScansDelete request
	ScansDeleteWithResponse(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*ScansDeleteResponse, error)

	// ScansDetails request
	ScansDetailsWithResponse(ctx context.Context, scanId string, params *ScansDetailsParams, reqEditors ...RequestEditorFn) (*ScansDetailsResponse, error)

	// ScansConfigure request with any body
	ScansConfigureWithBodyWithResponse(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansConfigureResponse, error)

	ScansConfigureWithResponse(ctx context.Context, scanId string, body ScansConfigureJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansConfigureResponse, error)

	// ScansAttachments request
	ScansAttachmentsWithResponse(ctx context.Context, scanId string, attachmentId string, params *ScansAttachmentsParams, reqEditors ...RequestEditorFn) (*ScansAttachmentsResponse, error)

	// ScansCopy request with any body
	ScansCopyWithBodyWithResponse(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansCopyResponse, error)

	ScansCopyWithResponse(ctx context.Context, scanId string, body ScansCopyJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansCopyResponse, error)

	// IoScansCredentialsConvert request with any body
	IoScansCredentialsConvertWithBodyWithResponse(ctx context.Context, scanId int, credentialsId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoScansCredentialsConvertResponse, error)

	IoScansCredentialsConvertWithResponse(ctx context.Context, scanId int, credentialsId int, body IoScansCredentialsConvertJSONRequestBody, reqEditors ...RequestEditorFn) (*IoScansCredentialsConvertResponse, error)

	// ScansExportRequest request with any body
	ScansExportRequestWithBodyWithResponse(ctx context.Context, scanId string, params *ScansExportRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansExportRequestResponse, error)

	ScansExportRequestWithResponse(ctx context.Context, scanId string, params *ScansExportRequestParams, body ScansExportRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansExportRequestResponse, error)

	// ScansExportDownload request
	ScansExportDownloadWithResponse(ctx context.Context, scanId string, fileId string, reqEditors ...RequestEditorFn) (*ScansExportDownloadResponse, error)

	// ScansExportStatus request
	ScansExportStatusWithResponse(ctx context.Context, scanId string, fileId string, reqEditors ...RequestEditorFn) (*ScansExportStatusResponse, error)

	// ScansHistory request
	ScansHistoryWithResponse(ctx context.Context, scanId string, params *ScansHistoryParams, reqEditors ...RequestEditorFn) (*ScansHistoryResponse, error)

	// ScansDeleteHistory request
	ScansDeleteHistoryWithResponse(ctx context.Context, scanId string, historyId int32, reqEditors ...RequestEditorFn) (*ScansDeleteHistoryResponse, error)

	// ScansHistoryDetails request
	ScansHistoryDetailsWithResponse(ctx context.Context, scanId string, historyUuid string, reqEditors ...RequestEditorFn) (*ScansHistoryDetailsResponse, error)

	// ScansGetLatestStatus request
	ScansGetLatestStatusWithResponse(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*ScansGetLatestStatusResponse, error)

	// ScansLaunch request with any body
	ScansLaunchWithBodyWithResponse(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansLaunchResponse, error)

	ScansLaunchWithResponse(ctx context.Context, scanId string, body ScansLaunchJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansLaunchResponse, error)

	// ScansPause request
	ScansPauseWithResponse(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*ScansPauseResponse, error)

	// ScansResume request
	ScansResumeWithResponse(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*ScansResumeResponse, error)

	// ScansSchedule request with any body
	ScansScheduleWithBodyWithResponse(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansScheduleResponse, error)

	ScansScheduleWithResponse(ctx context.Context, scanId string, body ScansScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansScheduleResponse, error)

	// ScansReadStatus request with any body
	ScansReadStatusWithBodyWithResponse(ctx context.Context, scanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScansReadStatusResponse, error)

	ScansReadStatusWithResponse(ctx context.Context, scanId string, body ScansReadStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ScansReadStatusResponse, error)

	// ScansStop request
	ScansStopWithResponse(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*ScansStopResponse, error)

	// ScansHostDetails request
	ScansHostDetailsWithResponse(ctx context.Context, scanUuid string, hostId int32, params *ScansHostDetailsParams, reqEditors ...RequestEditorFn) (*ScansHostDetailsResponse, error)

	// ScansPluginOutput request
	ScansPluginOutputWithResponse(ctx context.Context, scanUuid string, hostId int32, pluginId int32, params *ScansPluginOutputParams, reqEditors ...RequestEditorFn) (*ScansPluginOutputResponse, error)

	// ServerProperties request
	ServerPropertiesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ServerPropertiesResponse, error)

	// ServerStatus request
	ServerStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ServerStatusResponse, error)

	// TagsAssignAssetTags request with any body
	TagsAssignAssetTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TagsAssignAssetTagsResponse, error)

	TagsAssignAssetTagsWithResponse(ctx context.Context, body TagsAssignAssetTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*TagsAssignAssetTagsResponse, error)

	// TagsListAssetFilters request
	TagsListAssetFiltersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TagsListAssetFiltersResponse, error)

	// TagsListAssetTags request
	TagsListAssetTagsWithResponse(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*TagsListAssetTagsResponse, error)

	// TagsListTagCategories request
	TagsListTagCategoriesWithResponse(ctx context.Context, params *TagsListTagCategoriesParams, reqEditors ...RequestEditorFn) (*TagsListTagCategoriesResponse, error)

	// TagsCreateTagCategory request with any body
	TagsCreateTagCategoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TagsCreateTagCategoryResponse, error)

	TagsCreateTagCategoryWithResponse(ctx context.Context, body TagsCreateTagCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*TagsCreateTagCategoryResponse, error)

	// TagsDeleteTagCategory request
	TagsDeleteTagCategoryWithResponse(ctx context.Context, categoryUuid string, reqEditors ...RequestEditorFn) (*TagsDeleteTagCategoryResponse, error)

	// TagsTagCategoryDetails request
	TagsTagCategoryDetailsWithResponse(ctx context.Context, categoryUuid string, reqEditors ...RequestEditorFn) (*TagsTagCategoryDetailsResponse, error)

	// TagsEditTagCategory request with any body
	TagsEditTagCategoryWithBodyWithResponse(ctx context.Context, categoryUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TagsEditTagCategoryResponse, error)

	TagsEditTagCategoryWithResponse(ctx context.Context, categoryUuid string, body TagsEditTagCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*TagsEditTagCategoryResponse, error)

	// TagsListTagValues request
	TagsListTagValuesWithResponse(ctx context.Context, params *TagsListTagValuesParams, reqEditors ...RequestEditorFn) (*TagsListTagValuesResponse, error)

	// TagsCreateTagValue request with any body
	TagsCreateTagValueWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TagsCreateTagValueResponse, error)

	TagsCreateTagValueWithResponse(ctx context.Context, body TagsCreateTagValueJSONRequestBody, reqEditors ...RequestEditorFn) (*TagsCreateTagValueResponse, error)

	// TagsDeleteTagValuesBulk request with any body
	TagsDeleteTagValuesBulkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TagsDeleteTagValuesBulkResponse, error)

	TagsDeleteTagValuesBulkWithResponse(ctx context.Context, body TagsDeleteTagValuesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*TagsDeleteTagValuesBulkResponse, error)

	// TagsDeleteTagValue request
	TagsDeleteTagValueWithResponse(ctx context.Context, valueUuid string, reqEditors ...RequestEditorFn) (*TagsDeleteTagValueResponse, error)

	// TagsTagValueDetails request
	TagsTagValueDetailsWithResponse(ctx context.Context, valueUuid string, reqEditors ...RequestEditorFn) (*TagsTagValueDetailsResponse, error)

	// TagsUpdateTagValue request with any body
	TagsUpdateTagValueWithBodyWithResponse(ctx context.Context, valueUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TagsUpdateTagValueResponse, error)

	TagsUpdateTagValueWithResponse(ctx context.Context, valueUuid string, body TagsUpdateTagValueJSONRequestBody, reqEditors ...RequestEditorFn) (*TagsUpdateTagValueResponse, error)

	// TargetGroupsList request
	TargetGroupsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TargetGroupsListResponse, error)

	// TargetGroupsCreate request with any body
	TargetGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TargetGroupsCreateResponse, error)

	TargetGroupsCreateWithResponse(ctx context.Context, body TargetGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TargetGroupsCreateResponse, error)

	// TargetGroupsDelete request
	TargetGroupsDeleteWithResponse(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*TargetGroupsDeleteResponse, error)

	// TargetGroupsDetails request
	TargetGroupsDetailsWithResponse(ctx context.Context, groupId int32, reqEditors ...RequestEditorFn) (*TargetGroupsDetailsResponse, error)

	// TargetGroupsEdit request with any body
	TargetGroupsEditWithBodyWithResponse(ctx context.Context, groupId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TargetGroupsEditResponse, error)

	TargetGroupsEditWithResponse(ctx context.Context, groupId int32, body TargetGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*TargetGroupsEditResponse, error)

	// IoV2AccessGroupsList request
	IoV2AccessGroupsListWithResponse(ctx context.Context, params *IoV2AccessGroupsListParams, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsListResponse, error)

	// IoV2AccessGroupsCreate request with any body
	IoV2AccessGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsCreateResponse, error)

	IoV2AccessGroupsCreateWithResponse(ctx context.Context, body IoV2AccessGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsCreateResponse, error)

	// IoV2AccessGroupsListFilters request
	IoV2AccessGroupsListFiltersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsListFiltersResponse, error)

	// IoV2AccessGroupsListRuleFilters request
	IoV2AccessGroupsListRuleFiltersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsListRuleFiltersResponse, error)

	// IoV2AccessGroupsDelete request
	IoV2AccessGroupsDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsDeleteResponse, error)

	// IoV2AccessGroupsDetails request
	IoV2AccessGroupsDetailsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsDetailsResponse, error)

	// IoV2AccessGroupsEdit request with any body
	IoV2AccessGroupsEditWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsEditResponse, error)

	IoV2AccessGroupsEditWithResponse(ctx context.Context, id string, body IoV2AccessGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsEditResponse, error)

	// ExportsVulnsRequestExport request with any body
	ExportsVulnsRequestExportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportsVulnsRequestExportResponse, error)

	ExportsVulnsRequestExportWithResponse(ctx context.Context, body ExportsVulnsRequestExportJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportsVulnsRequestExportResponse, error)

	// ExportsVulnsExportStatusRecent request
	ExportsVulnsExportStatusRecentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExportsVulnsExportStatusRecentResponse, error)

	// ExportsVulnsExportCancel request
	ExportsVulnsExportCancelWithResponse(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*ExportsVulnsExportCancelResponse, error)

	// ExportsVulnsDownloadChunk request
	ExportsVulnsDownloadChunkWithResponse(ctx context.Context, exportUuid string, chunkId int32, reqEditors ...RequestEditorFn) (*ExportsVulnsDownloadChunkResponse, error)

	// ExportsVulnsExportStatus request
	ExportsVulnsExportStatusWithResponse(ctx context.Context, exportUuid string, reqEditors ...RequestEditorFn) (*ExportsVulnsExportStatusResponse, error)

	// WorkbenchesAssets request
	WorkbenchesAssetsWithResponse(ctx context.Context, params *WorkbenchesAssetsParams, reqEditors ...RequestEditorFn) (*WorkbenchesAssetsResponse, error)

	// WorkbenchesAssetsVulnerabilities request
	WorkbenchesAssetsVulnerabilitiesWithResponse(ctx context.Context, params *WorkbenchesAssetsVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*WorkbenchesAssetsVulnerabilitiesResponse, error)

	// WorkbenchesAssetInfo request
	WorkbenchesAssetInfoWithResponse(ctx context.Context, assetId string, params *WorkbenchesAssetInfoParams, reqEditors ...RequestEditorFn) (*WorkbenchesAssetInfoResponse, error)

	// WorkbenchesAssetVulnerabilities request
	WorkbenchesAssetVulnerabilitiesWithResponse(ctx context.Context, assetId string, params *WorkbenchesAssetVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*WorkbenchesAssetVulnerabilitiesResponse, error)

	// WorkbenchesAssetVulnerabilityInfo request
	WorkbenchesAssetVulnerabilityInfoWithResponse(ctx context.Context, assetId string, pluginId int32, params *WorkbenchesAssetVulnerabilityInfoParams, reqEditors ...RequestEditorFn) (*WorkbenchesAssetVulnerabilityInfoResponse, error)

	// WorkbenchesAssetVulnerabilityOutput request
	WorkbenchesAssetVulnerabilityOutputWithResponse(ctx context.Context, assetId string, pluginId int32, params *WorkbenchesAssetVulnerabilityOutputParams, reqEditors ...RequestEditorFn) (*WorkbenchesAssetVulnerabilityOutputResponse, error)

	// WorkbenchesAssetsDelete request
	WorkbenchesAssetsDeleteWithResponse(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*WorkbenchesAssetsDeleteResponse, error)

	// WorkbenchesAssetsActivity request
	WorkbenchesAssetsActivityWithResponse(ctx context.Context, assetUuid string, reqEditors ...RequestEditorFn) (*WorkbenchesAssetsActivityResponse, error)

	// WorkbenchesExportRequest request
	WorkbenchesExportRequestWithResponse(ctx context.Context, params *WorkbenchesExportRequestParams, reqEditors ...RequestEditorFn) (*WorkbenchesExportRequestResponse, error)

	// WorkbenchesExportDownload request
	WorkbenchesExportDownloadWithResponse(ctx context.Context, fileId int32, reqEditors ...RequestEditorFn) (*WorkbenchesExportDownloadResponse, error)

	// WorkbenchesExportStatus request
	WorkbenchesExportStatusWithResponse(ctx context.Context, fileId int32, reqEditors ...RequestEditorFn) (*WorkbenchesExportStatusResponse, error)

	// WorkbenchesVulnerabilities request
	WorkbenchesVulnerabilitiesWithResponse(ctx context.Context, params *WorkbenchesVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*WorkbenchesVulnerabilitiesResponse, error)

	// WorkbenchesVulnerabilityInfo request
	WorkbenchesVulnerabilityInfoWithResponse(ctx context.Context, pluginId int32, params *WorkbenchesVulnerabilityInfoParams, reqEditors ...RequestEditorFn) (*WorkbenchesVulnerabilityInfoResponse, error)

	// WorkbenchesVulnerabilityOutput request
	WorkbenchesVulnerabilityOutputWithResponse(ctx context.Context, pluginId int32, params *WorkbenchesVulnerabilityOutputParams, reqEditors ...RequestEditorFn) (*WorkbenchesVulnerabilityOutputResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type Credentials

type Credentials struct {
	*ClientWithResponses
}

Credentials implementation of the Credentials interface

func (*Credentials) Create

func (c *Credentials) Create(arg1 CredentialsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	Uuid *string "json:\"uuid,omitempty\""
}, error)

Create calls the Credentials ´s function

func (*Credentials) CreateWithBody

func (c *Credentials) CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	Uuid *string "json:\"uuid,omitempty\""
}, error)

CreateWithBody calls the Credentials ´s function

func (*Credentials) Delete

func (c *Credentials) Delete(contentType string, reqEditors ...RequestEditorFn) (*struct {
	Deleted *bool "json:\"deleted,omitempty\""
}, error)

Delete calls the Credentials ´s function

func (*Credentials) Details

func (c *Credentials) Details(contentType string, reqEditors ...RequestEditorFn) (*struct {
	AdHoc    *bool "json:\"ad_hoc,omitempty\""
	Category *struct {
		Id   *string "json:\"id,omitempty\""
		Name *string "json:\"name,omitempty\""
	} "json:\"category,omitempty\""
	Description *string "json:\"description,omitempty\""
	Name        *string "json:\"name,omitempty\""
	Permissions *[]struct {
		GranteeUuid *string              "json:\"grantee_uuid,omitempty\""
		Name        *string              "json:\"name,omitempty\""
		Permissions *int                 "json:\"permissions,omitempty\""
		Type        *N200PermissionsType "json:\"type,omitempty\""
	} "json:\"permissions,omitempty\""
	Settings *map[string]interface{} "json:\"settings,omitempty\""
	Type     *struct {
		Id   *string "json:\"id,omitempty\""
		Name *string "json:\"name,omitempty\""
	} "json:\"type,omitempty\""
	UserPermissions *int "json:\"user_permissions,omitempty\""
}, error)

Details calls the Credentials ´s function

func (*Credentials) FileUploadWithBody

func (c *Credentials) FileUploadWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	Fileuploaded *string "json:\"fileuploaded,omitempty\""
}, error)

FileUploadWithBody calls the Credentials ´s function

func (*Credentials) List

func (c *Credentials) List(params *CredentialsListParams, reqEditors ...RequestEditorFn) (*struct {
	Credentials *[]struct {
		Category *struct {
			Id   *string "json:\"id,omitempty\""
			Name *string "json:\"name,omitempty\""
		} "json:\"category,omitempty\""
		CreatedBy *struct {
			DisplayName *string "json:\"display_name,omitempty\""
			Id          *int    "json:\"id,omitempty\""
		} "json:\"created_by,omitempty\""
		CreatedDate *string "json:\"created_date,omitempty\""
		Description *string "json:\"description,omitempty\""
		LastUsedBy  *struct {
			DisplayName *string "json:\"display_name,omitempty\""
			Id          *int    "json:\"id,omitempty\""
		} "json:\"last_used_by,omitempty\""
		Name        *string "json:\"name,omitempty\""
		Permissions *int    "json:\"permissions,omitempty\""
		Type        *struct {
			Id   *string "json:\"id,omitempty\""
			Name *string "json:\"name,omitempty\""
		} "json:\"type,omitempty\""
		UserPermissions *int    "json:\"user_permissions,omitempty\""
		Uuid            *string "json:\"uuid,omitempty\""
	} "json:\"credentials,omitempty\""
	Pagination *struct {
		Limit  *int32 "json:\"limit,omitempty\""
		Offset *int32 "json:\"offset,omitempty\""
		Sort   *[]struct {
			Name  *string "json:\"name,omitempty\""
			Order *string "json:\"order,omitempty\""
		} "json:\"sort,omitempty\""
		Total *int32 "json:\"total,omitempty\""
	} "json:\"pagination,omitempty\""
}, error)

List calls the Credentials ´s function

func (*Credentials) ListCredentialTypes

func (c *Credentials) ListCredentialTypes(reqEditors ...RequestEditorFn) (*struct {
	Credentials *[]struct {
		Category      *string "json:\"category,omitempty\""
		DefaultExpand *bool   "json:\"default_expand,omitempty\""
		Id            *string "json:\"id,omitempty\""
		Types         *[]struct {
			Configuration *[]struct {
				AltIds  *string "json:\"alt_ids,omitempty\""
				Default *string "json:\"default,omitempty\""
				Id      *string "json:\"id,omitempty\""
				Name    *string "json:\"name,omitempty\""
				Options *[]struct {
					Id     *string "json:\"id,omitempty\""
					Inputs *[]struct {
						Callback        *string "json:\"callback,omitempty\""
						DefaultRowCount *int    "json:\"default-row-count,omitempty\""
						HideValues      *bool   "json:\"hide-values,omitempty\""
						Hint            *string "json:\"hint,omitempty\""
						Id              *string "json:\"id,omitempty\""
						Name            *string "json:\"name,omitempty\""
						Placeholder     *string "json:\"placeholder,omitempty\""
						Regex           *string "json:\"regex,omitempty\""
						Required        *bool   "json:\"required,omitempty\""
						Type            *string "json:\"type,omitempty\""
					} "json:\"inputs,omitempty\""
					Name *string "json:\"name,omitempty\""
				} "json:\"options,omitempty\""
				Placeholder *string   "json:\"placeholder,omitempty\""
				Preferences *[]string "json:\"preferences,omitempty\""
				Required    *bool     "json:\"required,omitempty\""
				Type        *string   "json:\"type,omitempty\""
			} "json:\"configuration,omitempty\""
			ExpandSettings *bool   "json:\"expand_settings,omitempty\""
			Id             *string "json:\"id,omitempty\""
			Max            *int    "json:\"max,omitempty\""
			Name           *string "json:\"name,omitempty\""
		} "json:\"types,omitempty\""
	} "json:\"credentials,omitempty\""
}, error)

ListCredentialTypes calls the Credentials ´s function

func (*Credentials) Update

func (c *Credentials) Update(arg1 string, arg2 CredentialsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	Updated *bool "json:\"updated,omitempty\""
}, error)

Update calls the Credentials ´s function

func (*Credentials) UpdateWithBody

func (c *Credentials) UpdateWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	Updated *bool "json:\"updated,omitempty\""
}, error)

UpdateWithBody calls the Credentials ´s function

type CredentialsCreateJSONBody

type CredentialsCreateJSONBody struct {
	// The description of the managed credential object.
	Description *string `json:"description,omitempty"`

	// The name of the managed credential. This name must be unique within your Tenable.io instance.
	Name string `json:"name"`

	// A list of user permissions for the managed credential. If a request message omits this parameter, Tenable.io automatically creates a `permissions` object for the user account that submits the request.
	Permissions *[]struct {
		// The UUID of the user or user group granted permissions for the managed credential.
		//
		// This parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential.
		GranteeUuid *string `json:"grantee_uuid,omitempty"`

		// The name of the user or user group that you want to grant permissions for the managed credential.
		//
		// This parameter is optional when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential.
		Name *string `json:"name,omitempty"`

		// A value specifying the permissions granted to the user or user group for the credential. Possible values are:
		//  - 32—The user can view credential information and use the credential in scans. Corresponds to the **Can Use** permission in the user interface.
		//  - 64—The user can view and edit credential settings, delete the credential, and use the credential in scans. Corresponds to the **Can Edit** permission in the user interface.
		//
		// This parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential.
		Permissions *int `json:"permissions,omitempty"`

		// A value specifying whether the grantee is a user (`user`) or a user group (`group`).
		//
		// This parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential.
		Type *CredentialsCreateJSONBodyPermissionsType `json:"type,omitempty"`
	} `json:"permissions,omitempty"`

	// The configuration settings for the credential. The parameters of this object vary depending on the credential type. For more information, see [Determine Settings for a Credential Type](doc:determine-settings-for-credential-type).
	//
	// **Note:** This form displays limited parameters that support a Windows type of credential that uses password authentication.
	Settings struct {
		// The name for the authentication method. This value corresponds to the credentials[].types[].configuration[].options[].id attribute in the response message for the [GET /credentials/types](ref:credentials-list-credential-types) endpoint.
		AuthMethod *CredentialsCreateJSONBodySettingsAuthMethod `json:"auth_method,omitempty"`

		// The Windows domain to which the username belongs.
		Domain *string `json:"domain,omitempty"`

		// The user password on the target system.
		Password *string `json:"password,omitempty"`

		// The username on the target system.
		Username *string `json:"username,omitempty"`
	} `json:"settings"`

	// The type of credential object. For a list of supported credential types, use the GET /credentials/types endpoint.
	Type string `json:"type"`
}

CredentialsCreateJSONBody defines parameters for CredentialsCreate.

type CredentialsCreateJSONBodyPermissionsType

type CredentialsCreateJSONBodyPermissionsType string

CredentialsCreateJSONBodyPermissionsType defines parameters for CredentialsCreate.

type CredentialsCreateJSONBodySettingsAuthMethod

type CredentialsCreateJSONBodySettingsAuthMethod string

CredentialsCreateJSONBodySettingsAuthMethod defines parameters for CredentialsCreate.

type CredentialsCreateJSONRequestBody

type CredentialsCreateJSONRequestBody CredentialsCreateJSONBody

CredentialsCreateJSONRequestBody defines body for CredentialsCreate for application/json ContentType.

type CredentialsCreateResponse

type CredentialsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The UUID of the new managed credential object.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseCredentialsCreateResponse

func ParseCredentialsCreateResponse(rsp *http.Response) (*CredentialsCreateResponse, error)

ParseCredentialsCreateResponse parses an HTTP response from a CredentialsCreateWithResponse call

func (CredentialsCreateResponse) Status

func (r CredentialsCreateResponse) Status() string

Status returns HTTPResponse.Status

func (CredentialsCreateResponse) StatusCode

func (r CredentialsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CredentialsDeleteResponse

type CredentialsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Deleted *bool `json:"deleted,omitempty"`
	}
}

func ParseCredentialsDeleteResponse

func ParseCredentialsDeleteResponse(rsp *http.Response) (*CredentialsDeleteResponse, error)

ParseCredentialsDeleteResponse parses an HTTP response from a CredentialsDeleteWithResponse call

func (CredentialsDeleteResponse) Status

func (r CredentialsDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (CredentialsDeleteResponse) StatusCode

func (r CredentialsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CredentialsDetailsResponse

type CredentialsDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A value specifying how a user creates a managed credential in the user interface. If `true`, the user created the credential during the scan configuration. If `false`, the user created the credential independently from scan configuration.
		AdHoc    *bool `json:"ad_hoc,omitempty"`
		Category *struct {
			// The system name that uniquely identifies the credential category.
			Id *string `json:"id,omitempty"`

			// The display name for the credential category in the user interface.
			Name *string `json:"name,omitempty"`
		} `json:"category,omitempty"`

		// The definition of the managed credential object. You specify the description when you create or update the managed credential.
		Description *string `json:"description,omitempty"`

		// The name of the managed credential object. You specify the name when you create or update the managed credential.
		Name        *string `json:"name,omitempty"`
		Permissions *[]struct {
			// The UUID of the user or user group granted permissions for the managed credential.
			//
			// This parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential.
			GranteeUuid *string `json:"grantee_uuid,omitempty"`

			// The name of the user or user group that you want to grant permissions for the managed credential.
			//
			// This parameter is optional when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential.
			Name *string `json:"name,omitempty"`

			// A value specifying the permissions granted to the user or user group for the credential. Possible values are:
			//  - 32—The user can view credential information and use the credential in scans. Corresponds to the **Can Use** permission in the user interface.
			//  - 64—The user can view and edit credential settings, delete the credential, and use the credential in scans. Corresponds to the **Can Edit** permission in the user interface.
			//
			// This parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential.
			Permissions *int `json:"permissions,omitempty"`

			// A value specifying whether the grantee is a user (`user`) or a user group (`group`).
			//
			// This parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential.
			Type *N200PermissionsType `json:"type,omitempty"`
		} `json:"permissions,omitempty"`

		// The configuration settings for the credential. The parameters of this object vary depending on the credential type. For more information, see [Determine Settings for a Credential Type](doc:determine-settings-for-credential-type).
		Settings *map[string]interface{} `json:"settings,omitempty"`
		Type     *struct {
			// The system name that uniquely identifies the credential type.
			Id *string `json:"id,omitempty"`

			// The display name for the credential type in the user interface.
			Name *string `json:"name,omitempty"`
		} `json:"type,omitempty"`

		// The permissions for the managed credential that are assigned to the user account submitting the API request. For possible values, see "Credential Roles" in [Permissions](doc:permissions).
		UserPermissions *int `json:"user_permissions,omitempty"`
	}
}

func ParseCredentialsDetailsResponse

func ParseCredentialsDetailsResponse(rsp *http.Response) (*CredentialsDetailsResponse, error)

ParseCredentialsDetailsResponse parses an HTTP response from a CredentialsDetailsWithResponse call

func (CredentialsDetailsResponse) Status

Status returns HTTPResponse.Status

func (CredentialsDetailsResponse) StatusCode

func (r CredentialsDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CredentialsFileUploadResponse

type CredentialsFileUploadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The name of the uploaded file. If the file with the same name already exists, Tenable.io appends an underscore with a number, for example ssh_private_key_1.txt. Use this attribute value when referencing the file for subsequent requests.
		Fileuploaded *string `json:"fileuploaded,omitempty"`
	}
}

func ParseCredentialsFileUploadResponse

func ParseCredentialsFileUploadResponse(rsp *http.Response) (*CredentialsFileUploadResponse, error)

ParseCredentialsFileUploadResponse parses an HTTP response from a CredentialsFileUploadWithResponse call

func (CredentialsFileUploadResponse) Status

Status returns HTTPResponse.Status

func (CredentialsFileUploadResponse) StatusCode

func (r CredentialsFileUploadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CredentialsInterface

type CredentialsInterface interface {
	CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		Uuid *string "json:\"uuid,omitempty\""
	}, error)
	Create(arg1 CredentialsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		Uuid *string "json:\"uuid,omitempty\""
	}, error)
	Delete(contentType string, reqEditors ...RequestEditorFn) (*struct {
		Deleted *bool "json:\"deleted,omitempty\""
	}, error)
	Details(contentType string, reqEditors ...RequestEditorFn) (*struct {
		AdHoc    *bool "json:\"ad_hoc,omitempty\""
		Category *struct {
			Id   *string "json:\"id,omitempty\""
			Name *string "json:\"name,omitempty\""
		} "json:\"category,omitempty\""
		Description *string "json:\"description,omitempty\""
		Name        *string "json:\"name,omitempty\""
		Permissions *[]struct {
			GranteeUuid *string              "json:\"grantee_uuid,omitempty\""
			Name        *string              "json:\"name,omitempty\""
			Permissions *int                 "json:\"permissions,omitempty\""
			Type        *N200PermissionsType "json:\"type,omitempty\""
		} "json:\"permissions,omitempty\""
		Settings *map[string]interface{} "json:\"settings,omitempty\""
		Type     *struct {
			Id   *string "json:\"id,omitempty\""
			Name *string "json:\"name,omitempty\""
		} "json:\"type,omitempty\""
		UserPermissions *int "json:\"user_permissions,omitempty\""
	}, error)
	FileUploadWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		Fileuploaded *string "json:\"fileuploaded,omitempty\""
	}, error)
	ListCredentialTypes(reqEditors ...RequestEditorFn) (*struct {
		Credentials *[]struct {
			Category      *string "json:\"category,omitempty\""
			DefaultExpand *bool   "json:\"default_expand,omitempty\""
			Id            *string "json:\"id,omitempty\""
			Types         *[]struct {
				Configuration *[]struct {
					AltIds  *string "json:\"alt_ids,omitempty\""
					Default *string "json:\"default,omitempty\""
					Id      *string "json:\"id,omitempty\""
					Name    *string "json:\"name,omitempty\""
					Options *[]struct {
						Id     *string "json:\"id,omitempty\""
						Inputs *[]struct {
							Callback        *string "json:\"callback,omitempty\""
							DefaultRowCount *int    "json:\"default-row-count,omitempty\""
							HideValues      *bool   "json:\"hide-values,omitempty\""
							Hint            *string "json:\"hint,omitempty\""
							Id              *string "json:\"id,omitempty\""
							Name            *string "json:\"name,omitempty\""
							Placeholder     *string "json:\"placeholder,omitempty\""
							Regex           *string "json:\"regex,omitempty\""
							Required        *bool   "json:\"required,omitempty\""
							Type            *string "json:\"type,omitempty\""
						} "json:\"inputs,omitempty\""
						Name *string "json:\"name,omitempty\""
					} "json:\"options,omitempty\""
					Placeholder *string   "json:\"placeholder,omitempty\""
					Preferences *[]string "json:\"preferences,omitempty\""
					Required    *bool     "json:\"required,omitempty\""
					Type        *string   "json:\"type,omitempty\""
				} "json:\"configuration,omitempty\""
				ExpandSettings *bool   "json:\"expand_settings,omitempty\""
				Id             *string "json:\"id,omitempty\""
				Max            *int    "json:\"max,omitempty\""
				Name           *string "json:\"name,omitempty\""
			} "json:\"types,omitempty\""
		} "json:\"credentials,omitempty\""
	}, error)
	List(params *CredentialsListParams, reqEditors ...RequestEditorFn) (*struct {
		Credentials *[]struct {
			Category *struct {
				Id   *string "json:\"id,omitempty\""
				Name *string "json:\"name,omitempty\""
			} "json:\"category,omitempty\""
			CreatedBy *struct {
				DisplayName *string "json:\"display_name,omitempty\""
				Id          *int    "json:\"id,omitempty\""
			} "json:\"created_by,omitempty\""
			CreatedDate *string "json:\"created_date,omitempty\""
			Description *string "json:\"description,omitempty\""
			LastUsedBy  *struct {
				DisplayName *string "json:\"display_name,omitempty\""
				Id          *int    "json:\"id,omitempty\""
			} "json:\"last_used_by,omitempty\""
			Name        *string "json:\"name,omitempty\""
			Permissions *int    "json:\"permissions,omitempty\""
			Type        *struct {
				Id   *string "json:\"id,omitempty\""
				Name *string "json:\"name,omitempty\""
			} "json:\"type,omitempty\""
			UserPermissions *int    "json:\"user_permissions,omitempty\""
			Uuid            *string "json:\"uuid,omitempty\""
		} "json:\"credentials,omitempty\""
		Pagination *struct {
			Limit  *int32 "json:\"limit,omitempty\""
			Offset *int32 "json:\"offset,omitempty\""
			Sort   *[]struct {
				Name  *string "json:\"name,omitempty\""
				Order *string "json:\"order,omitempty\""
			} "json:\"sort,omitempty\""
			Total *int32 "json:\"total,omitempty\""
		} "json:\"pagination,omitempty\""
	}, error)
	UpdateWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		Updated *bool "json:\"updated,omitempty\""
	}, error)
	Update(arg1 string, arg2 CredentialsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		Updated *bool "json:\"updated,omitempty\""
	}, error)
}

CredentialsInterface contains all methods for the nessus api

type CredentialsListCredentialTypesResponse

type CredentialsListCredentialTypesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Credentials *[]struct {
			// The display name for the category in the user interface.
			Category *string `json:"category,omitempty"`

			// A value specifying whether the list of credential types in the category appears as expanded by default in the user interface.
			DefaultExpand *bool `json:"default_expand,omitempty"`

			// The system name that uniquely identifies the category in Tenable.io.
			Id *string `json:"id,omitempty"`

			// Supported configuration settings for an individual credential type.
			Types *[]struct {
				// The configuration settings for a credential type. For a definition of object attributes, see [Determine Settings for a Credential Type](docs/determine-settings-for-credential-type).
				Configuration *[]struct {
					// Not supported as a parameter in managed credentials.
					AltIds *string `json:"alt_ids,omitempty"`

					// The option that appears as selected by default in the user interface.
					Default *string `json:"default,omitempty"`

					// The system name for the credential parameter. Use this value as the parameter name in request messages configuring credentials.
					Id *string `json:"id,omitempty"`

					// The display name for the credential configuration in the user interface.
					Name *string `json:"name,omitempty"`

					// The supported options for the credential parameter.
					Options *[]struct {
						// The system name for the option.
						Id *string `json:"id,omitempty"`

						// The additional inputs that are required if the user selects this option in the user interface. If the inputs parameter is empty (`\[\]`), selecting the option does not require additional user input.
						Inputs *[]struct {
							// Not supported as a parameter in managed credentials.
							Callback *string `json:"callback,omitempty"`

							// The number of text box rows that appear by default when the input type is `key-value`.
							DefaultRowCount *int `json:"default-row-count,omitempty"`

							// A value specifying whether the user interface hides the value by default when the input type is `key-value`. If `true`, dots appear instead of characters as you type the value in the user interface.
							HideValues *bool `json:"hide-values,omitempty"`

							// Helpful information about the input required, for example, "PEM formatted certificate". Hints appear in the user interface, but can contain information that is relevant to API requests.
							Hint *string `json:"hint,omitempty"`

							// The system name for the input. Use this value as the input name in request messages when configuring credentials.
							Id *string `json:"id,omitempty"`

							// The display name of the option in the user interface.
							Name *string `json:"name,omitempty"`

							// An example of the input value. This value appears as example text in the user interface.
							//
							// This attribute is only present for credential parameters that require text input in the interface.
							//
							// In cases where the input type is `key-value`, this attribute can be an array of strings.
							Placeholder *string `json:"placeholder,omitempty"`

							// A regular expression defining the valid input for the parameter in the user interface.
							Regex *string `json:"regex,omitempty"`

							// A value specifying whether the input is required (`true`) or optional (`false`).
							Required *bool `json:"required,omitempty"`

							// The type of input prompt in the user interface. Possible values include:
							//  - password—Prompts for input via text box.
							//  - text—Prompts for input via text box.
							//  - select—Prompts for input via selectable options.
							//  - file—Prompts user to upload file of input data.
							//  - toggle—Prompts user to select one of two mutually-exclusive options in toggle format.
							//  - checkbox—Prompts user to select options via checkboxes. Checkboxes can represent enabling a single option or can allow users to select from multiple, mutually-exclusive options.
							//  - key-value— Prompts for text entry of a key-value pair via two text boxes.
							Type *string `json:"type,omitempty"`
						} `json:"inputs,omitempty"`

						// The display name of the option in the user interface.
						Name *string `json:"name,omitempty"`
					} `json:"options,omitempty"`

					// An example of the parameter value. This value appears as example text in the user interface.
					//
					// This attribute is only present for credential parameters that require text input in the user interface.
					Placeholder *string `json:"placeholder,omitempty"`

					// Not supported as a parameter in managed credentials.
					Preferences *[]string `json:"preferences,omitempty"`

					// A value specifying whether the configuration parameter is required (`true`) or optional (`false`). If this attribute is absent, the parameter is optional.
					Required *bool `json:"required,omitempty"`

					// The parameter input type. This attribute reflects how the user interface prompts for parameter input. Possible values include:
					//  - password—Prompts for input via text box.
					//  - text—Prompts for input via text box.
					//  - select—Prompts for input via selectable options.
					//  - file—Prompts user to upload file of input data.
					//  - toggle—Prompts user to toggle an option on or off.
					//  - checkbox—Prompts user to select options via checkboxes. Checkboxes can represent enabling a single option or can allow users to select from multiple, mutually-exclusive options.
					Type *string `json:"type,omitempty"`
				} `json:"configuration,omitempty"`

				// A value specifying whether the configuration settings appear expanded by default in the user interface.
				ExpandSettings *bool `json:"expand_settings,omitempty"`

				// The system name that uniquely identifies the credential type.
				Id *string `json:"id,omitempty"`

				// The maximum number of instances of this credential type that Tenable.io supports for an individual scan or policy.
				Max *int `json:"max,omitempty"`

				// The display name for the credential type in the user interface.
				Name *string `json:"name,omitempty"`
			} `json:"types,omitempty"`
		} `json:"credentials,omitempty"`
	}
}

func ParseCredentialsListCredentialTypesResponse

func ParseCredentialsListCredentialTypesResponse(rsp *http.Response) (*CredentialsListCredentialTypesResponse, error)

ParseCredentialsListCredentialTypesResponse parses an HTTP response from a CredentialsListCredentialTypesWithResponse call

func (CredentialsListCredentialTypesResponse) Status

Status returns HTTPResponse.Status

func (CredentialsListCredentialTypesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CredentialsListParams

type CredentialsListParams struct {
	// A filter condition in the following format: `field:operator:value`. For managed credentials, you can only filter on the `name` field, using the following operators:
	// * eq—The name of the returned credential is equal to the text you specify.
	// * neq—The returned list of managed credentials excludes the credential object where the name is equal to the text you specify.
	// * match—The returned list includes managed credentials where the name contains the text you specify at least partially.
	//
	// You can specify multiple `f` parameters, separated by ampersand (&) characters. If you specify multiple `f` parameters, use the `ft` parameter to specify how Tenable.io applies the multiple filter conditions.
	F *string `json:"f,omitempty"`

	// The operator that Tenable.io applies if multiple \`f\` parameters are present. The `OR` operator is the only supported value. If you omit this parameter and multiple `f` parameters are present, Tenable.io applies the `OR` operator by default.
	Ft *string `json:"ft,omitempty"`

	// The UUID of a scan owner. This parameter limits the returned data to managed credentials assigned to scans owned by the specified user.
	ReferrerOwnerUuid *string `json:"referrer_owner_uuid,omitempty"`

	// The number of records to retrieve. If this parameter is omitted, Tenable.io uses the default value of `50`.
	Limit *int32 `json:"limit,omitempty"`

	// The starting record to retrieve. If this parameter is omitted, Tenable.io uses the default value of `0`.
	Offset *int32 `json:"offset,omitempty"`

	// The field you want to use to sort the results by along with the sort order. The field is specified first, followed by a colon, and the order is specified second (`asc` or `desc`). For example, `name:asc` would sort results by the `name` field in ascending order.
	Sort *string `json:"sort,omitempty"`
}

CredentialsListParams defines parameters for CredentialsList.

type CredentialsListResponse

type CredentialsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Credentials *[]struct {
			Category *struct {
				// The system name that uniquely identifies the credential category.
				Id *string `json:"id,omitempty"`

				// The display name for the credential category in the user interface.
				Name *string `json:"name,omitempty"`
			} `json:"category,omitempty"`
			CreatedBy *struct {
				// The name of the user who created the credential.
				DisplayName *string `json:"display_name,omitempty"`

				// The ID of the user who created the credential.
				Id *int `json:"id,omitempty"`
			} `json:"created_by,omitempty"`

			// The date (in Unix time) when the managed credential object was created.
			CreatedDate *string `json:"created_date,omitempty"`

			// The definition of the managed credential object. You can specify the description when you create or update the managed credential.
			Description *string `json:"description,omitempty"`
			LastUsedBy  *struct {
				// The name of the user who last used the credential in a scan.
				DisplayName *string `json:"display_name,omitempty"`

				// The ID of the user who last used the credential in a scan.
				Id *int `json:"id,omitempty"`
			} `json:"last_used_by,omitempty"`

			// The name of the managed credential object. You specify the name when you create or update the managed credential.
			Name *string `json:"name,omitempty"`

			// A value specifying the permissions granted to the user or user group for the credential. For possible values, see "Credential Roles" in [Permissions](doc:permissions).
			Permissions *int `json:"permissions,omitempty"`
			Type        *struct {
				// The system name that uniquely identifies the credential type.
				Id *string `json:"id,omitempty"`

				// The display name for the credential type in the user interface.
				Name *string `json:"name,omitempty"`
			} `json:"type,omitempty"`

			// The permissions for the managed credential that are assigned to the user account submitting the API request. For possible values, see "Credential Roles" in [Permissions](doc:permissions).
			UserPermissions *int `json:"user_permissions,omitempty"`

			// The UUID of the managed credential object.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"credentials,omitempty"`
		Pagination *struct {
			// The number of records requested (or the default value if omitted from the request).
			Limit *int32 `json:"limit,omitempty"`

			// The starting record you requested (or zero if omitted).
			Offset *int32 `json:"offset,omitempty"`

			// An array of objects representing the fields and sort order you specified in the request, which Tenable.io used to sort the returned data.
			Sort *[]struct {
				// The field on which Tenable.io sorted the results.
				Name *string `json:"name,omitempty"`

				// The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending).
				Order *string `json:"order,omitempty"`
			} `json:"sort,omitempty"`

			// The total number of records matching your search criteria.
			Total *int32 `json:"total,omitempty"`
		} `json:"pagination,omitempty"`
	}
}

func ParseCredentialsListResponse

func ParseCredentialsListResponse(rsp *http.Response) (*CredentialsListResponse, error)

ParseCredentialsListResponse parses an HTTP response from a CredentialsListWithResponse call

func (CredentialsListResponse) Status

func (r CredentialsListResponse) Status() string

Status returns HTTPResponse.Status

func (CredentialsListResponse) StatusCode

func (r CredentialsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CredentialsUpdateJSONBody

type CredentialsUpdateJSONBody struct {
	// A value specifying if the credential is managed (`false`) versus stored in a scan or policy configuration (`true`). You can only set this parameter from `true` to `false`. You cannot set this parameter to `true`. If you omit this parameter, the value defaults to `false`.
	AdHoc *bool `json:"ad_hoc,omitempty"`

	// The new description of the managed credential object.
	Description *string `json:"description,omitempty"`

	// The new name of the managed credential object. This name must be unique within your Tenable.io instance.
	Name *string `json:"name,omitempty"`

	// User permissions for the managed credential.
	Permissions *[]struct {
		// The UUID of the user or user group granted permissions for the managed credential.
		//
		// This parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential.
		GranteeUuid *string `json:"grantee_uuid,omitempty"`

		// The name of the user or user group that you want to grant permissions for the managed credential.
		//
		// This parameter is optional when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential.
		Name *string `json:"name,omitempty"`

		// A value specifying the permissions granted to the user or user group for the credential. Possible values are:
		//  - 32—The user can view credential information and use the credential in scans. Corresponds to the **Can Use** permission in the user interface.
		//  - 64—The user can view and edit credential settings, delete the credential, and use the credential in scans. Corresponds to the **Can Edit** permission in the user interface.
		//
		// This parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential.
		Permissions *int `json:"permissions,omitempty"`

		// A value specifying whether the grantee is a user (`user`) or a user group (`group`).
		//
		// This parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential.
		Type *CredentialsUpdateJSONBodyPermissionsType `json:"type,omitempty"`
	} `json:"permissions,omitempty"`

	// The configuration settings for the credential. The parameters of this object vary depending on the credential type. For more information, see [Determine Settings for a Credential Type](doc:determine-settings-for-credential-type).
	//
	// **Note:** This form displays limited parameters that support a Windows type of credential that uses password authentication.
	Settings *struct {
		// The name for the authentication method. This value corresponds to the credentials[].types[].configuration[].options[].id attribute in the response message for the [GET /credentials/types](ref:credentials-list-credential-types) endpoint.
		AuthMethod *CredentialsUpdateJSONBodySettingsAuthMethod `json:"auth_method,omitempty"`

		// The Windows domain to which the username belongs.
		Domain *string `json:"domain,omitempty"`

		// The user password on the target system.
		Password *string `json:"password,omitempty"`

		// The username on the target system.
		Username *string `json:"username,omitempty"`
	} `json:"settings,omitempty"`
}

CredentialsUpdateJSONBody defines parameters for CredentialsUpdate.

type CredentialsUpdateJSONBodyPermissionsType

type CredentialsUpdateJSONBodyPermissionsType string

CredentialsUpdateJSONBodyPermissionsType defines parameters for CredentialsUpdate.

type CredentialsUpdateJSONBodySettingsAuthMethod

type CredentialsUpdateJSONBodySettingsAuthMethod string

CredentialsUpdateJSONBodySettingsAuthMethod defines parameters for CredentialsUpdate.

type CredentialsUpdateJSONRequestBody

type CredentialsUpdateJSONRequestBody CredentialsUpdateJSONBody

CredentialsUpdateJSONRequestBody defines body for CredentialsUpdate for application/json ContentType.

type CredentialsUpdateResponse

type CredentialsUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Updated *bool `json:"updated,omitempty"`
	}
}

func ParseCredentialsUpdateResponse

func ParseCredentialsUpdateResponse(rsp *http.Response) (*CredentialsUpdateResponse, error)

ParseCredentialsUpdateResponse parses an HTTP response from a CredentialsUpdateWithResponse call

func (CredentialsUpdateResponse) Status

func (r CredentialsUpdateResponse) Status() string

Status returns HTTPResponse.Status

func (CredentialsUpdateResponse) StatusCode

func (r CredentialsUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Editor

type Editor struct {
	*ClientWithResponses
}

Editor implementation of the Editor interface

func (*Editor) Audits

func (c *Editor) Audits(arg1 EditorAuditsParamsType, arg2 int32, arg3 int32, reqEditors ...RequestEditorFn) (*EditorAuditsResponse, error)

Audits calls the Editor ´s function

func (*Editor) Details

func (c *Editor) Details(arg1 EditorDetailsParamsType, arg2 int32, reqEditors ...RequestEditorFn) (*struct {
	Compliance       *map[string]interface{} "json:\"compliance,omitempty\""
	Credentials      *map[string]interface{} "json:\"credentials,omitempty\""
	FilterAttributes *[]struct {
		Control *struct {
			Options        *[]map[string]interface{} "json:\"options,omitempty\""
			ReadableRegest *string                   "json:\"readable_regest,omitempty\""
			Regex          *string                   "json:\"regex,omitempty\""
			Type           *string                   "json:\"type,omitempty\""
		} "json:\"control,omitempty\""
		Name         *string                   "json:\"name,omitempty\""
		Operators    *[]map[string]interface{} "json:\"operators,omitempty\""
		ReadableName *string                   "json:\"readable_name,omitempty\""
	} "json:\"filter_attributes,omitempty\""
	IsAgent  *bool                   "json:\"is_agent,omitempty\""
	IsWas    *bool                   "json:\"is_was,omitempty\""
	Name     *string                 "json:\"name,omitempty\""
	Owner    *string                 "json:\"owner,omitempty\""
	Plugins  *map[string]interface{} "json:\"plugins,omitempty\""
	Settings *struct {
		Advanced   *map[string]interface{} "json:\"advanced,omitempty\""
		Assessment *map[string]interface{} "json:\"assessment,omitempty\""
		Basic      *map[string]interface{} "json:\"basic,omitempty\""
		Discovery  *map[string]interface{} "json:\"discovery,omitempty\""
	} "json:\"settings,omitempty\""
	Title           *string "json:\"title,omitempty\""
	UserPermissions *int    "json:\"user_permissions,omitempty\""
	Uuid            *string "json:\"uuid,omitempty\""
}, error)

Details calls the Editor ´s function

func (*Editor) ListTemplates

func (c *Editor) ListTemplates(arg1 EditorListTemplatesParamsType, reqEditors ...RequestEditorFn) (*struct {
	Templates []struct {
		CloudOnly        *bool   "json:\"cloud_only,omitempty\""
		Desc             *string "json:\"desc,omitempty\""
		IsAgent          *bool   "json:\"is_agent,omitempty\""
		IsWas            *bool   "json:\"is_was,omitempty\""
		ManagerOnly      *bool   "json:\"manager_only,omitempty\""
		Name             *string "json:\"name,omitempty\""
		SubscriptionOnly *bool   "json:\"subscription_only,omitempty\""
		Title            *string "json:\"title,omitempty\""
		Unsupported      *bool   "json:\"unsupported,omitempty\""
		Uuid             *string "json:\"uuid,omitempty\""
	} "json:\"templates,omitempty\""
}, error)

ListTemplates calls the Editor ´s function

func (*Editor) PluginDescription

func (c *Editor) PluginDescription(arg1 int32, arg2 int32, arg3 int32, reqEditors ...RequestEditorFn) (*struct {
	Plugindescription *struct {
		Pluginattributes *map[string]interface{} "json:\"pluginattributes,omitempty\""
		Pluginfamily     *string                 "json:\"pluginfamily,omitempty\""
		Pluginid         *int                    "json:\"pluginid,omitempty\""
		Pluginname       *string                 "json:\"pluginname,omitempty\""
		Severity         *string                 "json:\"severity,omitempty\""
	} "json:\"plugindescription,omitempty\""
}, error)

PluginDescription calls the Editor ´s function

func (*Editor) TemplateDetails

func (c *Editor) TemplateDetails(arg1 EditorTemplateDetailsParamsType, contentType string, reqEditors ...RequestEditorFn) (*struct {
	Compliance       *map[string]interface{} "json:\"compliance,omitempty\""
	Credentials      *map[string]interface{} "json:\"credentials,omitempty\""
	FilterAttributes *[]struct {
		Control *struct {
			Options        *[]map[string]interface{} "json:\"options,omitempty\""
			ReadableRegest *string                   "json:\"readable_regest,omitempty\""
			Regex          *string                   "json:\"regex,omitempty\""
			Type           *string                   "json:\"type,omitempty\""
		} "json:\"control,omitempty\""
		Name         *string                   "json:\"name,omitempty\""
		Operators    *[]map[string]interface{} "json:\"operators,omitempty\""
		ReadableName *string                   "json:\"readable_name,omitempty\""
	} "json:\"filter_attributes,omitempty\""
	IsAgent  *bool                   "json:\"is_agent,omitempty\""
	IsWas    *bool                   "json:\"is_was,omitempty\""
	Name     *string                 "json:\"name,omitempty\""
	Plugins  *map[string]interface{} "json:\"plugins,omitempty\""
	Settings *struct {
		Advanced   *map[string]interface{} "json:\"advanced,omitempty\""
		Assessment *map[string]interface{} "json:\"assessment,omitempty\""
		Basic      *map[string]interface{} "json:\"basic,omitempty\""
		Discovery  *map[string]interface{} "json:\"discovery,omitempty\""
	} "json:\"settings,omitempty\""
	Title *string "json:\"title,omitempty\""
}, error)

TemplateDetails calls the Editor ´s function

type EditorAuditsParamsType

type EditorAuditsParamsType string

EditorAuditsParamsType defines parameters for EditorAudits.

type EditorAuditsResponse

type EditorAuditsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseEditorAuditsResponse

func ParseEditorAuditsResponse(rsp *http.Response) (*EditorAuditsResponse, error)

ParseEditorAuditsResponse parses an HTTP response from a EditorAuditsWithResponse call

func (EditorAuditsResponse) Status

func (r EditorAuditsResponse) Status() string

Status returns HTTPResponse.Status

func (EditorAuditsResponse) StatusCode

func (r EditorAuditsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditorDetailsParamsType

type EditorDetailsParamsType string

EditorDetailsParamsType defines parameters for EditorDetails.

type EditorDetailsResponse

type EditorDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Plugins options enables you to select security checks by Plugin Family or individual plugins checks.
		Compliance *map[string]interface{} `json:"compliance,omitempty"`

		// Credentials that grant the scanner access to the target system without requiring an agent. Credentialed scans can perform a wider variety of checks than non-credentialed scans, which can result in more accurate scan results. This facilitates scanning of a very large network to determine local exposures or compliance violations. You can configure credentials for Cloud Services, Database, Host, Miscellaneous, Mobile Device Management, and Plaintext Authentication.
		Credentials      *map[string]interface{} `json:"credentials,omitempty"`
		FilterAttributes *[]struct {
			Control *struct {
				// A list of options if the input is a dropdown.
				Options *[]map[string]interface{} `json:"options,omitempty"`

				// The placeholder for the input.
				ReadableRegest *string `json:"readable_regest,omitempty"`

				// A regex for checking the value of the input.
				Regex *string `json:"regex,omitempty"`

				// The input type (entry or dropdown).
				Type *string `json:"type,omitempty"`
			} `json:"control,omitempty"`

			// The short name of the filter.
			Name *string `json:"name,omitempty"`

			// The comparison options for the filter.
			Operators *[]map[string]interface{} `json:"operators,omitempty"`

			// The long name of the filter.
			ReadableName *string `json:"readable_name,omitempty"`
		} `json:"filter_attributes,omitempty"`

		// Indicates whether the scan or user-defined template (policy) can be used for agent scans.
		IsAgent *bool `json:"is_agent,omitempty"`

		// Indicates whether the scan or user-defined template (policy) can be used in Tenable.io Web Application Scanning.
		IsWas *bool `json:"is_was,omitempty"`

		// For scans, the standard text, `custom`. For user-defined templates (policies), the system name for the Tenable-provided template used to create the scan or user-defined template.
		Name *string `json:"name,omitempty"`

		// The username of the owner of the scan or user-defined template (policy).
		Owner *string `json:"owner,omitempty"`

		// The settings for compliance audit checks.
		Plugins *map[string]interface{} `json:"plugins,omitempty"`

		// Scan or policy settings organized into the Basic, Discovery, Assessment, Report, and Advanced configuration categories.
		Settings *struct {
			// The Advanced settings provide increased control over scan efficiency and the operations of a scan, as well as the ability to enabled plugin debugging.
			Advanced *map[string]interface{} `json:"advanced,omitempty"`

			// You can use Assessment settings to configure how a scan identifies vulnerabilities, as well as what vulnerabilities are identified. This includes identifying malware, assessing the vulnerability of a system to brute force attacks, and the susceptibility of web applications.
			Assessment *map[string]interface{} `json:"assessment,omitempty"`

			// The Basic scan settings are used to specify certain organizational and security-related aspects of the scan or policy, including the name of the scan, its targets, whether the scan is scheduled, and who has access to the scan, among other settings.
			Basic *map[string]interface{} `json:"basic,omitempty"`

			// The Discovery settings relate to discovery and port scanning, including port ranges and methods.
			Discovery *map[string]interface{} `json:"discovery,omitempty"`
		} `json:"settings,omitempty"`

		// For scans, the standard text, `Custom Scan`. For user-defined templates (policies), the name of the Tenable-provided template used to create the user-defined template.
		Title *string `json:"title,omitempty"`

		// The scan or policy permissions that the requesting user has for the specified scan or user-defined template (policy). For more information, see [Permissions](doc:permissions).
		UserPermissions *int `json:"user_permissions,omitempty"`

		// The UUID of the scan or user-defined template (policy).
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseEditorDetailsResponse

func ParseEditorDetailsResponse(rsp *http.Response) (*EditorDetailsResponse, error)

ParseEditorDetailsResponse parses an HTTP response from a EditorDetailsWithResponse call

func (EditorDetailsResponse) Status

func (r EditorDetailsResponse) Status() string

Status returns HTTPResponse.Status

func (EditorDetailsResponse) StatusCode

func (r EditorDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditorInterface

type EditorInterface interface {
	Audits(arg1 EditorAuditsParamsType, arg2 int32, arg3 int32, reqEditors ...RequestEditorFn) (*EditorAuditsResponse, error)
	Details(arg1 EditorDetailsParamsType, arg2 int32, reqEditors ...RequestEditorFn) (*struct {
		Compliance       *map[string]interface{} "json:\"compliance,omitempty\""
		Credentials      *map[string]interface{} "json:\"credentials,omitempty\""
		FilterAttributes *[]struct {
			Control *struct {
				Options        *[]map[string]interface{} "json:\"options,omitempty\""
				ReadableRegest *string                   "json:\"readable_regest,omitempty\""
				Regex          *string                   "json:\"regex,omitempty\""
				Type           *string                   "json:\"type,omitempty\""
			} "json:\"control,omitempty\""
			Name         *string                   "json:\"name,omitempty\""
			Operators    *[]map[string]interface{} "json:\"operators,omitempty\""
			ReadableName *string                   "json:\"readable_name,omitempty\""
		} "json:\"filter_attributes,omitempty\""
		IsAgent  *bool                   "json:\"is_agent,omitempty\""
		IsWas    *bool                   "json:\"is_was,omitempty\""
		Name     *string                 "json:\"name,omitempty\""
		Owner    *string                 "json:\"owner,omitempty\""
		Plugins  *map[string]interface{} "json:\"plugins,omitempty\""
		Settings *struct {
			Advanced   *map[string]interface{} "json:\"advanced,omitempty\""
			Assessment *map[string]interface{} "json:\"assessment,omitempty\""
			Basic      *map[string]interface{} "json:\"basic,omitempty\""
			Discovery  *map[string]interface{} "json:\"discovery,omitempty\""
		} "json:\"settings,omitempty\""
		Title           *string "json:\"title,omitempty\""
		UserPermissions *int    "json:\"user_permissions,omitempty\""
		Uuid            *string "json:\"uuid,omitempty\""
	}, error)
	ListTemplates(arg1 EditorListTemplatesParamsType, reqEditors ...RequestEditorFn) (*struct {
		Templates []struct {
			CloudOnly        *bool   "json:\"cloud_only,omitempty\""
			Desc             *string "json:\"desc,omitempty\""
			IsAgent          *bool   "json:\"is_agent,omitempty\""
			IsWas            *bool   "json:\"is_was,omitempty\""
			ManagerOnly      *bool   "json:\"manager_only,omitempty\""
			Name             *string "json:\"name,omitempty\""
			SubscriptionOnly *bool   "json:\"subscription_only,omitempty\""
			Title            *string "json:\"title,omitempty\""
			Unsupported      *bool   "json:\"unsupported,omitempty\""
			Uuid             *string "json:\"uuid,omitempty\""
		} "json:\"templates,omitempty\""
	}, error)
	PluginDescription(arg1 int32, arg2 int32, arg3 int32, reqEditors ...RequestEditorFn) (*struct {
		Plugindescription *struct {
			Pluginattributes *map[string]interface{} "json:\"pluginattributes,omitempty\""
			Pluginfamily     *string                 "json:\"pluginfamily,omitempty\""
			Pluginid         *int                    "json:\"pluginid,omitempty\""
			Pluginname       *string                 "json:\"pluginname,omitempty\""
			Severity         *string                 "json:\"severity,omitempty\""
		} "json:\"plugindescription,omitempty\""
	}, error)
	TemplateDetails(arg1 EditorTemplateDetailsParamsType, contentType string, reqEditors ...RequestEditorFn) (*struct {
		Compliance       *map[string]interface{} "json:\"compliance,omitempty\""
		Credentials      *map[string]interface{} "json:\"credentials,omitempty\""
		FilterAttributes *[]struct {
			Control *struct {
				Options        *[]map[string]interface{} "json:\"options,omitempty\""
				ReadableRegest *string                   "json:\"readable_regest,omitempty\""
				Regex          *string                   "json:\"regex,omitempty\""
				Type           *string                   "json:\"type,omitempty\""
			} "json:\"control,omitempty\""
			Name         *string                   "json:\"name,omitempty\""
			Operators    *[]map[string]interface{} "json:\"operators,omitempty\""
			ReadableName *string                   "json:\"readable_name,omitempty\""
		} "json:\"filter_attributes,omitempty\""
		IsAgent  *bool                   "json:\"is_agent,omitempty\""
		IsWas    *bool                   "json:\"is_was,omitempty\""
		Name     *string                 "json:\"name,omitempty\""
		Plugins  *map[string]interface{} "json:\"plugins,omitempty\""
		Settings *struct {
			Advanced   *map[string]interface{} "json:\"advanced,omitempty\""
			Assessment *map[string]interface{} "json:\"assessment,omitempty\""
			Basic      *map[string]interface{} "json:\"basic,omitempty\""
			Discovery  *map[string]interface{} "json:\"discovery,omitempty\""
		} "json:\"settings,omitempty\""
		Title *string "json:\"title,omitempty\""
	}, error)
}

EditorInterface contains all methods for the nessus api

type EditorListTemplatesParamsType

type EditorListTemplatesParamsType string

EditorListTemplatesParamsType defines parameters for EditorListTemplates.

type EditorListTemplatesResponse

type EditorListTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Templates []struct {
			// If `true`, the template is only available on the cloud.
			CloudOnly *bool `json:"cloud_only,omitempty"`

			// The description of the template.
			Desc *string `json:"desc,omitempty"`

			// If `true`, the template can only be used for agent scans.
			IsAgent *bool `json:"is_agent,omitempty"`

			// If `true`, the template can be used for Web Application Scanning only.
			IsWas *bool `json:"is_was,omitempty"`

			// If `true`, can only be used by manager.
			ManagerOnly *bool `json:"manager_only,omitempty"`

			// The short name of the template.
			Name *string `json:"name,omitempty"`

			// If `true`, the template is only available for subscribers.
			SubscriptionOnly *bool `json:"subscription_only,omitempty"`

			// The long name of the template.
			Title *string `json:"title,omitempty"`

			// If `true`, the template is not supported.
			Unsupported *bool `json:"unsupported,omitempty"`

			// The UUID for the template. Use this value to specify the template when creating scans and policies.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"templates,omitempty"`
	}
}

func ParseEditorListTemplatesResponse

func ParseEditorListTemplatesResponse(rsp *http.Response) (*EditorListTemplatesResponse, error)

ParseEditorListTemplatesResponse parses an HTTP response from a EditorListTemplatesWithResponse call

func (EditorListTemplatesResponse) Status

Status returns HTTPResponse.Status

func (EditorListTemplatesResponse) StatusCode

func (r EditorListTemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditorPluginDescriptionResponse

type EditorPluginDescriptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The detailed information for a Tenable.io plugin.
		Plugindescription *struct {
			// The attributes of the plugin, including synopsis, description, solution, and risk information.
			Pluginattributes *map[string]interface{} `json:"pluginattributes,omitempty"`

			// The name of the plugin family.
			Pluginfamily *string `json:"pluginfamily,omitempty"`

			// The ID of the plugin.
			Pluginid *int `json:"pluginid,omitempty"`

			// The name of the plugin.
			Pluginname *string `json:"pluginname,omitempty"`

			// The severity level of the vulnerabilities targeted by the plugin
			Severity *string `json:"severity,omitempty"`
		} `json:"plugindescription,omitempty"`
	}
}

func ParseEditorPluginDescriptionResponse

func ParseEditorPluginDescriptionResponse(rsp *http.Response) (*EditorPluginDescriptionResponse, error)

ParseEditorPluginDescriptionResponse parses an HTTP response from a EditorPluginDescriptionWithResponse call

func (EditorPluginDescriptionResponse) Status

Status returns HTTPResponse.Status

func (EditorPluginDescriptionResponse) StatusCode

func (r EditorPluginDescriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditorTemplateDetailsParamsType

type EditorTemplateDetailsParamsType string

EditorTemplateDetailsParamsType defines parameters for EditorTemplateDetails.

type EditorTemplateDetailsResponse

type EditorTemplateDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Plugins options enables you to select security checks by Plugin Family or individual plugins checks.
		Compliance *map[string]interface{} `json:"compliance,omitempty"`

		// Credentials that grant the scanner access to the target system without requiring an agent. Credentialed scans can perform a wider variety of checks than non-credentialed scans, which can result in more accurate scan results. This facilitates scanning of a very large network to determine local exposures or compliance violations. You can configure credentials for Cloud Services, Database, Host, Miscellaneous, Mobile Device Management, and Plaintext Authentication.
		Credentials      *map[string]interface{} `json:"credentials,omitempty"`
		FilterAttributes *[]struct {
			Control *struct {
				// A list of options if the input is a dropdown.
				Options *[]map[string]interface{} `json:"options,omitempty"`

				// The placeholder for the input.
				ReadableRegest *string `json:"readable_regest,omitempty"`

				// A regex for checking the value of the input.
				Regex *string `json:"regex,omitempty"`

				// The input type (entry or dropdown).
				Type *string `json:"type,omitempty"`
			} `json:"control,omitempty"`

			// The short name of the filter.
			Name *string `json:"name,omitempty"`

			// The comparison options for the filter.
			Operators *[]map[string]interface{} `json:"operators,omitempty"`

			// The long name of the filter.
			ReadableName *string `json:"readable_name,omitempty"`
		} `json:"filter_attributes,omitempty"`

		// If `true`, the template is for agent scans.
		IsAgent *bool `json:"is_agent,omitempty"`

		// If `true`, the template can be used for Web Application Scanning only. For Vulnerability Management templates, this value is always `null`.
		IsWas *bool `json:"is_was,omitempty"`

		// The short name of the template.
		Name *string `json:"name,omitempty"`

		// The settings for compliance audit checks.
		Plugins *map[string]interface{} `json:"plugins,omitempty"`

		// Scan or policy settings organized into the Basic, Discovery, Assessment, Report, and Advanced configuration categories.
		Settings *struct {
			// The Advanced settings provide increased control over scan efficiency and the operations of a scan, as well as the ability to enabled plugin debugging.
			Advanced *map[string]interface{} `json:"advanced,omitempty"`

			// You can use Assessment settings to configure how a scan identifies vulnerabilities, as well as what vulnerabilities are identified. This includes identifying malware, assessing the vulnerability of a system to brute force attacks, and the susceptibility of web applications.
			Assessment *map[string]interface{} `json:"assessment,omitempty"`

			// The Basic scan settings are used to specify certain organizational and security-related aspects of the scan or policy, including the name of the scan, its targets, whether the scan is scheduled, and who has access to the scan, among other settings.
			Basic *map[string]interface{} `json:"basic,omitempty"`

			// The Discovery settings relate to discovery and port scanning, including port ranges and methods.
			Discovery *map[string]interface{} `json:"discovery,omitempty"`
		} `json:"settings,omitempty"`

		// The long name of the template.
		Title *string `json:"title,omitempty"`
	}
}

func ParseEditorTemplateDetailsResponse

func ParseEditorTemplateDetailsResponse(rsp *http.Response) (*EditorTemplateDetailsResponse, error)

ParseEditorTemplateDetailsResponse parses an HTTP response from a EditorTemplateDetailsWithResponse call

func (EditorTemplateDetailsResponse) Status

Status returns HTTPResponse.Status

func (EditorTemplateDetailsResponse) StatusCode

func (r EditorTemplateDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Exclusions

type Exclusions struct {
	*ClientWithResponses
}

Exclusions implementation of the Exclusions interface

func (*Exclusions) Create

func (c *Exclusions) Create(arg1 ExclusionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Members              *string "json:\"members,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NetworkId            *string "json:\"network_id,omitempty\""
	Schedule             *struct {
		Enabled *bool   "json:\"enabled,omitempty\""
		Endtime *string "json:\"endtime,omitempty\""
		Rrules  *struct {
			Bymonthday *int    "json:\"bymonthday,omitempty\""
			Byweekday  *string "json:\"byweekday,omitempty\""
			Freq       *string "json:\"freq,omitempty\""
			Interval   *int    "json:\"interval,omitempty\""
		} "json:\"rrules,omitempty\""
		Starttime *string "json:\"starttime,omitempty\""
		Timezone  *string "json:\"timezone,omitempty\""
	} "json:\"schedule,omitempty\""
}, error)

Create calls the Exclusions ´s function

func (*Exclusions) CreateWithBody

func (c *Exclusions) CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Members              *string "json:\"members,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NetworkId            *string "json:\"network_id,omitempty\""
	Schedule             *struct {
		Enabled *bool   "json:\"enabled,omitempty\""
		Endtime *string "json:\"endtime,omitempty\""
		Rrules  *struct {
			Bymonthday *int    "json:\"bymonthday,omitempty\""
			Byweekday  *string "json:\"byweekday,omitempty\""
			Freq       *string "json:\"freq,omitempty\""
			Interval   *int    "json:\"interval,omitempty\""
		} "json:\"rrules,omitempty\""
		Starttime *string "json:\"starttime,omitempty\""
		Timezone  *string "json:\"timezone,omitempty\""
	} "json:\"schedule,omitempty\""
}, error)

CreateWithBody calls the Exclusions ´s function

func (*Exclusions) Delete

func (c *Exclusions) Delete(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)

Delete calls the Exclusions ´s function

func (*Exclusions) Details

func (c *Exclusions) Details(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Members              *string "json:\"members,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NetworkId            *string "json:\"network_id,omitempty\""
	Schedule             *struct {
		Enabled *bool   "json:\"enabled,omitempty\""
		Endtime *string "json:\"endtime,omitempty\""
		Rrules  *struct {
			Bymonthday *int    "json:\"bymonthday,omitempty\""
			Byweekday  *string "json:\"byweekday,omitempty\""
			Freq       *string "json:\"freq,omitempty\""
			Interval   *int    "json:\"interval,omitempty\""
		} "json:\"rrules,omitempty\""
		Starttime *string "json:\"starttime,omitempty\""
		Timezone  *string "json:\"timezone,omitempty\""
	} "json:\"schedule,omitempty\""
}, error)

Details calls the Exclusions ´s function

func (*Exclusions) Edit

func (c *Exclusions) Edit(arg1 int32, arg2 ExclusionsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)

Edit calls the Exclusions ´s function

func (*Exclusions) EditWithBody

func (c *Exclusions) EditWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)

EditWithBody calls the Exclusions ´s function

func (*Exclusions) Import

func (c *Exclusions) Import(arg1 ExclusionsImportJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)

Import calls the Exclusions ´s function

func (*Exclusions) ImportWithBody

func (c *Exclusions) ImportWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)

ImportWithBody calls the Exclusions ´s function

func (*Exclusions) List

func (c *Exclusions) List(reqEditors ...RequestEditorFn) (*[]struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Members              *string "json:\"members,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NetworkId            *string "json:\"network_id,omitempty\""
	Schedule             *struct {
		Enabled *bool   "json:\"enabled,omitempty\""
		Endtime *string "json:\"endtime,omitempty\""
		Rrules  *struct {
			Bymonthday *int    "json:\"bymonthday,omitempty\""
			Byweekday  *string "json:\"byweekday,omitempty\""
			Freq       *string "json:\"freq,omitempty\""
			Interval   *int    "json:\"interval,omitempty\""
		} "json:\"rrules,omitempty\""
		Starttime *string "json:\"starttime,omitempty\""
		Timezone  *string "json:\"timezone,omitempty\""
	} "json:\"schedule,omitempty\""
}, error)

List calls the Exclusions ´s function

type ExclusionsCreateJSONBody

type ExclusionsCreateJSONBody struct {
	// The description of the exclusion.
	Description *string `json:"description,omitempty"`

	// The targets that you want excluded from scans. Specify multiple targets as a comma-separated string. Targets can be in the following formats:
	//  - an individual IPv4 address (192.0.2.1)
	//  - a range of IPv4 addresses (192.0.2.1-192.0.2.255)
	//  - CIDR notation (192.0.2.0/24)
	//  - a fully-qualified domain name (FQDN) (host.domain.com)
	Members string `json:"members"`

	// The name of the exclusion.
	Name string `json:"name"`

	// The ID of the network object associated with scanners where Tenable.io applies the exclusion. The default network ID is `00000000-0000-0000-0000-000000000000`. To determine the ID of a custom network, use the [GET /networks](ref:networks-list) endpoint. If you omit this parameter from the request message, Tenable.io automatically assigns the exclusion to the default network. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
	NetworkId *string `json:"network_id,omitempty"`

	// The schedule parameters for the exclusion.
	Schedule *struct {
		// If `true`, the exclusion schedule is active.
		Enabled *bool `json:"enabled,omitempty"`

		// The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
		Endtime *string `json:"endtime,omitempty"`

		// The recurrence rules for the exclusion.
		Rrules *struct {
			// The day of the month to repeat a MONTHLY freq rule on.
			Bymonthday *int `json:"bymonthday,omitempty"`

			// A comma-separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA).
			Byweekday *string `json:"byweekday,omitempty"`

			// The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY).
			Freq *string `json:"freq,omitempty"`

			// The interval of the rule.
			Interval *int `json:"interval,omitempty"`
		} `json:"rrules,omitempty"`

		// The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
		Starttime *string `json:"starttime,omitempty"`

		// The timezone for the exclusion as returned by [scans: timezones](ref:scans-timezones).
		Timezone *string `json:"timezone,omitempty"`
	} `json:"schedule,omitempty"`
}

ExclusionsCreateJSONBody defines parameters for ExclusionsCreate.

type ExclusionsCreateJSONRequestBody

type ExclusionsCreateJSONRequestBody ExclusionsCreateJSONBody

ExclusionsCreateJSONRequestBody defines body for ExclusionsCreate for application/json ContentType.

type ExclusionsCreateResponse

type ExclusionsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The creation date of the exclusion in Unix time.
		CreationDate *int `json:"creation_date,omitempty"`

		// The description of the exclusion.
		Description *string `json:"description,omitempty"`

		// The unique ID of the exclusion.
		Id *int `json:"id,omitempty"`

		// The last modification date for the exclusion in Unix time.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The targets that you want excluded from scans. Specify multiple targets as a comma-separated string. Targets can be in the following formats:
		//  - an individual IPv4 address (192.0.2.1)
		//  - a range of IPv4 addresses (192.0.2.1-192.0.2.255)
		//  - CIDR notation (192.0.2.0/24)
		//  - a fully-qualified domain name (FQDN) (host.domain.com)
		Members *string `json:"members,omitempty"`

		// The name of the exclusion.
		Name *string `json:"name,omitempty"`

		// The ID of the network object associated with scanners where Tenable.io applies the exclusion. The default network ID is `00000000-0000-0000-0000-000000000000`. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
		NetworkId *string `json:"network_id,omitempty"`

		// The schedule parameters for the exclusion.
		Schedule *struct {
			// If `true`, the exclusion schedule is active.
			Enabled *bool `json:"enabled,omitempty"`

			// The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
			Endtime *string `json:"endtime,omitempty"`

			// The recurrence rules for the exclusion.
			Rrules *struct {
				// The day of the month to repeat a MONTHLY freq rule on.
				Bymonthday *int `json:"bymonthday,omitempty"`

				// A comma-separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA).
				Byweekday *string `json:"byweekday,omitempty"`

				// The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY).
				Freq *string `json:"freq,omitempty"`

				// The interval of the rule.
				Interval *int `json:"interval,omitempty"`
			} `json:"rrules,omitempty"`

			// The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
			Starttime *string `json:"starttime,omitempty"`

			// The timezone for the exclusion as returned by [scans: timezones](ref:scans-timezones).
			Timezone *string `json:"timezone,omitempty"`
		} `json:"schedule,omitempty"`
	}
}

func ParseExclusionsCreateResponse

func ParseExclusionsCreateResponse(rsp *http.Response) (*ExclusionsCreateResponse, error)

ParseExclusionsCreateResponse parses an HTTP response from a ExclusionsCreateWithResponse call

func (ExclusionsCreateResponse) Status

func (r ExclusionsCreateResponse) Status() string

Status returns HTTPResponse.Status

func (ExclusionsCreateResponse) StatusCode

func (r ExclusionsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExclusionsDeleteResponse

type ExclusionsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseExclusionsDeleteResponse

func ParseExclusionsDeleteResponse(rsp *http.Response) (*ExclusionsDeleteResponse, error)

ParseExclusionsDeleteResponse parses an HTTP response from a ExclusionsDeleteWithResponse call

func (ExclusionsDeleteResponse) Status

func (r ExclusionsDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (ExclusionsDeleteResponse) StatusCode

func (r ExclusionsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExclusionsDetailsResponse

type ExclusionsDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The creation date of the exclusion in Unix time.
		CreationDate *int `json:"creation_date,omitempty"`

		// The description of the exclusion.
		Description *string `json:"description,omitempty"`

		// The unique ID of the exclusion.
		Id *int `json:"id,omitempty"`

		// The last modification date for the exclusion in Unix time.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The targets that you want excluded from scans. Specify multiple targets as a comma-separated string. Targets can be in the following formats:
		//  - an individual IPv4 address (192.0.2.1)
		//  - a range of IPv4 addresses (192.0.2.1-192.0.2.255)
		//  - CIDR notation (192.0.2.0/24)
		//  - a fully-qualified domain name (FQDN) (host.domain.com)
		Members *string `json:"members,omitempty"`

		// The name of the exclusion.
		Name *string `json:"name,omitempty"`

		// The ID of the network object associated with scanners where Tenable.io applies the exclusion. The default network ID is `00000000-0000-0000-0000-000000000000`. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
		NetworkId *string `json:"network_id,omitempty"`

		// The schedule parameters for the exclusion.
		Schedule *struct {
			// If `true`, the exclusion schedule is active.
			Enabled *bool `json:"enabled,omitempty"`

			// The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
			Endtime *string `json:"endtime,omitempty"`

			// The recurrence rules for the exclusion.
			Rrules *struct {
				// The day of the month to repeat a MONTHLY freq rule on.
				Bymonthday *int `json:"bymonthday,omitempty"`

				// A comma-separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA).
				Byweekday *string `json:"byweekday,omitempty"`

				// The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY).
				Freq *string `json:"freq,omitempty"`

				// The interval of the rule.
				Interval *int `json:"interval,omitempty"`
			} `json:"rrules,omitempty"`

			// The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
			Starttime *string `json:"starttime,omitempty"`

			// The timezone for the exclusion as returned by [scans: timezones](ref:scans-timezones).
			Timezone *string `json:"timezone,omitempty"`
		} `json:"schedule,omitempty"`
	}
}

func ParseExclusionsDetailsResponse

func ParseExclusionsDetailsResponse(rsp *http.Response) (*ExclusionsDetailsResponse, error)

ParseExclusionsDetailsResponse parses an HTTP response from a ExclusionsDetailsWithResponse call

func (ExclusionsDetailsResponse) Status

func (r ExclusionsDetailsResponse) Status() string

Status returns HTTPResponse.Status

func (ExclusionsDetailsResponse) StatusCode

func (r ExclusionsDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExclusionsEditJSONBody

type ExclusionsEditJSONBody struct {
	// The description of the exclusion.
	Description *string `json:"description,omitempty"`

	// The targets that you want excluded from scans. Specify multiple targets as a comma-separated string. Targets can be in the following formats:
	//  - an individual IPv4 address (192.0.2.1)
	//  - a range of IPv4 addresses (192.0.2.1-192.0.2.255)
	//  - CIDR notation (192.0.2.0/24)
	//  - a fully-qualified domain name (FQDN) (host.domain.com)
	Members *string `json:"members,omitempty"`

	// The name of the exclusion.
	Name *string `json:"name,omitempty"`

	// The ID of the network object associated with scanners where Tenable.io applies the exclusion. The default network ID is `00000000-0000-0000-0000-000000000000`. To determine the ID of a custom network, use the [GET /networks](ref:networks-list) endpoint. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
	NetworkId *string `json:"network_id,omitempty"`

	// The schedule parameters for the exclusion.
	Schedule *struct {
		// If `true`, the exclusion schedule is active.
		Enabled *bool `json:"enabled,omitempty"`

		// The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
		Endtime *string `json:"endtime,omitempty"`

		// The recurrence rules for the exclusion.
		Rrules *struct {
			// The day of the month to repeat a MONTHLY freq rule on.
			Bymonthday *int `json:"bymonthday,omitempty"`

			// A comma-separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA).
			Byweekday *string `json:"byweekday,omitempty"`

			// The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY).
			Freq *string `json:"freq,omitempty"`

			// The interval of the rule.
			Interval *int `json:"interval,omitempty"`
		} `json:"rrules,omitempty"`

		// The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
		Starttime *string `json:"starttime,omitempty"`

		// The timezone for the exclusion as returned by [scans: timezones](ref:scans-timezones).
		Timezone *string `json:"timezone,omitempty"`
	} `json:"schedule,omitempty"`
}

ExclusionsEditJSONBody defines parameters for ExclusionsEdit.

type ExclusionsEditJSONRequestBody

type ExclusionsEditJSONRequestBody ExclusionsEditJSONBody

ExclusionsEditJSONRequestBody defines body for ExclusionsEdit for application/json ContentType.

type ExclusionsEditResponse

type ExclusionsEditResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseExclusionsEditResponse

func ParseExclusionsEditResponse(rsp *http.Response) (*ExclusionsEditResponse, error)

ParseExclusionsEditResponse parses an HTTP response from a ExclusionsEditWithResponse call

func (ExclusionsEditResponse) Status

func (r ExclusionsEditResponse) Status() string

Status returns HTTPResponse.Status

func (ExclusionsEditResponse) StatusCode

func (r ExclusionsEditResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExclusionsImportJSONBody

type ExclusionsImportJSONBody struct {
	// The name of the file to import as provided by the response from [file: upload](ref:file).
	File string `json:"file"`
}

ExclusionsImportJSONBody defines parameters for ExclusionsImport.

type ExclusionsImportJSONRequestBody

type ExclusionsImportJSONRequestBody ExclusionsImportJSONBody

ExclusionsImportJSONRequestBody defines body for ExclusionsImport for application/json ContentType.

type ExclusionsImportResponse

type ExclusionsImportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseExclusionsImportResponse

func ParseExclusionsImportResponse(rsp *http.Response) (*ExclusionsImportResponse, error)

ParseExclusionsImportResponse parses an HTTP response from a ExclusionsImportWithResponse call

func (ExclusionsImportResponse) Status

func (r ExclusionsImportResponse) Status() string

Status returns HTTPResponse.Status

func (ExclusionsImportResponse) StatusCode

func (r ExclusionsImportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExclusionsInterface

type ExclusionsInterface interface {
	CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Members              *string "json:\"members,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NetworkId            *string "json:\"network_id,omitempty\""
		Schedule             *struct {
			Enabled *bool   "json:\"enabled,omitempty\""
			Endtime *string "json:\"endtime,omitempty\""
			Rrules  *struct {
				Bymonthday *int    "json:\"bymonthday,omitempty\""
				Byweekday  *string "json:\"byweekday,omitempty\""
				Freq       *string "json:\"freq,omitempty\""
				Interval   *int    "json:\"interval,omitempty\""
			} "json:\"rrules,omitempty\""
			Starttime *string "json:\"starttime,omitempty\""
			Timezone  *string "json:\"timezone,omitempty\""
		} "json:\"schedule,omitempty\""
	}, error)
	Create(arg1 ExclusionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Members              *string "json:\"members,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NetworkId            *string "json:\"network_id,omitempty\""
		Schedule             *struct {
			Enabled *bool   "json:\"enabled,omitempty\""
			Endtime *string "json:\"endtime,omitempty\""
			Rrules  *struct {
				Bymonthday *int    "json:\"bymonthday,omitempty\""
				Byweekday  *string "json:\"byweekday,omitempty\""
				Freq       *string "json:\"freq,omitempty\""
				Interval   *int    "json:\"interval,omitempty\""
			} "json:\"rrules,omitempty\""
			Starttime *string "json:\"starttime,omitempty\""
			Timezone  *string "json:\"timezone,omitempty\""
		} "json:\"schedule,omitempty\""
	}, error)
	Delete(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)
	Details(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Members              *string "json:\"members,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NetworkId            *string "json:\"network_id,omitempty\""
		Schedule             *struct {
			Enabled *bool   "json:\"enabled,omitempty\""
			Endtime *string "json:\"endtime,omitempty\""
			Rrules  *struct {
				Bymonthday *int    "json:\"bymonthday,omitempty\""
				Byweekday  *string "json:\"byweekday,omitempty\""
				Freq       *string "json:\"freq,omitempty\""
				Interval   *int    "json:\"interval,omitempty\""
			} "json:\"rrules,omitempty\""
			Starttime *string "json:\"starttime,omitempty\""
			Timezone  *string "json:\"timezone,omitempty\""
		} "json:\"schedule,omitempty\""
	}, error)
	EditWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)
	Edit(arg1 int32, arg2 ExclusionsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)
	ImportWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)
	Import(arg1 ExclusionsImportJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)
	List(reqEditors ...RequestEditorFn) (*[]struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Members              *string "json:\"members,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NetworkId            *string "json:\"network_id,omitempty\""
		Schedule             *struct {
			Enabled *bool   "json:\"enabled,omitempty\""
			Endtime *string "json:\"endtime,omitempty\""
			Rrules  *struct {
				Bymonthday *int    "json:\"bymonthday,omitempty\""
				Byweekday  *string "json:\"byweekday,omitempty\""
				Freq       *string "json:\"freq,omitempty\""
				Interval   *int    "json:\"interval,omitempty\""
			} "json:\"rrules,omitempty\""
			Starttime *string "json:\"starttime,omitempty\""
			Timezone  *string "json:\"timezone,omitempty\""
		} "json:\"schedule,omitempty\""
	}, error)
}

ExclusionsInterface contains all methods for the nessus api

type ExclusionsListResponse

type ExclusionsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// The creation date of the exclusion in Unix time.
		CreationDate *int `json:"creation_date,omitempty"`

		// The description of the exclusion.
		Description *string `json:"description,omitempty"`

		// The unique ID of the exclusion.
		Id *int `json:"id,omitempty"`

		// The last modification date for the exclusion in Unix time.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The targets that you want excluded from scans. Specify multiple targets as a comma-separated string. Targets can be in the following formats:
		//  - an individual IPv4 address (192.0.2.1)
		//  - a range of IPv4 addresses (192.0.2.1-192.0.2.255)
		//  - CIDR notation (192.0.2.0/24)
		//  - a fully-qualified domain name (FQDN) (host.domain.com)
		Members *string `json:"members,omitempty"`

		// The name of the exclusion.
		Name *string `json:"name,omitempty"`

		// The ID of the network object associated with scanners where Tenable.io applies the exclusion. The default network ID is `00000000-0000-0000-0000-000000000000`. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
		NetworkId *string `json:"network_id,omitempty"`

		// The schedule parameters for the exclusion.
		Schedule *struct {
			// If `true`, the exclusion schedule is active.
			Enabled *bool `json:"enabled,omitempty"`

			// The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
			Endtime *string `json:"endtime,omitempty"`

			// The recurrence rules for the exclusion.
			Rrules *struct {
				// The day of the month to repeat a MONTHLY freq rule on.
				Bymonthday *int `json:"bymonthday,omitempty"`

				// A comma-separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA).
				Byweekday *string `json:"byweekday,omitempty"`

				// The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY).
				Freq *string `json:"freq,omitempty"`

				// The interval of the rule.
				Interval *int `json:"interval,omitempty"`
			} `json:"rrules,omitempty"`

			// The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`.
			Starttime *string `json:"starttime,omitempty"`

			// The timezone for the exclusion as returned by [scans: timezones](ref:scans-timezones).
			Timezone *string `json:"timezone,omitempty"`
		} `json:"schedule,omitempty"`
	}
}

func ParseExclusionsListResponse

func ParseExclusionsListResponse(rsp *http.Response) (*ExclusionsListResponse, error)

ParseExclusionsListResponse parses an HTTP response from a ExclusionsListWithResponse call

func (ExclusionsListResponse) Status

func (r ExclusionsListResponse) Status() string

Status returns HTTPResponse.Status

func (ExclusionsListResponse) StatusCode

func (r ExclusionsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportsAssetsDownloadChunkResponse

type ExportsAssetsDownloadChunkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The Asset Criticality Rating (ACR) for the asset. With Lumin, Tenable assigns an ACR to each asset on your network to represent the asset's relative risk as an integer from 1 to 10. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
		//
		// This attribute is only present if you have a Lumin license.
		AcrScore *string `json:"acr_score,omitempty"`

		// The names of any Nessus agents that scanned and identified the asset.
		AgentNames *[]string `json:"agent_names,omitempty"`

		// The unique identifier of the Nessus agent that identified the asset.
		AgentUuid *string `json:"agent_uuid,omitempty"`

		// The availability zone where Amazon Web Services hosts the virtual machine instance, for example, `us-east-1a“. Availability zones are subdivisions of AWS regions. For more information, see "Regions and Availability Zones" in the AWS documentation.
		AwsAvailabilityZone *string `json:"aws_availability_zone,omitempty"`

		// The unique identifier of the Linux AMI image in Amazon Elastic Compute Cloud (Amazon EC2). For more information, see the Amazon Elastic Compute Cloud Documentation.
		AwsEc2InstanceAmiId *string `json:"aws_ec2_instance_ami_id,omitempty"`

		// The virtual machine instance's group in AWS.
		AwsEc2InstanceGroupName *string `json:"aws_ec2_instance_group_name,omitempty"`

		// The unique identifier of the Linux instance in Amazon EC2. For more information, see the Amazon Elastic Compute Cloud Documentation.
		AwsEc2InstanceId *string `json:"aws_ec2_instance_id,omitempty"`

		// The state of the virtual machine instance in AWS at the time of the scan.
		AwsEc2InstanceStateName *string `json:"aws_ec2_instance_state_name,omitempty"`

		// The type of instance in AWS EC2.
		AwsEc2InstanceType *string `json:"aws_ec2_instance_type,omitempty"`

		// The name of the virtual machine instance in AWS EC2.
		AwsEc2Name *string `json:"aws_ec2_name,omitempty"`

		// The product code associated with the AMI used to launch the virtual machine instance in AWS EC2.
		AwsEc2ProductCode *string `json:"aws_ec2_product_code,omitempty"`

		// The canonical user identifier for the AWS account associated with the virtual machine instance. For example, `79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be`. For more information, see AWS Account Identifiers in the AWS documentation.
		AwsOwnerId *string `json:"aws_owner_id,omitempty"`

		// The region where AWS hosts the virtual machine instance, for example, `us-east-1`. For more information, see "Regions and Availability Zones" in the AWS documentation.
		AwsRegion *string `json:"aws_region,omitempty"`

		// The unique identifier of the AWS subnet where the virtual machine instance was running at the time of the scan.
		AwsSubnetId *string `json:"aws_subnet_id,omitempty"`

		// The unique identifier for the virtual public cloud that hosts the AWS virtual machine instance. For more information, see the Amazon Virtual Private Cloud User Guide.
		AwsVpcId *string `json:"aws_vpc_id,omitempty"`

		// The unique identifier of the resource in the Azure Resource Manager. For more information, see the Azure Resource Manager Documentation.
		AzureResourceId *string `json:"azure_resource_id,omitempty"`

		// The unique identifier of the Microsoft Azure virtual machine instance. For more information, see "Accessing and Using Azure VM Unique ID" in the Microsoft Azure documentation.
		AzureVmId *string `json:"azure_vm_id,omitempty"`

		// The unique identifiers of the asset in HCL BigFix. For more information, see the HCL BigFix documentation.
		BigfixAssetId *string `json:"bigfix_asset_id,omitempty"`

		// The BIOS UUID of the asset.
		BiosUuid *string `json:"bios_uuid,omitempty"`

		// The time and date when Tenable.io created the asset record.
		CreatedAt *string `json:"created_at,omitempty"`

		// The time and date when a user deleted the asset record. When a user deletes an asset record, Tenable.io retains the record until the asset ages out of the license count.
		DeletedAt *string `json:"deleted_at,omitempty"`

		// The user who deleted the asset record.
		DeletedBy *string `json:"deleted_by,omitempty"`

		// The Asset Exposure Score (AES) for the asset. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
		//
		// This attribute is only present if you have a Lumin license.
		ExposureScore *string `json:"exposure_score,omitempty"`

		// The time and date of the first scan run against the asset.
		FirstScanTime *string `json:"first_scan_time,omitempty"`

		// The time and date when a scan first identified the asset.
		FirstSeen *string `json:"first_seen,omitempty"`

		// The fully-qualified domain names that scans have associated with the asset record.
		Fqdns *[]string `json:"fqdns,omitempty"`

		// The zone where the virtual machine instance runs in GCP. For more information, see "Regions and Zones" in the GCP documentation.
		GcpInstanceId *string `json:"gcp_instance_id,omitempty"`

		// The unique identifier of the virtual machine instance in Google Cloud Platform (GCP).
		GcpProjectId *string `json:"gcp_project_id,omitempty"`

		// The customized name of the project to which the virtual machine instance belongs in GCP. For more information see "Creating and Managing Projects" in the GCP documentation.
		GcpZone *string `json:"gcp_zone,omitempty"`

		// Specifies whether a Nessus agent scan identified the asset.
		HasAgent *bool `json:"has_agent,omitempty"`

		// Specifies whether the asset has plugin results associated with it.
		HasPluginResults *bool `json:"has_plugin_results,omitempty"`

		// The hostnames that scans have associated with the asset record.
		Hostnames *[]string `json:"hostnames,omitempty"`

		// The UUID of the asset in Tenable.io. Use this value as the unique key for the asset.
		Id *string `json:"id,omitempty"`

		// A list of Common Platform Enumeration (CPE) values that represent software applications a scan identified as present on an asset. This attribute supports the CPE 2.2 format. For more information, see the "Component Syntax" section of the [CPE Specification, Version 2.2](https://cpe.mitre.org/files/cpe-specification_2.2.pdf). For assets identified in Tenable scans, this attribute contains data only if a scan using [Nessus Plugin ID 45590](https://www.tenable.com/plugins/nessus/45590) has evaluated the asset.
		//
		// **Note:** If no scan detects an application within 30 days of the scan that originally detected the application, Tenable.io considers the detection of that application expired. As a result, the next time a scan evaluates the asset, Tenable.io removes the expired application from the installed_software attribute. This activity is logged as a `remove` type of `attribute_change` update in the asset activity log.
		InstalledSoftware *[]string `json:"installed_software,omitempty"`

		// The IPv4 addresses that scans have associated with the asset record.
		Ipv4s *[]string `json:"ipv4s,omitempty"`

		// The IPv6 addresses that scans have associated with the asset record.
		Ipv6s *[]string `json:"ipv6s,omitempty"`

		// The time and date of the last credentialed scan run on the asset.
		LastAuthenticatedScanDate *string `json:"last_authenticated_scan_date,omitempty"`

		// The time and date of the last scan that identified the asset as licensed. Tenable.io categorizes an asset as licensed if a scan of that asset has returned results from a non-discovery plugin within the last 90 days.
		LastLicensedScanDate *string `json:"last_licensed_scan_date,omitempty"`

		// The UUID of the scan configuration used during the last scan of the asset.
		LastScanId *string `json:"last_scan_id,omitempty"`

		// The time and date of the last scan run against the asset.
		LastScanTime *string `json:"last_scan_time,omitempty"`

		// The `schedule_uuid` for the last scan of the asset.
		LastScheduleId *string `json:"last_schedule_id,omitempty"`

		// The time and date of the scan that most recently identified the asset.
		LastSeen *string `json:"last_seen,omitempty"`

		// The MAC addresses that scans have associated with the asset record.
		MacAddresses *[]string `json:"mac_addresses,omitempty"`

		// The manufacturer's unique identifiers of the Trusted Platform Module (TPM) associated with the asset.
		ManufacturerTpmIds *[]string `json:"manufacturer_tpm_ids,omitempty"`

		// The unique identifier of the McAfee ePO agent that identified the asset. For more information, see the McAfee documentation.
		McafeeEpoAgentGuid *string `json:"mcafee_epo_agent_guid,omitempty"`

		// The unique identifier of the asset in McAfee ePolicy Orchestrator (ePO). For more information, see the McAfee documentation.
		McafeeEpoGuid *string `json:"mcafee_epo_guid,omitempty"`

		// The NetBIOS names that scans have associated with the asset record.
		NetbiosNames *[]string `json:"netbios_names,omitempty"`

		// The ID of the network object associated with scanners that identified the asset. The default network ID is `00000000-0000-0000-0000-000000000000`. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
		NetworkId *string `json:"network_id,omitempty"`

		// The network interfaces that scans identified on the asset.
		NetworkInterfaces *[]struct {
			// One or more FQDN belonging to the interface.
			Fqdn *[]string `json:"fqdn,omitempty"`

			// One or more IPv4 addresses belonging to the interface.
			Ipv4 *[]string `json:"ipv4,omitempty"`

			// One or more IPv6 addresses belonging to the interface.
			Ipv6 *[]string `json:"ipv6,omitempty"`

			// The MAC addresses of the interface.
			MacAddress *[]string `json:"mac_address,omitempty"`

			// The name of the interface.
			Name *string `json:"name,omitempty"`
		} `json:"network_interfaces,omitempty"`

		// The ID of the network object associated with scanners that identified the asset. The default network name is `Default`. All other network names are user-defined. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
		NetworkName *string `json:"network_name,omitempty"`

		// The operating systems that scans have associated with the asset record.
		OperatingSystems *[]string `json:"operating_systems,omitempty"`

		// The Asset ID of the asset in Qualys. For more information, see the Qualys documentation.
		//
		// **Note:** Tenable is enabling Qualys asset import for customers in a rolling fashion. For more information, contact your Tenable representative.
		QualysAssetIds *[]string `json:"qualys_asset_ids,omitempty"`

		// The Host ID of the asset in Qualys. For more information, see the Qualys documentation.
		//
		// **Note:** Tenable is enabling Qualys asset import for customers in a rolling fashion. For more information, contact your Tenable representative.
		QualysHostIds *[]string `json:"qualys_host_ids,omitempty"`

		// The unique record identifier of the asset in ServiceNow. For more information, see the ServiceNow documentation.
		ServicenowSysid *string `json:"servicenow_sysid,omitempty"`

		// The sources of the scans that identified the asset.
		Sources *[]struct {
			// The ISO timestamp when the source first reported the asset.
			FirstSeen *string `json:"first_seen,omitempty"`

			// The ISO timestamp when the source last reported the asset.
			LastSeen *string `json:"last_seen,omitempty"`

			// The name of the entity that reported the asset details. Sources can include sensors, connectors, and API imports. Source names can be customized by your organization (for example, you specify a name when you import asset records). If your organization does not customize source names, system-generated names include:
			//  - AWS—You obtained the asset data from an Amazon Web Services connector.
			//  - NESSUS_AGENT—You obtained the asset data obtained from a Nessus agent scan.
			//  - PVS—You obtained the asset data from a Nessus Network Monitor (NNM) scan.
			//  - NESSUS_SCAN—You obtained the asset data from a Nessus scan.
			//  - WAS—You obtained the asset data from a  Web Application Scanning scan.
			Name *string `json:"name,omitempty"`
		} `json:"sources,omitempty"`

		// The SSH key fingerprints that scans have associated with the asset record.
		SshFingerprints *[]string `json:"ssh_fingerprints,omitempty"`

		// The hardware keys for the asset in Symantec Endpoint Protection.
		SymantecEpHardwareKeys *[]string `json:"symantec_ep_hardware_keys,omitempty"`

		// The system types as reported by Plugin ID 54615. Possible values include `router`, `general-purpose`, `scan-host`, and `embedded`.
		SystemTypes *[]string `json:"system_types,omitempty"`

		// Category tags assigned to the asset in Tenable.io.
		Tags *[]struct {
			// The ISO timestamp when the tag was assigned to the asset.
			AddedAt *string `json:"added_at,omitempty"`

			// The UUID of the user who assigned the tag to the asset.
			AddedBy *string `json:"added_by,omitempty"`

			// The tag category (the first half of the category:value pair).
			Key *string `json:"key,omitempty"`

			// The UUID of the tag.
			Uuid *string `json:"uuid,omitempty"`

			// The tag value (the second half of the category:value pair).
			Value *string `json:"value,omitempty"`
		} `json:"tags,omitempty"`

		// The time and date when a user terminated the Amazon Web Service (AWS) virtual machine instance of the asset.
		TerminatedAt *string `json:"terminated_at,omitempty"`

		// The user who terminated the AWS instance of the asset.
		TerminatedBy *string `json:"terminated_by,omitempty"`

		// The time and date when the asset record was last updated.
		UpdatedAt *string `json:"updated_at,omitempty"`
	}
}

func ParseExportsAssetsDownloadChunkResponse

func ParseExportsAssetsDownloadChunkResponse(rsp *http.Response) (*ExportsAssetsDownloadChunkResponse, error)

ParseExportsAssetsDownloadChunkResponse parses an HTTP response from a ExportsAssetsDownloadChunkWithResponse call

func (ExportsAssetsDownloadChunkResponse) Status

Status returns HTTPResponse.Status

func (ExportsAssetsDownloadChunkResponse) StatusCode

func (r ExportsAssetsDownloadChunkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportsAssetsExportCancelResponse

type ExportsAssetsExportCancelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Text describing the export job status, `CANCELLED`.
		Status *string `json:"status,omitempty"`
	}
	JSON400 *struct {
		// Text describing the error condition Tenable.io encountered. Possible values include:
		//
		//  - Cannot cancel a completed job
		//  - Export UUID is invalid
		Message *string `json:"message,omitempty"`

		// The HTTP error code.
		Status *int `json:"status,omitempty"`
	}
	JSON404 *struct {
		// Text describing the error condition Tenable.io encountered.
		Message *string `json:"message,omitempty"`

		// The HTTP error code.
		Status *int `json:"status,omitempty"`
	}
}

func ParseExportsAssetsExportCancelResponse

func ParseExportsAssetsExportCancelResponse(rsp *http.Response) (*ExportsAssetsExportCancelResponse, error)

ParseExportsAssetsExportCancelResponse parses an HTTP response from a ExportsAssetsExportCancelWithResponse call

func (ExportsAssetsExportCancelResponse) Status

Status returns HTTPResponse.Status

func (ExportsAssetsExportCancelResponse) StatusCode

func (r ExportsAssetsExportCancelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportsAssetsExportStatusRecentResponse

type ExportsAssetsExportStatusRecentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Exports *[]struct {
			// The Unix timestamp when the export job was created.
			Created *int `json:"created,omitempty"`

			// The filters used in the export job request. For a list of possible filters, see the [POST /vulns/export](ref:exports-vulns-export-request-export) and [POST /assets/export](ref:exports-assets-request-export) endpoints.
			Filters *map[string]interface{} `json:"filters,omitempty"`

			// The number of chunks that have been processed and are available for download.
			FinishedChunks *int `json:"finished_chunks,omitempty"`

			// The number of assets contained in each export chunk.
			NumAssetsPerChunk *int `json:"num_assets_per_chunk,omitempty"`

			// The status of the export request. Possible values include:
			//  - QUEUED—Tenable.io has queued the export request until it completes other requests currently in process.
			//  - PROCESSING—Tenable.io has started processing the export request.
			//  - FINISHED—Tenable.io has completed processing the export request. The list of chunks is complete.
			//  - CANCELLED—An administrator has cancelled the export request.
			//  - ERROR—Tenable.io encountered an error while processing the export request. Tenable recommends that you retry the request. If the status persists on retry, contact Support.
			Status *string `json:"status,omitempty"`

			// The total number of chunks associated with the export job as a whole.
			TotalChunks *int `json:"total_chunks,omitempty"`

			// The UUID for the export request.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"exports,omitempty"`
	}
}

func ParseExportsAssetsExportStatusRecentResponse

func ParseExportsAssetsExportStatusRecentResponse(rsp *http.Response) (*ExportsAssetsExportStatusRecentResponse, error)

ParseExportsAssetsExportStatusRecentResponse parses an HTTP response from a ExportsAssetsExportStatusRecentWithResponse call

func (ExportsAssetsExportStatusRecentResponse) Status

Status returns HTTPResponse.Status

func (ExportsAssetsExportStatusRecentResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ExportsAssetsExportStatusResponse

type ExportsAssetsExportStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A comma-separated list of completed chunks available for download.
		ChunksAvailable *[]int32 `json:"chunks_available,omitempty"`

		// Information about the export job.
		Status *struct {
			// A list of completed chunks available for download.
			ChunksAvailable *[]int32 `json:"chunks_available,omitempty"`

			// The status of the export request. Possible values include:
			//  - QUEUED—Tenable.io has queued the export request until it completes other requests currently in process.
			//  - PROCESSING—Tenable.io has started processing the export request.
			//  - FINISHED—Tenable.io has completed processing the export request. The list of chunks is complete.
			//  - CANCELLED—An administrator has cancelled the export request.
			//  - ERROR—Tenable.io encountered an error while processing the export request. Tenable recommends that you retry the request. If the status persists on retry, contact Support.
			Status *string `json:"status,omitempty"`
		} `json:"status,omitempty"`
	}
}

func ParseExportsAssetsExportStatusResponse

func ParseExportsAssetsExportStatusResponse(rsp *http.Response) (*ExportsAssetsExportStatusResponse, error)

ParseExportsAssetsExportStatusResponse parses an HTTP response from a ExportsAssetsExportStatusWithResponse call

func (ExportsAssetsExportStatusResponse) Status

Status returns HTTPResponse.Status

func (ExportsAssetsExportStatusResponse) StatusCode

func (r ExportsAssetsExportStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportsAssetsRequestExportJSONBody

type ExportsAssetsRequestExportJSONBody struct {
	// Specifies the number of assets per exported chunk. The range is 100-10000. If you specify a value outside of that range, Tenable.io returns a 400 error.
	//
	// **Note:** Using smaller chunks size can improve performance. Tenable does not recommend using a chunk size larger than 5000 as the potential for an error increases above this amount.
	ChunkSize int32 `json:"chunk_size"`

	// Specifies filters for exported assets. To return all assets, omit the filters object. If your request specifies multiple filters, the system combines the filters using the AND search operator.
	//
	// **Note:** If you submit an asset export request with filters that are identical to a previously submitted asset export request then the old export is canceled and a new export is submitted.
	Filters *struct {
		// Returns all assets created later than the date specified. The specified date must be in the Unix timestamp format.
		CreatedAt *int64 `json:"created_at,omitempty"`

		// Returns all assets deleted later than the date specified. The specified date must in the Unix timestamp format.
		DeletedAt *int64 `json:"deleted_at,omitempty"`

		// Returns all assets with a first scan time later than the date specified. The specified date must be in the Unix timestamp format.
		FirstScanTime *int64 `json:"first_scan_time,omitempty"`

		// Filter by whether or not the asset has plugin results associated with it. If `true`, Tenable.io returns all assets that have plugin results. If `false`, Tenable.io returns all assets that do not have plugin results. An asset may not have plugin results if the asset details originated from a connector or an API import.
		HasPluginResults *bool `json:"has_plugin_results,omitempty"`

		// When set to `true`, returns assets which have any value for the `deleted_at` attribute.
		IsDeleted *bool `json:"is_deleted,omitempty"`

		// Specifies whether the asset is included in the asset count for the Tenable.io instance. If `true`, Tenable.io returns only licensed assets. If `false`, Tenable.io returns all assets, both licensed and unlicensed.
		IsLicensed *bool `json:"is_licensed,omitempty"`

		// When set to `true`, returns assets which have any value for the `terminated_at` attribute.
		IsTerminated *bool `json:"is_terminated,omitempty"`

		// Returns all assets with a last assessed time later than the date specified. Tenable.io considers an asset assessed if it has been scanned by a credentialed or non-credentialed scan. The specified date must be in the Unix timestamp format.
		LastAssessed *int64 `json:"last_assessed,omitempty"`

		// Returns all assets with a last credentialed scan time later than the date specified. The specified date must be in the Unix timestamp format.
		LastAuthenticatedScanTime *int64 `json:"last_authenticated_scan_time,omitempty"`

		// The ID of the network object associated with scanners that identified the assets you want to export. The default network ID is `00000000-0000-0000-0000-000000000000`. To determine the ID of a custom network, use the [GET /networks](ref:networks-list) endpoint. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
		NetworkId *string `json:"network_id,omitempty"`

		// If `true`, returns all assets that have a ServiceNow Sys ID, regardless of value. If `false`, returns all assets that do not have a ServiceNow Sys ID.
		ServicenowSysid *bool `json:"servicenow_sysid,omitempty"`

		// Returns assets that have the specified source. An asset source is the entity that reported the asset details. Sources can include sensors, connectors, and API imports. If your request specifies multiple sources, Tenable.io returns all assets that have been seen by any of the specified sources.
		//
		// The items in the sources array must correspond to the names of the sources as defined in your organization's implementation of Tenable.io. Commonly used names include:
		//  - AWS—You obtained the asset data from an Amazon Web Services connector.
		//  - NESSUS_AGENT—You obtained the asset data obtained from a Nessus agent scan.
		//  - PVS—You obtained the asset data from a Nessus Network Monitor (NNM) scan.
		//  - NESSUS_SCAN—You obtained the asset data from a Nessus scan.
		//  - WAS—You obtained the asset data from a  Web Application Scanning scan.
		Sources *[]string `json:"sources,omitempty"`

		// Returns all assets with the specified tag. The filter is defined as "tag", a period ("."), and the tag category name. The value of the filter is the tag value. For more information about tags, see [Tenable.io Vulnerability Management User Guide](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Settings/TagFormatAndApplication.htm).
		Tagcategory *string `json:"tag.<category>,omitempty"`

		// Returns all assets terminated later than the date specified. The specified date must be in the Unix timestamp format.
		TerminatedAt *int64 `json:"terminated_at,omitempty"`

		// Returns all assets updated later than the date specified. The specified date must be in the Unix timestamp format.
		UpdatedAt *int64 `json:"updated_at,omitempty"`
	} `json:"filters,omitempty"`
}

ExportsAssetsRequestExportJSONBody defines parameters for ExportsAssetsRequestExport.

type ExportsAssetsRequestExportJSONRequestBody

type ExportsAssetsRequestExportJSONRequestBody ExportsAssetsRequestExportJSONBody

ExportsAssetsRequestExportJSONRequestBody defines body for ExportsAssetsRequestExport for application/json ContentType.

type ExportsAssetsRequestExportResponse

type ExportsAssetsRequestExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The UUID of the assets export job.
		ExportUuid *string `json:"export_uuid,omitempty"`
	}
}

func ParseExportsAssetsRequestExportResponse

func ParseExportsAssetsRequestExportResponse(rsp *http.Response) (*ExportsAssetsRequestExportResponse, error)

ParseExportsAssetsRequestExportResponse parses an HTTP response from a ExportsAssetsRequestExportWithResponse call

func (ExportsAssetsRequestExportResponse) Status

Status returns HTTPResponse.Status

func (ExportsAssetsRequestExportResponse) StatusCode

func (r ExportsAssetsRequestExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportsVulns

type ExportsVulns struct {
	*ClientWithResponses
}

ExportsVulns implementation of the ExportsVulns interface

func (*ExportsVulns) DownloadChunk

func (c *ExportsVulns) DownloadChunk(arg1 string, arg2 int32, reqEditors ...RequestEditorFn) (*ExportsVulnsDownloadChunkResponse, error)

DownloadChunk calls the ExportsVulns ´s function

func (*ExportsVulns) ExportCancel

func (c *ExportsVulns) ExportCancel(contentType string, reqEditors ...RequestEditorFn) (*struct {
	Status *string "json:\"status,omitempty\""
}, error)

ExportCancel calls the ExportsVulns ´s function

func (*ExportsVulns) ExportStatus

func (c *ExportsVulns) ExportStatus(contentType string, reqEditors ...RequestEditorFn) (*struct {
	Status *struct {
		ChunksAvailable      *[]int32                "json:\"chunks_available,omitempty\""
		ChunksAvailableCount *int                    "json:\"chunks_available_count,omitempty\""
		ChunksCancelled      *[]int32                "json:\"chunks_cancelled,omitempty\""
		ChunksFailed         *[]int32                "json:\"chunks_failed,omitempty\""
		Created              *int                    "json:\"created,omitempty\""
		EmptyChunksCount     *int                    "json:\"empty_chunks_count,omitempty\""
		Filters              *map[string]interface{} "json:\"filters,omitempty\""
		FinishedChunks       *int                    "json:\"finished_chunks,omitempty\""
		NumAssetsPerChunk    *int                    "json:\"num_assets_per_chunk,omitempty\""
		Status               *string                 "json:\"status,omitempty\""
		TotalChunks          *int                    "json:\"total_chunks,omitempty\""
		Uuid                 *string                 "json:\"uuid,omitempty\""
	} "json:\"status,omitempty\""
}, error)

ExportStatus calls the ExportsVulns ´s function

func (*ExportsVulns) ExportStatusRecent

func (c *ExportsVulns) ExportStatusRecent(reqEditors ...RequestEditorFn) (*struct {
	Exports *[]struct {
		ChunksAvailableCount *int                    "json:\"chunks_available_count,omitempty\""
		Created              *int                    "json:\"created,omitempty\""
		EmptyChunksCount     *int                    "json:\"empty_chunks_count,omitempty\""
		Filters              *map[string]interface{} "json:\"filters,omitempty\""
		FinishedChunks       *int                    "json:\"finished_chunks,omitempty\""
		NumAssetsPerChunk    *int                    "json:\"num_assets_per_chunk,omitempty\""
		Status               *string                 "json:\"status,omitempty\""
		TotalChunks          *int                    "json:\"total_chunks,omitempty\""
		Uuid                 *string                 "json:\"uuid,omitempty\""
	} "json:\"exports,omitempty\""
}, error)

ExportStatusRecent calls the ExportsVulns ´s function

func (*ExportsVulns) RequestExport

func (c *ExportsVulns) RequestExport(arg1 ExportsVulnsRequestExportJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	ExportUuid *string "json:\"export_uuid,omitempty\""
}, error)

RequestExport calls the ExportsVulns ´s function

func (*ExportsVulns) RequestExportWithBody

func (c *ExportsVulns) RequestExportWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	ExportUuid *string "json:\"export_uuid,omitempty\""
}, error)

RequestExportWithBody calls the ExportsVulns ´s function

type ExportsVulnsDownloadChunkResponse

type ExportsVulnsDownloadChunkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseExportsVulnsDownloadChunkResponse

func ParseExportsVulnsDownloadChunkResponse(rsp *http.Response) (*ExportsVulnsDownloadChunkResponse, error)

ParseExportsVulnsDownloadChunkResponse parses an HTTP response from a ExportsVulnsDownloadChunkWithResponse call

func (ExportsVulnsDownloadChunkResponse) Status

Status returns HTTPResponse.Status

func (ExportsVulnsDownloadChunkResponse) StatusCode

func (r ExportsVulnsDownloadChunkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportsVulnsExportCancelResponse

type ExportsVulnsExportCancelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Text describing the export job status, `CANCELLED`.
		Status *string `json:"status,omitempty"`
	}
}

func ParseExportsVulnsExportCancelResponse

func ParseExportsVulnsExportCancelResponse(rsp *http.Response) (*ExportsVulnsExportCancelResponse, error)

ParseExportsVulnsExportCancelResponse parses an HTTP response from a ExportsVulnsExportCancelWithResponse call

func (ExportsVulnsExportCancelResponse) Status

Status returns HTTPResponse.Status

func (ExportsVulnsExportCancelResponse) StatusCode

func (r ExportsVulnsExportCancelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportsVulnsExportStatusRecentResponse

type ExportsVulnsExportStatusRecentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Exports *[]struct {
			// The total number of completed chunks available for download.
			ChunksAvailableCount *int `json:"chunks_available_count,omitempty"`

			// The Unix timestamp when the export job was created.
			Created *int `json:"created,omitempty"`

			// The total number of empty chunks.
			EmptyChunksCount *int `json:"empty_chunks_count,omitempty"`

			// The filters used in the export job request. For a list of possible filters, see the [POST /vulns/export](ref:exports-vulns-request-export) and [POST /assets/export](ref:exports-assets-request-export) endpoints.
			Filters *map[string]interface{} `json:"filters,omitempty"`

			// The number of chunks that have been processed and are available for download.
			FinishedChunks *int `json:"finished_chunks,omitempty"`

			// The number of assets contained in each export chunk.
			NumAssetsPerChunk *int `json:"num_assets_per_chunk,omitempty"`

			// The status of the export request. Possible values include:
			//  - QUEUED—Tenable.io has queued the export request until it completes other requests currently in process.
			//  - PROCESSING—Tenable.io has started processing the export request.
			//  - FINISHED—Tenable.io has completed processing the export request. The list of chunks is complete.
			//  - CANCELLED—An administrator has cancelled the export request.
			//  - ERROR—Tenable.io encountered an error while processing the export request. Tenable recommends that you retry the request. If the status persists on retry, contact Support.
			Status *string `json:"status,omitempty"`

			// The total number of chunks associated with the export job as a whole.
			TotalChunks *int `json:"total_chunks,omitempty"`

			// The UUID for the export request.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"exports,omitempty"`
	}
}

func ParseExportsVulnsExportStatusRecentResponse

func ParseExportsVulnsExportStatusRecentResponse(rsp *http.Response) (*ExportsVulnsExportStatusRecentResponse, error)

ParseExportsVulnsExportStatusRecentResponse parses an HTTP response from a ExportsVulnsExportStatusRecentWithResponse call

func (ExportsVulnsExportStatusRecentResponse) Status

Status returns HTTPResponse.Status

func (ExportsVulnsExportStatusRecentResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ExportsVulnsExportStatusResponse

type ExportsVulnsExportStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Information about the export job.
		Status *struct {
			// A list of completed chunks available for download.
			ChunksAvailable *[]int32 `json:"chunks_available,omitempty"`

			// The total number of completed chunks available for download.
			ChunksAvailableCount *int `json:"chunks_available_count,omitempty"`

			// A list of chunks for which the export process was cancelled. If a chunk fails processing, Tenable.io automatically cancels all subsequent chunks queued for export in the same request.
			ChunksCancelled *[]int32 `json:"chunks_cancelled,omitempty"`

			// A list of chunks for which the export process failed. If a chunk fails processing, submit the export request again. If the chunk continues to fail, contact Support.
			ChunksFailed *[]int32 `json:"chunks_failed,omitempty"`

			// The Unix timestamp when the export job was created.
			Created *int `json:"created,omitempty"`

			// The total number of empty chunks.
			EmptyChunksCount *int `json:"empty_chunks_count,omitempty"`

			// The filters used in the export job request. For a list of possible filters, see the [POST /vulns/export](ref:exports-vulns-export-request-export) and [POST /assets/export](ref:exports-assets-request-export) endpoints.
			Filters *map[string]interface{} `json:"filters,omitempty"`

			// The number of chunks that have been processed and are available for download.
			FinishedChunks *int `json:"finished_chunks,omitempty"`

			// The number of assets contained in each export chunk.
			NumAssetsPerChunk *int `json:"num_assets_per_chunk,omitempty"`

			// The status of the export request. Possible values include:
			//  - QUEUED—Tenable.io has queued the export request until it completes other requests currently in process.
			//  - PROCESSING—Tenable.io has started processing the export request.
			//  - FINISHED—Tenable.io has completed processing the export request. The list of chunks is complete.
			//  - CANCELLED—An administrator has cancelled the export request.
			//  - ERROR—Tenable.io encountered an error while processing the export request. Tenable recommends that you retry the request. If the status persists on retry, contact Support.
			Status *string `json:"status,omitempty"`

			// The total number of chunks associated with the export job as a whole.
			TotalChunks *int `json:"total_chunks,omitempty"`

			// The UUID for the export request.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"status,omitempty"`
	}
}

func ParseExportsVulnsExportStatusResponse

func ParseExportsVulnsExportStatusResponse(rsp *http.Response) (*ExportsVulnsExportStatusResponse, error)

ParseExportsVulnsExportStatusResponse parses an HTTP response from a ExportsVulnsExportStatusWithResponse call

func (ExportsVulnsExportStatusResponse) Status

Status returns HTTPResponse.Status

func (ExportsVulnsExportStatusResponse) StatusCode

func (r ExportsVulnsExportStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportsVulnsInterface

type ExportsVulnsInterface interface {
	DownloadChunk(arg1 string, arg2 int32, reqEditors ...RequestEditorFn) (*ExportsVulnsDownloadChunkResponse, error)
	ExportCancel(contentType string, reqEditors ...RequestEditorFn) (*struct {
		Status *string "json:\"status,omitempty\""
	}, error)
	ExportStatusRecent(reqEditors ...RequestEditorFn) (*struct {
		Exports *[]struct {
			ChunksAvailableCount *int                    "json:\"chunks_available_count,omitempty\""
			Created              *int                    "json:\"created,omitempty\""
			EmptyChunksCount     *int                    "json:\"empty_chunks_count,omitempty\""
			Filters              *map[string]interface{} "json:\"filters,omitempty\""
			FinishedChunks       *int                    "json:\"finished_chunks,omitempty\""
			NumAssetsPerChunk    *int                    "json:\"num_assets_per_chunk,omitempty\""
			Status               *string                 "json:\"status,omitempty\""
			TotalChunks          *int                    "json:\"total_chunks,omitempty\""
			Uuid                 *string                 "json:\"uuid,omitempty\""
		} "json:\"exports,omitempty\""
	}, error)
	ExportStatus(contentType string, reqEditors ...RequestEditorFn) (*struct {
		Status *struct {
			ChunksAvailable      *[]int32                "json:\"chunks_available,omitempty\""
			ChunksAvailableCount *int                    "json:\"chunks_available_count,omitempty\""
			ChunksCancelled      *[]int32                "json:\"chunks_cancelled,omitempty\""
			ChunksFailed         *[]int32                "json:\"chunks_failed,omitempty\""
			Created              *int                    "json:\"created,omitempty\""
			EmptyChunksCount     *int                    "json:\"empty_chunks_count,omitempty\""
			Filters              *map[string]interface{} "json:\"filters,omitempty\""
			FinishedChunks       *int                    "json:\"finished_chunks,omitempty\""
			NumAssetsPerChunk    *int                    "json:\"num_assets_per_chunk,omitempty\""
			Status               *string                 "json:\"status,omitempty\""
			TotalChunks          *int                    "json:\"total_chunks,omitempty\""
			Uuid                 *string                 "json:\"uuid,omitempty\""
		} "json:\"status,omitempty\""
	}, error)
	RequestExportWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		ExportUuid *string "json:\"export_uuid,omitempty\""
	}, error)
	RequestExport(arg1 ExportsVulnsRequestExportJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		ExportUuid *string "json:\"export_uuid,omitempty\""
	}, error)
}

ExportsVulnsInterface contains all methods for the nessus api

type ExportsVulnsRequestExportJSONBody

type ExportsVulnsRequestExportJSONBody struct {
	// Specifies filters for exported vulnerabilities.
	//
	// **Note:** By default, vulnerability exports will only include vulnerabilities found or fixed within the last 30 days if no time-based filters (`indexed_at`, `last_fixed`, `last_found`, or `first_found`) are submitted with the request.
	Filters *struct {
		// Restricts search for vulnerabilities to assets assigned an IP address within the specified CIDR range. For example, 0.0.0.0/0 restricts the search to 0.0.0.1 and 255.255.255.254.
		CidrRange *string `json:"cidr_range,omitempty"`

		// Returns vulnerabilities that were first found between the specified date (in Unix time) and now.
		FirstFound *int64 `json:"first_found,omitempty"`

		// Returns vulnerabilities that were indexed into Tenable.io at the specified date and time (in Unix time).
		IndexedAt *int64 `json:"indexed_at,omitempty"`

		// Returns vulnerabilities that were fixed between the specified date (in Unix time) and now.
		LastFixed *int64 `json:"last_fixed,omitempty"`

		// Returns vulnerabilities that were last found between the specified date (in Unix time) and now.
		LastFound *int64 `json:"last_found,omitempty"`

		// The ID of the network object associated with scanners that detected the vulnerabilities you want to export. The default network ID is `00000000-0000-0000-0000-000000000000`. To determine the ID of a custom network, use the [GET /networks](ref:networks-list) endpoint. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
		NetworkId *string `json:"network_id,omitempty"`

		// A list of plugin families for which you want to filter the vulnerabilities returned in the vulnerability export. This filter is case-sensitive. If your request omits this parameter, the export includes all vulnerabilities regardless of plugin family. For a list of supported plugin family values, use the [GET /plugins/families](ref:io-plugins-families-list) endpoint.
		PluginFamily *[]string `json:"plugin_family,omitempty"`

		// A list of plugin IDs for which you want to filter the vulnerabilities returned in the vulnerability export. If your request omits this parameter, the export includes all vulnerabilities regardless of plugin ID.
		PluginId *[]int `json:"plugin_id,omitempty"`

		// The plugin type for which you want to filter the vulnerabilities returned in the vulnerability export. For example, `remote`, `local`, `combined`, etc. If your request omits this parameter, the export includes all vulnerabilities regardless of plugin type.
		PluginType *string `json:"plugin_type,omitempty"`

		// The severity of the vulnerabilities to include in the export. Defaults to all severity levels. The severity of a vulnerability is defined using the Common Vulnerability Scoring System (CVSS) base score. Supported array values are:
		//  - info—The vulnerability has a CVSS score of 0.
		//  - low—The vulnerability has a CVSS score between 0.1 and 3.9.
		//  - medium—The vulnerability has a CVSS score between 4.0 and 6.9.
		//  - high—The vulnerability has a CVSS score between 7.0 and 9.9.
		//  - critical—The vulnerability has a CVSS score of 10.0.
		Severity *[]string `json:"severity,omitempty"`

		// The start date (in Unix time) for the range of data you want to export. Use this filter in conjunction with the state filter as follows:
		//  - If the state filter is set to `open` or `reopened`, the export includes data for vulnerabilities that were seen on or after the since date you specify.
		//  - If the state filter is set to `fixed`, the export includes data for vulnerabilities that were fixed on or after the since date you specify.
		//  - If you do not include the state filter in your request, the export includes data for open and reopened vulnerabilities that were seen on or after the since date you specify, and fixed vulnerabilities that were fixed on or after the since date you specify.
		// **Note:** This filter cannot be used in conjunction with the `first_found`, `last_found`, or `last_fixed` filters.
		Since *int64 `json:"since,omitempty"`

		// The state of the vulnerabilities you want the export to include. Supported, case-insensitive values are:
		//  - open—The vulnerability is currently present on a host.
		//  - reopened—The vulnerability was previously marked as fixed on a host, but has returned.
		//  - fixed—The vulnerability was present on a host, but is no longer detected.
		//
		// This parameter is required if your request includes `first_found`, `last_found`, or `last_fixed` parameters. If your request omits this parameter, the export includes default states `open` and `reopened` only.
		State *[]string `json:"state,omitempty"`

		// Returns vulnerabilities on assets with the specified asset tags. The filter is defined as "tag", a period ("."), and the tag category name. The value of the filter is an array of tag values. For more information about tags, see the <a href="https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Settings/TagFormatAndApplication.htm" target="_blank">Tenable.io Vulnerability Management User Guide</a>.
		Tagcategory *[]string `json:"tag.<category>,omitempty"`

		// Returns vulnerabilities with the specified Vulnerability Priority Rating (VPR) score or scores. You can combine properties in this object to specify VPR ranges. For example, to export vulnerabilities greater than or equal to 9.0 but lesser than or equal to 9.9, the object would contain a `gte` property of 9.0 and an `lte` property of 9.9.
		//
		// For more information about VPR, see <a href="https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/RiskMetrics.htm" target="_blank">Severity vs. VPR</a> in the <i>Tenable.io Vulnerability Management User Guide</i>.
		VprScore *struct {
			// Returns vulnerabilities with a VPR equal to the specified score or scores. This property cannot be combined with the following range operators: `lt`, `gt`, `lte`, or `gte`.
			Eq *[]float32 `json:"eq,omitempty"`

			// Returns vulnerabilities with a VPR greater than the specified score. This property cannot be combined with the `eq` property.
			Gt *float32 `json:"gt,omitempty"`

			// Returns vulnerabilities with a VPR greater than or equal to the specified score. This property cannot be combined with the `eq` property.
			Gte *float32 `json:"gte,omitempty"`

			// Returns vulnerabilities with a VPR lesser than the specified score. This property cannot be combined with the `eq` property.
			Lt *float32 `json:"lt,omitempty"`

			// Returns vulnerabilities with a VPR lesser than or equal to the specified score. This property cannot be combined with the `eq` property.
			Lte *float32 `json:"lte,omitempty"`

			// Returns vulnerabilities with a VPR not equal to the specified score or scores. This property can be combined with the `eq` property.
			Neq *[]float32 `json:"neq,omitempty"`
		} `json:"vpr_score,omitempty"`
	} `json:"filters,omitempty"`

	// Specifies whether or not to include unlicensed assets. The default is `false` when no parameter is specified.
	IncludeUnlicensed *bool `json:"include_unlicensed,omitempty"`

	// Specifies the number of assets used to chunk the vulnerabilities. The vulnerabilities export is split up by number of asset IDs in a chunk. The exported data of a chunk is the sum of all the vulnerabilities for each asset in that chunk. The range for number of assets in a chunk is a minimum of 50 (the default size) to a maximum of 5,000. If you specify a value outside this range, the system uses the upper or lower-bound value.
	NumAssets int32 `json:"num_assets"`
}

ExportsVulnsRequestExportJSONBody defines parameters for ExportsVulnsRequestExport.

type ExportsVulnsRequestExportJSONRequestBody

type ExportsVulnsRequestExportJSONRequestBody ExportsVulnsRequestExportJSONBody

ExportsVulnsRequestExportJSONRequestBody defines body for ExportsVulnsRequestExport for application/json ContentType.

type ExportsVulnsRequestExportResponse

type ExportsVulnsRequestExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The UUID of the vulnerabilities export job.
		ExportUuid *string `json:"export_uuid,omitempty"`
	}
}

func ParseExportsVulnsRequestExportResponse

func ParseExportsVulnsRequestExportResponse(rsp *http.Response) (*ExportsVulnsRequestExportResponse, error)

ParseExportsVulnsRequestExportResponse parses an HTTP response from a ExportsVulnsRequestExportWithResponse call

func (ExportsVulnsRequestExportResponse) Status

Status returns HTTPResponse.Status

func (ExportsVulnsRequestExportResponse) StatusCode

func (r ExportsVulnsRequestExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FileUploadParams

type FileUploadParams struct {
	// Send value of `1` when uploading an encrypted file.
	NoEnc *FileUploadParamsNoEnc `json:"no_enc,omitempty"`
}

FileUploadParams defines parameters for FileUpload.

type FileUploadParamsNoEnc

type FileUploadParamsNoEnc int32

FileUploadParamsNoEnc defines parameters for FileUpload.

type FileUploadResponse

type FileUploadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The name of the uploaded file. If the file with the same name already exists, Tenable.io appends an underscore with a number. For example, `scan-targets_1.txt`. Use this attribute value when referencing the file for subsequent requests.
		Fileuploaded *string `json:"fileuploaded,omitempty"`
	}
}

func ParseFileUploadResponse

func ParseFileUploadResponse(rsp *http.Response) (*FileUploadResponse, error)

ParseFileUploadResponse parses an HTTP response from a FileUploadWithResponse call

func (FileUploadResponse) Status

func (r FileUploadResponse) Status() string

Status returns HTTPResponse.Status

func (FileUploadResponse) StatusCode

func (r FileUploadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Folders

type Folders struct {
	*ClientWithResponses
}

Folders implementation of the Folders interface

func (*Folders) Create

func (c *Folders) Create(arg1 FoldersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	Id *int "json:\"id,omitempty\""
}, error)

Create calls the Folders ´s function

func (*Folders) CreateWithBody

func (c *Folders) CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	Id *int "json:\"id,omitempty\""
}, error)

CreateWithBody calls the Folders ´s function

func (*Folders) Delete

func (c *Folders) Delete(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)

Delete calls the Folders ´s function

func (*Folders) Edit

func (c *Folders) Edit(arg1 int32, arg2 FoldersEditJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)

Edit calls the Folders ´s function

func (*Folders) EditWithBody

func (c *Folders) EditWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)

EditWithBody calls the Folders ´s function

func (*Folders) List

func (c *Folders) List(reqEditors ...RequestEditorFn) (*struct {
	Folders []struct {
		Custom      *int    "json:\"custom,omitempty\""
		DefaultTag  *int    "json:\"default_tag,omitempty\""
		Id          *int    "json:\"id,omitempty\""
		Name        *string "json:\"name,omitempty\""
		Type        *string "json:\"type,omitempty\""
		UnreadCount *int    "json:\"unread_count,omitempty\""
	} "json:\"folders,omitempty\""
}, error)

List calls the Folders ´s function

type FoldersCreateJSONBody

type FoldersCreateJSONBody struct {
	// The name of the folder.
	//
	// **Note:** Folder names can only contain letters, numbers, underscores, hyphens, and whitespace.
	Name string `json:"name"`
}

FoldersCreateJSONBody defines parameters for FoldersCreate.

type FoldersCreateJSONRequestBody

type FoldersCreateJSONRequestBody FoldersCreateJSONBody

FoldersCreateJSONRequestBody defines body for FoldersCreate for application/json ContentType.

type FoldersCreateResponse

type FoldersCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The ID of the created folder.
		Id *int `json:"id,omitempty"`
	}
}

func ParseFoldersCreateResponse

func ParseFoldersCreateResponse(rsp *http.Response) (*FoldersCreateResponse, error)

ParseFoldersCreateResponse parses an HTTP response from a FoldersCreateWithResponse call

func (FoldersCreateResponse) Status

func (r FoldersCreateResponse) Status() string

Status returns HTTPResponse.Status

func (FoldersCreateResponse) StatusCode

func (r FoldersCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FoldersDeleteResponse

type FoldersDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseFoldersDeleteResponse

func ParseFoldersDeleteResponse(rsp *http.Response) (*FoldersDeleteResponse, error)

ParseFoldersDeleteResponse parses an HTTP response from a FoldersDeleteWithResponse call

func (FoldersDeleteResponse) Status

func (r FoldersDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (FoldersDeleteResponse) StatusCode

func (r FoldersDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FoldersEditJSONBody

type FoldersEditJSONBody struct {
	// The name of the folder.
	// **Note:** Tenable.io does not allow the following special characters in folder names: `( ) [ ] : ; = + / | \ ? , ^ % & $`
	Name string `json:"name"`
}

FoldersEditJSONBody defines parameters for FoldersEdit.

type FoldersEditJSONRequestBody

type FoldersEditJSONRequestBody FoldersEditJSONBody

FoldersEditJSONRequestBody defines body for FoldersEdit for application/json ContentType.

type FoldersEditResponse

type FoldersEditResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseFoldersEditResponse

func ParseFoldersEditResponse(rsp *http.Response) (*FoldersEditResponse, error)

ParseFoldersEditResponse parses an HTTP response from a FoldersEditWithResponse call

func (FoldersEditResponse) Status

func (r FoldersEditResponse) Status() string

Status returns HTTPResponse.Status

func (FoldersEditResponse) StatusCode

func (r FoldersEditResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FoldersInterface

type FoldersInterface interface {
	CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		Id *int "json:\"id,omitempty\""
	}, error)
	Create(arg1 FoldersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		Id *int "json:\"id,omitempty\""
	}, error)
	Delete(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)
	EditWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)
	Edit(arg1 int32, arg2 FoldersEditJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)
	List(reqEditors ...RequestEditorFn) (*struct {
		Folders []struct {
			Custom      *int    "json:\"custom,omitempty\""
			DefaultTag  *int    "json:\"default_tag,omitempty\""
			Id          *int    "json:\"id,omitempty\""
			Name        *string "json:\"name,omitempty\""
			Type        *string "json:\"type,omitempty\""
			UnreadCount *int    "json:\"unread_count,omitempty\""
		} "json:\"folders,omitempty\""
	}, error)
}

FoldersInterface contains all methods for the nessus api

type FoldersListResponse

type FoldersListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Folders []struct {
			// Indicates whether or not the folder is a custom folder:
			//  - 1—User-created folder. You can rename or delete this folder.
			//  - 0—System-created folder. You cannot rename or delete this folder.
			Custom *int `json:"custom,omitempty"`

			// Indicates whether or not the folder is the default:
			//  - 1—The folder is the default.
			//  - 0—The folder is not the default.
			//
			// The main folder is the default folder. You cannot change the default folder.
			DefaultTag *int `json:"default_tag,omitempty"`

			// The unique ID of the folder.
			Id *int `json:"id,omitempty"`

			// The name of the folder. This value corresponds to the folder type as follows:
			//  - main—My Scans
			//  - trash—Trash
			// -custom—user-defined string.
			Name *string `json:"name,omitempty"`

			// The type of the folder:
			// - main—Tenable-provided folder. Contains all scans that you create but do not assign to a custom folder, as well as any scans shared with you by other users. If you do not specify a scan folder when creating a scan, Tenable.io stores scans in this folder by default. This folder corresponds to the **My Scans** folder in the Tenable.io user interface.
			//  - trash—Tenable-provided folder. Contains all scans that the current user has moved to the trash folder. Scans stored in the trash folder are automatically deleted after 30 days. This folder corresponds to the **Trash** folder in the Tenable.io user interface.
			//  - custom—User-created folder. Contains scans as assigned by the current user. You can create custom folders to meet your organizational needs.
			Type *string `json:"type,omitempty"`

			// The number of scans in the folder that the current user has not yet viewed in the Tenable.io user interface.
			UnreadCount *int `json:"unread_count,omitempty"`
		} `json:"folders,omitempty"`
	}
}

func ParseFoldersListResponse

func ParseFoldersListResponse(rsp *http.Response) (*FoldersListResponse, error)

ParseFoldersListResponse parses an HTTP response from a FoldersListWithResponse call

func (FoldersListResponse) Status

func (r FoldersListResponse) Status() string

Status returns HTTPResponse.Status

func (FoldersListResponse) StatusCode

func (r FoldersListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IoAgent

type IoAgent struct {
	*ClientWithResponses
}

IoAgent implementation of the IoAgent interface

func (*IoAgent) BulkOperationsAddToNetwork

func (c *IoAgent) BulkOperationsAddToNetwork(arg1 IoAgentBulkOperationsAddToNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

BulkOperationsAddToNetwork calls the IoAgent ´s function

func (*IoAgent) BulkOperationsAddToNetworkWithBody

func (c *IoAgent) BulkOperationsAddToNetworkWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

BulkOperationsAddToNetworkWithBody calls the IoAgent ´s function

func (*IoAgent) BulkOperationsDirective

func (c *IoAgent) BulkOperationsDirective(arg1 IoAgentBulkOperationsDirectiveJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

BulkOperationsDirective calls the IoAgent ´s function

func (*IoAgent) BulkOperationsDirectiveWithBody

func (c *IoAgent) BulkOperationsDirectiveWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

BulkOperationsDirectiveWithBody calls the IoAgent ´s function

func (*IoAgent) BulkOperationsGroupDirective

func (c *IoAgent) BulkOperationsGroupDirective(arg1 int32, arg2 IoAgentBulkOperationsGroupDirectiveJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

BulkOperationsGroupDirective calls the IoAgent ´s function

func (*IoAgent) BulkOperationsGroupDirectiveWithBody

func (c *IoAgent) BulkOperationsGroupDirectiveWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

BulkOperationsGroupDirectiveWithBody calls the IoAgent ´s function

func (*IoAgent) BulkOperationsRemoveFromNetwork

func (c *IoAgent) BulkOperationsRemoveFromNetwork(arg1 IoAgentBulkOperationsRemoveFromNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

BulkOperationsRemoveFromNetwork calls the IoAgent ´s function

func (*IoAgent) BulkOperationsRemoveFromNetworkWithBody

func (c *IoAgent) BulkOperationsRemoveFromNetworkWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
	ContainerUuid           *string     "json:\"container_uuid,omitempty\""
	EndTime                 *int        "json:\"end_time,omitempty\""
	LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
	Message                 *string     "json:\"message,omitempty\""
	StartTime               *int        "json:\"start_time,omitempty\""
	Status                  *N200Status "json:\"status,omitempty\""
	TaskId                  *string     "json:\"task_id,omitempty\""
	TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
	TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
}, error)

BulkOperationsRemoveFromNetworkWithBody calls the IoAgent ´s function

type IoAgentBulkOperationsAddToNetworkJSONBody

type IoAgentBulkOperationsAddToNetworkJSONBody struct {
	// Specifies criteria you wish to filter agents on.
	Criteria *struct {
		// Indicates whether or not to match against all agents.
		AllAgents *bool `json:"all_agents,omitempty"`

		// Indicates how to combine the `filters` conditions. Possible values are `and` or `or`.
		FilterType *IoAgentBulkOperationsAddToNetworkJSONBodyCriteriaFilterType `json:"filter_type,omitempty"`

		// An array of string or numeric operations to match against agents. For example, `name:match:laptop` or `core_version:lt:10.0.0`.
		Filters *[]interface{} `json:"filters,omitempty"`

		// Additional filters that will always be added as `and` conditions.
		HardcodedFilters *[]interface{} `json:"hardcoded_filters,omitempty"`

		// A string used to match against all string-like attributes of an agent.
		Wildcard *string `json:"wildcard,omitempty"`
	} `json:"criteria,omitempty"`

	// An array of agent IDs or UUIDs to add to the criteria filter.
	Items *[]interface{} `json:"items,omitempty"`

	// An array of agent IDs or UUIDs to exclude from the criteria filter.
	NotItems *[]interface{} `json:"not_items,omitempty"`
}

IoAgentBulkOperationsAddToNetworkJSONBody defines parameters for IoAgentBulkOperationsAddToNetwork.

type IoAgentBulkOperationsAddToNetworkJSONBodyCriteriaFilterType

type IoAgentBulkOperationsAddToNetworkJSONBodyCriteriaFilterType string

IoAgentBulkOperationsAddToNetworkJSONBodyCriteriaFilterType defines parameters for IoAgentBulkOperationsAddToNetwork.

type IoAgentBulkOperationsAddToNetworkJSONRequestBody

type IoAgentBulkOperationsAddToNetworkJSONRequestBody IoAgentBulkOperationsAddToNetworkJSONBody

IoAgentBulkOperationsAddToNetworkJSONRequestBody defines body for IoAgentBulkOperationsAddToNetwork for application/json ContentType.

type IoAgentBulkOperationsAddToNetworkResponse

type IoAgentBulkOperationsAddToNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// `total_work_units_completed` divided by `total_work_units`.
		CompletionPercentage *int `json:"completion_percentage,omitempty"`

		// The UUID of the container where the task is operating.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// End time of the task in unix time milliseconds, if the task is finished.
		EndTime *int `json:"end_time,omitempty"`

		// Last time progress was made on executing the task in unix time milliseconds.
		LastUpdateTime *int `json:"last_update_time,omitempty"`

		// An informative, human-readable message about the state of the task.
		Message *string `json:"message,omitempty"`

		// Start time of the task in unix time milliseconds.
		StartTime *int `json:"start_time,omitempty"`

		// State of the task. `NEW` means that the task was created, but has not yet started running. `RUNNING` means that the task is in progress. `COMPLETED` means that the task is done. `FAILED` means that there was an error completing the task. `STALE` means that the task has not been updated in a long time.
		Status *N200Status `json:"status,omitempty"`

		// The UUID of the task.
		TaskId *string `json:"task_id,omitempty"`

		// Total amount of work which the task will attempt to complete.
		TotalWorkUnits *int `json:"total_work_units,omitempty"`

		// Total amount of work that the task has completed.
		TotalWorkUnitsCompleted *int `json:"total_work_units_completed,omitempty"`
	}
}

func ParseIoAgentBulkOperationsAddToNetworkResponse

func ParseIoAgentBulkOperationsAddToNetworkResponse(rsp *http.Response) (*IoAgentBulkOperationsAddToNetworkResponse, error)

ParseIoAgentBulkOperationsAddToNetworkResponse parses an HTTP response from a IoAgentBulkOperationsAddToNetworkWithResponse call

func (IoAgentBulkOperationsAddToNetworkResponse) Status

Status returns HTTPResponse.Status

func (IoAgentBulkOperationsAddToNetworkResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type IoAgentBulkOperationsDirectiveJSONBody

type IoAgentBulkOperationsDirectiveJSONBody struct {
	// Specifies criteria you wish to filter agents on.
	Criteria *struct {
		// Indicates whether or not to match against all agents.
		AllAgents *bool `json:"all_agents,omitempty"`

		// Indicates how to combine the `filters` conditions. Possible values are `and` or `or`.
		FilterType *IoAgentBulkOperationsDirectiveJSONBodyCriteriaFilterType `json:"filter_type,omitempty"`

		// An array of string or numeric operations to match against agents. For example, `name:match:laptop` or `core_version:lt:10.0.0`.
		Filters *[]interface{} `json:"filters,omitempty"`

		// Additional filters that will always be added as `and` conditions.
		HardcodedFilters *[]interface{} `json:"hardcoded_filters,omitempty"`

		// A string used to match against all string-like attributes of an agent.
		Wildcard *string `json:"wildcard,omitempty"`
	} `json:"criteria,omitempty"`

	// Specifies the instructions you wish to send to the agents.
	Directive *struct {
		// Additional information about the instruction to perform. For example, if the `type` is `restart`, you can use the options `"hard": true` or `"idle": true`.
		Options *map[string]interface{} `json:"options,omitempty"`

		// The type of instruction to perform. Possible instructions are `restart` and `settings`.
		Type *IoAgentBulkOperationsDirectiveJSONBodyDirectiveType `json:"type,omitempty"`
	} `json:"directive,omitempty"`

	// An array of agent IDs or UUIDs to add to the criteria filter.
	Items *[]interface{} `json:"items,omitempty"`

	// An array of agent IDs or UUIDs to exclude from the criteria filter.
	NotItems *[]interface{} `json:"not_items,omitempty"`
}

IoAgentBulkOperationsDirectiveJSONBody defines parameters for IoAgentBulkOperationsDirective.

type IoAgentBulkOperationsDirectiveJSONBodyCriteriaFilterType

type IoAgentBulkOperationsDirectiveJSONBodyCriteriaFilterType string

IoAgentBulkOperationsDirectiveJSONBodyCriteriaFilterType defines parameters for IoAgentBulkOperationsDirective.

type IoAgentBulkOperationsDirectiveJSONBodyDirectiveType

type IoAgentBulkOperationsDirectiveJSONBodyDirectiveType string

IoAgentBulkOperationsDirectiveJSONBodyDirectiveType defines parameters for IoAgentBulkOperationsDirective.

type IoAgentBulkOperationsDirectiveJSONRequestBody

type IoAgentBulkOperationsDirectiveJSONRequestBody IoAgentBulkOperationsDirectiveJSONBody

IoAgentBulkOperationsDirectiveJSONRequestBody defines body for IoAgentBulkOperationsDirective for application/json ContentType.

type IoAgentBulkOperationsDirectiveResponse

type IoAgentBulkOperationsDirectiveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// `total_work_units_completed` divided by `total_work_units`.
		CompletionPercentage *int `json:"completion_percentage,omitempty"`

		// The UUID of the container where the task is operating.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// End time of the task in unix time milliseconds, if the task is finished.
		EndTime *int `json:"end_time,omitempty"`

		// Last time progress was made on executing the task in unix time milliseconds.
		LastUpdateTime *int `json:"last_update_time,omitempty"`

		// An informative, human-readable message about the state of the task.
		Message *string `json:"message,omitempty"`

		// Start time of the task in unix time milliseconds.
		StartTime *int `json:"start_time,omitempty"`

		// State of the task. `NEW` means that the task was created, but has not yet started running. `RUNNING` means that the task is in progress. `COMPLETED` means that the task is done. `FAILED` means that there was an error completing the task. `STALE` means that the task has not been updated in a long time.
		Status *N200Status `json:"status,omitempty"`

		// The UUID of the task.
		TaskId *string `json:"task_id,omitempty"`

		// Total amount of work which the task will attempt to complete.
		TotalWorkUnits *int `json:"total_work_units,omitempty"`

		// Total amount of work that the task has completed.
		TotalWorkUnitsCompleted *int `json:"total_work_units_completed,omitempty"`
	}
}

func ParseIoAgentBulkOperationsDirectiveResponse

func ParseIoAgentBulkOperationsDirectiveResponse(rsp *http.Response) (*IoAgentBulkOperationsDirectiveResponse, error)

ParseIoAgentBulkOperationsDirectiveResponse parses an HTTP response from a IoAgentBulkOperationsDirectiveWithResponse call

func (IoAgentBulkOperationsDirectiveResponse) Status

Status returns HTTPResponse.Status

func (IoAgentBulkOperationsDirectiveResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type IoAgentBulkOperationsGroupDirectiveJSONBody

type IoAgentBulkOperationsGroupDirectiveJSONBody struct {
	// Specifies criteria you wish to filter agents on.
	Criteria *struct {
		// Indicates whether or not to match against all agents.
		AllAgents *bool `json:"all_agents,omitempty"`

		// Indicates how to combine the `filters` conditions. Possible values are `and` or `or`.
		FilterType *IoAgentBulkOperationsGroupDirectiveJSONBodyCriteriaFilterType `json:"filter_type,omitempty"`

		// An array of string or numeric operations to match against agents. For example, `name:match:laptop` or `core_version:lt:10.0.0`.
		Filters *[]interface{} `json:"filters,omitempty"`

		// Additional filters that will always be added as `and` conditions.
		HardcodedFilters *[]interface{} `json:"hardcoded_filters,omitempty"`

		// A string used to match against all string-like attributes of an agent.
		Wildcard *string `json:"wildcard,omitempty"`
	} `json:"criteria,omitempty"`

	// Specifies the instructions you wish to send to the agents.
	Directive *struct {
		// Additional information about the instruction to perform. For example, if the `type` is `restart`, you can use the options `"hard": true` or `"idle": true`.
		Options *map[string]interface{} `json:"options,omitempty"`

		// The type of instruction to perform. Possible instructions are `restart` and `settings`.
		Type *IoAgentBulkOperationsGroupDirectiveJSONBodyDirectiveType `json:"type,omitempty"`
	} `json:"directive,omitempty"`

	// An array of agent IDs or UUIDs to add to the criteria filter.
	Items *[]interface{} `json:"items,omitempty"`

	// An array of agent IDs or UUIDs to exclude from the criteria filter.
	NotItems *[]interface{} `json:"not_items,omitempty"`
}

IoAgentBulkOperationsGroupDirectiveJSONBody defines parameters for IoAgentBulkOperationsGroupDirective.

type IoAgentBulkOperationsGroupDirectiveJSONBodyCriteriaFilterType

type IoAgentBulkOperationsGroupDirectiveJSONBodyCriteriaFilterType string

IoAgentBulkOperationsGroupDirectiveJSONBodyCriteriaFilterType defines parameters for IoAgentBulkOperationsGroupDirective.

type IoAgentBulkOperationsGroupDirectiveJSONBodyDirectiveType

type IoAgentBulkOperationsGroupDirectiveJSONBodyDirectiveType string

IoAgentBulkOperationsGroupDirectiveJSONBodyDirectiveType defines parameters for IoAgentBulkOperationsGroupDirective.

type IoAgentBulkOperationsGroupDirectiveJSONRequestBody

type IoAgentBulkOperationsGroupDirectiveJSONRequestBody IoAgentBulkOperationsGroupDirectiveJSONBody

IoAgentBulkOperationsGroupDirectiveJSONRequestBody defines body for IoAgentBulkOperationsGroupDirective for application/json ContentType.

type IoAgentBulkOperationsGroupDirectiveResponse

type IoAgentBulkOperationsGroupDirectiveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// `total_work_units_completed` divided by `total_work_units`.
		CompletionPercentage *int `json:"completion_percentage,omitempty"`

		// The UUID of the container where the task is operating.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// End time of the task in unix time milliseconds, if the task is finished.
		EndTime *int `json:"end_time,omitempty"`

		// Last time progress was made on executing the task in unix time milliseconds.
		LastUpdateTime *int `json:"last_update_time,omitempty"`

		// An informative, human-readable message about the state of the task.
		Message *string `json:"message,omitempty"`

		// Start time of the task in unix time milliseconds.
		StartTime *int `json:"start_time,omitempty"`

		// State of the task. `NEW` means that the task was created, but has not yet started running. `RUNNING` means that the task is in progress. `COMPLETED` means that the task is done. `FAILED` means that there was an error completing the task. `STALE` means that the task has not been updated in a long time.
		Status *N200Status `json:"status,omitempty"`

		// The UUID of the task.
		TaskId *string `json:"task_id,omitempty"`

		// Total amount of work which the task will attempt to complete.
		TotalWorkUnits *int `json:"total_work_units,omitempty"`

		// Total amount of work that the task has completed.
		TotalWorkUnitsCompleted *int `json:"total_work_units_completed,omitempty"`
	}
}

func ParseIoAgentBulkOperationsGroupDirectiveResponse

func ParseIoAgentBulkOperationsGroupDirectiveResponse(rsp *http.Response) (*IoAgentBulkOperationsGroupDirectiveResponse, error)

ParseIoAgentBulkOperationsGroupDirectiveResponse parses an HTTP response from a IoAgentBulkOperationsGroupDirectiveWithResponse call

func (IoAgentBulkOperationsGroupDirectiveResponse) Status

Status returns HTTPResponse.Status

func (IoAgentBulkOperationsGroupDirectiveResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type IoAgentBulkOperationsRemoveFromNetworkJSONBody

type IoAgentBulkOperationsRemoveFromNetworkJSONBody struct {
	// Specifies criteria you wish to filter agents on.
	Criteria *struct {
		// Indicates whether or not to match against all agents.
		AllAgents *bool `json:"all_agents,omitempty"`

		// Indicates how to combine the `filters` conditions. Possible values are `and` or `or`.
		FilterType *IoAgentBulkOperationsRemoveFromNetworkJSONBodyCriteriaFilterType `json:"filter_type,omitempty"`

		// An array of string or numeric operations to match against agents. For example, `name:match:laptop` or `core_version:lt:10.0.0`.
		Filters *[]interface{} `json:"filters,omitempty"`

		// Additional filters that will always be added as `and` conditions.
		HardcodedFilters *[]interface{} `json:"hardcoded_filters,omitempty"`

		// A string used to match against all string-like attributes of an agent.
		Wildcard *string `json:"wildcard,omitempty"`
	} `json:"criteria,omitempty"`

	// An array of agent IDs or UUIDs to add to the criteria filter.
	Items *[]interface{} `json:"items,omitempty"`

	// An array of agent IDs or UUIDs to exclude from the criteria filter.
	NotItems *[]interface{} `json:"not_items,omitempty"`
}

IoAgentBulkOperationsRemoveFromNetworkJSONBody defines parameters for IoAgentBulkOperationsRemoveFromNetwork.

type IoAgentBulkOperationsRemoveFromNetworkJSONBodyCriteriaFilterType

type IoAgentBulkOperationsRemoveFromNetworkJSONBodyCriteriaFilterType string

IoAgentBulkOperationsRemoveFromNetworkJSONBodyCriteriaFilterType defines parameters for IoAgentBulkOperationsRemoveFromNetwork.

type IoAgentBulkOperationsRemoveFromNetworkJSONRequestBody

type IoAgentBulkOperationsRemoveFromNetworkJSONRequestBody IoAgentBulkOperationsRemoveFromNetworkJSONBody

IoAgentBulkOperationsRemoveFromNetworkJSONRequestBody defines body for IoAgentBulkOperationsRemoveFromNetwork for application/json ContentType.

type IoAgentBulkOperationsRemoveFromNetworkResponse

type IoAgentBulkOperationsRemoveFromNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// `total_work_units_completed` divided by `total_work_units`.
		CompletionPercentage *int `json:"completion_percentage,omitempty"`

		// The UUID of the container where the task is operating.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// End time of the task in unix time milliseconds, if the task is finished.
		EndTime *int `json:"end_time,omitempty"`

		// Last time progress was made on executing the task in unix time milliseconds.
		LastUpdateTime *int `json:"last_update_time,omitempty"`

		// An informative, human-readable message about the state of the task.
		Message *string `json:"message,omitempty"`

		// Start time of the task in unix time milliseconds.
		StartTime *int `json:"start_time,omitempty"`

		// State of the task. `NEW` means that the task was created, but has not yet started running. `RUNNING` means that the task is in progress. `COMPLETED` means that the task is done. `FAILED` means that there was an error completing the task. `STALE` means that the task has not been updated in a long time.
		Status *N200Status `json:"status,omitempty"`

		// The UUID of the task.
		TaskId *string `json:"task_id,omitempty"`

		// Total amount of work which the task will attempt to complete.
		TotalWorkUnits *int `json:"total_work_units,omitempty"`

		// Total amount of work that the task has completed.
		TotalWorkUnitsCompleted *int `json:"total_work_units_completed,omitempty"`
	}
}

func ParseIoAgentBulkOperationsRemoveFromNetworkResponse

func ParseIoAgentBulkOperationsRemoveFromNetworkResponse(rsp *http.Response) (*IoAgentBulkOperationsRemoveFromNetworkResponse, error)

ParseIoAgentBulkOperationsRemoveFromNetworkResponse parses an HTTP response from a IoAgentBulkOperationsRemoveFromNetworkWithResponse call

func (IoAgentBulkOperationsRemoveFromNetworkResponse) Status

Status returns HTTPResponse.Status

func (IoAgentBulkOperationsRemoveFromNetworkResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type IoAgentInterface

type IoAgentInterface interface {
	BulkOperationsAddToNetworkWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
	BulkOperationsAddToNetwork(arg1 IoAgentBulkOperationsAddToNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
	BulkOperationsDirectiveWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
	BulkOperationsDirective(arg1 IoAgentBulkOperationsDirectiveJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
	BulkOperationsGroupDirectiveWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
	BulkOperationsGroupDirective(arg1 int32, arg2 IoAgentBulkOperationsGroupDirectiveJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
	BulkOperationsRemoveFromNetworkWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
	BulkOperationsRemoveFromNetwork(arg1 IoAgentBulkOperationsRemoveFromNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		CompletionPercentage    *int        "json:\"completion_percentage,omitempty\""
		ContainerUuid           *string     "json:\"container_uuid,omitempty\""
		EndTime                 *int        "json:\"end_time,omitempty\""
		LastUpdateTime          *int        "json:\"last_update_time,omitempty\""
		Message                 *string     "json:\"message,omitempty\""
		StartTime               *int        "json:\"start_time,omitempty\""
		Status                  *N200Status "json:\"status,omitempty\""
		TaskId                  *string     "json:\"task_id,omitempty\""
		TotalWorkUnits          *int        "json:\"total_work_units,omitempty\""
		TotalWorkUnitsCompleted *int        "json:\"total_work_units_completed,omitempty\""
	}, error)
}

IoAgentInterface contains all methods for the nessus api

type IoExportsCompliance

type IoExportsCompliance struct {
	*ClientWithResponses
}

IoExportsCompliance implementation of the IoExportsCompliance interface

func (*IoExportsCompliance) Cancel

func (c *IoExportsCompliance) Cancel(contentType string, reqEditors ...RequestEditorFn) (*IoExportsComplianceCancelResponse, error)

Cancel calls the IoExportsCompliance ´s function

func (*IoExportsCompliance) Create

func (c *IoExportsCompliance) Create(arg1 IoExportsComplianceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	ExportUuid *string "json:\"export_uuid,omitempty\""
}, error)

Create calls the IoExportsCompliance ´s function

func (*IoExportsCompliance) CreateWithBody

func (c *IoExportsCompliance) CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	ExportUuid *string "json:\"export_uuid,omitempty\""
}, error)

CreateWithBody calls the IoExportsCompliance ´s function

func (*IoExportsCompliance) Download

func (c *IoExportsCompliance) Download(arg1 string, arg2 int32, reqEditors ...RequestEditorFn) (*[]struct {
	ActualValue   *string "json:\"actual_value,omitempty\""
	AssetUuid     *string "json:\"asset_uuid,omitempty\""
	AuditFile     *string "json:\"audit_file,omitempty\""
	CheckError    *string "json:\"check_error,omitempty\""
	CheckId       *string "json:\"check_id,omitempty\""
	CheckInfo     *string "json:\"check_info,omitempty\""
	CheckName     *string "json:\"check_name,omitempty\""
	DbType        *string "json:\"db_type,omitempty\""
	ExpectedValue *string "json:\"expected_value,omitempty\""
	FirstSeen     *int64  "json:\"first_seen,omitempty\""
	LastSeen      *int64  "json:\"last_seen,omitempty\""
	PluginId      *int    "json:\"plugin_id,omitempty\""
	ProfileName   *string "json:\"profile_name,omitempty\""
	Reference     *[]struct {
		Control   *string "json:\"control,omitempty\""
		Framework *string "json:\"framework,omitempty\""
	} "json:\"reference,omitempty\""
	SeeAlso  *string "json:\"see_also,omitempty\""
	Solution *string "json:\"solution,omitempty\""
	Status   *string "json:\"status,omitempty\""
}, error)

Download calls the IoExportsCompliance ´s function

func (*IoExportsCompliance) Status

func (c *IoExportsCompliance) Status(contentType string, reqEditors ...RequestEditorFn) (*struct {
	ChunksAvailable *[]int32 "json:\"chunks_available,omitempty\""
	Status          *string  "json:\"status,omitempty\""
}, error)

Status calls the IoExportsCompliance ´s function

type IoExportsComplianceCancelResponse

type IoExportsComplianceCancelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseIoExportsComplianceCancelResponse

func ParseIoExportsComplianceCancelResponse(rsp *http.Response) (*IoExportsComplianceCancelResponse, error)

ParseIoExportsComplianceCancelResponse parses an HTTP response from a IoExportsComplianceCancelWithResponse call

func (IoExportsComplianceCancelResponse) Status

Status returns HTTPResponse.Status

func (IoExportsComplianceCancelResponse) StatusCode

func (r IoExportsComplianceCancelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoExportsComplianceCreateJSONBody

type IoExportsComplianceCreateJSONBody struct {
	// A list of asset UUIDs for which you want to return compliance data. The list can contain a maximum of 200 asset UUIDs.
	Asset *[]string `json:"asset,omitempty"`

	// A list of filters that Tenable.io applies to exported compliance data. To return compliance data for all assets, omit the filters object.
	//
	// **Note:** The `first_seen` filter cannot be used by itself. You must use `last_seen` and `first_seen` together or only `last_seen`.
	Filters *struct {
		// Filters assets that were first seen by a scan between the specified date (in Unix time) and now.
		FirstSeen *int64 `json:"first_seen,omitempty"`

		// Filters assets that were last seen by a scan between the specified date (in Unix time) and now.
		LastSeen *int64 `json:"last_seen,omitempty"`
	} `json:"filters,omitempty"`

	// Specifies the number of compliance findings per exported chunk. The range is 50-10000. If your request omits the `num_findings` body parameter, the value defaults to `5000`. If you specify a value outside of the supported range, Tenable.io uses the upper or lower-bound value.
	NumFindings *int32 `json:"num_findings,omitempty"`
}

IoExportsComplianceCreateJSONBody defines parameters for IoExportsComplianceCreate.

type IoExportsComplianceCreateJSONRequestBody

type IoExportsComplianceCreateJSONRequestBody IoExportsComplianceCreateJSONBody

IoExportsComplianceCreateJSONRequestBody defines body for IoExportsComplianceCreate for application/json ContentType.

type IoExportsComplianceCreateResponse

type IoExportsComplianceCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The UUID of the compliance export job.
		ExportUuid *string `json:"export_uuid,omitempty"`
	}
}

func ParseIoExportsComplianceCreateResponse

func ParseIoExportsComplianceCreateResponse(rsp *http.Response) (*IoExportsComplianceCreateResponse, error)

ParseIoExportsComplianceCreateResponse parses an HTTP response from a IoExportsComplianceCreateWithResponse call

func (IoExportsComplianceCreateResponse) Status

Status returns HTTPResponse.Status

func (IoExportsComplianceCreateResponse) StatusCode

func (r IoExportsComplianceCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoExportsComplianceDownloadResponse

type IoExportsComplianceDownloadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// The actual value (integer, string, or table) evaluated from the compliance check. For example, if a password length compliance check requires passwords to be 8 characters long, but the evaluated value was 7 then `7` is the actual value. For manual checks, this field will contain the output of the command that was executed.
		ActualValue *string `json:"actual_value,omitempty"`

		// The UUID of the asset on which the compliance check was executed.
		AssetUuid *string `json:"asset_uuid,omitempty"`

		// The name of the audit file containing the compliance check.
		AuditFile *string `json:"audit_file,omitempty"`

		// An error message if the compliance evaluation fails.
		CheckError *string `json:"check_error,omitempty"`

		// The unique identifier for the compliance finding.
		CheckId *string `json:"check_id,omitempty"`

		// Full text description of the compliance check.
		CheckInfo *string `json:"check_info,omitempty"`

		// The descriptive name of the compliance check.
		CheckName *string `json:"check_name,omitempty"`

		// The type of database if the compliance check assessed a database.
		DbType *string `json:"db_type,omitempty"`

		// The desired value (integer or string) for the compliance check. For example, if a password length compliance check requires passwords to be 8 characters long then `8` is the expected value. For manual checks, this field will contain the command used for the compliance check.
		ExpectedValue *string `json:"expected_value,omitempty"`

		// The Unix timestamp when a compliance scan first assessed the asset with the compliance check.
		FirstSeen *int64 `json:"first_seen,omitempty"`

		// The Unix timestamp when a compliance scan last assessed the asset with the compliance check.
		LastSeen *int64 `json:"last_seen,omitempty"`

		// The unique ID of the compliance plugin.
		PluginId *int `json:"plugin_id,omitempty"`

		// The name of the profile for the benchmark standard.
		ProfileName *string `json:"profile_name,omitempty"`

		// Industry references for the compliance check.
		Reference *[]struct {
			// The specific control within the compliance framework.
			Control *string `json:"control,omitempty"`

			// The name of the compliance framework.
			Framework *string `json:"framework,omitempty"`
		} `json:"reference,omitempty"`

		// Links to external websites that contain reference information about the compliance check.
		SeeAlso *string `json:"see_also,omitempty"`

		// Remediation information for the compliance check.
		Solution *string `json:"solution,omitempty"`

		// Indicates the result of the compliance check for the given asset.
		//
		// Possible values include:
		//  - PASSED—Returned if the asset has passed the compliance check.
		//  - FAILED—Returned if the asset has failed the compliance check.
		//  - WARNING—Returned in cases where there is no definable passing criteria; for example, an audit where you must verify that members of the administrator group are appropriate for your organization.
		//  - SKIPPED—Returned if the plugin determines that the check is not applicable to the asset. It can also be returned in other various cases; for example, when a check requires that a direct command be run to gather data on an offline network device or if a check contains commands that won't run on the specified OS.
		//  - UNKOWN—Returned when a status cannot be determined for the OVAL check. This status is set by the OVAL engine.
		Status *string `json:"status,omitempty"`
	}
}

func ParseIoExportsComplianceDownloadResponse

func ParseIoExportsComplianceDownloadResponse(rsp *http.Response) (*IoExportsComplianceDownloadResponse, error)

ParseIoExportsComplianceDownloadResponse parses an HTTP response from a IoExportsComplianceDownloadWithResponse call

func (IoExportsComplianceDownloadResponse) Status

Status returns HTTPResponse.Status

func (IoExportsComplianceDownloadResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type IoExportsComplianceInterface

type IoExportsComplianceInterface interface {
	Cancel(contentType string, reqEditors ...RequestEditorFn) (*IoExportsComplianceCancelResponse, error)
	CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		ExportUuid *string "json:\"export_uuid,omitempty\""
	}, error)
	Create(arg1 IoExportsComplianceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		ExportUuid *string "json:\"export_uuid,omitempty\""
	}, error)
	Download(arg1 string, arg2 int32, reqEditors ...RequestEditorFn) (*[]struct {
		ActualValue   *string "json:\"actual_value,omitempty\""
		AssetUuid     *string "json:\"asset_uuid,omitempty\""
		AuditFile     *string "json:\"audit_file,omitempty\""
		CheckError    *string "json:\"check_error,omitempty\""
		CheckId       *string "json:\"check_id,omitempty\""
		CheckInfo     *string "json:\"check_info,omitempty\""
		CheckName     *string "json:\"check_name,omitempty\""
		DbType        *string "json:\"db_type,omitempty\""
		ExpectedValue *string "json:\"expected_value,omitempty\""
		FirstSeen     *int64  "json:\"first_seen,omitempty\""
		LastSeen      *int64  "json:\"last_seen,omitempty\""
		PluginId      *int    "json:\"plugin_id,omitempty\""
		ProfileName   *string "json:\"profile_name,omitempty\""
		Reference     *[]struct {
			Control   *string "json:\"control,omitempty\""
			Framework *string "json:\"framework,omitempty\""
		} "json:\"reference,omitempty\""
		SeeAlso  *string "json:\"see_also,omitempty\""
		Solution *string "json:\"solution,omitempty\""
		Status   *string "json:\"status,omitempty\""
	}, error)
	Status(contentType string, reqEditors ...RequestEditorFn) (*struct {
		ChunksAvailable *[]int32 "json:\"chunks_available,omitempty\""
		Status          *string  "json:\"status,omitempty\""
	}, error)
}

IoExportsComplianceInterface contains all methods for the nessus api

type IoExportsComplianceStatusResponse

type IoExportsComplianceStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A comma-separated list of completed chunks available for download.
		ChunksAvailable *[]int32 `json:"chunks_available,omitempty"`

		// The status of the compliance export request. Possible values include:
		//  - PROCESSING—Tenable.io has started processing the compliance export request.
		//  - FINISHED—Tenable.io has completed processing the export request, the list of chunks is complete, and all chunks are available for download.
		//  - READY—Some chunks are now available for download, but Tenable.io is still processing the export request.
		//  - CANCELLED—An administrator has canceled the export request.
		//  - ERROR—Tenable.io encountered an error while processing the export request. Tenable recommends that you retry the request. If the status persists on retry, contact Support.
		Status *string `json:"status,omitempty"`
	}
}

func ParseIoExportsComplianceStatusResponse

func ParseIoExportsComplianceStatusResponse(rsp *http.Response) (*IoExportsComplianceStatusResponse, error)

ParseIoExportsComplianceStatusResponse parses an HTTP response from a IoExportsComplianceStatusWithResponse call

func (IoExportsComplianceStatusResponse) Status

Status returns HTTPResponse.Status

func (IoExportsComplianceStatusResponse) StatusCode

func (r IoExportsComplianceStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoFilters

type IoFilters struct {
	*ClientWithResponses
}

IoFilters implementation of the IoFilters interface

func (*IoFilters) AgentsList

func (c *IoFilters) AgentsList(reqEditors ...RequestEditorFn) (*struct {
	Filters *[]struct {
		Control *struct {
			ReadableRegex *string "json:\"readable_regex,omitempty\""
			Regex         *string "json:\"regex,omitempty\""
			Type          *string "json:\"type,omitempty\""
		} "json:\"control,omitempty\""
		GroupName    *string   "json:\"group_name,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	} "json:\"filters,omitempty\""
	Sort *struct {
		MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
		SortableFields *[]string "json:\"sortable_fields,omitempty\""
	} "json:\"sort,omitempty\""
	WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
}, error)

AgentsList calls the IoFilters ´s function

func (*IoFilters) AssetsList

func (c *IoFilters) AssetsList(reqEditors ...RequestEditorFn) (*struct {
	Filters *[]struct {
		Control *struct {
			ReadableRegex *string "json:\"readable_regex,omitempty\""
			Regex         *string "json:\"regex,omitempty\""
			Type          *string "json:\"type,omitempty\""
		} "json:\"control,omitempty\""
		GroupName    *string   "json:\"group_name,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	} "json:\"filters,omitempty\""
	Sort *struct {
		MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
		SortableFields *[]string "json:\"sortable_fields,omitempty\""
	} "json:\"sort,omitempty\""
	WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
}, error)

AssetsList calls the IoFilters ´s function

func (*IoFilters) AssetsListV2

func (c *IoFilters) AssetsListV2(arg1 IoFiltersAssetsListV2JSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	Filters *[]struct {
		Control *struct {
			ReadableRegex *string "json:\"readable_regex,omitempty\""
			Regex         *string "json:\"regex,omitempty\""
			Type          *string "json:\"type,omitempty\""
		} "json:\"control,omitempty\""
		GroupName    *string   "json:\"group_name,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	} "json:\"filters,omitempty\""
	Sort *struct {
		MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
		SortableFields *[]string "json:\"sortable_fields,omitempty\""
	} "json:\"sort,omitempty\""
	WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
}, error)

AssetsListV2 calls the IoFilters ´s function

func (*IoFilters) AssetsListV2WithBody

func (c *IoFilters) AssetsListV2WithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	Filters *[]struct {
		Control *struct {
			ReadableRegex *string "json:\"readable_regex,omitempty\""
			Regex         *string "json:\"regex,omitempty\""
			Type          *string "json:\"type,omitempty\""
		} "json:\"control,omitempty\""
		GroupName    *string   "json:\"group_name,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	} "json:\"filters,omitempty\""
	Sort *struct {
		MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
		SortableFields *[]string "json:\"sortable_fields,omitempty\""
	} "json:\"sort,omitempty\""
	WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
}, error)

AssetsListV2WithBody calls the IoFilters ´s function

func (*IoFilters) CredentialsList

func (c *IoFilters) CredentialsList(reqEditors ...RequestEditorFn) (*struct {
	Filters *[]struct {
		Control *struct {
			ReadableRegex *string "json:\"readable_regex,omitempty\""
			Regex         *string "json:\"regex,omitempty\""
			Type          *string "json:\"type,omitempty\""
		} "json:\"control,omitempty\""
		GroupName    *string   "json:\"group_name,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	} "json:\"filters,omitempty\""
	Sort *struct {
		MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
		SortableFields *[]string "json:\"sortable_fields,omitempty\""
	} "json:\"sort,omitempty\""
	WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
}, error)

CredentialsList calls the IoFilters ´s function

func (*IoFilters) ScanHistoryList

func (c *IoFilters) ScanHistoryList(reqEditors ...RequestEditorFn) (*struct {
	Filters *[]struct {
		Control *struct {
			ReadableRegex *string "json:\"readable_regex,omitempty\""
			Regex         *string "json:\"regex,omitempty\""
			Type          *string "json:\"type,omitempty\""
		} "json:\"control,omitempty\""
		GroupName    *string   "json:\"group_name,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	} "json:\"filters,omitempty\""
	Sort *struct {
		MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
		SortableFields *[]string "json:\"sortable_fields,omitempty\""
	} "json:\"sort,omitempty\""
	WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
}, error)

ScanHistoryList calls the IoFilters ´s function

func (*IoFilters) ScanList

func (c *IoFilters) ScanList(reqEditors ...RequestEditorFn) (*struct {
	Filters *[]struct {
		Control *struct {
			ReadableRegex *string "json:\"readable_regex,omitempty\""
			Regex         *string "json:\"regex,omitempty\""
			Type          *string "json:\"type,omitempty\""
		} "json:\"control,omitempty\""
		GroupName    *string   "json:\"group_name,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	} "json:\"filters,omitempty\""
}, error)

ScanList calls the IoFilters ´s function

func (*IoFilters) VulnerabilitiesWorkbenchList

func (c *IoFilters) VulnerabilitiesWorkbenchList(reqEditors ...RequestEditorFn) (*struct {
	Filters *[]struct {
		Control *struct {
			ReadableRegex *string "json:\"readable_regex,omitempty\""
			Regex         *string "json:\"regex,omitempty\""
			Type          *string "json:\"type,omitempty\""
		} "json:\"control,omitempty\""
		GroupName    *string   "json:\"group_name,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	} "json:\"filters,omitempty\""
	Sort *struct {
		MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
		SortableFields *[]string "json:\"sortable_fields,omitempty\""
	} "json:\"sort,omitempty\""
	WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
}, error)

VulnerabilitiesWorkbenchList calls the IoFilters ´s function

func (*IoFilters) VulnerabilitiesWorkbenchListV2

func (c *IoFilters) VulnerabilitiesWorkbenchListV2(arg1 IoFiltersVulnerabilitiesWorkbenchListV2JSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	Filters *[]struct {
		Control *struct {
			ReadableRegex *string "json:\"readable_regex,omitempty\""
			Regex         *string "json:\"regex,omitempty\""
			Type          *string "json:\"type,omitempty\""
		} "json:\"control,omitempty\""
		GroupName    *string   "json:\"group_name,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	} "json:\"filters,omitempty\""
	Sort *struct {
		MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
		SortableFields *[]string "json:\"sortable_fields,omitempty\""
	} "json:\"sort,omitempty\""
	WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
}, error)

VulnerabilitiesWorkbenchListV2 calls the IoFilters ´s function

func (*IoFilters) VulnerabilitiesWorkbenchListV2WithBody

func (c *IoFilters) VulnerabilitiesWorkbenchListV2WithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	Filters *[]struct {
		Control *struct {
			ReadableRegex *string "json:\"readable_regex,omitempty\""
			Regex         *string "json:\"regex,omitempty\""
			Type          *string "json:\"type,omitempty\""
		} "json:\"control,omitempty\""
		GroupName    *string   "json:\"group_name,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	} "json:\"filters,omitempty\""
	Sort *struct {
		MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
		SortableFields *[]string "json:\"sortable_fields,omitempty\""
	} "json:\"sort,omitempty\""
	WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
}, error)

VulnerabilitiesWorkbenchListV2WithBody calls the IoFilters ´s function

type IoFiltersAgentsListResponse

type IoFiltersAgentsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A list of filters available for the record type.
		Filters *[]struct {
			Control *struct {
				// Provides a human-readable "hint" which describes what the filter string should look like.
				ReadableRegex *string `json:"readable_regex,omitempty"`

				// A regex which can be used by a user interface to validate input.
				Regex *string `json:"regex,omitempty"`

				// The type of UI control which represents the filter.
				Type *string `json:"type,omitempty"`
			} `json:"control,omitempty"`

			// Always set to `NULL`. Legacy attribute associated with deprecated functionality.
			GroupName *string `json:"group_name,omitempty"`

			// The field name to be used in request query strings when applying the filter.
			Name *string `json:"name,omitempty"`

			// Strings which represent the comparison operations which can be used for the filter.
			Operators *[]string `json:"operators,omitempty"`

			// The filter's display label.
			ReadableName *string `json:"readable_name,omitempty"`
		} `json:"filters,omitempty"`

		// The sorting parameters supported for data returned by the endpoint.
		Sort *struct {
			// Maximum number of fields that may be specified for sorting. If this is parameter is not present, any number of fields may be used.
			MaxSortFields *int `json:"max_sort_fields,omitempty"`

			// Fields by which the returned list of records may be sorted.
			SortableFields *[]string `json:"sortable_fields,omitempty"`
		} `json:"sort,omitempty"`

		// Array of strings which represent each field which supports "wildcard" search. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the supported fields' values matches against the filter string, then the record matches the wildcard filter. Note that for a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters.
		WildcardFields *[]string `json:"wildcard_fields,omitempty"`
	}
}

func ParseIoFiltersAgentsListResponse

func ParseIoFiltersAgentsListResponse(rsp *http.Response) (*IoFiltersAgentsListResponse, error)

ParseIoFiltersAgentsListResponse parses an HTTP response from a IoFiltersAgentsListWithResponse call

func (IoFiltersAgentsListResponse) Status

Status returns HTTPResponse.Status

func (IoFiltersAgentsListResponse) StatusCode

func (r IoFiltersAgentsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoFiltersAssetsListResponse

type IoFiltersAssetsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A list of filters available for the record type.
		Filters *[]struct {
			Control *struct {
				// Provides a human-readable "hint" which describes what the filter string should look like.
				ReadableRegex *string `json:"readable_regex,omitempty"`

				// A regex which can be used by a user interface to validate input.
				Regex *string `json:"regex,omitempty"`

				// The type of UI control which represents the filter.
				Type *string `json:"type,omitempty"`
			} `json:"control,omitempty"`

			// Always set to `NULL`. Legacy attribute associated with deprecated functionality.
			GroupName *string `json:"group_name,omitempty"`

			// The field name to be used in request query strings when applying the filter.
			Name *string `json:"name,omitempty"`

			// Strings which represent the comparison operations which can be used for the filter.
			Operators *[]string `json:"operators,omitempty"`

			// The filter's display label.
			ReadableName *string `json:"readable_name,omitempty"`
		} `json:"filters,omitempty"`

		// The sorting parameters supported for data returned by the endpoint.
		Sort *struct {
			// Maximum number of fields that may be specified for sorting. If this is parameter is not present, any number of fields may be used.
			MaxSortFields *int `json:"max_sort_fields,omitempty"`

			// Fields by which the returned list of records may be sorted.
			SortableFields *[]string `json:"sortable_fields,omitempty"`
		} `json:"sort,omitempty"`

		// Array of strings which represent each field which supports "wildcard" search. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the supported fields' values matches against the filter string, then the record matches the wildcard filter. Note that for a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters.
		WildcardFields *[]string `json:"wildcard_fields,omitempty"`
	}
}

func ParseIoFiltersAssetsListResponse

func ParseIoFiltersAssetsListResponse(rsp *http.Response) (*IoFiltersAssetsListResponse, error)

ParseIoFiltersAssetsListResponse parses an HTTP response from a IoFiltersAssetsListWithResponse call

func (IoFiltersAssetsListResponse) Status

Status returns HTTPResponse.Status

func (IoFiltersAssetsListResponse) StatusCode

func (r IoFiltersAssetsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoFiltersAssetsListV2JSONBody

type IoFiltersAssetsListV2JSONBody struct {
	// A list of tag UUIDs that are guaranteed to be returned in the initial data set of the `tag_uuid` filter, if the tags exist.
	TagUuids *[]string `json:"tag_uuids,omitempty"`
}

IoFiltersAssetsListV2JSONBody defines parameters for IoFiltersAssetsListV2.

type IoFiltersAssetsListV2JSONRequestBody

type IoFiltersAssetsListV2JSONRequestBody IoFiltersAssetsListV2JSONBody

IoFiltersAssetsListV2JSONRequestBody defines body for IoFiltersAssetsListV2 for application/json ContentType.

type IoFiltersAssetsListV2Response

type IoFiltersAssetsListV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A list of filters available for the record type.
		Filters *[]struct {
			Control *struct {
				// Provides a human-readable "hint" which describes what the filter string should look like.
				ReadableRegex *string `json:"readable_regex,omitempty"`

				// A regex which can be used by a user interface to validate input.
				Regex *string `json:"regex,omitempty"`

				// The type of UI control which represents the filter.
				Type *string `json:"type,omitempty"`
			} `json:"control,omitempty"`

			// Always set to `NULL`. Legacy attribute associated with deprecated functionality.
			GroupName *string `json:"group_name,omitempty"`

			// The field name to be used in request query strings when applying the filter.
			Name *string `json:"name,omitempty"`

			// Strings which represent the comparison operations which can be used for the filter.
			Operators *[]string `json:"operators,omitempty"`

			// The filter's display label.
			ReadableName *string `json:"readable_name,omitempty"`
		} `json:"filters,omitempty"`

		// The sorting parameters supported for data returned by the endpoint.
		Sort *struct {
			// Maximum number of fields that may be specified for sorting. If this is parameter is not present, any number of fields may be used.
			MaxSortFields *int `json:"max_sort_fields,omitempty"`

			// Fields by which the returned list of records may be sorted.
			SortableFields *[]string `json:"sortable_fields,omitempty"`
		} `json:"sort,omitempty"`

		// Array of strings which represent each field which supports "wildcard" search. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the supported fields' values matches against the filter string, then the record matches the wildcard filter. Note that for a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters.
		WildcardFields *[]string `json:"wildcard_fields,omitempty"`
	}
}

func ParseIoFiltersAssetsListV2Response

func ParseIoFiltersAssetsListV2Response(rsp *http.Response) (*IoFiltersAssetsListV2Response, error)

ParseIoFiltersAssetsListV2Response parses an HTTP response from a IoFiltersAssetsListV2WithResponse call

func (IoFiltersAssetsListV2Response) Status

Status returns HTTPResponse.Status

func (IoFiltersAssetsListV2Response) StatusCode

func (r IoFiltersAssetsListV2Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoFiltersCredentialsListResponse

type IoFiltersCredentialsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A list of filters available for the record type.
		Filters *[]struct {
			Control *struct {
				// Provides a human-readable "hint" which describes what the filter string should look like.
				ReadableRegex *string `json:"readable_regex,omitempty"`

				// A regex which can be used by a user interface to validate input.
				Regex *string `json:"regex,omitempty"`

				// The type of UI control which represents the filter.
				Type *string `json:"type,omitempty"`
			} `json:"control,omitempty"`

			// Always set to `NULL`. Legacy attribute associated with deprecated functionality.
			GroupName *string `json:"group_name,omitempty"`

			// The field name to be used in request query strings when applying the filter.
			Name *string `json:"name,omitempty"`

			// Strings which represent the comparison operations which can be used for the filter.
			Operators *[]string `json:"operators,omitempty"`

			// The filter's display label.
			ReadableName *string `json:"readable_name,omitempty"`
		} `json:"filters,omitempty"`

		// The sorting parameters supported for data returned by the endpoint.
		Sort *struct {
			// Maximum number of fields that may be specified for sorting. If this is parameter is not present, any number of fields may be used.
			MaxSortFields *int `json:"max_sort_fields,omitempty"`

			// Fields by which the returned list of records may be sorted.
			SortableFields *[]string `json:"sortable_fields,omitempty"`
		} `json:"sort,omitempty"`

		// Array of strings which represent each field which supports "wildcard" search. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the supported fields' values matches against the filter string, then the record matches the wildcard filter. Note that for a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters.
		WildcardFields *[]string `json:"wildcard_fields,omitempty"`
	}
}

func ParseIoFiltersCredentialsListResponse

func ParseIoFiltersCredentialsListResponse(rsp *http.Response) (*IoFiltersCredentialsListResponse, error)

ParseIoFiltersCredentialsListResponse parses an HTTP response from a IoFiltersCredentialsListWithResponse call

func (IoFiltersCredentialsListResponse) Status

Status returns HTTPResponse.Status

func (IoFiltersCredentialsListResponse) StatusCode

func (r IoFiltersCredentialsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoFiltersInterface

type IoFiltersInterface interface {
	AgentsList(reqEditors ...RequestEditorFn) (*struct {
		Filters *[]struct {
			Control *struct {
				ReadableRegex *string "json:\"readable_regex,omitempty\""
				Regex         *string "json:\"regex,omitempty\""
				Type          *string "json:\"type,omitempty\""
			} "json:\"control,omitempty\""
			GroupName    *string   "json:\"group_name,omitempty\""
			Name         *string   "json:\"name,omitempty\""
			Operators    *[]string "json:\"operators,omitempty\""
			ReadableName *string   "json:\"readable_name,omitempty\""
		} "json:\"filters,omitempty\""
		Sort *struct {
			MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
			SortableFields *[]string "json:\"sortable_fields,omitempty\""
		} "json:\"sort,omitempty\""
		WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
	}, error)
	AssetsListV2WithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		Filters *[]struct {
			Control *struct {
				ReadableRegex *string "json:\"readable_regex,omitempty\""
				Regex         *string "json:\"regex,omitempty\""
				Type          *string "json:\"type,omitempty\""
			} "json:\"control,omitempty\""
			GroupName    *string   "json:\"group_name,omitempty\""
			Name         *string   "json:\"name,omitempty\""
			Operators    *[]string "json:\"operators,omitempty\""
			ReadableName *string   "json:\"readable_name,omitempty\""
		} "json:\"filters,omitempty\""
		Sort *struct {
			MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
			SortableFields *[]string "json:\"sortable_fields,omitempty\""
		} "json:\"sort,omitempty\""
		WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
	}, error)
	AssetsListV2(arg1 IoFiltersAssetsListV2JSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		Filters *[]struct {
			Control *struct {
				ReadableRegex *string "json:\"readable_regex,omitempty\""
				Regex         *string "json:\"regex,omitempty\""
				Type          *string "json:\"type,omitempty\""
			} "json:\"control,omitempty\""
			GroupName    *string   "json:\"group_name,omitempty\""
			Name         *string   "json:\"name,omitempty\""
			Operators    *[]string "json:\"operators,omitempty\""
			ReadableName *string   "json:\"readable_name,omitempty\""
		} "json:\"filters,omitempty\""
		Sort *struct {
			MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
			SortableFields *[]string "json:\"sortable_fields,omitempty\""
		} "json:\"sort,omitempty\""
		WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
	}, error)
	AssetsList(reqEditors ...RequestEditorFn) (*struct {
		Filters *[]struct {
			Control *struct {
				ReadableRegex *string "json:\"readable_regex,omitempty\""
				Regex         *string "json:\"regex,omitempty\""
				Type          *string "json:\"type,omitempty\""
			} "json:\"control,omitempty\""
			GroupName    *string   "json:\"group_name,omitempty\""
			Name         *string   "json:\"name,omitempty\""
			Operators    *[]string "json:\"operators,omitempty\""
			ReadableName *string   "json:\"readable_name,omitempty\""
		} "json:\"filters,omitempty\""
		Sort *struct {
			MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
			SortableFields *[]string "json:\"sortable_fields,omitempty\""
		} "json:\"sort,omitempty\""
		WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
	}, error)
	CredentialsList(reqEditors ...RequestEditorFn) (*struct {
		Filters *[]struct {
			Control *struct {
				ReadableRegex *string "json:\"readable_regex,omitempty\""
				Regex         *string "json:\"regex,omitempty\""
				Type          *string "json:\"type,omitempty\""
			} "json:\"control,omitempty\""
			GroupName    *string   "json:\"group_name,omitempty\""
			Name         *string   "json:\"name,omitempty\""
			Operators    *[]string "json:\"operators,omitempty\""
			ReadableName *string   "json:\"readable_name,omitempty\""
		} "json:\"filters,omitempty\""
		Sort *struct {
			MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
			SortableFields *[]string "json:\"sortable_fields,omitempty\""
		} "json:\"sort,omitempty\""
		WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
	}, error)
	ScanHistoryList(reqEditors ...RequestEditorFn) (*struct {
		Filters *[]struct {
			Control *struct {
				ReadableRegex *string "json:\"readable_regex,omitempty\""
				Regex         *string "json:\"regex,omitempty\""
				Type          *string "json:\"type,omitempty\""
			} "json:\"control,omitempty\""
			GroupName    *string   "json:\"group_name,omitempty\""
			Name         *string   "json:\"name,omitempty\""
			Operators    *[]string "json:\"operators,omitempty\""
			ReadableName *string   "json:\"readable_name,omitempty\""
		} "json:\"filters,omitempty\""
		Sort *struct {
			MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
			SortableFields *[]string "json:\"sortable_fields,omitempty\""
		} "json:\"sort,omitempty\""
		WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
	}, error)
	ScanList(reqEditors ...RequestEditorFn) (*struct {
		Filters *[]struct {
			Control *struct {
				ReadableRegex *string "json:\"readable_regex,omitempty\""
				Regex         *string "json:\"regex,omitempty\""
				Type          *string "json:\"type,omitempty\""
			} "json:\"control,omitempty\""
			GroupName    *string   "json:\"group_name,omitempty\""
			Name         *string   "json:\"name,omitempty\""
			Operators    *[]string "json:\"operators,omitempty\""
			ReadableName *string   "json:\"readable_name,omitempty\""
		} "json:\"filters,omitempty\""
	}, error)
	VulnerabilitiesWorkbenchListV2WithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		Filters *[]struct {
			Control *struct {
				ReadableRegex *string "json:\"readable_regex,omitempty\""
				Regex         *string "json:\"regex,omitempty\""
				Type          *string "json:\"type,omitempty\""
			} "json:\"control,omitempty\""
			GroupName    *string   "json:\"group_name,omitempty\""
			Name         *string   "json:\"name,omitempty\""
			Operators    *[]string "json:\"operators,omitempty\""
			ReadableName *string   "json:\"readable_name,omitempty\""
		} "json:\"filters,omitempty\""
		Sort *struct {
			MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
			SortableFields *[]string "json:\"sortable_fields,omitempty\""
		} "json:\"sort,omitempty\""
		WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
	}, error)
	VulnerabilitiesWorkbenchListV2(arg1 IoFiltersVulnerabilitiesWorkbenchListV2JSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		Filters *[]struct {
			Control *struct {
				ReadableRegex *string "json:\"readable_regex,omitempty\""
				Regex         *string "json:\"regex,omitempty\""
				Type          *string "json:\"type,omitempty\""
			} "json:\"control,omitempty\""
			GroupName    *string   "json:\"group_name,omitempty\""
			Name         *string   "json:\"name,omitempty\""
			Operators    *[]string "json:\"operators,omitempty\""
			ReadableName *string   "json:\"readable_name,omitempty\""
		} "json:\"filters,omitempty\""
		Sort *struct {
			MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
			SortableFields *[]string "json:\"sortable_fields,omitempty\""
		} "json:\"sort,omitempty\""
		WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
	}, error)
	VulnerabilitiesWorkbenchList(reqEditors ...RequestEditorFn) (*struct {
		Filters *[]struct {
			Control *struct {
				ReadableRegex *string "json:\"readable_regex,omitempty\""
				Regex         *string "json:\"regex,omitempty\""
				Type          *string "json:\"type,omitempty\""
			} "json:\"control,omitempty\""
			GroupName    *string   "json:\"group_name,omitempty\""
			Name         *string   "json:\"name,omitempty\""
			Operators    *[]string "json:\"operators,omitempty\""
			ReadableName *string   "json:\"readable_name,omitempty\""
		} "json:\"filters,omitempty\""
		Sort *struct {
			MaxSortFields  *int      "json:\"max_sort_fields,omitempty\""
			SortableFields *[]string "json:\"sortable_fields,omitempty\""
		} "json:\"sort,omitempty\""
		WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
	}, error)
}

IoFiltersInterface contains all methods for the nessus api

type IoFiltersScanHistoryListResponse

type IoFiltersScanHistoryListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A list of filters available for the record type.
		Filters *[]struct {
			Control *struct {
				// Provides a human-readable "hint" which describes what the filter string should look like.
				ReadableRegex *string `json:"readable_regex,omitempty"`

				// A regex which can be used by a user interface to validate input.
				Regex *string `json:"regex,omitempty"`

				// The type of UI control which represents the filter.
				Type *string `json:"type,omitempty"`
			} `json:"control,omitempty"`

			// Always set to `NULL`. Legacy attribute associated with deprecated functionality.
			GroupName *string `json:"group_name,omitempty"`

			// The field name to be used in request query strings when applying the filter.
			Name *string `json:"name,omitempty"`

			// Strings which represent the comparison operations which can be used for the filter.
			Operators *[]string `json:"operators,omitempty"`

			// The filter's display label.
			ReadableName *string `json:"readable_name,omitempty"`
		} `json:"filters,omitempty"`

		// The sorting parameters supported for data returned by the endpoint.
		Sort *struct {
			// Maximum number of fields that may be specified for sorting. If this is parameter is not present, any number of fields may be used.
			MaxSortFields *int `json:"max_sort_fields,omitempty"`

			// Fields by which the returned list of records may be sorted.
			SortableFields *[]string `json:"sortable_fields,omitempty"`
		} `json:"sort,omitempty"`

		// Array of strings which represent each field which supports "wildcard" search. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the supported fields' values matches against the filter string, then the record matches the wildcard filter. Note that for a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters.
		WildcardFields *[]string `json:"wildcard_fields,omitempty"`
	}
}

func ParseIoFiltersScanHistoryListResponse

func ParseIoFiltersScanHistoryListResponse(rsp *http.Response) (*IoFiltersScanHistoryListResponse, error)

ParseIoFiltersScanHistoryListResponse parses an HTTP response from a IoFiltersScanHistoryListWithResponse call

func (IoFiltersScanHistoryListResponse) Status

Status returns HTTPResponse.Status

func (IoFiltersScanHistoryListResponse) StatusCode

func (r IoFiltersScanHistoryListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoFiltersScanListResponse

type IoFiltersScanListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A list of filters available for the record type.
		Filters *[]struct {
			Control *struct {
				// Provides a human-readable "hint" which describes what the filter string should look like.
				ReadableRegex *string `json:"readable_regex,omitempty"`

				// A regex which can be used by a user interface to validate input.
				Regex *string `json:"regex,omitempty"`

				// The type of UI control which represents the filter.
				Type *string `json:"type,omitempty"`
			} `json:"control,omitempty"`

			// Always set to `NULL`. Legacy attribute associated with deprecated functionality.
			GroupName *string `json:"group_name,omitempty"`

			// The field name to be used in request query strings when applying the filter.
			Name *string `json:"name,omitempty"`

			// Strings which represent the comparison operations which can be used for the filter.
			Operators *[]string `json:"operators,omitempty"`

			// The filter's display label.
			ReadableName *string `json:"readable_name,omitempty"`
		} `json:"filters,omitempty"`
	}
}

func ParseIoFiltersScanListResponse

func ParseIoFiltersScanListResponse(rsp *http.Response) (*IoFiltersScanListResponse, error)

ParseIoFiltersScanListResponse parses an HTTP response from a IoFiltersScanListWithResponse call

func (IoFiltersScanListResponse) Status

func (r IoFiltersScanListResponse) Status() string

Status returns HTTPResponse.Status

func (IoFiltersScanListResponse) StatusCode

func (r IoFiltersScanListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoFiltersVulnerabilitiesWorkbenchListResponse

type IoFiltersVulnerabilitiesWorkbenchListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A list of filters available for the record type.
		Filters *[]struct {
			Control *struct {
				// Provides a human-readable "hint" which describes what the filter string should look like.
				ReadableRegex *string `json:"readable_regex,omitempty"`

				// A regex which can be used by a user interface to validate input.
				Regex *string `json:"regex,omitempty"`

				// The type of UI control which represents the filter.
				Type *string `json:"type,omitempty"`
			} `json:"control,omitempty"`

			// Always set to `NULL`. Legacy attribute associated with deprecated functionality.
			GroupName *string `json:"group_name,omitempty"`

			// The field name to be used in request query strings when applying the filter.
			Name *string `json:"name,omitempty"`

			// Strings which represent the comparison operations which can be used for the filter.
			Operators *[]string `json:"operators,omitempty"`

			// The filter's display label.
			ReadableName *string `json:"readable_name,omitempty"`
		} `json:"filters,omitempty"`

		// The sorting parameters supported for data returned by the endpoint.
		Sort *struct {
			// Maximum number of fields that may be specified for sorting. If this is parameter is not present, any number of fields may be used.
			MaxSortFields *int `json:"max_sort_fields,omitempty"`

			// Fields by which the returned list of records may be sorted.
			SortableFields *[]string `json:"sortable_fields,omitempty"`
		} `json:"sort,omitempty"`

		// Array of strings which represent each field which supports "wildcard" search. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the supported fields' values matches against the filter string, then the record matches the wildcard filter. Note that for a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters.
		WildcardFields *[]string `json:"wildcard_fields,omitempty"`
	}
}

func ParseIoFiltersVulnerabilitiesWorkbenchListResponse

func ParseIoFiltersVulnerabilitiesWorkbenchListResponse(rsp *http.Response) (*IoFiltersVulnerabilitiesWorkbenchListResponse, error)

ParseIoFiltersVulnerabilitiesWorkbenchListResponse parses an HTTP response from a IoFiltersVulnerabilitiesWorkbenchListWithResponse call

func (IoFiltersVulnerabilitiesWorkbenchListResponse) Status

Status returns HTTPResponse.Status

func (IoFiltersVulnerabilitiesWorkbenchListResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type IoFiltersVulnerabilitiesWorkbenchListV2JSONBody

type IoFiltersVulnerabilitiesWorkbenchListV2JSONBody struct {
	// A list of tag UUIDs that are guaranteed to be returned in the initial data set of the `tag_uuid` filter, if the tags exist.
	TagUuids *[]string `json:"tag_uuids,omitempty"`
}

IoFiltersVulnerabilitiesWorkbenchListV2JSONBody defines parameters for IoFiltersVulnerabilitiesWorkbenchListV2.

type IoFiltersVulnerabilitiesWorkbenchListV2JSONRequestBody

type IoFiltersVulnerabilitiesWorkbenchListV2JSONRequestBody IoFiltersVulnerabilitiesWorkbenchListV2JSONBody

IoFiltersVulnerabilitiesWorkbenchListV2JSONRequestBody defines body for IoFiltersVulnerabilitiesWorkbenchListV2 for application/json ContentType.

type IoFiltersVulnerabilitiesWorkbenchListV2Response

type IoFiltersVulnerabilitiesWorkbenchListV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A list of filters available for the record type.
		Filters *[]struct {
			Control *struct {
				// Provides a human-readable "hint" which describes what the filter string should look like.
				ReadableRegex *string `json:"readable_regex,omitempty"`

				// A regex which can be used by a user interface to validate input.
				Regex *string `json:"regex,omitempty"`

				// The type of UI control which represents the filter.
				Type *string `json:"type,omitempty"`
			} `json:"control,omitempty"`

			// Always set to `NULL`. Legacy attribute associated with deprecated functionality.
			GroupName *string `json:"group_name,omitempty"`

			// The field name to be used in request query strings when applying the filter.
			Name *string `json:"name,omitempty"`

			// Strings which represent the comparison operations which can be used for the filter.
			Operators *[]string `json:"operators,omitempty"`

			// The filter's display label.
			ReadableName *string `json:"readable_name,omitempty"`
		} `json:"filters,omitempty"`

		// The sorting parameters supported for data returned by the endpoint.
		Sort *struct {
			// Maximum number of fields that may be specified for sorting. If this is parameter is not present, any number of fields may be used.
			MaxSortFields *int `json:"max_sort_fields,omitempty"`

			// Fields by which the returned list of records may be sorted.
			SortableFields *[]string `json:"sortable_fields,omitempty"`
		} `json:"sort,omitempty"`

		// Array of strings which represent each field which supports "wildcard" search. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the supported fields' values matches against the filter string, then the record matches the wildcard filter. Note that for a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters.
		WildcardFields *[]string `json:"wildcard_fields,omitempty"`
	}
}

func ParseIoFiltersVulnerabilitiesWorkbenchListV2Response

func ParseIoFiltersVulnerabilitiesWorkbenchListV2Response(rsp *http.Response) (*IoFiltersVulnerabilitiesWorkbenchListV2Response, error)

ParseIoFiltersVulnerabilitiesWorkbenchListV2Response parses an HTTP response from a IoFiltersVulnerabilitiesWorkbenchListV2WithResponse call

func (IoFiltersVulnerabilitiesWorkbenchListV2Response) Status

Status returns HTTPResponse.Status

func (IoFiltersVulnerabilitiesWorkbenchListV2Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type IoNetworks

type IoNetworks struct {
	*ClientWithResponses
}

IoNetworks implementation of the IoNetworks interface

func (*IoNetworks) AssetCountDetails

func (c *IoNetworks) AssetCountDetails(arg1 string, arg2 int, reqEditors ...RequestEditorFn) (*struct {
	NumAssetsNotSeen *int "json:\"numAssetsNotSeen,omitempty\""
	NumAssetstotal   *int "json:\"numAssetstotal,omitempty\""
}, error)

AssetCountDetails calls the IoNetworks ´s function

type IoNetworksAssetCountDetailsResponse

type IoNetworksAssetCountDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The number of assets in the network not seen since the specified number of days.
		NumAssetsNotSeen *int `json:"numAssetsNotSeen,omitempty"`

		// The total number of assets in the network.
		NumAssetstotal *int `json:"numAssetstotal,omitempty"`
	}
}

func ParseIoNetworksAssetCountDetailsResponse

func ParseIoNetworksAssetCountDetailsResponse(rsp *http.Response) (*IoNetworksAssetCountDetailsResponse, error)

ParseIoNetworksAssetCountDetailsResponse parses an HTTP response from a IoNetworksAssetCountDetailsWithResponse call

func (IoNetworksAssetCountDetailsResponse) Status

Status returns HTTPResponse.Status

func (IoNetworksAssetCountDetailsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type IoNetworksInterface

type IoNetworksInterface interface {
	AssetCountDetails(arg1 string, arg2 int, reqEditors ...RequestEditorFn) (*struct {
		NumAssetsNotSeen *int "json:\"numAssetsNotSeen,omitempty\""
		NumAssetstotal   *int "json:\"numAssetstotal,omitempty\""
	}, error)
}

IoNetworksInterface contains all methods for the nessus api

type IoPlugins

type IoPlugins struct {
	*ClientWithResponses
}

IoPlugins implementation of the IoPlugins interface

func (*IoPlugins) Details

func (c *IoPlugins) Details(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
	Attributes *[]struct {
		AttributeName  *string "json:\"attribute_name,omitempty\""
		AttributeValue *string "json:\"attribute_value,omitempty\""
	} "json:\"attributes,omitempty\""
	FamilyName *string "json:\"family_name,omitempty\""
	Id         *int    "json:\"id,omitempty\""
	Name       *string "json:\"name,omitempty\""
}, error)

Details calls the IoPlugins ´s function

func (*IoPlugins) FamiliesList

func (c *IoPlugins) FamiliesList(params *IoPluginsFamiliesListParams, reqEditors ...RequestEditorFn) (*struct {
	Families *[]struct {
		Count *int    "json:\"count,omitempty\""
		Id    *int    "json:\"id,omitempty\""
		Name  *string "json:\"name,omitempty\""
	} "json:\"families,omitempty\""
}, error)

FamiliesList calls the IoPlugins ´s function

func (*IoPlugins) FamilyDetails

func (c *IoPlugins) FamilyDetails(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
	Id      *int    "json:\"id,omitempty\""
	Name    *string "json:\"name,omitempty\""
	Plugins *[]struct {
		Id   *int    "json:\"id,omitempty\""
		Name *string "json:\"name,omitempty\""
	} "json:\"plugins,omitempty\""
}, error)

FamilyDetails calls the IoPlugins ´s function

func (*IoPlugins) List

func (c *IoPlugins) List(params *IoPluginsListParams, reqEditors ...RequestEditorFn) (*struct {
	PluginDetails *[]struct {
		Attributes *[]struct {
			Cpe                *[]string "json:\"cpe,omitempty\""
			Cve                *[]string "json:\"cve,omitempty\""
			Cvss3BaseScore     *string   "json:\"cvss3_base_score,omitempty\""
			Cvss3TemporalScore *float32  "json:\"cvss3_temporal_score,omitempty\""
			CvssBaseScore      *string   "json:\"cvss_base_score,omitempty\""
			CvssTemporalScore  *float32  "json:\"cvss_temporal_score,omitempty\""
			CvssVector         *struct {
				AccessComplexity      *string "json:\"AccessComplexity,omitempty\""
				AccessVector          *string "json:\"AccessVector,omitempty\""
				Authentication        *string "json:\"Authentication,omitempty\""
				AvailabilityImpact    *string "json:\"Availability-Impact,omitempty\""
				ConfidentialityImpact *string "json:\"Confidentiality-Impact,omitempty\""
				IntegrityImpact       *string "json:\"Integrity-Impact,omitempty\""
			} "json:\"cvss_vector,omitempty\""
			DefaultAccount             *string   "json:\"default_account,omitempty\""
			Description                *string   "json:\"description,omitempty\""
			ExploitAvailable           *bool     "json:\"exploit_available,omitempty\""
			ExploitFrameworkCanvas     *bool     "json:\"exploit_framework_canvas,omitempty\""
			ExploitFrameworkCore       *bool     "json:\"exploit_framework_core,omitempty\""
			ExploitFrameworkD2Elliot   *bool     "json:\"exploit_framework_d2_elliot,omitempty\""
			ExploitFrameworkExploithub *bool     "json:\"exploit_framework_exploithub,omitempty\""
			ExploitFrameworkMetasploit *bool     "json:\"exploit_framework_metasploit,omitempty\""
			ExploitedByMalware         *bool     "json:\"exploited_by_malware,omitempty\""
			ExploitedByNessus          *bool     "json:\"exploited_by_nessus,omitempty\""
			HasPatch                   *bool     "json:\"has_patch,omitempty\""
			InTheNews                  *bool     "json:\"in_the_news,omitempty\""
			Malware                    *bool     "json:\"malware,omitempty\""
			PatchPublicationDate       *string   "json:\"patch_publication_date,omitempty\""
			PluginModificationDate     *string   "json:\"plugin_modification_date,omitempty\""
			PluginPublicationDate      *string   "json:\"plugin_publication_date,omitempty\""
			PluginType                 *string   "json:\"plugin_type,omitempty\""
			PluginVersion              *string   "json:\"plugin_version,omitempty\""
			RiskFactor                 *string   "json:\"risk_factor,omitempty\""
			SeeAlso                    *[]string "json:\"see_also,omitempty\""
			Solution                   *string   "json:\"solution,omitempty\""
			Synopsis                   *string   "json:\"synopsis,omitempty\""
			UnsupportedByVendor        *bool     "json:\"unsupported_by_vendor,omitempty\""
			Vpr                        *struct {
				Drivers *map[string]interface{} "json:\"drivers,omitempty\""
				Score   *float32                "json:\"score,omitempty\""
				Updated *string                 "json:\"updated,omitempty\""
			} "json:\"vpr,omitempty\""
			Xref  *[]string "json:\"xref,omitempty\""
			Xrefs *[]string "json:\"xrefs,omitempty\""
		} "json:\"attributes,omitempty\""
		Id   *int    "json:\"id,omitempty\""
		Name *string "json:\"name,omitempty\""
	} "json:\"plugin_details,omitempty\""
}, error)

List calls the IoPlugins ´s function

type IoPluginsDetailsResponse

type IoPluginsDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The plugin attributes.
		Attributes *[]struct {
			// The name of the attribute.
			AttributeName *string `json:"attribute_name,omitempty"`

			// The value of the attribute.
			AttributeValue *string `json:"attribute_value,omitempty"`
		} `json:"attributes,omitempty"`

		// The name of the plugin family.
		FamilyName *string `json:"family_name,omitempty"`

		// The ID of the plugin.
		Id *int `json:"id,omitempty"`

		// The name of the plugin.
		Name *string `json:"name,omitempty"`
	}
}

func ParseIoPluginsDetailsResponse

func ParseIoPluginsDetailsResponse(rsp *http.Response) (*IoPluginsDetailsResponse, error)

ParseIoPluginsDetailsResponse parses an HTTP response from a IoPluginsDetailsWithResponse call

func (IoPluginsDetailsResponse) Status

func (r IoPluginsDetailsResponse) Status() string

Status returns HTTPResponse.Status

func (IoPluginsDetailsResponse) StatusCode

func (r IoPluginsDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoPluginsFamiliesListParams

type IoPluginsFamiliesListParams struct {
	// Specifies whether to return all plugin families. If `true`, the plugin families hidden in Tenable.io UI, for example, Port Scanners, are included in the list.
	All *bool `json:"all,omitempty"`
}

IoPluginsFamiliesListParams defines parameters for IoPluginsFamiliesList.

type IoPluginsFamiliesListResponse

type IoPluginsFamiliesListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Families *[]struct {
			// The number of plugins in the family.
			Count *int `json:"count,omitempty"`

			// The unique ID of the family.
			Id *int `json:"id,omitempty"`

			// The name of the family.
			Name *string `json:"name,omitempty"`
		} `json:"families,omitempty"`
	}
}

func ParseIoPluginsFamiliesListResponse

func ParseIoPluginsFamiliesListResponse(rsp *http.Response) (*IoPluginsFamiliesListResponse, error)

ParseIoPluginsFamiliesListResponse parses an HTTP response from a IoPluginsFamiliesListWithResponse call

func (IoPluginsFamiliesListResponse) Status

Status returns HTTPResponse.Status

func (IoPluginsFamiliesListResponse) StatusCode

func (r IoPluginsFamiliesListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoPluginsFamilyDetailsResponse

type IoPluginsFamilyDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The unique ID of the family.
		Id *int `json:"id,omitempty"`

		// The name of the family.
		Name    *string `json:"name,omitempty"`
		Plugins *[]struct {
			// The ID of the plugin.
			Id *int `json:"id,omitempty"`

			// The name of the plugin.
			Name *string `json:"name,omitempty"`
		} `json:"plugins,omitempty"`
	}
}

func ParseIoPluginsFamilyDetailsResponse

func ParseIoPluginsFamilyDetailsResponse(rsp *http.Response) (*IoPluginsFamilyDetailsResponse, error)

ParseIoPluginsFamilyDetailsResponse parses an HTTP response from a IoPluginsFamilyDetailsWithResponse call

func (IoPluginsFamilyDetailsResponse) Status

Status returns HTTPResponse.Status

func (IoPluginsFamilyDetailsResponse) StatusCode

func (r IoPluginsFamilyDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoPluginsInterface

type IoPluginsInterface interface {
	Details(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
		Attributes *[]struct {
			AttributeName  *string "json:\"attribute_name,omitempty\""
			AttributeValue *string "json:\"attribute_value,omitempty\""
		} "json:\"attributes,omitempty\""
		FamilyName *string "json:\"family_name,omitempty\""
		Id         *int    "json:\"id,omitempty\""
		Name       *string "json:\"name,omitempty\""
	}, error)
	FamiliesList(params *IoPluginsFamiliesListParams, reqEditors ...RequestEditorFn) (*struct {
		Families *[]struct {
			Count *int    "json:\"count,omitempty\""
			Id    *int    "json:\"id,omitempty\""
			Name  *string "json:\"name,omitempty\""
		} "json:\"families,omitempty\""
	}, error)
	FamilyDetails(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
		Id      *int    "json:\"id,omitempty\""
		Name    *string "json:\"name,omitempty\""
		Plugins *[]struct {
			Id   *int    "json:\"id,omitempty\""
			Name *string "json:\"name,omitempty\""
		} "json:\"plugins,omitempty\""
	}, error)
	List(params *IoPluginsListParams, reqEditors ...RequestEditorFn) (*struct {
		PluginDetails *[]struct {
			Attributes *[]struct {
				Cpe                *[]string "json:\"cpe,omitempty\""
				Cve                *[]string "json:\"cve,omitempty\""
				Cvss3BaseScore     *string   "json:\"cvss3_base_score,omitempty\""
				Cvss3TemporalScore *float32  "json:\"cvss3_temporal_score,omitempty\""
				CvssBaseScore      *string   "json:\"cvss_base_score,omitempty\""
				CvssTemporalScore  *float32  "json:\"cvss_temporal_score,omitempty\""
				CvssVector         *struct {
					AccessComplexity      *string "json:\"AccessComplexity,omitempty\""
					AccessVector          *string "json:\"AccessVector,omitempty\""
					Authentication        *string "json:\"Authentication,omitempty\""
					AvailabilityImpact    *string "json:\"Availability-Impact,omitempty\""
					ConfidentialityImpact *string "json:\"Confidentiality-Impact,omitempty\""
					IntegrityImpact       *string "json:\"Integrity-Impact,omitempty\""
				} "json:\"cvss_vector,omitempty\""
				DefaultAccount             *string   "json:\"default_account,omitempty\""
				Description                *string   "json:\"description,omitempty\""
				ExploitAvailable           *bool     "json:\"exploit_available,omitempty\""
				ExploitFrameworkCanvas     *bool     "json:\"exploit_framework_canvas,omitempty\""
				ExploitFrameworkCore       *bool     "json:\"exploit_framework_core,omitempty\""
				ExploitFrameworkD2Elliot   *bool     "json:\"exploit_framework_d2_elliot,omitempty\""
				ExploitFrameworkExploithub *bool     "json:\"exploit_framework_exploithub,omitempty\""
				ExploitFrameworkMetasploit *bool     "json:\"exploit_framework_metasploit,omitempty\""
				ExploitedByMalware         *bool     "json:\"exploited_by_malware,omitempty\""
				ExploitedByNessus          *bool     "json:\"exploited_by_nessus,omitempty\""
				HasPatch                   *bool     "json:\"has_patch,omitempty\""
				InTheNews                  *bool     "json:\"in_the_news,omitempty\""
				Malware                    *bool     "json:\"malware,omitempty\""
				PatchPublicationDate       *string   "json:\"patch_publication_date,omitempty\""
				PluginModificationDate     *string   "json:\"plugin_modification_date,omitempty\""
				PluginPublicationDate      *string   "json:\"plugin_publication_date,omitempty\""
				PluginType                 *string   "json:\"plugin_type,omitempty\""
				PluginVersion              *string   "json:\"plugin_version,omitempty\""
				RiskFactor                 *string   "json:\"risk_factor,omitempty\""
				SeeAlso                    *[]string "json:\"see_also,omitempty\""
				Solution                   *string   "json:\"solution,omitempty\""
				Synopsis                   *string   "json:\"synopsis,omitempty\""
				UnsupportedByVendor        *bool     "json:\"unsupported_by_vendor,omitempty\""
				Vpr                        *struct {
					Drivers *map[string]interface{} "json:\"drivers,omitempty\""
					Score   *float32                "json:\"score,omitempty\""
					Updated *string                 "json:\"updated,omitempty\""
				} "json:\"vpr,omitempty\""
				Xref  *[]string "json:\"xref,omitempty\""
				Xrefs *[]string "json:\"xrefs,omitempty\""
			} "json:\"attributes,omitempty\""
			Id   *int    "json:\"id,omitempty\""
			Name *string "json:\"name,omitempty\""
		} "json:\"plugin_details,omitempty\""
	}, error)
}

IoPluginsInterface contains all methods for the nessus api

type IoPluginsListParams

type IoPluginsListParams struct {
	// The last updated date to filter on in the `YYYY-MM-DD` format. Tenable.io returns only the plugins that have been updated after the specified date.
	LastUpdated *string `json:"last_updated,omitempty"`

	// The number of records to include in the result set. Default is 1,000. The maximum size is 10,000.
	Size *int32 `json:"size,omitempty"`

	// The index of the page to return relative to the specified page size. For example, to return records 10-19 with page size 10, you must specify page 2. If you omit this parameter, Tenable.io applies the default value of 1.
	Page *int32 `json:"page,omitempty"`
}

IoPluginsListParams defines parameters for IoPluginsList.

type IoPluginsListResponse

type IoPluginsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			PluginDetails *[]struct {
				// The plugin attributes. For more information, see [Tenable Plugin Attributes](/docs/tenable-plugin-attributes).
				Attributes *[]struct {
					// A list of plugin target systems identified by Common Platform Enumeration (CPE).
					Cpe *[]string `json:"cpe,omitempty"`

					// A list of Common Vulnerabilities and Exposures (CVE) IDs for the vulnerabilities associated with the plugin.
					Cve *[]string `json:"cve,omitempty"`

					// The CVSSv3 base score (intrinsic and fundamental characteristics of a vulnerability that are constant over time and user environments).
					Cvss3BaseScore *string `json:"cvss3_base_score,omitempty"`

					// The CVSSv3 temporal metrics for the vulnerability.
					Cvss3TemporalScore *float32 `json:"cvss3_temporal_score,omitempty"`

					// The CVSSv2 base score (intrinsic and fundamental characteristics of a vulnerability that are constant over time and user environments).
					CvssBaseScore *string `json:"cvss_base_score,omitempty"`

					// The raw CVSSv2 temporal metrics for the vulnerability.
					CvssTemporalScore *float32 `json:"cvss_temporal_score,omitempty"`

					// The raw CVSSv2 metrics for the vulnerability. For more information, see CVSSv2 documentation.
					CvssVector *struct {
						// The CVSSv2 Access Complexity (AC) metric for the vulnerability the plugin covers. Possible values include:<br />• H—High<br />• M—Medium<br />• L—Low
						AccessComplexity *string `json:"AccessComplexity,omitempty"`

						// The CVSSv2 Access Vector (AV) metric for the vulnerability the plugin covers. Possible values include: <br />• L—Local<br />• A—Adjacent Network<br />• N—Network
						AccessVector *string `json:"AccessVector,omitempty"`

						// The CVSSv2 Authentication (Au) metric for the vulnerability the plugin covers. Possible values include: <br />• N—None<br />• S—Single<br />• M—Multiple
						Authentication *string `json:"Authentication,omitempty"`

						// The CVSSv2 availability impact metric for the vulnerability the plugin covers. Possible values include: <br />• N—None<br />• P—Partial<br />• C—Complete
						AvailabilityImpact *string `json:"Availability-Impact,omitempty"`

						// The CVSSv2 confidentiality impact metric for the vulnerability the plugin covers. Possible values include: <br />• N—None<br />• P—Partial<br />• C—Complete
						ConfidentialityImpact *string `json:"Confidentiality-Impact,omitempty"`

						// The CVSSv2 integrity impact metric for the vulnerability the plugin covers. Possible values include: <br />• N—None<br />• P—Partial<br />• C—Complete
						IntegrityImpact *string `json:"Integrity-Impact,omitempty"`
					} `json:"cvss_vector,omitempty"`

					// Indicates whether the plugin checks for default accounts requiring the use of credentials other than the credentials provided in the scan policy. For more information, see [What are the plugins that test for default accounts?](https://community.tenable.com/s/article/What-are-the-plugins-that-test-for-default-accounts) in the Tenable Community Portal.
					DefaultAccount *string `json:"default_account,omitempty"`

					// The extended description of the plugin.
					Description *string `json:"description,omitempty"`

					// Indicates whether a known public exploit exists for the vulnerability.
					ExploitAvailable *bool `json:"exploit_available,omitempty"`

					// Indicates whether an exploit exists in the Immunity CANVAS framework.
					ExploitFrameworkCanvas *bool `json:"exploit_framework_canvas,omitempty"`

					// Indicates whether an exploit exists in the CORE Impact framework.
					ExploitFrameworkCore *bool `json:"exploit_framework_core,omitempty"`

					// Indicates an exploit exists in the D2 Elliot Web Exploitation framework.
					ExploitFrameworkD2Elliot *bool `json:"exploit_framework_d2_elliot,omitempty"`

					// Indicates whether an exploit exists in the ExploitHub framework.
					ExploitFrameworkExploithub *bool `json:"exploit_framework_exploithub,omitempty"`

					// Indicates whether an exploit exists in the Metasploit framework.
					ExploitFrameworkMetasploit *bool `json:"exploit_framework_metasploit,omitempty"`

					// Indicates whether the vulnerability discovered by this plugin is known to be exploited by malware.
					ExploitedByMalware *bool `json:"exploited_by_malware,omitempty"`

					// Indicates whether Nessus exploited the vulnerability during the process of identification.
					ExploitedByNessus *bool `json:"exploited_by_nessus,omitempty"`

					// Indicates whether the vendor has published a patch for the vulnerability.
					HasPatch *bool `json:"has_patch,omitempty"`

					// Indicates whether this plugin has received media attention (for example, ShellShock, Meltdown).
					InTheNews *bool `json:"in_the_news,omitempty"`

					// Indicates whether the plugin targets potentially malicious files or processes.
					Malware *bool `json:"malware,omitempty"`

					// The date when the vendor published a patch for the vulnerability.
					PatchPublicationDate *string `json:"patch_publication_date,omitempty"`

					// The date when Tenable last updated the plugin.
					PluginModificationDate *string `json:"plugin_modification_date,omitempty"`

					// The date when Tenable originally published the plugin.
					PluginPublicationDate *string `json:"plugin_publication_date,omitempty"`

					// Plugin type, for example, local, remote, or combined. For more information about plugin type, see [Nessus Plugin Types and Categories](https://community.tenable.com/s/article/Nessus-Plugin-Types-and-Categories) in the Tenable Community Portal.
					PluginType *string `json:"plugin_type,omitempty"`

					// The version of the plugin.
					PluginVersion *string `json:"plugin_version,omitempty"`

					// The risk factor associated with the plugin. Possible values are: Low, Medium, High, or Critical.
					RiskFactor *string `json:"risk_factor,omitempty"`

					// Links to external websites that contain helpful information about the vulnerability.
					SeeAlso *[]string `json:"see_also,omitempty"`

					// Remediation information for the vulnerability.
					Solution *string `json:"solution,omitempty"`

					// A brief summary of the vulnerability or vulnerabilities associated with the plugin.
					Synopsis *string `json:"synopsis,omitempty"`

					// Indicates whether the software found by this plugin is unsupported by the software's vendor (for example, Windows 95 or Firefox 3).
					UnsupportedByVendor *bool `json:"unsupported_by_vendor,omitempty"`

					// Information about the Vulnerability Priority Rating (VPR) for the plugin.
					Vpr *struct {
						// The key drivers Tenable uses to calculate a vulnerability's VPR. For more information, see <a href="/docs/vpr-drivers-tio">Vulnerability Priority Rating Drivers</a>.
						Drivers *map[string]interface{} `json:"drivers,omitempty"`

						// The Vulnerability Priority Rating (VPR) for the vulnerability. If a plugin is designed to detect multiple vulnerabilities, the VPR represents the highest value calculated for a vulnerability associated with the plugin. For more information, see <a href="https://docs.tenable.com/cloud/Content/Analysis/RiskMetrics.htm" target="_blank">Severity vs. VPR</a> in the <i>Tenable.io Vulnerability Management User Guide</i>.
						Score *float32 `json:"score,omitempty"`

						// The ISO timestamp when Tenable.io last imported the VPR for this vulnerability. Tenable.io imports updated VPR values every time you run a scan.
						Updated *string `json:"updated,omitempty"`
					} `json:"vpr,omitempty"`

					// References to third-party information about the vulnerability, exploit, or update associated with the plugin. Each reference includes a type, for example, 'FEDORA', and an ID, for example, '2003-047'.
					Xref *[]string `json:"xref,omitempty"`

					// References to third-party information about the vulnerability, exploit, or update associated with the plugin. Each reference includes a type and an ID. For example, 'FEDORA' and '2003-047'.
					Xrefs *[]string `json:"xrefs,omitempty"`
				} `json:"attributes,omitempty"`

				// The ID of the plugin.
				Id *int `json:"id,omitempty"`

				// The name of the plugin.
				Name *string `json:"name,omitempty"`
			} `json:"plugin_details,omitempty"`
		} `json:"data,omitempty"`

		// The URL query parameters for the returned data set. If the request does not specify the parameters, contains default values.
		Params *struct {
			// The 'last_updated' filter value.
			LastUpdated *string `json:"last_updated,omitempty"`

			// The result set page index. For example, if page size is 10, page 2 contains records 10-19. Default value is 1.
			Page *int `json:"page,omitempty"`

			// The result set page size. Default value is 1,000.
			Size *int `json:"size,omitempty"`
		} `json:"params,omitempty"`

		// The number of records in the returned result set.
		Size *int `json:"size,omitempty"`

		// The total number of available plugin records after Tenable.io applies the last_updated filter.
		TotalCount *int `json:"total_count,omitempty"`
	}
}

func ParseIoPluginsListResponse

func ParseIoPluginsListResponse(rsp *http.Response) (*IoPluginsListResponse, error)

ParseIoPluginsListResponse parses an HTTP response from a IoPluginsListWithResponse call

func (IoPluginsListResponse) Status

func (r IoPluginsListResponse) Status() string

Status returns HTTPResponse.Status

func (IoPluginsListResponse) StatusCode

func (r IoPluginsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoScanner

type IoScanner struct {
	*ClientWithResponses
}

IoScanner implementation of the IoScanner interface

func (*IoScanner) GroupsListRoutes

func (c *IoScanner) GroupsListRoutes(arg1 int32, reqEditors ...RequestEditorFn) (*[]struct {
	Route string "json:\"route\""
}, error)

GroupsListRoutes calls the IoScanner ´s function

func (*IoScanner) GroupsUpdateRoutes

func (c *IoScanner) GroupsUpdateRoutes(arg1 int32, arg2 IoScannerGroupsUpdateRoutesJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)

GroupsUpdateRoutes calls the IoScanner ´s function

func (*IoScanner) GroupsUpdateRoutesWithBody

func (c *IoScanner) GroupsUpdateRoutesWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)

GroupsUpdateRoutesWithBody calls the IoScanner ´s function

type IoScannerGroupsListRoutesResponse

type IoScannerGroupsListRoutesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// A hostname, hostname wildcard, IP address, CIDR address, or IP range. For more information about supported route formats, see [Supported Scan Routing Target Formats](doc:manage-scan-routing-tio#section-supported-scan-routing-target-formats).
		Route string `json:"route"`
	}
}

func ParseIoScannerGroupsListRoutesResponse

func ParseIoScannerGroupsListRoutesResponse(rsp *http.Response) (*IoScannerGroupsListRoutesResponse, error)

ParseIoScannerGroupsListRoutesResponse parses an HTTP response from a IoScannerGroupsListRoutesWithResponse call

func (IoScannerGroupsListRoutesResponse) Status

Status returns HTTPResponse.Status

func (IoScannerGroupsListRoutesResponse) StatusCode

func (r IoScannerGroupsListRoutesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoScannerGroupsUpdateRoutesJSONBody

type IoScannerGroupsUpdateRoutesJSONBody struct {
	// A list of zero or more hostnames, hostname wildcards, IP addresses, CIDR addresses, or IP ranges. For more information about supported route formats, see [Supported Scan Routing Target Formats](doc:manage-scan-routing-tio#section-supported-scan-routing-target-formats).
	Routes []string `json:"routes"`
}

IoScannerGroupsUpdateRoutesJSONBody defines parameters for IoScannerGroupsUpdateRoutes.

type IoScannerGroupsUpdateRoutesJSONRequestBody

type IoScannerGroupsUpdateRoutesJSONRequestBody IoScannerGroupsUpdateRoutesJSONBody

IoScannerGroupsUpdateRoutesJSONRequestBody defines body for IoScannerGroupsUpdateRoutes for application/json ContentType.

type IoScannerGroupsUpdateRoutesResponse

type IoScannerGroupsUpdateRoutesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
	JSON400      *struct {
		// A brief description of the cause of the error.
		Error *string `json:"error,omitempty"`
	}
	JSON404 *struct {
		// A brief description of the cause of the error.
		Error *string `json:"error,omitempty"`
	}
}

func ParseIoScannerGroupsUpdateRoutesResponse

func ParseIoScannerGroupsUpdateRoutesResponse(rsp *http.Response) (*IoScannerGroupsUpdateRoutesResponse, error)

ParseIoScannerGroupsUpdateRoutesResponse parses an HTTP response from a IoScannerGroupsUpdateRoutesWithResponse call

func (IoScannerGroupsUpdateRoutesResponse) Status

Status returns HTTPResponse.Status

func (IoScannerGroupsUpdateRoutesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type IoScannerInterface

type IoScannerInterface interface {
	GroupsListRoutes(arg1 int32, reqEditors ...RequestEditorFn) (*[]struct {
		Route string "json:\"route\""
	}, error)
	GroupsUpdateRoutesWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)
	GroupsUpdateRoutes(arg1 int32, arg2 IoScannerGroupsUpdateRoutesJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)
}

IoScannerInterface contains all methods for the nessus api

type IoScans

type IoScans struct {
	*ClientWithResponses
}

IoScans implementation of the IoScans interface

func (*IoScans) CheckAutoTargets

func (c *IoScans) CheckAutoTargets(params *IoScansCheckAutoTargetsParams, arg2 IoScansCheckAutoTargetsJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	MatchedResourceUuids      *[]string "json:\"matched_resource_uuids,omitempty\""
	MissedTargets             *[]string "json:\"missed_targets,omitempty\""
	TotalMatchedResourceUuids *int      "json:\"total_matched_resource_uuids,omitempty\""
	TotalMissedTargets        *int      "json:\"total_missed_targets,omitempty\""
}, error)

CheckAutoTargets calls the IoScans ´s function

func (*IoScans) CheckAutoTargetsWithBody

func (c *IoScans) CheckAutoTargetsWithBody(params *IoScansCheckAutoTargetsParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	MatchedResourceUuids      *[]string "json:\"matched_resource_uuids,omitempty\""
	MissedTargets             *[]string "json:\"missed_targets,omitempty\""
	TotalMatchedResourceUuids *int      "json:\"total_matched_resource_uuids,omitempty\""
	TotalMissedTargets        *int      "json:\"total_missed_targets,omitempty\""
}, error)

CheckAutoTargetsWithBody calls the IoScans ´s function

func (*IoScans) CredentialsConvert

func (c *IoScans) CredentialsConvert(arg1 int, arg2 int, arg3 IoScansCredentialsConvertJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	Uuid *string "json:\"uuid,omitempty\""
}, error)

CredentialsConvert calls the IoScans ´s function

func (*IoScans) CredentialsConvertWithBody

func (c *IoScans) CredentialsConvertWithBody(arg1 int, arg2 int, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	Uuid *string "json:\"uuid,omitempty\""
}, error)

CredentialsConvertWithBody calls the IoScans ´s function

func (*IoScans) RemediationCreate

func (c *IoScans) RemediationCreate(arg1 IoScansRemediationCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	ContainerId          *string "json:\"container_id,omitempty\""
	CreationDate         *int32  "json:\"creation_date,omitempty\""
	CustomTargets        *string "json:\"custom_targets,omitempty\""
	DashboardFile        *string "json:\"dashboard_file,omitempty\""
	DefaultPermissions   *int32  "json:\"default_permissions,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Emails               *string "json:\"emails,omitempty\""
	Enabled              *bool   "json:\"enabled,omitempty\""
	Id                   *int32  "json:\"id,omitempty\""
	IncludeAggregate     *bool   "json:\"include_aggregate,omitempty\""
	LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NotificationFilters  *[]struct {
		Filter  *string "json:\"filter,omitempty\""
		Quality *string "json:\"quality,omitempty\""
		Value   *string "json:\"value,omitempty\""
	} "json:\"notification_filters,omitempty\""
	Owner             *string   "json:\"owner,omitempty\""
	OwnerId           *int      "json:\"owner_id,omitempty\""
	OwnerUuid         *string   "json:\"owner_uuid,omitempty\""
	PolicyId          *int      "json:\"policy_id,omitempty\""
	Remediation       *int      "json:\"remediation,omitempty\""
	Rrules            *string   "json:\"rrules,omitempty\""
	ScanTimeWindow    *string   "json:\"scan_time_window,omitempty\""
	ScannerUuid       *string   "json:\"scanner_uuid,omitempty\""
	Shared            *bool     "json:\"shared,omitempty\""
	Sms               *string   "json:\"sms,omitempty\""
	Starttime         *string   "json:\"starttime,omitempty\""
	TagTargets        *[]string "json:\"tag_targets,omitempty\""
	TagType           *string   "json:\"tag_type,omitempty\""
	TargetNetworkUuid *string   "json:\"target_network_uuid,omitempty\""
	Timezone          *string   "json:\"timezone,omitempty\""
	Type              *string   "json:\"type,omitempty\""
	UserPermissions   *int32    "json:\"user_permissions,omitempty\""
	Uuid              *string   "json:\"uuid,omitempty\""
}, error)

RemediationCreate calls the IoScans ´s function

func (*IoScans) RemediationCreateWithBody

func (c *IoScans) RemediationCreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	ContainerId          *string "json:\"container_id,omitempty\""
	CreationDate         *int32  "json:\"creation_date,omitempty\""
	CustomTargets        *string "json:\"custom_targets,omitempty\""
	DashboardFile        *string "json:\"dashboard_file,omitempty\""
	DefaultPermissions   *int32  "json:\"default_permissions,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Emails               *string "json:\"emails,omitempty\""
	Enabled              *bool   "json:\"enabled,omitempty\""
	Id                   *int32  "json:\"id,omitempty\""
	IncludeAggregate     *bool   "json:\"include_aggregate,omitempty\""
	LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NotificationFilters  *[]struct {
		Filter  *string "json:\"filter,omitempty\""
		Quality *string "json:\"quality,omitempty\""
		Value   *string "json:\"value,omitempty\""
	} "json:\"notification_filters,omitempty\""
	Owner             *string   "json:\"owner,omitempty\""
	OwnerId           *int      "json:\"owner_id,omitempty\""
	OwnerUuid         *string   "json:\"owner_uuid,omitempty\""
	PolicyId          *int      "json:\"policy_id,omitempty\""
	Remediation       *int      "json:\"remediation,omitempty\""
	Rrules            *string   "json:\"rrules,omitempty\""
	ScanTimeWindow    *string   "json:\"scan_time_window,omitempty\""
	ScannerUuid       *string   "json:\"scanner_uuid,omitempty\""
	Shared            *bool     "json:\"shared,omitempty\""
	Sms               *string   "json:\"sms,omitempty\""
	Starttime         *string   "json:\"starttime,omitempty\""
	TagTargets        *[]string "json:\"tag_targets,omitempty\""
	TagType           *string   "json:\"tag_type,omitempty\""
	TargetNetworkUuid *string   "json:\"target_network_uuid,omitempty\""
	Timezone          *string   "json:\"timezone,omitempty\""
	Type              *string   "json:\"type,omitempty\""
	UserPermissions   *int32    "json:\"user_permissions,omitempty\""
	Uuid              *string   "json:\"uuid,omitempty\""
}, error)

RemediationCreateWithBody calls the IoScans ´s function

func (*IoScans) RemediationList

func (c *IoScans) RemediationList(params *IoScansRemediationListParams, reqEditors ...RequestEditorFn) (*struct {
	Pagination *struct {
		Limit  *int32 "json:\"limit,omitempty\""
		Offset *int32 "json:\"offset,omitempty\""
		Sort   *[]struct {
			Name  *string "json:\"name,omitempty\""
			Order *string "json:\"order,omitempty\""
		} "json:\"sort,omitempty\""
		Total *int32 "json:\"total,omitempty\""
	} "json:\"pagination,omitempty\""
	Scans *[]struct {
		Control              *bool   "json:\"control,omitempty\""
		CreationDate         *int32  "json:\"creation_date,omitempty\""
		Enabled              *bool   "json:\"enabled,omitempty\""
		Id                   *int32  "json:\"id,omitempty\""
		LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		Permissions          *int32  "json:\"permissions,omitempty\""
		PolicyId             *int    "json:\"policy_id,omitempty\""
		Read                 *bool   "json:\"read,omitempty\""
		Remediation          *int    "json:\"remediation,omitempty\""
		ScanCreationDate     *int32  "json:\"scan_creation_date,omitempty\""
		ScheduleUuid         *string "json:\"schedule_uuid,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Status               *string "json:\"status,omitempty\""
		TemplateUuid         *string "json:\"template_uuid,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int32  "json:\"user_permissions,omitempty\""
		Uuid                 *string "json:\"uuid,omitempty\""
		WizardUuid           *string "json:\"wizard_uuid,omitempty\""
	} "json:\"scans,omitempty\""
}, error)

RemediationList calls the IoScans ´s function

type IoScansCheckAutoTargetsJSONBody

type IoScansCheckAutoTargetsJSONBody struct {
	// Specify a value as follows:<ul><li>If your scans involve separate environments with overlapping IP ranges, specify the UUID of the [network](doc:manage-networks-tio) you want to associate with the results of the auto-routed scan. This value must match the network where you have assigned the scanner groups that you configured for scan routing.</li><li>Otherwise, specify the default network (00000000-0000-0000-0000-000000000000).</li></ul>
	NetworkUuid string `json:"network_uuid"`

	// A list of asset tags UUIDs.
	Tags *[]string `json:"tags,omitempty"`

	// A comma-delimited list of targets to scan. For a full list of supported target formats, see the [Tenable.io Vulnerability Management User Guide](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Scans/AboutScanTargets.htm).
	TextTargets *string `json:"text_targets,omitempty"`
}

IoScansCheckAutoTargetsJSONBody defines parameters for IoScansCheckAutoTargets.

type IoScansCheckAutoTargetsJSONRequestBody

type IoScansCheckAutoTargetsJSONRequestBody IoScansCheckAutoTargetsJSONBody

IoScansCheckAutoTargetsJSONRequestBody defines body for IoScansCheckAutoTargets for application/json ContentType.

type IoScansCheckAutoTargetsParams

type IoScansCheckAutoTargetsParams struct {
	// Limit the number of missed targets returned in the response.
	Limit *int32 `json:"limit,omitempty"`

	// Limit the number of matched resource UUIDs returned in the response.
	MatchedResourceLimit *int32 `json:"matched_resource_limit,omitempty"`
}

IoScansCheckAutoTargetsParams defines parameters for IoScansCheckAutoTargets.

type IoScansCheckAutoTargetsResponse

type IoScansCheckAutoTargetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A list of UUIDs for scanner groups where configured scan routes matched at least one of the specified targets.
		MatchedResourceUuids *[]string `json:"matched_resource_uuids,omitempty"`

		// The list of targets that did not match a route in any scanner group.
		MissedTargets *[]string `json:"missed_targets,omitempty"`

		// The count of matched resource UUIDs, before being truncated by the optional `matched_resource_limit` parameter.
		TotalMatchedResourceUuids *int `json:"total_matched_resource_uuids,omitempty"`

		// The total count of missed targets, before being truncated by the optional `limit` parameter.
		TotalMissedTargets *int `json:"total_missed_targets,omitempty"`
	}
}

func ParseIoScansCheckAutoTargetsResponse

func ParseIoScansCheckAutoTargetsResponse(rsp *http.Response) (*IoScansCheckAutoTargetsResponse, error)

ParseIoScansCheckAutoTargetsResponse parses an HTTP response from a IoScansCheckAutoTargetsWithResponse call

func (IoScansCheckAutoTargetsResponse) Status

Status returns HTTPResponse.Status

func (IoScansCheckAutoTargetsResponse) StatusCode

func (r IoScansCheckAutoTargetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoScansCredentialsConvertJSONBody

type IoScansCredentialsConvertJSONBody struct {
	// A value specifying whether the credentials are scan-specific (`true`) or managed (`false`). You must use `false` for this request body attribute to convert scan-specific to managed credentials.
	AdHoc bool `json:"ad_hoc"`

	// The system name that uniquely identifies the credentials category, for example `Host`.
	Category *string `json:"category,omitempty"`

	// The name of the managed credentials. This name must be unique within your Tenable.io instance.
	Name string `json:"name"`

	// A list of user permissions for the managed credentials. If a request message omits this parameter, Tenable.io automatically creates a `permissions` object for the user account that submits the request.
	Permissions *[]struct {
		// The UUID of the user or user group granted permissions for managed credentials.
		//
		// This parameter is required when assigning CAN USE [32] or CAN EDIT [64] permissions for managed credentials.
		GranteeUuid *string `json:"grantee_uuid,omitempty"`

		// The name of the user or user group that you want to grant permissions for the managed credentials.
		//
		// This parameter is optional when assigning CAN USE [32] or CAN EDIT [64] permissions for the managed credentials.
		Name *string `json:"name,omitempty"`

		// A value specifying the permissions granted to the user or user group for the managed credentials. Possible values are:
		//  - 32—The user can view credentials information and use the credentials in scans. Corresponds to the **Can Use** permission in the user interface.
		//  - 64—The user can view and edit credential settings, delete the credentials, and use the credentials in scans. Corresponds to the **Can Edit** permission in the user interface.
		//
		// This parameter is required when assigning CAN USE [32] or CAN EDIT [64] permissions for managed credentials.
		Permissions *int `json:"permissions,omitempty"`

		// A value specifying whether the grantee is a user (`user`) or a user group (`group`).
		//
		// This parameter is required when assigning CAN USE [32] or CAN EDIT [64] permissions for  managed credentials.
		Type *IoScansCredentialsConvertJSONBodyPermissionsType `json:"type,omitempty"`
	} `json:"permissions,omitempty"`

	// The configuration settings for the credentials. The parameters of this object vary depending on the credentials type. For more information, see [Determine Settings for a Credential Type](doc:determine-settings-for-credential-type).
	//
	// **Note:** This form displays limited parameters that support a Windows type of credentials that uses password authentication.
	Settings struct {
		// The name for the authentication method. This value corresponds to the credentials[].types[].configuration[].options[].id attribute in the response message for the [GET /credentials/types](ref:credentials-list-credential-types) endpoint.
		AuthMethod *IoScansCredentialsConvertJSONBodySettingsAuthMethod `json:"auth_method,omitempty"`

		// The Windows domain to which the username belongs.
		Domain *string `json:"domain,omitempty"`

		// The user password on the target system.
		Password *string `json:"password,omitempty"`

		// The username on the target system.
		Username *string `json:"username,omitempty"`
	} `json:"settings"`

	// The system name that uniquely identifies the credentials type, for example, `Windows`.
	Type string `json:"type"`
}

IoScansCredentialsConvertJSONBody defines parameters for IoScansCredentialsConvert.

type IoScansCredentialsConvertJSONBodyPermissionsType

type IoScansCredentialsConvertJSONBodyPermissionsType string

IoScansCredentialsConvertJSONBodyPermissionsType defines parameters for IoScansCredentialsConvert.

type IoScansCredentialsConvertJSONBodySettingsAuthMethod

type IoScansCredentialsConvertJSONBodySettingsAuthMethod string

IoScansCredentialsConvertJSONBodySettingsAuthMethod defines parameters for IoScansCredentialsConvert.

type IoScansCredentialsConvertJSONRequestBody

type IoScansCredentialsConvertJSONRequestBody IoScansCredentialsConvertJSONBody

IoScansCredentialsConvertJSONRequestBody defines body for IoScansCredentialsConvert for application/json ContentType.

type IoScansCredentialsConvertResponse

type IoScansCredentialsConvertResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The UUID of the new managed credentials.
		Uuid *string `json:"uuid,omitempty"`
	}
	JSON401 *struct {
		// The HTTP status text.
		Error *int `json:"error,omitempty"`

		// A brief message describing the error Tenable.io encountered.
		Message *string `json:"message,omitempty"`

		// The HTTP status code.
		StatusCode *string `json:"statusCode,omitempty"`
	}
	JSON404 *struct {
		// A message describing the error condition Tenable.io encountered.
		Error *string `json:"error,omitempty"`
	}
	JSON500 *struct {
		// The HTTP status text.
		Error *int `json:"error,omitempty"`

		// A brief message describing the error Tenable.io encountered.
		Message *string `json:"message,omitempty"`

		// The HTTP status code.
		StatusCode *string `json:"statusCode,omitempty"`
	}
	JSON503 *struct {
		// The HTTP status text.
		Error *int `json:"error,omitempty"`

		// A brief message describing the error Tenable.io encountered.
		Message *string `json:"message,omitempty"`

		// The HTTP status code.
		StatusCode *string `json:"statusCode,omitempty"`
	}
}

func ParseIoScansCredentialsConvertResponse

func ParseIoScansCredentialsConvertResponse(rsp *http.Response) (*IoScansCredentialsConvertResponse, error)

ParseIoScansCredentialsConvertResponse parses an HTTP response from a IoScansCredentialsConvertWithResponse call

func (IoScansCredentialsConvertResponse) Status

Status returns HTTPResponse.Status

func (IoScansCredentialsConvertResponse) StatusCode

func (r IoScansCredentialsConvertResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoScansInterface

type IoScansInterface interface {
	CheckAutoTargetsWithBody(params *IoScansCheckAutoTargetsParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		MatchedResourceUuids      *[]string "json:\"matched_resource_uuids,omitempty\""
		MissedTargets             *[]string "json:\"missed_targets,omitempty\""
		TotalMatchedResourceUuids *int      "json:\"total_matched_resource_uuids,omitempty\""
		TotalMissedTargets        *int      "json:\"total_missed_targets,omitempty\""
	}, error)
	CheckAutoTargets(params *IoScansCheckAutoTargetsParams, arg2 IoScansCheckAutoTargetsJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		MatchedResourceUuids      *[]string "json:\"matched_resource_uuids,omitempty\""
		MissedTargets             *[]string "json:\"missed_targets,omitempty\""
		TotalMatchedResourceUuids *int      "json:\"total_matched_resource_uuids,omitempty\""
		TotalMissedTargets        *int      "json:\"total_missed_targets,omitempty\""
	}, error)
	CredentialsConvertWithBody(arg1 int, arg2 int, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		Uuid *string "json:\"uuid,omitempty\""
	}, error)
	CredentialsConvert(arg1 int, arg2 int, arg3 IoScansCredentialsConvertJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		Uuid *string "json:\"uuid,omitempty\""
	}, error)
	RemediationCreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		ContainerId          *string "json:\"container_id,omitempty\""
		CreationDate         *int32  "json:\"creation_date,omitempty\""
		CustomTargets        *string "json:\"custom_targets,omitempty\""
		DashboardFile        *string "json:\"dashboard_file,omitempty\""
		DefaultPermissions   *int32  "json:\"default_permissions,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Emails               *string "json:\"emails,omitempty\""
		Enabled              *bool   "json:\"enabled,omitempty\""
		Id                   *int32  "json:\"id,omitempty\""
		IncludeAggregate     *bool   "json:\"include_aggregate,omitempty\""
		LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NotificationFilters  *[]struct {
			Filter  *string "json:\"filter,omitempty\""
			Quality *string "json:\"quality,omitempty\""
			Value   *string "json:\"value,omitempty\""
		} "json:\"notification_filters,omitempty\""
		Owner             *string   "json:\"owner,omitempty\""
		OwnerId           *int      "json:\"owner_id,omitempty\""
		OwnerUuid         *string   "json:\"owner_uuid,omitempty\""
		PolicyId          *int      "json:\"policy_id,omitempty\""
		Remediation       *int      "json:\"remediation,omitempty\""
		Rrules            *string   "json:\"rrules,omitempty\""
		ScanTimeWindow    *string   "json:\"scan_time_window,omitempty\""
		ScannerUuid       *string   "json:\"scanner_uuid,omitempty\""
		Shared            *bool     "json:\"shared,omitempty\""
		Sms               *string   "json:\"sms,omitempty\""
		Starttime         *string   "json:\"starttime,omitempty\""
		TagTargets        *[]string "json:\"tag_targets,omitempty\""
		TagType           *string   "json:\"tag_type,omitempty\""
		TargetNetworkUuid *string   "json:\"target_network_uuid,omitempty\""
		Timezone          *string   "json:\"timezone,omitempty\""
		Type              *string   "json:\"type,omitempty\""
		UserPermissions   *int32    "json:\"user_permissions,omitempty\""
		Uuid              *string   "json:\"uuid,omitempty\""
	}, error)
	RemediationCreate(arg1 IoScansRemediationCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		ContainerId          *string "json:\"container_id,omitempty\""
		CreationDate         *int32  "json:\"creation_date,omitempty\""
		CustomTargets        *string "json:\"custom_targets,omitempty\""
		DashboardFile        *string "json:\"dashboard_file,omitempty\""
		DefaultPermissions   *int32  "json:\"default_permissions,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Emails               *string "json:\"emails,omitempty\""
		Enabled              *bool   "json:\"enabled,omitempty\""
		Id                   *int32  "json:\"id,omitempty\""
		IncludeAggregate     *bool   "json:\"include_aggregate,omitempty\""
		LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NotificationFilters  *[]struct {
			Filter  *string "json:\"filter,omitempty\""
			Quality *string "json:\"quality,omitempty\""
			Value   *string "json:\"value,omitempty\""
		} "json:\"notification_filters,omitempty\""
		Owner             *string   "json:\"owner,omitempty\""
		OwnerId           *int      "json:\"owner_id,omitempty\""
		OwnerUuid         *string   "json:\"owner_uuid,omitempty\""
		PolicyId          *int      "json:\"policy_id,omitempty\""
		Remediation       *int      "json:\"remediation,omitempty\""
		Rrules            *string   "json:\"rrules,omitempty\""
		ScanTimeWindow    *string   "json:\"scan_time_window,omitempty\""
		ScannerUuid       *string   "json:\"scanner_uuid,omitempty\""
		Shared            *bool     "json:\"shared,omitempty\""
		Sms               *string   "json:\"sms,omitempty\""
		Starttime         *string   "json:\"starttime,omitempty\""
		TagTargets        *[]string "json:\"tag_targets,omitempty\""
		TagType           *string   "json:\"tag_type,omitempty\""
		TargetNetworkUuid *string   "json:\"target_network_uuid,omitempty\""
		Timezone          *string   "json:\"timezone,omitempty\""
		Type              *string   "json:\"type,omitempty\""
		UserPermissions   *int32    "json:\"user_permissions,omitempty\""
		Uuid              *string   "json:\"uuid,omitempty\""
	}, error)
	RemediationList(params *IoScansRemediationListParams, reqEditors ...RequestEditorFn) (*struct {
		Pagination *struct {
			Limit  *int32 "json:\"limit,omitempty\""
			Offset *int32 "json:\"offset,omitempty\""
			Sort   *[]struct {
				Name  *string "json:\"name,omitempty\""
				Order *string "json:\"order,omitempty\""
			} "json:\"sort,omitempty\""
			Total *int32 "json:\"total,omitempty\""
		} "json:\"pagination,omitempty\""
		Scans *[]struct {
			Control              *bool   "json:\"control,omitempty\""
			CreationDate         *int32  "json:\"creation_date,omitempty\""
			Enabled              *bool   "json:\"enabled,omitempty\""
			Id                   *int32  "json:\"id,omitempty\""
			LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
			Name                 *string "json:\"name,omitempty\""
			Owner                *string "json:\"owner,omitempty\""
			Permissions          *int32  "json:\"permissions,omitempty\""
			PolicyId             *int    "json:\"policy_id,omitempty\""
			Read                 *bool   "json:\"read,omitempty\""
			Remediation          *int    "json:\"remediation,omitempty\""
			ScanCreationDate     *int32  "json:\"scan_creation_date,omitempty\""
			ScheduleUuid         *string "json:\"schedule_uuid,omitempty\""
			Shared               *bool   "json:\"shared,omitempty\""
			Status               *string "json:\"status,omitempty\""
			TemplateUuid         *string "json:\"template_uuid,omitempty\""
			Type                 *string "json:\"type,omitempty\""
			UserPermissions      *int32  "json:\"user_permissions,omitempty\""
			Uuid                 *string "json:\"uuid,omitempty\""
			WizardUuid           *string "json:\"wizard_uuid,omitempty\""
		} "json:\"scans,omitempty\""
	}, error)
}

IoScansInterface contains all methods for the nessus api

type IoScansRemediationCreateJSONBody

type IoScansRemediationCreateJSONBody struct {
	// An object that specifies credential parameters that enable a scanner to authenticate a connection to a target host.
	Credentials *struct {
		// A credentials object you want to add to the scan. For scan-specific credentials, the parameters of the object vary based on credentials category, credentials type, and type-specific settings. For more information, see [Determine Settings for a Credential Type](doc:determine-settings-for-credential-type). For managed credentials, the object contains a single parameter `id`, which specifies the UUID of the managed credentials you want to add.
		//
		// **Note:** This form displays limited parameters that support a Windows type of credentials that uses password authentication.
		Add *struct {
			// The name of this parameter corresponds to the display name that uniquely identifies the credentials category (in this case, `Host` for credentials from the Host category). This value corresponds to the following response message attributes:
			//  - `credentials[].data[].name` in the [GET /editor/type/templates/{template_uuid}](/reference#editor-template-details) response message
			//  - `credentials[].id` in the [GET /credentials/types](/reference#credentials-list-credential-types) response message
			Host *struct {
				// The name of this parameter corresponds to the display name that uniquely identifies the credentials type (in this case, `Windows` for a Windows credential). This value corresponds to the following response message attributes:
				//  - `credentials[].data[].types[].name` in the [GET /editor/type/templates/{template_uuid}](/reference#editor-template-details) response message
				//  - `credentials[].types[].id` in the [GET /credentials/types](/reference#credentials-list-credential-types) response message`
				Windows *[]struct {
					// The name for the authentication method. This value corresponds to the credentials[].types[].configuration[].options[].id attribute in the response message for the [GET /credentials/types](/reference#credentials-list-credential-types) endpoint.
					AuthMethod *IoScansRemediationCreateJSONBodyCredentialsAddHostWindowsAuthMethod `json:"auth_method,omitempty"`

					// The Windows domain to which the username belongs.
					Domain *string `json:"domain,omitempty"`

					// The user password on the target system.
					Password *string `json:"password,omitempty"`

					// The username on the target system.
					Username *string `json:"username,omitempty"`
				} `json:"Windows,omitempty"`
			} `json:"Host,omitempty"`
		} `json:"add,omitempty"`
	} `json:"credentials,omitempty"`

	// A comma-delimited list of plugins IDs to add to a remediation scan. You can use the [GET /plugins/families](ref:io-plugins-families-list) and [GET /plugins/families/{id}](ref:io-plugins-family-details) endpoints to get a list of plugin families and plugins to add to the scan.
	//
	// **Note:** This parameter is only valid for remediation scans. For more information on remediation scans and examples, see [Manage Remediation Scans](doc:io-manage-remediation-scans).
	EnabledPlugins *[]int `json:"enabled_plugins,omitempty"`
	Settings       struct {
		// An array containing permissions to apply to the scan.
		Acls *[]struct {
			// The name of the user or group granted the specified permissions, as it appears in the Tenable.io user interface.
			DisplayName *string `json:"display_name,omitempty"`

			// A number representing the order in which the user or user groups display in the Permissions tab in the Tenable.io user interface.
			Id *int `json:"id,omitempty"`

			// The name of the user or group granted the specified permissions.
			Name *string `json:"name,omitempty"`

			// A value that indicates whether the user or user group specified in the object owns the scan. Possible values include: `null` (system-owned permissions), `0` (the user is not the owner of the scan), `1` (the user is the owner of the scan).
			Owner *int `json:"owner,omitempty"`

			// The scan permission. For more information, see [Permissions](doc:permissions).
			Permissions *int `json:"permissions,omitempty"`

			// The type of scan permissions: `default` (default permissions for the scan), `user` (permissions for an individual user), or `group` (permissions for a user group).
			Type *string `json:"type,omitempty"`
		} `json:"acls,omitempty"`

		// An array of agent group UUIDs to scan. Required if the scan is an agent scan.
		AgentGroupId *[]string `json:"agent_group_id,omitempty"`

		// The description of the scan.
		Description *string `json:"description,omitempty"`

		// A comma-separated list of accounts that receive the email summary report.
		Emails *string `json:"emails,omitempty"`

		// The name of a file containing the list of targets to scan. Before you use this parameter, use the [POST /files/upload](ref:file-upload) endpoint to upload the file to Tenable.io; then, use the `fileuploaded` attribute of the response message as the `file_targets` parameter value.
		//
		// This parameter is required if your request omits other target parameters. For more information, see "Required Scan Target Parameters" in [Create a Scan](doc:create-scan-tio).
		//
		//  **Note:** Unicode/UTF-8 encoding is not supported in the targets file.
		FileTargets *string `json:"file_targets,omitempty"`

		// The name of the scan.
		Name string `json:"name"`

		// The unique ID of the policy to use to create the scan. If your user permissions are set to SCAN OPERATOR [24], this parameter is required. Use the [GET /policies](ref:policies-list) endpoint to find the policy ID.
		PolicyId *int32 `json:"policy_id,omitempty"`

		// The time frame, in minutes, during which agents must transmit scan results to Tenable.io in order to be included in dashboards and reports. If your request omits this parameter, the default value is 180 minutes. For non-agent scans, this attribute is null.
		ScanTimeWindow *int `json:"scan_time_window,omitempty"`

		// The unique ID of the scanner to use. Use the [GET /scanners](ref:scanners-list) endpoint to find the scanner ID. You can use the special value `AUTO-ROUTED` to assign scan targets to scanner groups based on the groups' configured scan routes. For more information, see [Manage Scan Routing](doc:manage-scan-routing-tio).
		//
		// **Note:** If you omit this parameter from the request, Tenable.io assigns the US Cloud Scanner by default.
		ScannerId *string `json:"scanner_id,omitempty"`

		// The list of asset tag identifiers that the scan uses to determine which assets it evaluates. For more information about tag-based scans, see [Manage Tag-Based Scans](doc:manage-tag-based-scans-tio).
		//
		// This parameter is required if your request omits other target parameters. For more information, see "Required Scan Target Parameters" in [Create a Scan](doc:create-scan-tio).
		TagTargets *[]string `json:"tag_targets,omitempty"`

		// For remediation scans, enter a valid target group ID from a previous scan you wish to remediate.
		TargetGroups *[]int `json:"target_groups,omitempty"`

		// For remediation scans, enter a valid target network UUID from a previous scan you wish to remediate.
		TargetNetworkUuid *string `json:"target_network_uuid,omitempty"`

		// The list of targets to scan. For a full list of supported target formats, see the [Tenable.io Vulnerability Management User Guide](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Scans/AboutScanTargets.htm). You can specify multiple targets (of differing formats) as a comma-delimited list.
		//
		// This parameter is required if your request omits other target parameters. For more information, see "Required Scan Target Parameters" in [Create a Scan](doc:create-scan-tio).
		//
		//  For remediation scans, enter a valid target from a previous scan you wish to remediate.
		//
		// **Note:** Tenable.io does not perform validation on values you submit for this parameter. If you submit invalid values, Tenable.io stores the invalid values in the scan configuration, and when the scan runs, scanning fails on the invalid targets.
		TextTargets *string `json:"text_targets,omitempty"`
	} `json:"settings"`

	// The UUID for the Tenable-provided remediation scan template to use. Use the [GET /editor/remediation/templates](ref:editor-list-templates) endpoint to find remediation scan template UUIDs.
	Uuid string `json:"uuid"`
}

IoScansRemediationCreateJSONBody defines parameters for IoScansRemediationCreate.

type IoScansRemediationCreateJSONBodyCredentialsAddHostWindowsAuthMethod

type IoScansRemediationCreateJSONBodyCredentialsAddHostWindowsAuthMethod string

IoScansRemediationCreateJSONBodyCredentialsAddHostWindowsAuthMethod defines parameters for IoScansRemediationCreate.

type IoScansRemediationCreateJSONRequestBody

type IoScansRemediationCreateJSONRequestBody IoScansRemediationCreateJSONBody

IoScansRemediationCreateJSONRequestBody defines body for IoScansRemediationCreate for application/json ContentType.

type IoScansRemediationCreateResponse

type IoScansRemediationCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The unique ID of your Tenable.io instance.
		ContainerId *string `json:"container_id,omitempty"`

		// For newly-created scans, the date on which the scan configuration was originally created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was originally created. Instead, it represents the date on which the scan was first launched, in Unix time format.
		CreationDate *int32 `json:"creation_date,omitempty"`

		// Targets specified in the `alt_targets` parameter of the [POST /scans/{scan_id}/launch](/reference#scans-launch) request body used to run the scan.
		CustomTargets *string `json:"custom_targets,omitempty"`

		// The name of the dashboard file associated with the scan.
		DashboardFile *string `json:"dashboard_file,omitempty"`

		// The default permissions for the scan.
		DefaultPermissions *int32 `json:"default_permissions,omitempty"`

		// A brief user-defined description of the scan.
		Description *string `json:"description,omitempty"`

		// A comma-separated list of accounts that receive the email summary report.
		Emails *string `json:"emails,omitempty"`

		// A value indicating whether the scan schedule is active (`true`) or inactive (`false`).
		Enabled *bool `json:"enabled,omitempty"`

		// The unique ID of the scan.
		Id *int32 `json:"id,omitempty"`

		// A value indicating whether the scan results appear in dashboards.
		IncludeAggregate *bool `json:"include_aggregate,omitempty"`

		// For newly-created scans, the date on which the scan configuration was created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was last modified. Instead, it represents the date on which the scan was last launched, in Unix time format. Tenable.io updates this attribute each time the scan launches.
		LastModificationDate *int32 `json:"last_modification_date,omitempty"`

		// The user-defined scan name.
		Name *string `json:"name,omitempty"`

		// A list of filters that Tenable.io applies to determine whether it sends a notification email on scan completion to the recipients specified in the `emails` attribute.
		NotificationFilters *[]struct {
			// The attribute name. For example, use the `risk_factor` attribute if you want to filter on vulnerability severity.
			Filter *string `json:"filter,omitempty"`

			// The operator Tenable.io applies to the filter value, for example, `eq`.
			Quality *string `json:"quality,omitempty"`

			// The attribute value Tenable.io filters on. For example, when filtering on severity, this attribute might specify `Critical`.
			Value *string `json:"value,omitempty"`
		} `json:"notification_filters,omitempty"`

		// The owner of the scan.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the scan.
		OwnerId *int `json:"owner_id,omitempty"`

		// The unique ID of the scan owner.
		OwnerUuid *string `json:"owner_uuid,omitempty"`

		// The unique ID of the policy associated with the scan.
		PolicyId *int `json:"policy_id,omitempty"`

		// If `1`, your vulnerability remediation actions on scan targets have been successful.
		Remediation *int `json:"remediation,omitempty"`

		// The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). For a scan that runs every three weeks on Monday Wednesday and Friday, the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`. If the scan is not scheduled to recur, this attribute is `null`. For more information, see [rrules Format](doc:example-assessment-scan-recurring#rrules-format).
		//
		// **Note:** To set the `rrules` parameter for an agent scan, the request must also include the following body parameters:<ul><li>The `uuid` parameter must specify an agent scan template. For more information, see [Tenable-Provided Agent Templates](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Scans/AgentTemplates.htm) and the [GET /editor/scan/templates](ref:editor-list-templates) endpoint.</li><li>The `agent_group_id` parameter must specify an agent group. For more information, see [Agent Groups](ref:agent-groups).</li></ul>For an example request body for an agent scan, see [Example Agent Scan: Recurring](doc:example-agent-scan-recurring).
		Rrules *string `json:"rrules,omitempty"`

		// The time frame, in minutes, during which agents must transmit scan results to Tenable.io in order to be included in dashboards and reports. If your request omits this parameter, the default value is 180 minutes. For non-agent scans, this attribute is null.
		ScanTimeWindow *string `json:"scan_time_window,omitempty"`

		// The UUID of the scanner that the scan is configured to use, if the scan is *not* configured for [scan routing](doc:manage-scan-routing-tio).
		ScannerUuid *string `json:"scanner_uuid,omitempty"`

		// If `1`, the scan is shared with users other than the scan owner. The level of sharing is specified in the `acls` attribute of the scan details.
		Shared *bool `json:"shared,omitempty"`

		// A comma-separated list of mobile phone numbers that receive notification of the scan.
		Sms *string `json:"sms,omitempty"`

		// For one-time scans, the starting time and date for the scan. For recurrent scans, the first date on which the scan schedule is active and the time that recurring scans launch based on the `rrules` parameter.
		//
		// This attribute has the following format: `YYYYMMDDTHHMMSS`.
		Starttime *string `json:"starttime,omitempty"`

		// The list of asset tag identifiers the scan uses to determine which assets it evaluates. For more information about tag-based scans, see [Manage Tag-Based Scans](doc:manage-tag-based-scans-tio).
		TagTargets *[]string `json:"tag_targets,omitempty"`

		// The type of tag.
		TagType *string `json:"tag_type,omitempty"`

		// The UUID of the network object that Tenable.io associates with the scan results if the scan is configured for [scan routing](doc:manage-scan-routing-tio).
		TargetNetworkUuid *string `json:"target_network_uuid,omitempty"`

		// The timezone of the scheduled start time for the scan.
		Timezone *string `json:"timezone,omitempty"`

		// The type of scan.
		Type *string `json:"type,omitempty"`

		// The sharing permissions for the scan.
		UserPermissions *int32 `json:"user_permissions,omitempty"`

		// The UUID of the schedule for the scan.
		Uuid *string `json:"uuid,omitempty"`
	}
	JSON500 *struct {
		// The HTTP status text.
		Error *int `json:"error,omitempty"`

		// A brief message describing the error Tenable.io encountered.
		Message *string `json:"message,omitempty"`

		// The HTTP status code.
		StatusCode *string `json:"statusCode,omitempty"`
	}
}

func ParseIoScansRemediationCreateResponse

func ParseIoScansRemediationCreateResponse(rsp *http.Response) (*IoScansRemediationCreateResponse, error)

ParseIoScansRemediationCreateResponse parses an HTTP response from a IoScansRemediationCreateWithResponse call

func (IoScansRemediationCreateResponse) Status

Status returns HTTPResponse.Status

func (IoScansRemediationCreateResponse) StatusCode

func (r IoScansRemediationCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoScansRemediationListParams

type IoScansRemediationListParams struct {
	// The number of records to retrieve. Minimum value is `1`. Maximum value is `200`. If this parameter is omitted, Tenable.io uses the default value of `50`.
	Limit *int `json:"limit,omitempty"`

	// The starting record to retrieve. Minimum value is `0`. If this parameter is omitted, Tenable.io uses the default value of `0`.
	Offset *int `json:"offset,omitempty"`

	// The field you want to sort the results by along with the sort order. Valid sort fields: `scan_creation_date`. Valid sort orders: `desc`, `asc`. `scan_creation_date` is the Unix timestamp when the remediation scan run was created. If this parameter is omitted, Tenable.io uses the default value of `scan_creation_date:desc`.
	Sort *IoScansRemediationListParamsSort `json:"sort,omitempty"`
}

IoScansRemediationListParams defines parameters for IoScansRemediationList.

type IoScansRemediationListParamsSort

type IoScansRemediationListParamsSort string

IoScansRemediationListParamsSort defines parameters for IoScansRemediationList.

type IoScansRemediationListResponse

type IoScansRemediationListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// The number of records requested (or the default value if omitted from the request).
			Limit *int32 `json:"limit,omitempty"`

			// The starting record you requested (or zero if omitted).
			Offset *int32 `json:"offset,omitempty"`

			// An array of objects representing the fields and sort order you specified in the request, which Tenable.io used to sort the returned data.
			Sort *[]struct {
				// The field on which Tenable.io sorted the results.
				Name *string `json:"name,omitempty"`

				// The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending).
				Order *string `json:"order,omitempty"`
			} `json:"sort,omitempty"`

			// The total number of records matching your search criteria.
			Total *int32 `json:"total,omitempty"`
		} `json:"pagination,omitempty"`
		Scans *[]struct {
			// If `true`, the scan has a schedule and can be launched.
			Control *bool `json:"control,omitempty"`

			// For newly-created scans, the date on which the scan configuration was originally created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was originally created. Instead, it represents the date on which the scan was first launched, in Unix time format.
			CreationDate *int32 `json:"creation_date,omitempty"`

			// Indicates whether the scan schedule is active (`true`) or inactive (`false`).
			Enabled *bool `json:"enabled,omitempty"`

			// The unique ID of the scan.
			Id *int32 `json:"id,omitempty"`

			// For newly-created scans, the date on which the scan configuration was created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was last modified. Instead, it represents the date on which the scan was last launched, in Unix time format. Tenable.io updates this attribute each time the scan launches.
			LastModificationDate *int32 `json:"last_modification_date,omitempty"`

			// The name of the scan.
			Name *string `json:"name,omitempty"`

			// The owner of the scan.
			Owner *string `json:"owner,omitempty"`

			// The requesting user's permissions for the scan.
			Permissions *int32 `json:"permissions,omitempty"`

			// The unique ID of the user-defined template (policy) on which the scan configuration is based.
			PolicyId *int `json:"policy_id,omitempty"`

			// A value indicating whether the user account associated with the request message has viewed the scan in the Tenable.io user interface. If `1`, the user account has viewed the scan results.
			Read *bool `json:"read,omitempty"`

			// If `1`, your vulnerability remediation actions on scan targets have been successful.
			Remediation *int `json:"remediation,omitempty"`

			// The Unix timestamp when the remediation scan run was created.
			ScanCreationDate *int32 `json:"scan_creation_date,omitempty"`

			// The UUID for a specific instance in the scan schedule.
			ScheduleUuid *string `json:"schedule_uuid,omitempty"`

			// If `true`, the scan is shared with users other than the scan owner. The level of sharing is specified in the `acls` attribute of the scan details.
			Shared *bool `json:"shared,omitempty"`

			// The status of the scan. For a list of possible values, see [Scan Status](doc:scan-status-tio).
			Status *string `json:"status,omitempty"`

			// The UUID of the template.
			TemplateUuid *string `json:"template_uuid,omitempty"`

			// The type of scan.
			Type *string `json:"type,omitempty"`

			// The sharing permissions for the scan.
			UserPermissions *int32 `json:"user_permissions,omitempty"`

			// The UUID of the remediation scan.
			Uuid *string `json:"uuid,omitempty"`

			// The UUID of the Tenable-provided template used to create either the scan or the user-defined template (policy) on which the scan configuration is based.
			WizardUuid *string `json:"wizard_uuid,omitempty"`
		} `json:"scans,omitempty"`
	}
}

func ParseIoScansRemediationListResponse

func ParseIoScansRemediationListResponse(rsp *http.Response) (*IoScansRemediationListResponse, error)

ParseIoScansRemediationListResponse parses an HTTP response from a IoScansRemediationListWithResponse call

func (IoScansRemediationListResponse) Status

Status returns HTTPResponse.Status

func (IoScansRemediationListResponse) StatusCode

func (r IoScansRemediationListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoV1

type IoV1 struct {
	*ClientWithResponses
}

IoV1 implementation of the IoV1 interface

func (*IoV1) AccessGroupsCreate

func (c *IoV1) AccessGroupsCreate(arg1 IoV1AccessGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	AllAssets                 *bool   "json:\"all_assets,omitempty\""
	AllUsers                  *bool   "json:\"all_users,omitempty\""
	ContainerUuid             *string "json:\"container_uuid,omitempty\""
	CreatedAt                 *string "json:\"created_at,omitempty\""
	CreatedByName             *string "json:\"created_by_name,omitempty\""
	CreatedByUuid             *string "json:\"created_by_uuid,omitempty\""
	Id                        *string "json:\"id,omitempty\""
	Name                      *string "json:\"name,omitempty\""
	ProcessingPercentComplete *int    "json:\"processing_percent_complete,omitempty\""
	Status                    *string "json:\"status,omitempty\""
	UpdatedAt                 *string "json:\"updated_at,omitempty\""
	UpdatedByName             *string "json:\"updated_by_name,omitempty\""
	UpdatedByUuid             *string "json:\"updated_by_uuid,omitempty\""
}, error)

AccessGroupsCreate calls the IoV1 ´s function

func (*IoV1) AccessGroupsCreateWithBody

func (c *IoV1) AccessGroupsCreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	AllAssets                 *bool   "json:\"all_assets,omitempty\""
	AllUsers                  *bool   "json:\"all_users,omitempty\""
	ContainerUuid             *string "json:\"container_uuid,omitempty\""
	CreatedAt                 *string "json:\"created_at,omitempty\""
	CreatedByName             *string "json:\"created_by_name,omitempty\""
	CreatedByUuid             *string "json:\"created_by_uuid,omitempty\""
	Id                        *string "json:\"id,omitempty\""
	Name                      *string "json:\"name,omitempty\""
	ProcessingPercentComplete *int    "json:\"processing_percent_complete,omitempty\""
	Status                    *string "json:\"status,omitempty\""
	UpdatedAt                 *string "json:\"updated_at,omitempty\""
	UpdatedByName             *string "json:\"updated_by_name,omitempty\""
	UpdatedByUuid             *string "json:\"updated_by_uuid,omitempty\""
}, error)

AccessGroupsCreateWithBody calls the IoV1 ´s function

func (*IoV1) AccessGroupsDelete

func (c *IoV1) AccessGroupsDelete(contentType string, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsDeleteResponse, error)

AccessGroupsDelete calls the IoV1 ´s function

func (*IoV1) AccessGroupsDetails

func (c *IoV1) AccessGroupsDetails(contentType string, reqEditors ...RequestEditorFn) (*struct {
	AllAssets     *bool   "json:\"all_assets,omitempty\""
	AllUsers      *bool   "json:\"all_users,omitempty\""
	ContainerUuid *string "json:\"container_uuid,omitempty\""
	CreatedAt     *string "json:\"created_at,omitempty\""
	CreatedByName *string "json:\"created_by_name,omitempty\""
	CreatedByUuid *string "json:\"created_by_uuid,omitempty\""
	Id            *string "json:\"id,omitempty\""
	Name          *string "json:\"name,omitempty\""
	Principals    *[]struct {
		PrincipalId   *string "json:\"principal_id,omitempty\""
		PrincipalName *string "json:\"principal_name,omitempty\""
		Type          *string "json:\"type,omitempty\""
	} "json:\"principals,omitempty\""
	ProcessingPercentComplete *int "json:\"processing_percent_complete,omitempty\""
	Rules                     *[]struct {
		Operator *string   "json:\"operator,omitempty\""
		Terms    *[]string "json:\"terms,omitempty\""
		Type     *string   "json:\"type,omitempty\""
	} "json:\"rules,omitempty\""
	Status        *string "json:\"status,omitempty\""
	UpdatedAt     *string "json:\"updated_at,omitempty\""
	UpdatedByName *string "json:\"updated_by_name,omitempty\""
	UpdatedByUuid *string "json:\"updated_by_uuid,omitempty\""
}, error)

AccessGroupsDetails calls the IoV1 ´s function

func (*IoV1) AccessGroupsEdit

func (c *IoV1) AccessGroupsEdit(arg1 string, arg2 IoV1AccessGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	AllAssets     *bool   "json:\"all_assets,omitempty\""
	AllUsers      *bool   "json:\"all_users,omitempty\""
	ContainerUuid *string "json:\"container_uuid,omitempty\""
	CreatedAt     *string "json:\"created_at,omitempty\""
	CreatedByName *string "json:\"created_by_name,omitempty\""
	CreatedByUuid *string "json:\"created_by_uuid,omitempty\""
	Id            *string "json:\"id,omitempty\""
	Name          *string "json:\"name,omitempty\""
	Principals    *[]struct {
		PrincipalId   *string "json:\"principal_id,omitempty\""
		PrincipalName *string "json:\"principal_name,omitempty\""
		Type          *string "json:\"type,omitempty\""
	} "json:\"principals,omitempty\""
	ProcessingPercentComplete *int "json:\"processing_percent_complete,omitempty\""
	Rules                     *[]struct {
		Operator *string   "json:\"operator,omitempty\""
		Terms    *[]string "json:\"terms,omitempty\""
		Type     *string   "json:\"type,omitempty\""
	} "json:\"rules,omitempty\""
	Status        *string "json:\"status,omitempty\""
	UpdatedAt     *string "json:\"updated_at,omitempty\""
	UpdatedByName *string "json:\"updated_by_name,omitempty\""
	UpdatedByUuid *string "json:\"updated_by_uuid,omitempty\""
}, error)

AccessGroupsEdit calls the IoV1 ´s function

func (*IoV1) AccessGroupsEditWithBody

func (c *IoV1) AccessGroupsEditWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	AllAssets     *bool   "json:\"all_assets,omitempty\""
	AllUsers      *bool   "json:\"all_users,omitempty\""
	ContainerUuid *string "json:\"container_uuid,omitempty\""
	CreatedAt     *string "json:\"created_at,omitempty\""
	CreatedByName *string "json:\"created_by_name,omitempty\""
	CreatedByUuid *string "json:\"created_by_uuid,omitempty\""
	Id            *string "json:\"id,omitempty\""
	Name          *string "json:\"name,omitempty\""
	Principals    *[]struct {
		PrincipalId   *string "json:\"principal_id,omitempty\""
		PrincipalName *string "json:\"principal_name,omitempty\""
		Type          *string "json:\"type,omitempty\""
	} "json:\"principals,omitempty\""
	ProcessingPercentComplete *int "json:\"processing_percent_complete,omitempty\""
	Rules                     *[]struct {
		Operator *string   "json:\"operator,omitempty\""
		Terms    *[]string "json:\"terms,omitempty\""
		Type     *string   "json:\"type,omitempty\""
	} "json:\"rules,omitempty\""
	Status        *string "json:\"status,omitempty\""
	UpdatedAt     *string "json:\"updated_at,omitempty\""
	UpdatedByName *string "json:\"updated_by_name,omitempty\""
	UpdatedByUuid *string "json:\"updated_by_uuid,omitempty\""
}, error)

AccessGroupsEditWithBody calls the IoV1 ´s function

func (*IoV1) AccessGroupsList

func (c *IoV1) AccessGroupsList(params *IoV1AccessGroupsListParams, reqEditors ...RequestEditorFn) (*struct {
	AccessGroups *struct {
		AllAssets                 *bool   "json:\"all_assets,omitempty\""
		AllUsers                  *bool   "json:\"all_users,omitempty\""
		ContainerUuid             *string "json:\"container_uuid,omitempty\""
		CreatedAt                 *string "json:\"created_at,omitempty\""
		CreatedByName             *string "json:\"created_by_name,omitempty\""
		CreatedByUuid             *string "json:\"created_by_uuid,omitempty\""
		Id                        *string "json:\"id,omitempty\""
		Name                      *string "json:\"name,omitempty\""
		ProcessingPercentComplete *int    "json:\"processing_percent_complete,omitempty\""
		Status                    *string "json:\"status,omitempty\""
		UpdatedAt                 *string "json:\"updated_at,omitempty\""
		UpdatedByName             *string "json:\"updated_by_name,omitempty\""
		UpdatedByUuid             *string "json:\"updated_by_uuid,omitempty\""
	} "json:\"access_groups,omitempty\""
	Pagination *struct {
		Limit  *int32 "json:\"limit,omitempty\""
		Offset *int32 "json:\"offset,omitempty\""
		Sort   *[]struct {
			Name  *string "json:\"name,omitempty\""
			Order *string "json:\"order,omitempty\""
		} "json:\"sort,omitempty\""
		Total *int32 "json:\"total,omitempty\""
	} "json:\"pagination,omitempty\""
}, error)

AccessGroupsList calls the IoV1 ´s function

func (*IoV1) AccessGroupsListFilters

func (c *IoV1) AccessGroupsListFilters(reqEditors ...RequestEditorFn) (*struct {
	Filters *[]struct {
		Control      *string   "json:\"control,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	} "json:\"filters,omitempty\""
	Sort *[]struct {
		SortableFields *string "json:\"sortable_fields,omitempty\""
	} "json:\"sort,omitempty\""
	WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
}, error)

AccessGroupsListFilters calls the IoV1 ´s function

func (*IoV1) AccessGroupsListRuleFilters

func (c *IoV1) AccessGroupsListRuleFilters(reqEditors ...RequestEditorFn) (*struct {
	Filters *[]struct {
		Control      *string   "json:\"control,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	} "json:\"filters,omitempty\""
}, error)

AccessGroupsListRuleFilters calls the IoV1 ´s function

type IoV1AccessGroupsCreateJSONBody

type IoV1AccessGroupsCreateJSONBody struct {
	// This parameter must always be `false` or omitted from create requests to specify that the access group is a user-created group. If you submit a create request with this parameter set to `true`, the create request fails.
	AllAssets *bool `json:"all_assets,omitempty"`

	// Specifies whether assets in the access group can be viewed by all or only some users in your organization:
	// * If `true`, all users in your organization have Can View access to the assets defined in the rules parameter. Tenable.io ignores any principal parameters in your request.
	// * If `false`, only specified users have Can View access to the assets defined in the rules parameter. You define which users or user groups have access in the principals parameter of the request.
	//
	// If you omit this parameter, Tenable.io sets the parameter to `false` by default.
	AllUsers *bool `json:"all_users,omitempty"`

	// The name of the access group you want to create. This name must be:
	// * Unique within your Tenable.io instance.
	// * A maximum of 255 characters.
	// * Alphanumeric, but can include limited special characters (underscore, dash, parenthesis, brackets, colon).
	//
	// **Note:** You can add a maximum of 5,000 access groups to an individual container.
	Name string `json:"name"`

	// An array of principals. Each principal represents a user or user group assigned to the access group. You cannot add an access group as a principal to another access group.
	//
	// Tenable.io handles data in this array based on the `all_users` parameter of the request:
	// * If `all_users` is `true`, Tenable.io ignores any principal data in the request. You can omit this parameter from the request.
	// * If `all_users` is `false`, Tenable.io adds the principal data to the access group.
	Principals *[]struct {
		// The UUID of a user or user group. This parameter is required if the request omits the `principal_name` parameter.
		PrincipalId *string `json:"principal_id,omitempty"`

		// The name of the user or user group. This parameter is required if the request omits the `principal_id` parameter. If a request includes both `principal_id` and `principal_name`, Tenable.io assigns the user or user group to the access group based on the `principal_id` parameter, and ignores the `principal_name` parameter in the request.
		PrincipalName *string `json:"principal_name,omitempty"`

		// (Required) The type of principal. Valid values include:
		//  - user—Grants access to the user you specify.
		//  - group—Grants access to all users assigned to the user group you specify.
		Type *string `json:"type,omitempty"`
	} `json:"principals,omitempty"`

	// An array of asset rules. Tenable.io uses these rules to assign assets to the access group. You can specify a maximum of 1,000 rules for an individual access group. If you specify multiple rules for an access group, Tenable.io assigns an asset to the access group if the asset matches any of the rules. You can only add rules to access groups if the `all_assets` parameter is set to `false`.
	Rules []struct {
		// The operator that specifies how Tenable.io matches the terms value to asset data.
		//
		// Possible operators include:
		//  - eq—Tenable.io matches the rule to assets based on an exact match of the specified term. Note: Tenable.io interprets the operator as `equals` for ipv4 rules that specify a single IP address, but interprets the operator as `contains` for ipv4 rules that specify an IP range or CIDR range.
		//  - match—Tenable.io matches the rule to assets based a partial match of the specified term.
		//  - starts—Tenable.io matches the rule to assets that start with the specified term.
		//  - ends—Tenable.io matches the rule to assets that end with the specified term.
		//  - set-has—Tenable.io matches the rule to assets based on an exact match of the specified `tag_uuid`.
		//
		// For a complete list of operators by rule type, use the [GET /access-groups/rules/filters](ref:io-v1-access-groups-list-rule-filters) endpoint.
		Operator *string `json:"operator,omitempty"`

		// The values that Tenable.io uses to match an asset to the rule. A term must correspond to the rule type.
		//
		// For example:
		//  - If the rule type is `aws_account`, the term is an AWS account ID.
		//  - If the rule type is `fqdn`, the term is a hostname or a fully-qualified domain name (FQDN).
		//  - If the rule type is `ipv4`, the term is an individual IPv4 address, a range of IPv4 addresses (for example, 192.0.2.57-192.0.2.60), or a CIDR range (for example, 192.0.2.57/24).
		//
		// For a complete list of supported values by rule type, use the [GET /access-groups/rules/filters](ref:io-v1-access-groups-list-rule-filters) endpoint.
		//
		// If you specify multiple terms values, Tenable.io includes an asset in the access group if the asset's attributes match any of the terms in the rule.
		// <br >You can specify up to 100,000 terms per asset rule.
		Terms *[]string `json:"terms,omitempty"`

		// The type of asset rule. The asset rule type corresponds to the type of data you can specify in the `terms` parameter. For a complete list of supported rule types, use the [GET /access-groups/filters](ref:io-v1-access-groups-list-filters) endpoint.
		Type *string `json:"type,omitempty"`
	} `json:"rules"`
}

IoV1AccessGroupsCreateJSONBody defines parameters for IoV1AccessGroupsCreate.

type IoV1AccessGroupsCreateJSONRequestBody

type IoV1AccessGroupsCreateJSONRequestBody IoV1AccessGroupsCreateJSONBody

IoV1AccessGroupsCreateJSONRequestBody defines body for IoV1AccessGroupsCreate for application/json ContentType.

type IoV1AccessGroupsCreateResponse

type IoV1AccessGroupsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Specifies whether the access group is the system-provided All Assets access group:
		//  - If `true`, the access group is the All Assets access group. The only change you can make to this access group is to refine user membership in the group. For more information, see descriptions of the all_users and principals parameters for the [PUT /access-groups/{id}](ref:io-v1-access-groups-edit) endpoint.
		//  - If `false`, the access group is a user-defined access group, and you can change all parameters for the group. This parameter is `false` for all access groups you create.
		AllAssets *bool `json:"all_assets,omitempty"`

		// Specifies whether assets in the access group can be viewed by all or only some users in your organization:
		//  - If `true`, all users in your organization have Can View access to the assets defined in the rules parameter. If `true` in a [POST /access-groups](ref:io-v1-access-groups-create) or [PUT /access-groups/{id}](ref:io-v1-access-groups-edit) request, Tenable.io ignores any principal parameters in the request.
		//  - If `false`, only specified users have Can View access to the assets defined in the rules parameter. You define which users or user groups have access in the principals parameter of a [POST /access-groups](ref:io-v1-access-groups-create) or [PUT /access-groups/{id}](ref:io-v1-access-groups-edit) request.
		//
		// **Note:** If a [PUT /access-groups/{id}]ref:io-v1-access-groups-edit) endpoint request sets this parameter to `true` for an access group where the parameter was previously set to `false`, Tenable.io removes all principal data previously associated with the access group.
		AllUsers *bool `json:"all_users,omitempty"`

		// The UUID of your Tenable.io instance.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// An ISO timestamp indicating the date and time on which the access group was created.
		CreatedAt *string `json:"created_at,omitempty"`

		// The name of the user who created the access group.
		CreatedByName *string `json:"created_by_name,omitempty"`

		// The UUID of the user who created the access group.
		CreatedByUuid *string `json:"created_by_uuid,omitempty"`

		// The UUID of the access group.
		Id *string `json:"id,omitempty"`

		// The name of the access group. This name must be:
		// * Unique within your Tenable.io instance.
		// * A maximum of 255 characters.
		// * Alphanumeric, but can include limited special characters (underscore, dash, parenthesis, brackets, colon).
		Name *string `json:"name,omitempty"`

		// The percentage of assets that Tenable.io has evaluated against the asset rules for the access group.
		ProcessingPercentComplete *int `json:"processing_percent_complete,omitempty"`

		// The status of the process evaluating and assigning assets to the access group. Possible values are:
		//  - PROCESSING—Tenable.io is currently evaluating assets against the asset rules for the access group. For an indication of evaluation progress, see the `processing_percent_complete` attribute for the access group.
		//  - COMPLETED—Tenable.io has successfully completed its evaluation of assets against the asset rules for the group.
		//  - ERROR—Tenable.io encountered an error while evaluating assets against asset rules for the access group. Rule validation typically prevents this status from occurring. However, if you encounter an ERROR status, Tenable recommends that you delete the existing asset rules, then recreate the rules after a short time has elapsed.
		Status *string `json:"status,omitempty"`

		// An ISO timestamp indicating the time and date on which the access group was last modified.
		UpdatedAt *string `json:"updated_at,omitempty"`

		// The name of the user who last modified the access group.
		UpdatedByName *string `json:"updated_by_name,omitempty"`

		// The UUID of the user who last modified the access group.
		UpdatedByUuid *string `json:"updated_by_uuid,omitempty"`
	}
}

func ParseIoV1AccessGroupsCreateResponse

func ParseIoV1AccessGroupsCreateResponse(rsp *http.Response) (*IoV1AccessGroupsCreateResponse, error)

ParseIoV1AccessGroupsCreateResponse parses an HTTP response from a IoV1AccessGroupsCreateWithResponse call

func (IoV1AccessGroupsCreateResponse) Status

Status returns HTTPResponse.Status

func (IoV1AccessGroupsCreateResponse) StatusCode

func (r IoV1AccessGroupsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoV1AccessGroupsDeleteResponse

type IoV1AccessGroupsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseIoV1AccessGroupsDeleteResponse

func ParseIoV1AccessGroupsDeleteResponse(rsp *http.Response) (*IoV1AccessGroupsDeleteResponse, error)

ParseIoV1AccessGroupsDeleteResponse parses an HTTP response from a IoV1AccessGroupsDeleteWithResponse call

func (IoV1AccessGroupsDeleteResponse) Status

Status returns HTTPResponse.Status

func (IoV1AccessGroupsDeleteResponse) StatusCode

func (r IoV1AccessGroupsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoV1AccessGroupsDetailsResponse

type IoV1AccessGroupsDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Specifies whether the access group is the system-provided All Assets access group:
		//  - If `true`, the access group is the All Assets access group. The only change you can make to this access group is to refine user membership in the group. For more information, see descriptions of the all_users and principals parameters for the [PUT /access-groups/{id}](ref:io-v1-access-groups-edit) endpoint.
		//  - If `false`, the access group is a user-defined access group, and you can change all parameters for the group. This parameter is `false` for all access groups you create.
		AllAssets *bool `json:"all_assets,omitempty"`

		// Specifies whether assets in the access group can be viewed by all or only some users in your organization:
		//  - If `true`, all users in your organization have Can View access to the assets defined in the rules parameter. If `true` in a [POST /access-groups](ref:io-v1-access-groups-create) or [PUT /access-groups/{id}](ref:io-v1-access-groups-edit) request, Tenable.io ignores any principal parameters in the request.
		//  - If `false`, only specified users have Can View access to the assets defined in the rules parameter. You define which users or user groups have access in the principals parameter of a [POST /access-groups](ref:io-v1-access-groups-create) or [PUT /access-groups/{id}](ref:io-v1-access-groups-edit) request.
		//
		// **Note:** If a [PUT /access-groups/{id}](ref:io-v1-access-groups-edit) endpoint request sets this parameter to `true` for an access group where the parameter was previously set to `false`, Tenable.io removes all principal data previously associated with the access group.
		AllUsers *bool `json:"all_users,omitempty"`

		// The UUID of your Tenable.io instance.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// An ISO timestamp indicating the date and time on which the access group was created.
		CreatedAt *string `json:"created_at,omitempty"`

		// The name of the user who created the access group.
		CreatedByName *string `json:"created_by_name,omitempty"`

		// The UUID of the user who created the access group.
		CreatedByUuid *string `json:"created_by_uuid,omitempty"`

		// The UUID of the access group.
		Id *string `json:"id,omitempty"`

		// The name of the access group. This name must be:
		// * Unique within your Tenable.io instance.
		// * A maximum of 255 characters.
		// * Alphanumeric, but can include limited special characters (underscore, dash, parenthesis, brackets, colon).
		Name *string `json:"name,omitempty"`

		// An array of principals. Each principal represents a user or user group assigned to the access group. You cannot add an access group as a principal to another access group.
		Principals *[]struct {
			// The UUID of a user or user group. This parameter is required if the request omits the `principal_name` parameter.
			PrincipalId *string `json:"principal_id,omitempty"`

			// The name of the user or user group. This parameter is required if the request omits the `principal_id` parameter. If a request includes both `principal_id` and `principal_name`, Tenable.io assigns the user or user group to the access group based on the `principal_id` parameter, and ignores the `principal_name` parameter in the request.
			PrincipalName *string `json:"principal_name,omitempty"`

			// (Required) The type of principal. Valid values include:
			//  - user—Grants access to the user you specify.
			//  - group—Grants access to all users assigned to the user group you specify.
			Type *string `json:"type,omitempty"`
		} `json:"principals,omitempty"`

		// The percentage of assets that Tenable.io has evaluated against the asset rules for the access group.
		ProcessingPercentComplete *int `json:"processing_percent_complete,omitempty"`

		// An array of asset rules. Tenable.io uses these rules to assign assets to the access group. You can specify a maximum of 1,000 rules for an individual access group. If you specify multiple rules for an access group, Tenable.io assigns an asset to the access group if the asset matches any of the rules. You can only add rules to access groups if the `all_assets` parameter is set to `false`.
		Rules *[]struct {
			// The operator that specifies how Tenable.io matches the terms value to asset data.
			//
			// Possible operators include:
			//  - eq—Tenable.io matches the rule to assets based on an exact match of the specified term. Note: Tenable.io interprets the operator as `equals` for ipv4 rules that specify a single IP address, but interprets the operator as `contains` for ipv4 rules that specify an IP range or CIDR range.
			//  - match—Tenable.io matches the rule to assets based a partial match of the specified term.
			//  - starts—Tenable.io matches the rule to assets that start with the specified term.
			//  - ends—Tenable.io matches the rule to assets that end with the specified term.
			//  - set-has—Tenable.io matches the rule to assets based on an exact match of the specified `tag_uuid`.
			//
			// For a complete list of operators by rule type, use the [GET /access-groups/rules/filters](ref:io-v1-access-groups-list-rule-filters) endpoint.
			Operator *string `json:"operator,omitempty"`

			// The values that Tenable.io uses to match an asset to the rule. A term must correspond to the rule type.
			//
			// For example:
			//  - If the rule type is `aws_account`, the term is an AWS account ID.
			//  - If the rule type is `fqdn`, the term is a hostname or a fully-qualified domain name (FQDN).
			//  - If the rule type is `ipv4`, the term is an individual IPv4 address, a range of IPv4 addresses (for example, 192.0.2.57-192.0.2.60), or a CIDR range (for example, 192.0.2.57/24).
			//
			// For a complete list of supported values by rule type, use the [GET /access-groups/rules/filters](ref:io-v1-access-groups-list-rule-filters) endpoint.
			//
			// If you specify multiple terms values, Tenable.io includes an asset in the access group if the asset's attributes match any of the terms in the rule.
			// <br >You can specify up to 100,000 terms per asset rule.
			Terms *[]string `json:"terms,omitempty"`

			// The type of asset rule. The asset rule type corresponds to the type of data you can specify in the `terms` parameter. For a complete list of supported rule types, use the [GET /access-groups/filters](ref:io-v1-access-groups-list-filters) endpoint.
			Type *string `json:"type,omitempty"`
		} `json:"rules,omitempty"`

		// The status of the process evaluating and assigning assets to the access group. Possible values are:
		//  - PROCESSING—Tenable.io is currently evaluating assets against the asset rules for the access group. For an indication of evaluation progress, see the `processing_percent_complete` attribute for the access group.
		//  - COMPLETED—Tenable.io has successfully completed its evaluation of assets against the asset rules for the group.
		//  - ERROR—Tenable.io encountered an error while evaluating assets against asset rules for the access group. Rule validation typically prevents this status from occurring. However, if you encounter an ERROR status, Tenable recommends that you delete the existing asset rules, then recreate the rules after a short time has elapsed.
		Status *string `json:"status,omitempty"`

		// An ISO timestamp indicating the time and date on which the access group was last modified.
		UpdatedAt *string `json:"updated_at,omitempty"`

		// The name of the user who last modified the access group.
		UpdatedByName *string `json:"updated_by_name,omitempty"`

		// The UUID of the user who last modified the access group.
		UpdatedByUuid *string `json:"updated_by_uuid,omitempty"`
	}
}

func ParseIoV1AccessGroupsDetailsResponse

func ParseIoV1AccessGroupsDetailsResponse(rsp *http.Response) (*IoV1AccessGroupsDetailsResponse, error)

ParseIoV1AccessGroupsDetailsResponse parses an HTTP response from a IoV1AccessGroupsDetailsWithResponse call

func (IoV1AccessGroupsDetailsResponse) Status

Status returns HTTPResponse.Status

func (IoV1AccessGroupsDetailsResponse) StatusCode

func (r IoV1AccessGroupsDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoV1AccessGroupsEditJSONBody

type IoV1AccessGroupsEditJSONBody struct {
	// Specifies whether the access group you want to modify is the All Assets group or a user-defined group:
	// * If you want to refine membership in the All Assets access group (the only change you can make to the All Assets group), this parameter must be `true`. Tenable.io ignores any rules parameters in your request, but overwrrites existing principals parameters with those in the request based on the `all_users` and principals parameters in the request.
	// * If you want to modify a user-defined access group, this parameter must be `false`. Tenable.io overwrites the existing rules parameters with the rules parameters you specify in this request, and overwrites existing principals parameters based on the `all_users` and principals parameters in the request.
	AllAssets *bool `json:"all_assets,omitempty"`

	// Specifies whether assets in the access group can be viewed by all or only some users in your organization:
	// * If `true`, all users in your organization have Can View access to the assets defined in the rules parameter. Tenable.io ignores any principal parameters in your request.
	// * If `false`, only specified users have Can View access to the assets defined in the rules parameter. You define which users or user groups have access in the principals parameter of the request.
	//
	// If you omit this parameter, Tenable.io sets the parameter to `false` by default.
	AllUsers *bool `json:"all_users,omitempty"`

	// The name of the access group you want to modify.
	Name *string `json:"name,omitempty"`

	// An array of principals. Each principal represents a user or user group assigned to the access group. You cannot add an access group as a principal to another access group.
	Principals *[]struct {
		// The UUID of a user or user group. This parameter is required if the request omits the `principal_name` parameter.
		PrincipalId *string `json:"principal_id,omitempty"`

		// The name of the user or user group. This parameter is required if the request omits the `principal_id` parameter. If a request includes both `principal_id` and `principal_name`, Tenable.io assigns the user or user group to the access group based on the `principal_id` parameter, and ignores the `principal_name` parameter in the request.
		PrincipalName *string `json:"principal_name,omitempty"`

		// (Required) The type of principal. Valid values include:
		//  - user—Grants access to the user you specify.
		//  - group—Grants access to all users assigned to the user group you specify.
		Type *string `json:"type,omitempty"`
	} `json:"principals,omitempty"`

	// An array of asset rules. Tenable.io uses these rules to assign assets to the access group. You can specify a maximum of 1,000 rules for an individual access group. If you specify multiple rules for an access group, Tenable.io assigns an asset to the access group if the asset matches any of the rules. You can only add rules to access groups if the `all_assets` parameter is set to `false`.
	Rules *[]struct {
		// The operator that specifies how Tenable.io matches the terms value to asset data.
		//
		// Possible operators include:
		//  - eq—Tenable.io matches the rule to assets based on an exact match of the specified term. Note: Tenable.io interprets the operator as `equals` for ipv4 rules that specify a single IP address, but interprets the operator as `contains` for ipv4 rules that specify an IP range or CIDR range.
		//  - match—Tenable.io matches the rule to assets based a partial match of the specified term.
		//  - starts—Tenable.io matches the rule to assets that start with the specified term.
		//  - ends—Tenable.io matches the rule to assets that end with the specified term.
		//  - set-has—Tenable.io matches the rule to assets based on an exact match of the specified `tag_uuid`.
		//
		// For a complete list of operators by rule type, use the [GET /access-groups/rules/filters](ref:io-v1-access-groups-list-rule-filters) endpoint.
		Operator *string `json:"operator,omitempty"`

		// The values that Tenable.io uses to match an asset to the rule. A term must correspond to the rule type.
		//
		// For example:
		//  - If the rule type is `aws_account`, the term is an AWS account ID.
		//  - If the rule type is `fqdn`, the term is a hostname or a fully-qualified domain name (FQDN).
		//  - If the rule type is `ipv4`, the term is an individual IPv4 address, a range of IPv4 addresses (for example, 192.0.2.57-192.0.2.60), or a CIDR range (for example, 192.0.2.57/24).
		//
		// For a complete list of supported values by rule type, use the [GET /access-groups/rules/filters](ref:io-v1-access-groups-list-rule-filters) endpoint.
		//
		// If you specify multiple terms values, Tenable.io includes an asset in the access group if the asset's attributes match any of the terms in the rule.
		// <br >You can specify up to 100,000 terms per asset rule.
		Terms *[]string `json:"terms,omitempty"`

		// The type of asset rule. The asset rule type corresponds to the type of data you can specify in the `terms` parameter. For a complete list of supported rule types, use the [GET /access-groups/filters](ref:io-v1-access-groups-list-filters) endpoint.
		Type *string `json:"type,omitempty"`
	} `json:"rules,omitempty"`
}

IoV1AccessGroupsEditJSONBody defines parameters for IoV1AccessGroupsEdit.

type IoV1AccessGroupsEditJSONRequestBody

type IoV1AccessGroupsEditJSONRequestBody IoV1AccessGroupsEditJSONBody

IoV1AccessGroupsEditJSONRequestBody defines body for IoV1AccessGroupsEdit for application/json ContentType.

type IoV1AccessGroupsEditResponse

type IoV1AccessGroupsEditResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Specifies whether the access group is the system-provided All Assets access group:
		//  - If `true`, the access group is the All Assets access group. The only change you can make to this access group is to refine user membership in the group. For more information, see descriptions of the all_users and principals parameters for the [PUT /access-groups/{id}](ref:io-v1-access-groups-edit) endpoint.
		//  - If `false`, the access group is a user-defined access group, and you can change all parameters for the group. This parameter is `false` for all access groups you create.
		AllAssets *bool `json:"all_assets,omitempty"`

		// Specifies whether assets in the access group can be viewed by all or only some users in your organization:
		//  - If `true`, all users in your organization have Can View access to the assets defined in the rules parameter. If `true` in a [POST /access-groups](ref:io-v1-access-groups-create) or [PUT /access-groups/{id}](ref:io-v1-access-groups-edit) request, Tenable.io ignores any principal parameters in the request.
		//  - If `false`, only specified users have Can View access to the assets defined in the rules parameter. You define which users or user groups have access in the principals parameter of a [POST /access-groups](ref:io-v1-access-groups-create) or [PUT /access-groups/{id}](ref:io-v1-access-groups-edit) request.
		//
		// **Note:** If a [PUT /access-groups/{id}](ref:io-v1-access-groups-edit) endpoint request sets this parameter to `true` for an access group where the parameter was previously set to `false`, Tenable.io removes all principal data previously associated with the access group.
		AllUsers *bool `json:"all_users,omitempty"`

		// The UUID of your Tenable.io instance.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// An ISO timestamp indicating the date and time on which the access group was created.
		CreatedAt *string `json:"created_at,omitempty"`

		// The name of the user who created the access group.
		CreatedByName *string `json:"created_by_name,omitempty"`

		// The UUID of the user who created the access group.
		CreatedByUuid *string `json:"created_by_uuid,omitempty"`

		// The UUID of the access group.
		Id *string `json:"id,omitempty"`

		// The name of the access group. This name must be:
		// * Unique within your Tenable.io instance.
		// * A maximum of 255 characters.
		// * Alphanumeric, but can include limited special characters (underscore, dash, parenthesis, brackets, colon).
		Name *string `json:"name,omitempty"`

		// An array of principals. Each principal represents a user or user group assigned to the access group. You cannot add an access group as a principal to another access group.
		Principals *[]struct {
			// The UUID of a user or user group. This parameter is required if the request omits the `principal_name` parameter.
			PrincipalId *string `json:"principal_id,omitempty"`

			// The name of the user or user group. This parameter is required if the request omits the `principal_id` parameter. If a request includes both `principal_id` and `principal_name`, Tenable.io assigns the user or user group to the access group based on the `principal_id` parameter, and ignores the `principal_name` parameter in the request.
			PrincipalName *string `json:"principal_name,omitempty"`

			// (Required) The type of principal. Valid values include:
			//  - user—Grants access to the user you specify.
			//  - group—Grants access to all users assigned to the user group you specify.
			Type *string `json:"type,omitempty"`
		} `json:"principals,omitempty"`

		// The percentage of assets that Tenable.io has evaluated against the asset rules for the access group.
		ProcessingPercentComplete *int `json:"processing_percent_complete,omitempty"`

		// An array of asset rules. Tenable.io uses these rules to assign assets to the access group. You can specify a maximum of 1,000 rules for an individual access group. If you specify multiple rules for an access group, Tenable.io assigns an asset to the access group if the asset matches any of the rules. You can only add rules to access groups if the `all_assets` parameter is set to `false`.
		Rules *[]struct {
			// The operator that specifies how Tenable.io matches the terms value to asset data.
			//
			// Possible operators include:
			//  - eq—Tenable.io matches the rule to assets based on an exact match of the specified term. Note: Tenable.io interprets the operator as `equals` for ipv4 rules that specify a single IP address, but interprets the operator as `contains` for ipv4 rules that specify an IP range or CIDR range.
			//  - match—Tenable.io matches the rule to assets based a partial match of the specified term.
			//  - starts—Tenable.io matches the rule to assets that start with the specified term.
			//  - ends—Tenable.io matches the rule to assets that end with the specified term.
			//  - set-has—Tenable.io matches the rule to assets based on an exact match of the specified `tag_uuid`.
			//
			// For a complete list of operators by rule type, use the [GET /access-groups/rules/filters](ref:io-v1-access-groups-list-rule-filters) endpoint.
			Operator *string `json:"operator,omitempty"`

			// The values that Tenable.io uses to match an asset to the rule. A term must correspond to the rule type.
			//
			// For example:
			//  - If the rule type is `aws_account`, the term is an AWS account ID.
			//  - If the rule type is `fqdn`, the term is a hostname or a fully-qualified domain name (FQDN).
			//  - If the rule type is `ipv4`, the term is an individual IPv4 address, a range of IPv4 addresses (for example, 192.0.2.57-192.0.2.60), or a CIDR range (for example, 192.0.2.57/24).
			//
			// For a complete list of supported values by rule type, use the [GET /access-groups/rules/filters](ref:io-v1-access-groups-list-rule-filters) endpoint.
			//
			// If you specify multiple terms values, Tenable.io includes an asset in the access group if the asset's attributes match any of the terms in the rule.
			// <br >You can specify up to 100,000 terms per asset rule.
			Terms *[]string `json:"terms,omitempty"`

			// The type of asset rule. The asset rule type corresponds to the type of data you can specify in the `terms` parameter. For a complete list of supported rule types, use the [GET /access-groups/filters](ref:io-v1-access-groups-list-filters) endpoint.
			Type *string `json:"type,omitempty"`
		} `json:"rules,omitempty"`

		// The status of the process evaluating and assigning assets to the access group. Possible values are:
		//  - PROCESSING—Tenable.io is currently evaluating assets against the asset rules for the access group. For an indication of evaluation progress, see the `processing_percent_complete` attribute for the access group.
		//  - COMPLETED—Tenable.io has successfully completed its evaluation of assets against the asset rules for the group.
		//  - ERROR—Tenable.io encountered an error while evaluating assets against asset rules for the access group. Rule validation typically prevents this status from occurring. However, if you encounter an ERROR status, Tenable recommends that you delete the existing asset rules, then recreate the rules after a short time has elapsed.
		Status *string `json:"status,omitempty"`

		// An ISO timestamp indicating the time and date on which the access group was last modified.
		UpdatedAt *string `json:"updated_at,omitempty"`

		// The name of the user who last modified the access group.
		UpdatedByName *string `json:"updated_by_name,omitempty"`

		// The UUID of the user who last modified the access group.
		UpdatedByUuid *string `json:"updated_by_uuid,omitempty"`
	}
}

func ParseIoV1AccessGroupsEditResponse

func ParseIoV1AccessGroupsEditResponse(rsp *http.Response) (*IoV1AccessGroupsEditResponse, error)

ParseIoV1AccessGroupsEditResponse parses an HTTP response from a IoV1AccessGroupsEditWithResponse call

func (IoV1AccessGroupsEditResponse) Status

Status returns HTTPResponse.Status

func (IoV1AccessGroupsEditResponse) StatusCode

func (r IoV1AccessGroupsEditResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoV1AccessGroupsListFiltersResponse

type IoV1AccessGroupsListFiltersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The filters and operators for each field you can use when constructing filter (`f` parameter) values in the [GET /access-groups](ref:io-v1-access-groups-list) endpoint.
		Filters *[]struct {
			// Indicates how the parameter appears in the Tenable.io user interface.
			Control *string `json:"control,omitempty"`

			// Corresponds to the field component of the `f` parameter.
			Name *string `json:"name,omitempty"`

			// Corresponds to the operator component of the `f` parameter.
			Operators *[]string `json:"operators,omitempty"`

			// The name of the parameter as it appears in the Tenable.io user interface.
			ReadableName *string `json:"readable_name,omitempty"`
		} `json:"filters,omitempty"`

		// The fields you can use when constructing `sort` parameter values for the [GET /access-groups](ref:io-v1-access-groups-list) endpoint.
		Sort *[]struct {
			// The names of the fields you can use when constructing `sort` parameter values for the [GET /access-groups](ref:io-v1-access-groups-list) endpoint.
			SortableFields *string `json:"sortable_fields,omitempty"`
		} `json:"sort,omitempty"`

		// The fields you can use as a wildcard (`wf` parameter) value in the [GET /access-groups](ref:io-v1-access-groups-list) endpoint.
		WildcardFields *[]string `json:"wildcard_fields,omitempty"`
	}
}

func ParseIoV1AccessGroupsListFiltersResponse

func ParseIoV1AccessGroupsListFiltersResponse(rsp *http.Response) (*IoV1AccessGroupsListFiltersResponse, error)

ParseIoV1AccessGroupsListFiltersResponse parses an HTTP response from a IoV1AccessGroupsListFiltersWithResponse call

func (IoV1AccessGroupsListFiltersResponse) Status

Status returns HTTPResponse.Status

func (IoV1AccessGroupsListFiltersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type IoV1AccessGroupsListParams

type IoV1AccessGroupsListParams struct {
	// A filter condition in the following format: `field:operator:value`. For a list of possible fields and operators, use the [GET /access-groups/filters](ref:io-v1-access-groups-list-filters) endpoint. You can specify multiple `f` parameters, separated by ampersand (&) characters. If you specify multiple `f` parameters, use the `ft` parameter to specify how Tenable.io applies the multiple filter conditions.
	F *string `json:"f,omitempty"`

	// If multiple `f` parameters are present, specifies whether Tenable.io applies `AND` or `OR` to conditions. Supported values are `and` and `or`. If you omit this parameter when using multiple `f` parameters, Tenable.io applies `AND` by default.
	Ft *string `json:"ft,omitempty"`

	// The search value that Tenable.io applies across the wildcard fields. Wildcard fields are specified in the `wf` parameter.
	W *string `json:"w,omitempty"`

	// A comma-separated list of fields where Tenable.io applies the search value specified in the `w` parameter. For a list of supported wildcard fields, use the [GET /access-groups/filters](ref:io-v1-access-groups-list-filters) endpoint.
	Wf *string `json:"wf,omitempty"`

	// Specifies whether or not to include the `rules` and `principals` objects in the response. Tenable.io defaults to `false` if this parameter is omitted.
	Fullypopulateresponse *bool `json:"fullypopulateresponse,omitempty"`

	// The number of records to retrieve.
	Limit *int32 `json:"limit,omitempty"`

	// The starting record to retrieve. If this parameter is omitted, Tenable.io uses the default value of `0`.
	Offset *int32 `json:"offset,omitempty"`

	// The field you want to use to sort the results by along with the sort order. The field is specified first, followed by a colon, and the order is specified second (`asc` or `desc`). For example, `name:desc` would sort results by the `name` field in descending order.
	//
	// If you specify multiple fields, the fields must be separated by commas. For example, `name:desc,created_at:asc` would first sort results by the `name` field in descending order and then by the `created_at` field in ascending order.
	//
	// For a list of supported sort fields, use the [GET /access-groups/filters](ref:io-v1-access-groups-list-filters) endpoint.
	Sort *string `json:"sort,omitempty"`
}

IoV1AccessGroupsListParams defines parameters for IoV1AccessGroupsList.

type IoV1AccessGroupsListResponse

type IoV1AccessGroupsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		AccessGroups *struct {
			// Specifies whether the access group is the system-provided All Assets access group:
			//  - If `true`, the access group is the All Assets access group. The only change you can make to this access group is to refine user membership in the group. For more information, see descriptions of the all_users and principals parameters for the [PUT /access-groups/{id}](ref:io-v1-access-groups-edit) endpoint.
			//  - If `false`, the access group is a user-defined access group, and you can change all parameters for the group. This parameter is `false` for all access groups you create.
			AllAssets *bool `json:"all_assets,omitempty"`

			// Specifies whether assets in the access group can be viewed by all or only some users in your organization:
			//  - If `true`, all users in your organization have Can View access to the assets defined in the rules parameter. If `true` in a [POST /access-groups](ref:io-v1-access-groups-create) or [PUT /access-groups/{id}](ref:io-v1-access-groups-edit) request, Tenable.io ignores any principal parameters in the request.
			//  - If `false`, only specified users have Can View access to the assets defined in the rules parameter. You define which users or user groups have access in the principals parameter of a [POST /access-groups](ref:io-v1-access-groups-create) or [PUT /access-groups/{id}](ref:io-v1-access-groups-edit) request.
			//
			// **Note:** If a [PUT /access-groups/{id}]ref:io-v1-access-groups-edit) endpoint request sets this parameter to `true` for an access group where the parameter was previously set to `false`, Tenable.io removes all principal data previously associated with the access group.
			AllUsers *bool `json:"all_users,omitempty"`

			// The UUID of your Tenable.io instance.
			ContainerUuid *string `json:"container_uuid,omitempty"`

			// An ISO timestamp indicating the date and time on which the access group was created.
			CreatedAt *string `json:"created_at,omitempty"`

			// The name of the user who created the access group.
			CreatedByName *string `json:"created_by_name,omitempty"`

			// The UUID of the user who created the access group.
			CreatedByUuid *string `json:"created_by_uuid,omitempty"`

			// The UUID of the access group.
			Id *string `json:"id,omitempty"`

			// The name of the access group. This name must be:
			// * Unique within your Tenable.io instance.
			// * A maximum of 255 characters.
			// * Alphanumeric, but can include limited special characters (underscore, dash, parenthesis, brackets, colon).
			Name *string `json:"name,omitempty"`

			// The percentage of assets that Tenable.io has evaluated against the asset rules for the access group.
			ProcessingPercentComplete *int `json:"processing_percent_complete,omitempty"`

			// The status of the process evaluating and assigning assets to the access group. Possible values are:
			//  - PROCESSING—Tenable.io is currently evaluating assets against the asset rules for the access group. For an indication of evaluation progress, see the `processing_percent_complete` attribute for the access group.
			//  - COMPLETED—Tenable.io has successfully completed its evaluation of assets against the asset rules for the group.
			//  - ERROR—Tenable.io encountered an error while evaluating assets against asset rules for the access group. Rule validation typically prevents this status from occurring. However, if you encounter an ERROR status, Tenable recommends that you delete the existing asset rules, then recreate the rules after a short time has elapsed.
			Status *string `json:"status,omitempty"`

			// An ISO timestamp indicating the time and date on which the access group was last modified.
			UpdatedAt *string `json:"updated_at,omitempty"`

			// The name of the user who last modified the access group.
			UpdatedByName *string `json:"updated_by_name,omitempty"`

			// The UUID of the user who last modified the access group.
			UpdatedByUuid *string `json:"updated_by_uuid,omitempty"`
		} `json:"access_groups,omitempty"`
		Pagination *struct {
			// The number of records requested (or the default value if omitted from the request).
			Limit *int32 `json:"limit,omitempty"`

			// The starting record you requested (or zero if omitted).
			Offset *int32 `json:"offset,omitempty"`

			// An array of objects representing the fields and sort order you specified in the request, which Tenable.io used to sort the returned data.
			Sort *[]struct {
				// The field on which Tenable.io sorted the results.
				Name *string `json:"name,omitempty"`

				// The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending).
				Order *string `json:"order,omitempty"`
			} `json:"sort,omitempty"`

			// The total number of records matching your search criteria.
			Total *int32 `json:"total,omitempty"`
		} `json:"pagination,omitempty"`
	}
}

func ParseIoV1AccessGroupsListResponse

func ParseIoV1AccessGroupsListResponse(rsp *http.Response) (*IoV1AccessGroupsListResponse, error)

ParseIoV1AccessGroupsListResponse parses an HTTP response from a IoV1AccessGroupsListWithResponse call

func (IoV1AccessGroupsListResponse) Status

Status returns HTTPResponse.Status

func (IoV1AccessGroupsListResponse) StatusCode

func (r IoV1AccessGroupsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoV1AccessGroupsListRuleFiltersResponse

type IoV1AccessGroupsListRuleFiltersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// An array specifying values to use when constructing an asset rule for the [POST /access-groups](ref:io-v1-access-groups-create) and [PUT /access-groups/{id}](ref:io-v1-access-groups-edit) methods.
		Filters *[]struct {
			// Indicates how the field appears in the Tenable.io user interface.
			Control *string `json:"control,omitempty"`

			// The name of the filter parameter. Corresponds to the asset rule type.
			Name *string `json:"name,omitempty"`

			// The operator that specifies how Tenable.io matches the terms value to asset data. Corresponds to the operator component of the rules parameter. Possible operators include:
			// * eq—Tenable.io matches the rule to assets based on an exact match of the specified term. Note: Tenable.io interprets the operator as `equals` for ipv4 rules that specify a single IP address, but interprets the operator as `contains` for ipv4 rules that specify an IP range or CIDR range.
			// * match—Tenable.io matches the rule to assets based a partial match of the specified term.
			// * starts—Tenable.io matches the rule to assets that start with the specified term.
			// * ends—Tenable.io matches the rule to assets that end with the specified term.
			//  * set-has—Tenable.io matches the rule to assets based on an exact match of the specified `tag_uuid`.
			//
			// For a complete list of operators by rule type, use the [GET /access-groups/filters](ref:io-v1-access-groups-list-filters) endpoint.
			Operators *[]string `json:"operators,omitempty"`

			// The name of the field as it appears in the Tenable.io user interface.
			ReadableName *string `json:"readable_name,omitempty"`
		} `json:"filters,omitempty"`
	}
}

func ParseIoV1AccessGroupsListRuleFiltersResponse

func ParseIoV1AccessGroupsListRuleFiltersResponse(rsp *http.Response) (*IoV1AccessGroupsListRuleFiltersResponse, error)

ParseIoV1AccessGroupsListRuleFiltersResponse parses an HTTP response from a IoV1AccessGroupsListRuleFiltersWithResponse call

func (IoV1AccessGroupsListRuleFiltersResponse) Status

Status returns HTTPResponse.Status

func (IoV1AccessGroupsListRuleFiltersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type IoV1Interface

type IoV1Interface interface {
	AccessGroupsCreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		AllAssets                 *bool   "json:\"all_assets,omitempty\""
		AllUsers                  *bool   "json:\"all_users,omitempty\""
		ContainerUuid             *string "json:\"container_uuid,omitempty\""
		CreatedAt                 *string "json:\"created_at,omitempty\""
		CreatedByName             *string "json:\"created_by_name,omitempty\""
		CreatedByUuid             *string "json:\"created_by_uuid,omitempty\""
		Id                        *string "json:\"id,omitempty\""
		Name                      *string "json:\"name,omitempty\""
		ProcessingPercentComplete *int    "json:\"processing_percent_complete,omitempty\""
		Status                    *string "json:\"status,omitempty\""
		UpdatedAt                 *string "json:\"updated_at,omitempty\""
		UpdatedByName             *string "json:\"updated_by_name,omitempty\""
		UpdatedByUuid             *string "json:\"updated_by_uuid,omitempty\""
	}, error)
	AccessGroupsCreate(arg1 IoV1AccessGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		AllAssets                 *bool   "json:\"all_assets,omitempty\""
		AllUsers                  *bool   "json:\"all_users,omitempty\""
		ContainerUuid             *string "json:\"container_uuid,omitempty\""
		CreatedAt                 *string "json:\"created_at,omitempty\""
		CreatedByName             *string "json:\"created_by_name,omitempty\""
		CreatedByUuid             *string "json:\"created_by_uuid,omitempty\""
		Id                        *string "json:\"id,omitempty\""
		Name                      *string "json:\"name,omitempty\""
		ProcessingPercentComplete *int    "json:\"processing_percent_complete,omitempty\""
		Status                    *string "json:\"status,omitempty\""
		UpdatedAt                 *string "json:\"updated_at,omitempty\""
		UpdatedByName             *string "json:\"updated_by_name,omitempty\""
		UpdatedByUuid             *string "json:\"updated_by_uuid,omitempty\""
	}, error)
	AccessGroupsDelete(contentType string, reqEditors ...RequestEditorFn) (*IoV1AccessGroupsDeleteResponse, error)
	AccessGroupsDetails(contentType string, reqEditors ...RequestEditorFn) (*struct {
		AllAssets     *bool   "json:\"all_assets,omitempty\""
		AllUsers      *bool   "json:\"all_users,omitempty\""
		ContainerUuid *string "json:\"container_uuid,omitempty\""
		CreatedAt     *string "json:\"created_at,omitempty\""
		CreatedByName *string "json:\"created_by_name,omitempty\""
		CreatedByUuid *string "json:\"created_by_uuid,omitempty\""
		Id            *string "json:\"id,omitempty\""
		Name          *string "json:\"name,omitempty\""
		Principals    *[]struct {
			PrincipalId   *string "json:\"principal_id,omitempty\""
			PrincipalName *string "json:\"principal_name,omitempty\""
			Type          *string "json:\"type,omitempty\""
		} "json:\"principals,omitempty\""
		ProcessingPercentComplete *int "json:\"processing_percent_complete,omitempty\""
		Rules                     *[]struct {
			Operator *string   "json:\"operator,omitempty\""
			Terms    *[]string "json:\"terms,omitempty\""
			Type     *string   "json:\"type,omitempty\""
		} "json:\"rules,omitempty\""
		Status        *string "json:\"status,omitempty\""
		UpdatedAt     *string "json:\"updated_at,omitempty\""
		UpdatedByName *string "json:\"updated_by_name,omitempty\""
		UpdatedByUuid *string "json:\"updated_by_uuid,omitempty\""
	}, error)
	AccessGroupsEditWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		AllAssets     *bool   "json:\"all_assets,omitempty\""
		AllUsers      *bool   "json:\"all_users,omitempty\""
		ContainerUuid *string "json:\"container_uuid,omitempty\""
		CreatedAt     *string "json:\"created_at,omitempty\""
		CreatedByName *string "json:\"created_by_name,omitempty\""
		CreatedByUuid *string "json:\"created_by_uuid,omitempty\""
		Id            *string "json:\"id,omitempty\""
		Name          *string "json:\"name,omitempty\""
		Principals    *[]struct {
			PrincipalId   *string "json:\"principal_id,omitempty\""
			PrincipalName *string "json:\"principal_name,omitempty\""
			Type          *string "json:\"type,omitempty\""
		} "json:\"principals,omitempty\""
		ProcessingPercentComplete *int "json:\"processing_percent_complete,omitempty\""
		Rules                     *[]struct {
			Operator *string   "json:\"operator,omitempty\""
			Terms    *[]string "json:\"terms,omitempty\""
			Type     *string   "json:\"type,omitempty\""
		} "json:\"rules,omitempty\""
		Status        *string "json:\"status,omitempty\""
		UpdatedAt     *string "json:\"updated_at,omitempty\""
		UpdatedByName *string "json:\"updated_by_name,omitempty\""
		UpdatedByUuid *string "json:\"updated_by_uuid,omitempty\""
	}, error)
	AccessGroupsEdit(arg1 string, arg2 IoV1AccessGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		AllAssets     *bool   "json:\"all_assets,omitempty\""
		AllUsers      *bool   "json:\"all_users,omitempty\""
		ContainerUuid *string "json:\"container_uuid,omitempty\""
		CreatedAt     *string "json:\"created_at,omitempty\""
		CreatedByName *string "json:\"created_by_name,omitempty\""
		CreatedByUuid *string "json:\"created_by_uuid,omitempty\""
		Id            *string "json:\"id,omitempty\""
		Name          *string "json:\"name,omitempty\""
		Principals    *[]struct {
			PrincipalId   *string "json:\"principal_id,omitempty\""
			PrincipalName *string "json:\"principal_name,omitempty\""
			Type          *string "json:\"type,omitempty\""
		} "json:\"principals,omitempty\""
		ProcessingPercentComplete *int "json:\"processing_percent_complete,omitempty\""
		Rules                     *[]struct {
			Operator *string   "json:\"operator,omitempty\""
			Terms    *[]string "json:\"terms,omitempty\""
			Type     *string   "json:\"type,omitempty\""
		} "json:\"rules,omitempty\""
		Status        *string "json:\"status,omitempty\""
		UpdatedAt     *string "json:\"updated_at,omitempty\""
		UpdatedByName *string "json:\"updated_by_name,omitempty\""
		UpdatedByUuid *string "json:\"updated_by_uuid,omitempty\""
	}, error)
	AccessGroupsListFilters(reqEditors ...RequestEditorFn) (*struct {
		Filters *[]struct {
			Control      *string   "json:\"control,omitempty\""
			Name         *string   "json:\"name,omitempty\""
			Operators    *[]string "json:\"operators,omitempty\""
			ReadableName *string   "json:\"readable_name,omitempty\""
		} "json:\"filters,omitempty\""
		Sort *[]struct {
			SortableFields *string "json:\"sortable_fields,omitempty\""
		} "json:\"sort,omitempty\""
		WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
	}, error)
	AccessGroupsListRuleFilters(reqEditors ...RequestEditorFn) (*struct {
		Filters *[]struct {
			Control      *string   "json:\"control,omitempty\""
			Name         *string   "json:\"name,omitempty\""
			Operators    *[]string "json:\"operators,omitempty\""
			ReadableName *string   "json:\"readable_name,omitempty\""
		} "json:\"filters,omitempty\""
	}, error)
	AccessGroupsList(params *IoV1AccessGroupsListParams, reqEditors ...RequestEditorFn) (*struct {
		AccessGroups *struct {
			AllAssets                 *bool   "json:\"all_assets,omitempty\""
			AllUsers                  *bool   "json:\"all_users,omitempty\""
			ContainerUuid             *string "json:\"container_uuid,omitempty\""
			CreatedAt                 *string "json:\"created_at,omitempty\""
			CreatedByName             *string "json:\"created_by_name,omitempty\""
			CreatedByUuid             *string "json:\"created_by_uuid,omitempty\""
			Id                        *string "json:\"id,omitempty\""
			Name                      *string "json:\"name,omitempty\""
			ProcessingPercentComplete *int    "json:\"processing_percent_complete,omitempty\""
			Status                    *string "json:\"status,omitempty\""
			UpdatedAt                 *string "json:\"updated_at,omitempty\""
			UpdatedByName             *string "json:\"updated_by_name,omitempty\""
			UpdatedByUuid             *string "json:\"updated_by_uuid,omitempty\""
		} "json:\"access_groups,omitempty\""
		Pagination *struct {
			Limit  *int32 "json:\"limit,omitempty\""
			Offset *int32 "json:\"offset,omitempty\""
			Sort   *[]struct {
				Name  *string "json:\"name,omitempty\""
				Order *string "json:\"order,omitempty\""
			} "json:\"sort,omitempty\""
			Total *int32 "json:\"total,omitempty\""
		} "json:\"pagination,omitempty\""
	}, error)
}

IoV1Interface contains all methods for the nessus api

type IoV2

type IoV2 struct {
	*ClientWithResponses
}

IoV2 implementation of the IoV2 interface

func (*IoV2) AccessGroupsCreate

func (c *IoV2) AccessGroupsCreate(arg1 IoV2AccessGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	AccessGroupType *N200AccessGroupType "json:\"access_group_type,omitempty\""
	AllAssets       *bool                "json:\"all_assets,omitempty\""
	ContainerUuid   *string              "json:\"container_uuid,omitempty\""
	CreatedAt       *string              "json:\"created_at,omitempty\""
	CreatedByName   *string              "json:\"created_by_name,omitempty\""
	CreatedByUuid   *string              "json:\"created_by_uuid,omitempty\""
	Id              *string              "json:\"id,omitempty\""
	Name            *string              "json:\"name,omitempty\""
	Principals      *[]struct {
		Permissions   *N200PrincipalsPermissions "json:\"permissions,omitempty\""
		PrincipalId   *string                    "json:\"principal_id,omitempty\""
		PrincipalName *string                    "json:\"principal_name,omitempty\""
		Type          *N200PrincipalsType        "json:\"type,omitempty\""
	} "json:\"principals,omitempty\""
	ProcessingPercentComplete *int    "json:\"processing_percent_complete,omitempty\""
	Status                    *string "json:\"status,omitempty\""
	UpdatedAt                 *string "json:\"updated_at,omitempty\""
	UpdatedByName             *string "json:\"updated_by_name,omitempty\""
	UpdatedByUuid             *string "json:\"updated_by_uuid,omitempty\""
	Version                   *int    "json:\"version,omitempty\""
}, error)

AccessGroupsCreate calls the IoV2 ´s function

func (*IoV2) AccessGroupsCreateWithBody

func (c *IoV2) AccessGroupsCreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	AccessGroupType *N200AccessGroupType "json:\"access_group_type,omitempty\""
	AllAssets       *bool                "json:\"all_assets,omitempty\""
	ContainerUuid   *string              "json:\"container_uuid,omitempty\""
	CreatedAt       *string              "json:\"created_at,omitempty\""
	CreatedByName   *string              "json:\"created_by_name,omitempty\""
	CreatedByUuid   *string              "json:\"created_by_uuid,omitempty\""
	Id              *string              "json:\"id,omitempty\""
	Name            *string              "json:\"name,omitempty\""
	Principals      *[]struct {
		Permissions   *N200PrincipalsPermissions "json:\"permissions,omitempty\""
		PrincipalId   *string                    "json:\"principal_id,omitempty\""
		PrincipalName *string                    "json:\"principal_name,omitempty\""
		Type          *N200PrincipalsType        "json:\"type,omitempty\""
	} "json:\"principals,omitempty\""
	ProcessingPercentComplete *int    "json:\"processing_percent_complete,omitempty\""
	Status                    *string "json:\"status,omitempty\""
	UpdatedAt                 *string "json:\"updated_at,omitempty\""
	UpdatedByName             *string "json:\"updated_by_name,omitempty\""
	UpdatedByUuid             *string "json:\"updated_by_uuid,omitempty\""
	Version                   *int    "json:\"version,omitempty\""
}, error)

AccessGroupsCreateWithBody calls the IoV2 ´s function

func (*IoV2) AccessGroupsDelete

func (c *IoV2) AccessGroupsDelete(contentType string, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsDeleteResponse, error)

AccessGroupsDelete calls the IoV2 ´s function

func (*IoV2) AccessGroupsDetails

func (c *IoV2) AccessGroupsDetails(contentType string, reqEditors ...RequestEditorFn) (*struct {
	AccessGroupType *N200AccessGroupType "json:\"access_group_type,omitempty\""
	AllAssets       *bool                "json:\"all_assets,omitempty\""
	ContainerUuid   *string              "json:\"container_uuid,omitempty\""
	CreatedAt       *string              "json:\"created_at,omitempty\""
	CreatedByName   *string              "json:\"created_by_name,omitempty\""
	CreatedByUuid   *string              "json:\"created_by_uuid,omitempty\""
	Id              *string              "json:\"id,omitempty\""
	Name            *string              "json:\"name,omitempty\""
	Principals      *[]struct {
		Permissions   *N200PrincipalsPermissions "json:\"permissions,omitempty\""
		PrincipalId   *string                    "json:\"principal_id,omitempty\""
		PrincipalName *string                    "json:\"principal_name,omitempty\""
		Type          *N200PrincipalsType        "json:\"type,omitempty\""
	} "json:\"principals,omitempty\""
	ProcessingPercentComplete *int "json:\"processing_percent_complete,omitempty\""
	Rules                     *[]struct {
		Operator *string   "json:\"operator,omitempty\""
		Terms    *[]string "json:\"terms,omitempty\""
		Type     *string   "json:\"type,omitempty\""
	} "json:\"rules,omitempty\""
	Status        *string "json:\"status,omitempty\""
	UpdatedAt     *string "json:\"updated_at,omitempty\""
	UpdatedByName *string "json:\"updated_by_name,omitempty\""
	UpdatedByUuid *string "json:\"updated_by_uuid,omitempty\""
	Version       *int    "json:\"version,omitempty\""
}, error)

AccessGroupsDetails calls the IoV2 ´s function

func (*IoV2) AccessGroupsEdit

func (c *IoV2) AccessGroupsEdit(arg1 string, arg2 IoV2AccessGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	AccessGroupType *N200AccessGroupType "json:\"access_group_type,omitempty\""
	AllAssets       *bool                "json:\"all_assets,omitempty\""
	ContainerUuid   *string              "json:\"container_uuid,omitempty\""
	CreatedAt       *string              "json:\"created_at,omitempty\""
	CreatedByName   *string              "json:\"created_by_name,omitempty\""
	CreatedByUuid   *string              "json:\"created_by_uuid,omitempty\""
	Id              *string              "json:\"id,omitempty\""
	Name            *string              "json:\"name,omitempty\""
	Principals      *[]struct {
		Permissions   *N200PrincipalsPermissions "json:\"permissions,omitempty\""
		PrincipalId   *string                    "json:\"principal_id,omitempty\""
		PrincipalName *string                    "json:\"principal_name,omitempty\""
		Type          *N200PrincipalsType        "json:\"type,omitempty\""
	} "json:\"principals,omitempty\""
	ProcessingPercentComplete *int "json:\"processing_percent_complete,omitempty\""
	Rules                     *[]struct {
		Operator *string   "json:\"operator,omitempty\""
		Terms    *[]string "json:\"terms,omitempty\""
		Type     *string   "json:\"type,omitempty\""
	} "json:\"rules,omitempty\""
	Status        *string "json:\"status,omitempty\""
	UpdatedAt     *string "json:\"updated_at,omitempty\""
	UpdatedByName *string "json:\"updated_by_name,omitempty\""
	UpdatedByUuid *string "json:\"updated_by_uuid,omitempty\""
	Version       *int    "json:\"version,omitempty\""
}, error)

AccessGroupsEdit calls the IoV2 ´s function

func (*IoV2) AccessGroupsEditWithBody

func (c *IoV2) AccessGroupsEditWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	AccessGroupType *N200AccessGroupType "json:\"access_group_type,omitempty\""
	AllAssets       *bool                "json:\"all_assets,omitempty\""
	ContainerUuid   *string              "json:\"container_uuid,omitempty\""
	CreatedAt       *string              "json:\"created_at,omitempty\""
	CreatedByName   *string              "json:\"created_by_name,omitempty\""
	CreatedByUuid   *string              "json:\"created_by_uuid,omitempty\""
	Id              *string              "json:\"id,omitempty\""
	Name            *string              "json:\"name,omitempty\""
	Principals      *[]struct {
		Permissions   *N200PrincipalsPermissions "json:\"permissions,omitempty\""
		PrincipalId   *string                    "json:\"principal_id,omitempty\""
		PrincipalName *string                    "json:\"principal_name,omitempty\""
		Type          *N200PrincipalsType        "json:\"type,omitempty\""
	} "json:\"principals,omitempty\""
	ProcessingPercentComplete *int "json:\"processing_percent_complete,omitempty\""
	Rules                     *[]struct {
		Operator *string   "json:\"operator,omitempty\""
		Terms    *[]string "json:\"terms,omitempty\""
		Type     *string   "json:\"type,omitempty\""
	} "json:\"rules,omitempty\""
	Status        *string "json:\"status,omitempty\""
	UpdatedAt     *string "json:\"updated_at,omitempty\""
	UpdatedByName *string "json:\"updated_by_name,omitempty\""
	UpdatedByUuid *string "json:\"updated_by_uuid,omitempty\""
	Version       *int    "json:\"version,omitempty\""
}, error)

AccessGroupsEditWithBody calls the IoV2 ´s function

func (*IoV2) AccessGroupsList

func (c *IoV2) AccessGroupsList(params *IoV2AccessGroupsListParams, reqEditors ...RequestEditorFn) (*struct {
	AccessGroups *struct {
		AccessGroupType *N200AccessGroupsAccessGroupType "json:\"access_group_type,omitempty\""
		AllAssets       *bool                            "json:\"all_assets,omitempty\""
		ContainerUuid   *string                          "json:\"container_uuid,omitempty\""
		CreatedAt       *string                          "json:\"created_at,omitempty\""
		CreatedByName   *string                          "json:\"created_by_name,omitempty\""
		CreatedByUuid   *string                          "json:\"created_by_uuid,omitempty\""
		Id              *string                          "json:\"id,omitempty\""
		Name            *string                          "json:\"name,omitempty\""
		Principals      *[]struct {
			Permissions   *N200AccessGroupsPrincipalsPermissions "json:\"permissions,omitempty\""
			PrincipalId   *string                                "json:\"principal_id,omitempty\""
			PrincipalName *string                                "json:\"principal_name,omitempty\""
			Type          *N200AccessGroupsPrincipalsType        "json:\"type,omitempty\""
		} "json:\"principals,omitempty\""
		ProcessingPercentComplete *int    "json:\"processing_percent_complete,omitempty\""
		Status                    *string "json:\"status,omitempty\""
		UpdatedAt                 *string "json:\"updated_at,omitempty\""
		UpdatedByName             *string "json:\"updated_by_name,omitempty\""
		UpdatedByUuid             *string "json:\"updated_by_uuid,omitempty\""
		Version                   *int    "json:\"version,omitempty\""
	} "json:\"access_groups,omitempty\""
	Pagination *struct {
		Limit  *int32 "json:\"limit,omitempty\""
		Offset *int32 "json:\"offset,omitempty\""
		Sort   *[]struct {
			Name  *string "json:\"name,omitempty\""
			Order *string "json:\"order,omitempty\""
		} "json:\"sort,omitempty\""
		Total *int32 "json:\"total,omitempty\""
	} "json:\"pagination,omitempty\""
}, error)

AccessGroupsList calls the IoV2 ´s function

func (*IoV2) AccessGroupsListFilters

func (c *IoV2) AccessGroupsListFilters(reqEditors ...RequestEditorFn) (*struct {
	Filters *[]struct {
		Control      *string   "json:\"control,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	} "json:\"filters,omitempty\""
	Sort *[]struct {
		SortableFields *string "json:\"sortable_fields,omitempty\""
	} "json:\"sort,omitempty\""
	WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
}, error)

AccessGroupsListFilters calls the IoV2 ´s function

func (*IoV2) AccessGroupsListRuleFilters

func (c *IoV2) AccessGroupsListRuleFilters(reqEditors ...RequestEditorFn) (*struct {
	Rules *[]struct {
		Control *[]struct {
			Regex *string "json:\"regex,omitempty\""
			Type  *string "json:\"type,omitempty\""
		} "json:\"control,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		Placeholder  *string   "json:\"placeholder,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	} "json:\"rules,omitempty\""
}, error)

AccessGroupsListRuleFilters calls the IoV2 ´s function

type IoV2AccessGroupsCreateJSONBody

type IoV2AccessGroupsCreateJSONBody struct {
	// The type of access group. It can be one of three possible types:
	//  * MANAGE_ASSETS—Users in this access group can view the asset records created during previous scans and scan the associated targets for those assets.
	//  * SCAN_TARGETS—Users in this access group can scan targets associated with the access group and view the results of those scans. Targets may be associated with existing assets.
	//  * ALL—This access group type is only applicable to the default system-generated "All Assets" access group that contains all assets in your organization. This group is referred to as the "All Assets" group in the user interface. By default, Tenable.io grants all users in this access group both CAN VIEW and CAN SCAN permissions.
	AccessGroupType *IoV2AccessGroupsCreateJSONBodyAccessGroupType `json:"access_group_type,omitempty"`

	// This parameter must always be `false` or omitted from create requests to specify that the access group is a user-created group. If you submit a create request with this parameter set to `true`, the create request fails.
	AllAssets *bool `json:"all_assets,omitempty"`

	// Specifies whether assets in the access group can be viewed by all or only some users in your organization:
	// * If `true`, all users in your organization have Can View access to the assets defined in the rules parameter. Tenable.io ignores any principal parameters in your request.
	// * If `false`, only specified users have Can View access to the assets defined in the rules parameter. You define which users or user groups have access in the principals parameter of the request.
	//
	// If you omit this parameter, Tenable.io sets the parameter to `false` by default.
	AllUsers *bool `json:"all_users,omitempty"`

	// The name of the access group you want to create. This name must be:
	// * Unique within your Tenable.io instance.
	// * A maximum of 255 characters.
	// * Alphanumeric, but can include limited special characters (underscore, dash, parenthesis, brackets, colon).
	//
	// **Note:** You can add a maximum of 5,000 access groups to an individual container.
	Name string `json:"name"`

	// An array of principals. Each principal represents a user or user group assigned to the access group. You cannot add an access group as a principal to another access group.
	//
	// Tenable.io handles data in this array based on the all\_users parameter of the request:
	// * If all\_users is `true`, Tenable.io ignores any principal data in the request. You can omit this parameter from the request.
	// * If all\_users is `false`, Tenable.io adds the principal data to the access group.
	Principals *[]struct {
		// (Required) The permissions associated with the principal of the access group as described in <a href="/docs/permissions">Permissions</a>.
		Permissions *IoV2AccessGroupsCreateJSONBodyPrincipalsPermissions `json:"permissions,omitempty"`

		// The UUID of a user or user group. This parameter is required if the request omits the `principal_name` parameter.
		PrincipalId *string `json:"principal_id,omitempty"`

		// The name of the user or user group. This parameter is required if the request omits the `principal_id` parameter. If a request includes both `principal_id` and `principal_name`, Tenable.io assigns the user or user group to the access group based on the `principal_id` parameter, and ignores the `principal_name` parameter in the request.
		PrincipalName *string `json:"principal_name,omitempty"`

		// (Required) The type of principal. Valid values include:
		//  - all_users—Grants access to all users in your organization. That access includes `Can View` access to the assets defined in the rules parameter.
		//  - user—Grants access to the user you specify.
		//  - group—Grants access to all users assigned to the user group you specify.
		Type *IoV2AccessGroupsCreateJSONBodyPrincipalsType `json:"type,omitempty"`
	} `json:"principals,omitempty"`

	// An array of asset rules. Tenable.io uses these rules to assign assets to the access group. You can specify a maximum of 1,000 rules for an individual access group. If you specify multiple rules for an access group, Tenable.io assigns an asset to the access group if the asset matches any of the rules. You can only add rules to access groups if the `all_assets` parameter is set to `false`.
	//
	// **Note:** When configuring rules for an `access_group_type` of `SCAN_TARGETS`, the asset attribute type (`rules.type`) must match the target format used in the related scan. For example, if a `SCAN_TARGETS` type access group rule filters on the FQDN/Hostname attribute, the related scan succeeds if the scan target is specified in FQDN or hostname format, but fails if the scan target is specified in IPv4 address format.
	Rules *[]struct {
		// The operator that specifies how Tenable.io matches the terms value to asset data.
		//
		// Possible operators include:
		//  - eq—Tenable.io matches the rule to assets based on an exact match of the specified term. Note: Tenable.io interprets the operator as `equals` for ipv4 rules that specify a single IP address, but interprets the operator as `contains` for ipv4 rules that specify an IP range or CIDR range.
		//  - match—Tenable.io matches the rule to assets based a partial match of the specified term.
		//  - starts—Tenable.io matches the rule to assets that start with the specified term.
		//  - ends—Tenable.io matches the rule to assets that end with the specified term.
		//  - set-has—Tenable.io matches the rule to assets based on the specified `tag_uuid`.
		//
		// For a complete list of operators by rule type, use the [GET /v2/access-groups/rules/filters](ref:io-v2-access-groups-list-rule-filters) endpoint.
		Operator *string `json:"operator,omitempty"`

		// The values that Tenable.io uses to match an asset to the rule. A term must correspond to the rule type.
		//
		// For example:
		//  - If the rule type is `aws_account`, the term is an AWS account ID.
		//  - If the rule type is `fqdn`, the term is a hostname or a fully-qualified domain name (FQDN).
		//  - If the rule type is `ipv4`, the term is an individual IPv4 address, a range of IPv4 addresses (for example, 192.0.2.57-192.0.2.60), or a CIDR range (for example, 192.0.2.57/24).
		//
		// For a complete list of supported values by rule type, use the [GET /v2/access-groups/rules/filters](ref:io-v2-access-groups-list-rule-filters) endpoint.
		//
		// If you specify multiple terms values, Tenable.io includes an asset in the access group if the asset's attributes match any of the terms in the rule.
		// <br >You can specify up to 100,000 terms per asset rule.
		Terms *[]string `json:"terms,omitempty"`

		// The type of asset rule. The asset rule type corresponds to the type of data you can specify in the `terms` parameter. For a complete list of supported rule types, use the [GET /v2/access-groups/filters](ref:io-v2-access-groups-list-filters) endpoint.
		Type *string `json:"type,omitempty"`
	} `json:"rules,omitempty"`
}

IoV2AccessGroupsCreateJSONBody defines parameters for IoV2AccessGroupsCreate.

type IoV2AccessGroupsCreateJSONBodyAccessGroupType

type IoV2AccessGroupsCreateJSONBodyAccessGroupType string

IoV2AccessGroupsCreateJSONBodyAccessGroupType defines parameters for IoV2AccessGroupsCreate.

type IoV2AccessGroupsCreateJSONBodyPrincipalsPermissions

type IoV2AccessGroupsCreateJSONBodyPrincipalsPermissions []string

IoV2AccessGroupsCreateJSONBodyPrincipalsPermissions defines parameters for IoV2AccessGroupsCreate.

type IoV2AccessGroupsCreateJSONBodyPrincipalsType

type IoV2AccessGroupsCreateJSONBodyPrincipalsType string

IoV2AccessGroupsCreateJSONBodyPrincipalsType defines parameters for IoV2AccessGroupsCreate.

type IoV2AccessGroupsCreateJSONRequestBody

type IoV2AccessGroupsCreateJSONRequestBody IoV2AccessGroupsCreateJSONBody

IoV2AccessGroupsCreateJSONRequestBody defines body for IoV2AccessGroupsCreate for application/json ContentType.

type IoV2AccessGroupsCreateResponse

type IoV2AccessGroupsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The type of access group. It can be one of three possible types:
		//  * MANAGE_ASSETS—Users in this access group can view the asset records created during previous scans and scan the associated targets for those assets.
		//  * SCAN_TARGETS—Users in this access group can scan targets associated with the access group and view the results of those scans. Targets may be associated with existing assets.
		//  * ALL—This access group type is only applicable to the default system-generated "All Assets" access group that contains all assets in your organization. This group is referred to as the "All Assets" group in the user interface. By default, Tenable.io grants all users in this access group both CAN VIEW and CAN SCAN permissions.
		AccessGroupType *N200AccessGroupType `json:"access_group_type,omitempty"`

		// Specifies whether the access group is the system-provided All Assets access group:
		//  - If `true`, the access group is the All Assets access group. The only change you can make to this access group is to refine user membership in the group. For more information, see descriptions of the all_users and principals parameters for the [PUT /v2/access-groups/{id}](ref:io-v2-access-groups-edit) endpoint.
		//  - If `false`, the access group is a user-defined access group, and you can change all parameters for the group. This parameter is `false` for all access groups you create.
		AllAssets *bool `json:"all_assets,omitempty"`

		// The UUID of your Tenable.io instance.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// An ISO timestamp indicating the date and time on which the access group was created.
		CreatedAt *string `json:"created_at,omitempty"`

		// The name of the user who created the access group.
		CreatedByName *string `json:"created_by_name,omitempty"`

		// The UUID of the user who created the access group.
		CreatedByUuid *string `json:"created_by_uuid,omitempty"`

		// The UUID of the access group.
		Id *string `json:"id,omitempty"`

		// The name of the access group. This name must be:
		// * Unique within your Tenable.io instance.
		// * A maximum of 255 characters.
		// * Alphanumeric, but can include limited special characters (underscore, dash, parenthesis, brackets, colon).
		Name *string `json:"name,omitempty"`

		// An array of principals. Each principal represents a user or user group assigned to the access group. You cannot add an access group as a principal to another access group.
		Principals *[]struct {
			// (Required) The permissions associated with the principal of the access group as described in <a href="/docs/permissions">Permissions</a>.
			Permissions *N200PrincipalsPermissions `json:"permissions,omitempty"`

			// The UUID of a user or user group. This parameter is required if the request omits the `principal_name` parameter.
			PrincipalId *string `json:"principal_id,omitempty"`

			// The name of the user or user group. This parameter is required if the request omits the `principal_id` parameter. If a request includes both `principal_id` and `principal_name`, Tenable.io assigns the user or user group to the access group based on the `principal_id` parameter, and ignores the `principal_name` parameter in the request.
			PrincipalName *string `json:"principal_name,omitempty"`

			// (Required) The type of principal. Valid values include:
			//  - all_users—Grants access to all users in your organization. That access includes `Can View` access to the assets defined in the rules parameter.
			//  - user—Grants access to the user you specify.
			//  - group—Grants access to all users assigned to the user group you specify.
			Type *N200PrincipalsType `json:"type,omitempty"`
		} `json:"principals,omitempty"`

		// The percentage of assets that Tenable.io has evaluated against the asset rules for the access group.
		ProcessingPercentComplete *int `json:"processing_percent_complete,omitempty"`

		// The status of the process evaluating and assigning assets to the access group. Possible values are:
		//  - PROCESSING—Tenable.io is currently evaluating assets against the asset rules for the access group. For an indication of evaluation progress, see the `processing_percent_complete` attribute for the access group.
		//  - COMPLETED—Tenable.io has successfully completed its evaluation of assets against the asset rules for the group.
		//  - ERROR—Tenable.io encountered an error while evaluating assets against asset rules for the access group. Rule validation typically prevents this status from occurring. However, if you encounter an ERROR status, Tenable recommends that you delete the existing asset rules, then recreate the rules after a short time has elapsed.
		Status *string `json:"status,omitempty"`

		// An ISO timestamp indicating the time and date on which the access group was last modified.
		UpdatedAt *string `json:"updated_at,omitempty"`

		// The name of the user who last modified the access group.
		UpdatedByName *string `json:"updated_by_name,omitempty"`

		// The UUID of the user who last modified the access group.
		UpdatedByUuid *string `json:"updated_by_uuid,omitempty"`

		// Optional, user-defined value. This value must be incremented each time an access group is updated. Set to `1` by default.
		Version *int `json:"version,omitempty"`
	}
}

func ParseIoV2AccessGroupsCreateResponse

func ParseIoV2AccessGroupsCreateResponse(rsp *http.Response) (*IoV2AccessGroupsCreateResponse, error)

ParseIoV2AccessGroupsCreateResponse parses an HTTP response from a IoV2AccessGroupsCreateWithResponse call

func (IoV2AccessGroupsCreateResponse) Status

Status returns HTTPResponse.Status

func (IoV2AccessGroupsCreateResponse) StatusCode

func (r IoV2AccessGroupsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoV2AccessGroupsDeleteResponse

type IoV2AccessGroupsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseIoV2AccessGroupsDeleteResponse

func ParseIoV2AccessGroupsDeleteResponse(rsp *http.Response) (*IoV2AccessGroupsDeleteResponse, error)

ParseIoV2AccessGroupsDeleteResponse parses an HTTP response from a IoV2AccessGroupsDeleteWithResponse call

func (IoV2AccessGroupsDeleteResponse) Status

Status returns HTTPResponse.Status

func (IoV2AccessGroupsDeleteResponse) StatusCode

func (r IoV2AccessGroupsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoV2AccessGroupsDetailsResponse

type IoV2AccessGroupsDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The type of access group. It can be one of three possible types:
		//  * MANAGE_ASSETS—Users in this access group can view the asset records created during previous scans and scan the associated targets for those assets.
		//  * SCAN_TARGETS—Users in this access group can scan targets associated with the access group and view the results of those scans. Targets may be associated with existing assets.
		//  * ALL—This access group type is only applicable to the default system-generated "All Assets" access group that contains all assets in your organization. This group is referred to as the "All Assets" group in the user interface. By default, Tenable.io grants all users in this access group both CAN VIEW and CAN SCAN permissions.
		AccessGroupType *N200AccessGroupType `json:"access_group_type,omitempty"`

		// Specifies whether the access group is the system-provided All Assets access group:
		//  - If `true`, the access group is the All Assets access group. The only change you can make to this access group is to refine user membership in the group. For more information, see descriptions of the all_users and principals parameters for the [PUT /v2/access-groups/{id}](ref:io-v2-access-groups-edit) endpoint.
		//  - If `false`, the access group is a user-defined access group, and you can change all parameters for the group. This parameter is `false` for all access groups you create.
		AllAssets *bool `json:"all_assets,omitempty"`

		// The UUID of your Tenable.io instance.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// An ISO timestamp indicating the date and time on which the access group was created.
		CreatedAt *string `json:"created_at,omitempty"`

		// The name of the user who created the access group.
		CreatedByName *string `json:"created_by_name,omitempty"`

		// The UUID of the user who created the access group.
		CreatedByUuid *string `json:"created_by_uuid,omitempty"`

		// The UUID of the access group.
		Id *string `json:"id,omitempty"`

		// The name of the access group. This name must be:
		// * Unique within your Tenable.io instance.
		// * A maximum of 255 characters.
		// * Alphanumeric, but can include limited special characters (underscore, dash, parenthesis, brackets, colon).
		Name *string `json:"name,omitempty"`

		// An array of principals. Each principal represents a user or user group assigned to the access group. You cannot add an access group as a principal to another access group.
		Principals *[]struct {
			// (Required) The permissions associated with the principal of the access group as described in <a href="/docs/permissions">Permissions</a>.
			Permissions *N200PrincipalsPermissions `json:"permissions,omitempty"`

			// The UUID of a user or user group. This parameter is required if the request omits the `principal_name` parameter.
			PrincipalId *string `json:"principal_id,omitempty"`

			// The name of the user or user group. This parameter is required if the request omits the `principal_id` parameter. If a request includes both `principal_id` and `principal_name`, Tenable.io assigns the user or user group to the access group based on the `principal_id` parameter, and ignores the `principal_name` parameter in the request.
			PrincipalName *string `json:"principal_name,omitempty"`

			// (Required) The type of principal. Valid values include:
			//  - all_users—Grants access to all users in your organization. That access includes `Can View` access to the assets defined in the rules parameter.
			//  - user—Grants access to the user you specify.
			//  - group—Grants access to all users assigned to the user group you specify.
			Type *N200PrincipalsType `json:"type,omitempty"`
		} `json:"principals,omitempty"`

		// The percentage of assets that Tenable.io has evaluated against the asset rules for the access group.
		ProcessingPercentComplete *int `json:"processing_percent_complete,omitempty"`

		// An array of asset rules. Tenable.io uses these rules to assign assets to the access group. You can specify a maximum of 1,000 rules for an individual access group. If you specify multiple rules for an access group, Tenable.io assigns an asset to the access group if the asset matches any of the rules. You can only add rules to access groups if the `all_assets` parameter is set to `false`.
		Rules *[]struct {
			// The operator that specifies how Tenable.io matches the terms value to asset data.
			//
			// Possible operators include:
			//  - eq—Tenable.io matches the rule to assets based on an exact match of the specified term. Note: Tenable.io interprets the operator as `equals` for ipv4 rules that specify a single IP address, but interprets the operator as `contains` for ipv4 rules that specify an IP range or CIDR range.
			//  - match—Tenable.io matches the rule to assets based a partial match of the specified term.
			//  - starts—Tenable.io matches the rule to assets that start with the specified term.
			//  - ends—Tenable.io matches the rule to assets that end with the specified term.
			//  - set-has—Tenable.io matches the rule to assets based on the specified `tag_uuid`.
			//
			// For a complete list of operators by rule type, use the [GET /v2/access-groups/rules/filters](ref:io-v2-access-groups-list-rule-filters) endpoint.
			Operator *string `json:"operator,omitempty"`

			// The values that Tenable.io uses to match an asset to the rule. A term must correspond to the rule type.
			//
			// For example:
			//  - If the rule type is `aws_account`, the term is an AWS account ID.
			//  - If the rule type is `fqdn`, the term is a hostname or a fully-qualified domain name (FQDN).
			//  - If the rule type is `ipv4`, the term is an individual IPv4 address, a range of IPv4 addresses (for example, 192.0.2.57-192.0.2.60), or a CIDR range (for example, 192.0.2.57/24).
			//
			// For a complete list of supported values by rule type, use the [GET /v2/access-groups/rules/filters](ref:io-v2-access-groups-list-rule-filters) endpoint.
			//
			// If you specify multiple terms values, Tenable.io includes an asset in the access group if the asset's attributes match any of the terms in the rule.
			// <br >You can specify up to 100,000 terms per asset rule.
			Terms *[]string `json:"terms,omitempty"`

			// The type of asset rule. The asset rule type corresponds to the type of data you can specify in the `terms` parameter. For a complete list of supported rule types, use the [GET /v2/access-groups/filters](ref:io-v2-access-groups-list-filters) endpoint.
			Type *string `json:"type,omitempty"`
		} `json:"rules,omitempty"`

		// The status of the process evaluating and assigning assets to the access group. Possible values are:
		//  - PROCESSING—Tenable.io is currently evaluating assets against the asset rules for the access group. For an indication of evaluation progress, see the `processing_percent_complete` attribute for the access group.
		//  - COMPLETED—Tenable.io has successfully completed its evaluation of assets against the asset rules for the group.
		//  - ERROR—Tenable.io encountered an error while evaluating assets against asset rules for the access group. Rule validation typically prevents this status from occurring. However, if you encounter an ERROR status, Tenable recommends that you delete the existing asset rules, then recreate the rules after a short time has elapsed.
		Status *string `json:"status,omitempty"`

		// An ISO timestamp indicating the time and date on which the access group was last modified.
		UpdatedAt *string `json:"updated_at,omitempty"`

		// The name of the user who last modified the access group.
		UpdatedByName *string `json:"updated_by_name,omitempty"`

		// The UUID of the user who last modified the access group.
		UpdatedByUuid *string `json:"updated_by_uuid,omitempty"`

		// Optional, user-defined value. This value must be incremented each time an access group is updated. Set to `1` by default.
		Version *int `json:"version,omitempty"`
	}
}

func ParseIoV2AccessGroupsDetailsResponse

func ParseIoV2AccessGroupsDetailsResponse(rsp *http.Response) (*IoV2AccessGroupsDetailsResponse, error)

ParseIoV2AccessGroupsDetailsResponse parses an HTTP response from a IoV2AccessGroupsDetailsWithResponse call

func (IoV2AccessGroupsDetailsResponse) Status

Status returns HTTPResponse.Status

func (IoV2AccessGroupsDetailsResponse) StatusCode

func (r IoV2AccessGroupsDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoV2AccessGroupsEditJSONBody

type IoV2AccessGroupsEditJSONBody struct {
	// The type of access group. It can be one of three possible types:
	//  * MANAGE_ASSETS—Users in this access group can view the asset records created during previous scans and scan the associated targets for those assets.
	//  * SCAN_TARGETS—Users in this access group can scan targets associated with the access group and view the results of those scans. Targets may be associated with existing assets.
	//  * ALL—This access group type is only applicable to the default system-generated "All Assets" access group that contains all assets in your organization. This group is referred to as the "All Assets" group in the user interface. By default, Tenable.io grants all users in this access group both CAN VIEW and CAN SCAN permissions.
	AccessGroupType *IoV2AccessGroupsEditJSONBodyAccessGroupType `json:"access_group_type,omitempty"`

	// Specifies whether the access group you want to modify is the All Assets group or a user-defined group:
	// * If you want to refine membership in the All Assets access group (the only change you can make to the All Assets group), this parameter must be `true`. Tenable.io ignores any rules parameters in your request, but overwrrites existing principals parameters with those in the request based on the all\_users and principals parameters in the request.
	// * If you want to modify a user-defined access group, this parameter must be `false`. Tenable.io overwrites the existing rules parameters with the rules parameters you specify in this request, and overwrites existing principals parameters based on the all\_users and principals parameters in the request.
	AllAssets *bool `json:"all_assets,omitempty"`

	// Specifies whether assets in the access group can be viewed by all or only some users in your organization:
	// * If `true`, all users in your organization have Can View access to the assets defined in the rules parameter. Tenable.io ignores any principal parameters in your request.
	// * If `false`, only specified users have Can View access to the assets defined in the rules parameter. You define which users or user groups have access in the principals parameter of the request.
	//
	// If you omit this parameter, Tenable.io sets the parameter to `false` by default.
	AllUsers *bool `json:"all_users,omitempty"`

	// The name of the access group you want to modify.
	Name *string `json:"name,omitempty"`

	// An array of principals. Each principal represents a user or user group assigned to the access group. You cannot add an access group as a principal to another access group.
	Principals *[]struct {
		// (Required) The permissions associated with the principal of the access group as described in <a href="/docs/permissions">Permissions</a>.
		Permissions *IoV2AccessGroupsEditJSONBodyPrincipalsPermissions `json:"permissions,omitempty"`

		// The UUID of a user or user group. This parameter is required if the request omits the `principal_name` parameter.
		PrincipalId *string `json:"principal_id,omitempty"`

		// The name of the user or user group. This parameter is required if the request omits the `principal_id` parameter. If a request includes both `principal_id` and `principal_name`, Tenable.io assigns the user or user group to the access group based on the `principal_id` parameter, and ignores the `principal_name` parameter in the request.
		PrincipalName *string `json:"principal_name,omitempty"`

		// (Required) The type of principal. Valid values include:
		//  - all_users—Grants access to all users in your organization. That access includes `Can View` access to the assets defined in the rules parameter.
		//  - user—Grants access to the user you specify.
		//  - group—Grants access to all users assigned to the user group you specify.
		Type *IoV2AccessGroupsEditJSONBodyPrincipalsType `json:"type,omitempty"`
	} `json:"principals,omitempty"`

	// An array of asset rules. Tenable.io uses these rules to assign assets to the access group. You can specify a maximum of 1,000 rules for an individual access group. If you specify multiple rules for an access group, Tenable.io assigns an asset to the access group if the asset matches any of the rules. You can only add rules to access groups if the `all_assets` parameter is set to `false`.
	//
	// **Note:** When configuring rules for an `access_group_type` of `SCAN_TARGETS`, the asset attribute type (`rules.type`) must match the target format used in the related scan. For example, if a `SCAN_TARGETS` type access group rule filters on the FQDN/Hostname attribute, the related scan succeeds if the scan target is specified in FQDN or hostname format, but fails if the scan target is specified in IPv4 address format.
	Rules *[]struct {
		// The operator that specifies how Tenable.io matches the terms value to asset data.
		//
		// Possible operators include:
		//  - eq—Tenable.io matches the rule to assets based on an exact match of the specified term. Note: Tenable.io interprets the operator as `equals` for ipv4 rules that specify a single IP address, but interprets the operator as `contains` for ipv4 rules that specify an IP range or CIDR range.
		//  - match—Tenable.io matches the rule to assets based a partial match of the specified term.
		//  - starts—Tenable.io matches the rule to assets that start with the specified term.
		//  - ends—Tenable.io matches the rule to assets that end with the specified term.
		//  - set-has—Tenable.io matches the rule to assets based on the specified `tag_uuid`.
		//
		// For a complete list of operators by rule type, use the [GET /v2/access-groups/rules/filters](ref:io-v2-access-groups-list-rule-filters) endpoint.
		Operator *string `json:"operator,omitempty"`

		// The values that Tenable.io uses to match an asset to the rule. A term must correspond to the rule type.
		//
		// For example:
		//  - If the rule type is `aws_account`, the term is an AWS account ID.
		//  - If the rule type is `fqdn`, the term is a hostname or a fully-qualified domain name (FQDN).
		//  - If the rule type is `ipv4`, the term is an individual IPv4 address, a range of IPv4 addresses (for example, 192.0.2.57-192.0.2.60), or a CIDR range (for example, 192.0.2.57/24).
		//
		// For a complete list of supported values by rule type, use the [GET /v2/access-groups/rules/filters](ref:io-v2-access-groups-list-rule-filters) endpoint.
		//
		// If you specify multiple terms values, Tenable.io includes an asset in the access group if the asset's attributes match any of the terms in the rule.
		// <br >You can specify up to 100,000 terms per asset rule.
		Terms *[]string `json:"terms,omitempty"`

		// The type of asset rule. The asset rule type corresponds to the type of data you can specify in the `terms` parameter. For a complete list of supported rule types, use the [GET /v2/access-groups/filters](ref:io-v2-access-groups-list-filters) endpoint.
		Type *string `json:"type,omitempty"`
	} `json:"rules,omitempty"`
}

IoV2AccessGroupsEditJSONBody defines parameters for IoV2AccessGroupsEdit.

type IoV2AccessGroupsEditJSONBodyAccessGroupType

type IoV2AccessGroupsEditJSONBodyAccessGroupType string

IoV2AccessGroupsEditJSONBodyAccessGroupType defines parameters for IoV2AccessGroupsEdit.

type IoV2AccessGroupsEditJSONBodyPrincipalsPermissions

type IoV2AccessGroupsEditJSONBodyPrincipalsPermissions []string

IoV2AccessGroupsEditJSONBodyPrincipalsPermissions defines parameters for IoV2AccessGroupsEdit.

type IoV2AccessGroupsEditJSONBodyPrincipalsType

type IoV2AccessGroupsEditJSONBodyPrincipalsType string

IoV2AccessGroupsEditJSONBodyPrincipalsType defines parameters for IoV2AccessGroupsEdit.

type IoV2AccessGroupsEditJSONRequestBody

type IoV2AccessGroupsEditJSONRequestBody IoV2AccessGroupsEditJSONBody

IoV2AccessGroupsEditJSONRequestBody defines body for IoV2AccessGroupsEdit for application/json ContentType.

type IoV2AccessGroupsEditResponse

type IoV2AccessGroupsEditResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The type of access group. It can be one of three possible types:
		//  * MANAGE_ASSETS—Users in this access group can view the asset records created during previous scans and scan the associated targets for those assets.
		//  * SCAN_TARGETS—Users in this access group can scan targets associated with the access group and view the results of those scans. Targets may be associated with existing assets.
		//  * ALL—This access group type is only applicable to the default system-generated "All Assets" access group that contains all assets in your organization. This group is referred to as the "All Assets" group in the user interface. By default, Tenable.io grants all users in this access group both CAN VIEW and CAN SCAN permissions.
		AccessGroupType *N200AccessGroupType `json:"access_group_type,omitempty"`

		// Specifies whether the access group is the system-provided All Assets access group:
		//  - If `true`, the access group is the All Assets access group. The only change you can make to this access group is to refine user membership in the group. For more information, see descriptions of the all_users and principals parameters for the [PUT /v2/access-groups/{id}](ref:io-v2-access-groups-edit) endpoint.
		//  - If `false`, the access group is a user-defined access group, and you can change all parameters for the group. This parameter is `false` for all access groups you create.
		AllAssets *bool `json:"all_assets,omitempty"`

		// The UUID of your Tenable.io instance.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// An ISO timestamp indicating the date and time on which the access group was created.
		CreatedAt *string `json:"created_at,omitempty"`

		// The name of the user who created the access group.
		CreatedByName *string `json:"created_by_name,omitempty"`

		// The UUID of the user who created the access group.
		CreatedByUuid *string `json:"created_by_uuid,omitempty"`

		// The UUID of the access group.
		Id *string `json:"id,omitempty"`

		// The name of the access group. This name must be:
		// * Unique within your Tenable.io instance.
		// * A maximum of 255 characters.
		// * Alphanumeric, but can include limited special characters (underscore, dash, parenthesis, brackets, colon).
		Name *string `json:"name,omitempty"`

		// An array of principals. Each principal represents a user or user group assigned to the access group. You cannot add an access group as a principal to another access group.
		Principals *[]struct {
			// (Required) The permissions associated with the principal of the access group as described in <a href="/docs/permissions">Permissions</a>.
			Permissions *N200PrincipalsPermissions `json:"permissions,omitempty"`

			// The UUID of a user or user group. This parameter is required if the request omits the `principal_name` parameter.
			PrincipalId *string `json:"principal_id,omitempty"`

			// The name of the user or user group. This parameter is required if the request omits the `principal_id` parameter. If a request includes both `principal_id` and `principal_name`, Tenable.io assigns the user or user group to the access group based on the `principal_id` parameter, and ignores the `principal_name` parameter in the request.
			PrincipalName *string `json:"principal_name,omitempty"`

			// (Required) The type of principal. Valid values include:
			//  - all_users—Grants access to all users in your organization. That access includes `Can View` access to the assets defined in the rules parameter.
			//  - user—Grants access to the user you specify.
			//  - group—Grants access to all users assigned to the user group you specify.
			Type *N200PrincipalsType `json:"type,omitempty"`
		} `json:"principals,omitempty"`

		// The percentage of assets that Tenable.io has evaluated against the asset rules for the access group.
		ProcessingPercentComplete *int `json:"processing_percent_complete,omitempty"`

		// An array of asset rules. Tenable.io uses these rules to assign assets to the access group. You can specify a maximum of 1,000 rules for an individual access group. If you specify multiple rules for an access group, Tenable.io assigns an asset to the access group if the asset matches any of the rules. You can only add rules to access groups if the `all_assets` parameter is set to `false`.
		Rules *[]struct {
			// The operator that specifies how Tenable.io matches the terms value to asset data.
			//
			// Possible operators include:
			//  - eq—Tenable.io matches the rule to assets based on an exact match of the specified term. Note: Tenable.io interprets the operator as `equals` for ipv4 rules that specify a single IP address, but interprets the operator as `contains` for ipv4 rules that specify an IP range or CIDR range.
			//  - match—Tenable.io matches the rule to assets based a partial match of the specified term.
			//  - starts—Tenable.io matches the rule to assets that start with the specified term.
			//  - ends—Tenable.io matches the rule to assets that end with the specified term.
			//  - set-has—Tenable.io matches the rule to assets based on the specified `tag_uuid`.
			//
			// For a complete list of operators by rule type, use the [GET /v2/access-groups/rules/filters](ref:io-v2-access-groups-list-rule-filters) endpoint.
			Operator *string `json:"operator,omitempty"`

			// The values that Tenable.io uses to match an asset to the rule. A term must correspond to the rule type.
			//
			// For example:
			//  - If the rule type is `aws_account`, the term is an AWS account ID.
			//  - If the rule type is `fqdn`, the term is a hostname or a fully-qualified domain name (FQDN).
			//  - If the rule type is `ipv4`, the term is an individual IPv4 address, a range of IPv4 addresses (for example, 192.0.2.57-192.0.2.60), or a CIDR range (for example, 192.0.2.57/24).
			//
			// For a complete list of supported values by rule type, use the [GET /v2/access-groups/rules/filters](ref:io-v2-access-groups-list-rule-filters) endpoint.
			//
			// If you specify multiple terms values, Tenable.io includes an asset in the access group if the asset's attributes match any of the terms in the rule.
			// <br >You can specify up to 100,000 terms per asset rule.
			Terms *[]string `json:"terms,omitempty"`

			// The type of asset rule. The asset rule type corresponds to the type of data you can specify in the `terms` parameter. For a complete list of supported rule types, use the [GET /v2/access-groups/filters](ref:io-v2-access-groups-list-filters) endpoint.
			Type *string `json:"type,omitempty"`
		} `json:"rules,omitempty"`

		// The status of the process evaluating and assigning assets to the access group. Possible values are:
		//  - PROCESSING—Tenable.io is currently evaluating assets against the asset rules for the access group. For an indication of evaluation progress, see the `processing_percent_complete` attribute for the access group.
		//  - COMPLETED—Tenable.io has successfully completed its evaluation of assets against the asset rules for the group.
		//  - ERROR—Tenable.io encountered an error while evaluating assets against asset rules for the access group. Rule validation typically prevents this status from occurring. However, if you encounter an ERROR status, Tenable recommends that you delete the existing asset rules, then recreate the rules after a short time has elapsed.
		Status *string `json:"status,omitempty"`

		// An ISO timestamp indicating the time and date on which the access group was last modified.
		UpdatedAt *string `json:"updated_at,omitempty"`

		// The name of the user who last modified the access group.
		UpdatedByName *string `json:"updated_by_name,omitempty"`

		// The UUID of the user who last modified the access group.
		UpdatedByUuid *string `json:"updated_by_uuid,omitempty"`

		// Optional, user-defined value. This value must be incremented each time an access group is updated. Set to `1` by default.
		Version *int `json:"version,omitempty"`
	}
}

func ParseIoV2AccessGroupsEditResponse

func ParseIoV2AccessGroupsEditResponse(rsp *http.Response) (*IoV2AccessGroupsEditResponse, error)

ParseIoV2AccessGroupsEditResponse parses an HTTP response from a IoV2AccessGroupsEditWithResponse call

func (IoV2AccessGroupsEditResponse) Status

Status returns HTTPResponse.Status

func (IoV2AccessGroupsEditResponse) StatusCode

func (r IoV2AccessGroupsEditResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoV2AccessGroupsListFiltersResponse

type IoV2AccessGroupsListFiltersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The filters and operators for each field you can use when constructing filter (`f` parameter) values in the [GET /v2/access-groups](ref:io-v2-access-groups-list) endpoint.
		Filters *[]struct {
			// Indicates how the parameter appears in the Tenable.io user interface.
			Control *string `json:"control,omitempty"`

			// Corresponds to the field component of the `f` parameter.
			Name *string `json:"name,omitempty"`

			// Corresponds to the operator component of the `f` parameter.
			Operators *[]string `json:"operators,omitempty"`

			// The name of the parameter as it appears in the Tenable.io user interface.
			ReadableName *string `json:"readable_name,omitempty"`
		} `json:"filters,omitempty"`

		// The fields you can use when constructing `sort` parameter values for the [GET /v2/access-groups](ref:io-v2-access-groups-list) endpoint.
		Sort *[]struct {
			// The names of the fields you can use when constructing `sort` parameter values for the [GET /v2/access-groups](ref:io-v2-access-groups-list) endpoint.
			SortableFields *string `json:"sortable_fields,omitempty"`
		} `json:"sort,omitempty"`

		// The fields you can use as a wildcard (`wf` parameter) value in the [GET /v2/access-groups](ref:io-v2-access-groups-list) endpoint.
		WildcardFields *[]string `json:"wildcard_fields,omitempty"`
	}
}

func ParseIoV2AccessGroupsListFiltersResponse

func ParseIoV2AccessGroupsListFiltersResponse(rsp *http.Response) (*IoV2AccessGroupsListFiltersResponse, error)

ParseIoV2AccessGroupsListFiltersResponse parses an HTTP response from a IoV2AccessGroupsListFiltersWithResponse call

func (IoV2AccessGroupsListFiltersResponse) Status

Status returns HTTPResponse.Status

func (IoV2AccessGroupsListFiltersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type IoV2AccessGroupsListParams

type IoV2AccessGroupsListParams struct {
	// A filter condition in the following format: `field:operator:value`. For a list of possible fields and operators, use the [GET /v2/access-groups/filters](ref:io-v2-access-groups-list-filters) endpoint. You can specify multiple `f` parameters, separated by ampersand (&) characters. If you specify multiple `f` parameters, use the `ft` parameter to specify how Tenable.io applies the multiple filter conditions.
	F *string `json:"f,omitempty"`

	// If multiple `f` parameters are present, specifies whether Tenable.io applies `AND` or `OR` to conditions. Supported values are `and` and `or`. If you omit this parameter when using multiple `f` parameters, Tenable.io applies `AND` by default.
	Ft *string `json:"ft,omitempty"`

	// The search value that Tenable.io applies across the wildcard fields. Wildcard fields are specified in the `wf` parameter.
	W *string `json:"w,omitempty"`

	// A comma-separated list of fields where Tenable.io applies the search value specified in the `w` parameter. For a list of supported wildcard fields, use the [GET /v2/access-groups/filters](ref:io-v2-access-groups-list-filters) endpoint.
	Wf *string `json:"wf,omitempty"`

	// Specifies whether or not to include the `rules` and `principals` objects in the response. Tenable.io defaults to `false` if this parameter is omitted.
	Fullypopulateresponse *bool `json:"fullypopulateresponse,omitempty"`

	// The number of records to retrieve.
	Limit *int32 `json:"limit,omitempty"`

	// The starting record to retrieve. If this parameter is omitted, Tenable.io uses the default value of `0`.
	Offset *int32 `json:"offset,omitempty"`

	// The field you want to use to sort the results by along with the sort order. The field is specified first, followed by a colon, and the order is specified second (`asc` or `desc`). For example, `name:desc` would sort results by the `name` field in descending order.
	//
	// If you specify multiple fields, the fields must be separated by commas. For example, `name:desc,created_at:asc` would first sort results by the `name` field in descending order and then by the `created_at` field in ascending order.
	//
	// For a list of supported sort fields, use the [GET /v2/access-groups/filters](ref:io-v2-access-groups-list-filters) endpoint.
	Sort *string `json:"sort,omitempty"`
}

IoV2AccessGroupsListParams defines parameters for IoV2AccessGroupsList.

type IoV2AccessGroupsListResponse

type IoV2AccessGroupsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		AccessGroups *struct {
			// The type of access group. It can be one of three possible types:
			//  * MANAGE_ASSETS—Users in this access group can view the asset records created during previous scans and scan the associated targets for those assets.
			//  * SCAN_TARGETS—Users in this access group can scan targets associated with the access group and view the results of those scans. Targets may be associated with existing assets.
			//  * ALL—This access group type is only applicable to the default system-generated "All Assets" access group that contains all assets in your organization. This group is referred to as the "All Assets" group in the user interface. By default, Tenable.io grants all users in this access group both CAN VIEW and CAN SCAN permissions.
			AccessGroupType *N200AccessGroupsAccessGroupType `json:"access_group_type,omitempty"`

			// Specifies whether the access group is the system-provided All Assets access group:
			//  - If `true`, the access group is the All Assets access group. The only change you can make to this access group is to refine user membership in the group. For more information, see descriptions of the all_users and principals parameters for the [PUT /v2/access-groups/{id}](ref:io-v2-access-groups-edit) endpoint.
			//  - If `false`, the access group is a user-defined access group, and you can change all parameters for the group. This parameter is `false` for all access groups you create.
			AllAssets *bool `json:"all_assets,omitempty"`

			// The UUID of your Tenable.io instance.
			ContainerUuid *string `json:"container_uuid,omitempty"`

			// An ISO timestamp indicating the date and time on which the access group was created.
			CreatedAt *string `json:"created_at,omitempty"`

			// The name of the user who created the access group.
			CreatedByName *string `json:"created_by_name,omitempty"`

			// The UUID of the user who created the access group.
			CreatedByUuid *string `json:"created_by_uuid,omitempty"`

			// The UUID of the access group.
			Id *string `json:"id,omitempty"`

			// The name of the access group. This name must be:
			// * Unique within your Tenable.io instance.
			// * A maximum of 255 characters.
			// * Alphanumeric, but can include limited special characters (underscore, dash, parenthesis, brackets, colon).
			Name *string `json:"name,omitempty"`

			// An array of principals. Each principal represents a user or user group assigned to the access group. You cannot add an access group as a principal to another access group.
			Principals *[]struct {
				// (Required) The permissions associated with the principal of the access group as described in <a href="/docs/permissions">Permissions</a>.
				Permissions *N200AccessGroupsPrincipalsPermissions `json:"permissions,omitempty"`

				// The UUID of a user or user group. This parameter is required if the request omits the `principal_name` parameter.
				PrincipalId *string `json:"principal_id,omitempty"`

				// The name of the user or user group. This parameter is required if the request omits the `principal_id` parameter. If a request includes both `principal_id` and `principal_name`, Tenable.io assigns the user or user group to the access group based on the `principal_id` parameter, and ignores the `principal_name` parameter in the request.
				PrincipalName *string `json:"principal_name,omitempty"`

				// (Required) The type of principal. Valid values include:
				//  - all_users—Grants access to all users in your organization. That access includes `Can View` access to the assets defined in the rules parameter.
				//  - user—Grants access to the user you specify.
				//  - group—Grants access to all users assigned to the user group you specify.
				Type *N200AccessGroupsPrincipalsType `json:"type,omitempty"`
			} `json:"principals,omitempty"`

			// The percentage of assets that Tenable.io has evaluated against the asset rules for the access group.
			ProcessingPercentComplete *int `json:"processing_percent_complete,omitempty"`

			// The status of the process evaluating and assigning assets to the access group. Possible values are:
			//  - PROCESSING—Tenable.io is currently evaluating assets against the asset rules for the access group. For an indication of evaluation progress, see the `processing_percent_complete` attribute for the access group.
			//  - COMPLETED—Tenable.io has successfully completed its evaluation of assets against the asset rules for the group.
			//  - ERROR—Tenable.io encountered an error while evaluating assets against asset rules for the access group. Rule validation typically prevents this status from occurring. However, if you encounter an ERROR status, Tenable recommends that you delete the existing asset rules, then recreate the rules after a short time has elapsed.
			Status *string `json:"status,omitempty"`

			// An ISO timestamp indicating the time and date on which the access group was last modified.
			UpdatedAt *string `json:"updated_at,omitempty"`

			// The name of the user who last modified the access group.
			UpdatedByName *string `json:"updated_by_name,omitempty"`

			// The UUID of the user who last modified the access group.
			UpdatedByUuid *string `json:"updated_by_uuid,omitempty"`

			// Optional, user-defined value. This value must be incremented each time an access group is updated. Set to `1` by default.
			Version *int `json:"version,omitempty"`
		} `json:"access_groups,omitempty"`
		Pagination *struct {
			// The number of records requested (or the default value if omitted from the request).
			Limit *int32 `json:"limit,omitempty"`

			// The starting record you requested (or zero if omitted).
			Offset *int32 `json:"offset,omitempty"`

			// An array of objects representing the fields and sort order you specified in the request, which Tenable.io used to sort the returned data.
			Sort *[]struct {
				// The field on which Tenable.io sorted the results.
				Name *string `json:"name,omitempty"`

				// The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending).
				Order *string `json:"order,omitempty"`
			} `json:"sort,omitempty"`

			// The total number of records matching your search criteria.
			Total *int32 `json:"total,omitempty"`
		} `json:"pagination,omitempty"`
	}
}

func ParseIoV2AccessGroupsListResponse

func ParseIoV2AccessGroupsListResponse(rsp *http.Response) (*IoV2AccessGroupsListResponse, error)

ParseIoV2AccessGroupsListResponse parses an HTTP response from a IoV2AccessGroupsListWithResponse call

func (IoV2AccessGroupsListResponse) Status

Status returns HTTPResponse.Status

func (IoV2AccessGroupsListResponse) StatusCode

func (r IoV2AccessGroupsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IoV2AccessGroupsListRuleFiltersResponse

type IoV2AccessGroupsListRuleFiltersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// An array specifying values to use when constructing an asset rule for the [POST /access-groups](ref:io-v2-access-groups-create) and [PUT /access-groups/{id}](ref:io-v2-access-groups-edit) methods.
		Rules *[]struct {
			// Indicates how the field appears in the Tenable.io user interface.
			Control *[]struct {
				// The regular expression Tenable.io uses to match values of the rule type.
				Regex *string `json:"regex,omitempty"`

				// The type of control.
				Type *string `json:"type,omitempty"`
			} `json:"control,omitempty"`

			// The name of the filter parameter. Corresponds to the asset rule type.
			Name *string `json:"name,omitempty"`

			// The operator that specifies how Tenable.io matches the terms value to asset data. Corresponds to the operator component of the rules parameter. Possible operators include:
			// * eq—Tenable.io matches the rule to assets based on an exact match of the specified term. Note: Tenable.io interprets the operator as `equals` for ipv4 rules that specify a single IP address, but interprets the operator as `contains` for ipv4 rules that specify an IP range or CIDR range.
			// * match—Tenable.io matches the rule to assets based a partial match of the specified term.
			// * starts—Tenable.io matches the rule to assets that start with the specified term.
			// * ends—Tenable.io matches the rule to assets that end with the specified term.
			//  * set-has—Tenable.io matches the rule to assets based on the specified `tag_uuid`.
			//
			// For a complete list of operators by rule type, use the [GET /v2/access-groups/filters](ref:io-v2-access-groups-list-filters) endpoint.
			Operators *[]string `json:"operators,omitempty"`

			// An example value.
			Placeholder *string `json:"placeholder,omitempty"`

			// The name of the field as it appears in the Tenable.io user interface.
			ReadableName *string `json:"readable_name,omitempty"`
		} `json:"rules,omitempty"`
	}
}

func ParseIoV2AccessGroupsListRuleFiltersResponse

func ParseIoV2AccessGroupsListRuleFiltersResponse(rsp *http.Response) (*IoV2AccessGroupsListRuleFiltersResponse, error)

ParseIoV2AccessGroupsListRuleFiltersResponse parses an HTTP response from a IoV2AccessGroupsListRuleFiltersWithResponse call

func (IoV2AccessGroupsListRuleFiltersResponse) Status

Status returns HTTPResponse.Status

func (IoV2AccessGroupsListRuleFiltersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type IoV2Interface

type IoV2Interface interface {
	AccessGroupsCreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		AccessGroupType *N200AccessGroupType "json:\"access_group_type,omitempty\""
		AllAssets       *bool                "json:\"all_assets,omitempty\""
		ContainerUuid   *string              "json:\"container_uuid,omitempty\""
		CreatedAt       *string              "json:\"created_at,omitempty\""
		CreatedByName   *string              "json:\"created_by_name,omitempty\""
		CreatedByUuid   *string              "json:\"created_by_uuid,omitempty\""
		Id              *string              "json:\"id,omitempty\""
		Name            *string              "json:\"name,omitempty\""
		Principals      *[]struct {
			Permissions   *N200PrincipalsPermissions "json:\"permissions,omitempty\""
			PrincipalId   *string                    "json:\"principal_id,omitempty\""
			PrincipalName *string                    "json:\"principal_name,omitempty\""
			Type          *N200PrincipalsType        "json:\"type,omitempty\""
		} "json:\"principals,omitempty\""
		ProcessingPercentComplete *int    "json:\"processing_percent_complete,omitempty\""
		Status                    *string "json:\"status,omitempty\""
		UpdatedAt                 *string "json:\"updated_at,omitempty\""
		UpdatedByName             *string "json:\"updated_by_name,omitempty\""
		UpdatedByUuid             *string "json:\"updated_by_uuid,omitempty\""
		Version                   *int    "json:\"version,omitempty\""
	}, error)
	AccessGroupsCreate(arg1 IoV2AccessGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		AccessGroupType *N200AccessGroupType "json:\"access_group_type,omitempty\""
		AllAssets       *bool                "json:\"all_assets,omitempty\""
		ContainerUuid   *string              "json:\"container_uuid,omitempty\""
		CreatedAt       *string              "json:\"created_at,omitempty\""
		CreatedByName   *string              "json:\"created_by_name,omitempty\""
		CreatedByUuid   *string              "json:\"created_by_uuid,omitempty\""
		Id              *string              "json:\"id,omitempty\""
		Name            *string              "json:\"name,omitempty\""
		Principals      *[]struct {
			Permissions   *N200PrincipalsPermissions "json:\"permissions,omitempty\""
			PrincipalId   *string                    "json:\"principal_id,omitempty\""
			PrincipalName *string                    "json:\"principal_name,omitempty\""
			Type          *N200PrincipalsType        "json:\"type,omitempty\""
		} "json:\"principals,omitempty\""
		ProcessingPercentComplete *int    "json:\"processing_percent_complete,omitempty\""
		Status                    *string "json:\"status,omitempty\""
		UpdatedAt                 *string "json:\"updated_at,omitempty\""
		UpdatedByName             *string "json:\"updated_by_name,omitempty\""
		UpdatedByUuid             *string "json:\"updated_by_uuid,omitempty\""
		Version                   *int    "json:\"version,omitempty\""
	}, error)
	AccessGroupsDelete(contentType string, reqEditors ...RequestEditorFn) (*IoV2AccessGroupsDeleteResponse, error)
	AccessGroupsDetails(contentType string, reqEditors ...RequestEditorFn) (*struct {
		AccessGroupType *N200AccessGroupType "json:\"access_group_type,omitempty\""
		AllAssets       *bool                "json:\"all_assets,omitempty\""
		ContainerUuid   *string              "json:\"container_uuid,omitempty\""
		CreatedAt       *string              "json:\"created_at,omitempty\""
		CreatedByName   *string              "json:\"created_by_name,omitempty\""
		CreatedByUuid   *string              "json:\"created_by_uuid,omitempty\""
		Id              *string              "json:\"id,omitempty\""
		Name            *string              "json:\"name,omitempty\""
		Principals      *[]struct {
			Permissions   *N200PrincipalsPermissions "json:\"permissions,omitempty\""
			PrincipalId   *string                    "json:\"principal_id,omitempty\""
			PrincipalName *string                    "json:\"principal_name,omitempty\""
			Type          *N200PrincipalsType        "json:\"type,omitempty\""
		} "json:\"principals,omitempty\""
		ProcessingPercentComplete *int "json:\"processing_percent_complete,omitempty\""
		Rules                     *[]struct {
			Operator *string   "json:\"operator,omitempty\""
			Terms    *[]string "json:\"terms,omitempty\""
			Type     *string   "json:\"type,omitempty\""
		} "json:\"rules,omitempty\""
		Status        *string "json:\"status,omitempty\""
		UpdatedAt     *string "json:\"updated_at,omitempty\""
		UpdatedByName *string "json:\"updated_by_name,omitempty\""
		UpdatedByUuid *string "json:\"updated_by_uuid,omitempty\""
		Version       *int    "json:\"version,omitempty\""
	}, error)
	AccessGroupsEditWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		AccessGroupType *N200AccessGroupType "json:\"access_group_type,omitempty\""
		AllAssets       *bool                "json:\"all_assets,omitempty\""
		ContainerUuid   *string              "json:\"container_uuid,omitempty\""
		CreatedAt       *string              "json:\"created_at,omitempty\""
		CreatedByName   *string              "json:\"created_by_name,omitempty\""
		CreatedByUuid   *string              "json:\"created_by_uuid,omitempty\""
		Id              *string              "json:\"id,omitempty\""
		Name            *string              "json:\"name,omitempty\""
		Principals      *[]struct {
			Permissions   *N200PrincipalsPermissions "json:\"permissions,omitempty\""
			PrincipalId   *string                    "json:\"principal_id,omitempty\""
			PrincipalName *string                    "json:\"principal_name,omitempty\""
			Type          *N200PrincipalsType        "json:\"type,omitempty\""
		} "json:\"principals,omitempty\""
		ProcessingPercentComplete *int "json:\"processing_percent_complete,omitempty\""
		Rules                     *[]struct {
			Operator *string   "json:\"operator,omitempty\""
			Terms    *[]string "json:\"terms,omitempty\""
			Type     *string   "json:\"type,omitempty\""
		} "json:\"rules,omitempty\""
		Status        *string "json:\"status,omitempty\""
		UpdatedAt     *string "json:\"updated_at,omitempty\""
		UpdatedByName *string "json:\"updated_by_name,omitempty\""
		UpdatedByUuid *string "json:\"updated_by_uuid,omitempty\""
		Version       *int    "json:\"version,omitempty\""
	}, error)
	AccessGroupsEdit(arg1 string, arg2 IoV2AccessGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		AccessGroupType *N200AccessGroupType "json:\"access_group_type,omitempty\""
		AllAssets       *bool                "json:\"all_assets,omitempty\""
		ContainerUuid   *string              "json:\"container_uuid,omitempty\""
		CreatedAt       *string              "json:\"created_at,omitempty\""
		CreatedByName   *string              "json:\"created_by_name,omitempty\""
		CreatedByUuid   *string              "json:\"created_by_uuid,omitempty\""
		Id              *string              "json:\"id,omitempty\""
		Name            *string              "json:\"name,omitempty\""
		Principals      *[]struct {
			Permissions   *N200PrincipalsPermissions "json:\"permissions,omitempty\""
			PrincipalId   *string                    "json:\"principal_id,omitempty\""
			PrincipalName *string                    "json:\"principal_name,omitempty\""
			Type          *N200PrincipalsType        "json:\"type,omitempty\""
		} "json:\"principals,omitempty\""
		ProcessingPercentComplete *int "json:\"processing_percent_complete,omitempty\""
		Rules                     *[]struct {
			Operator *string   "json:\"operator,omitempty\""
			Terms    *[]string "json:\"terms,omitempty\""
			Type     *string   "json:\"type,omitempty\""
		} "json:\"rules,omitempty\""
		Status        *string "json:\"status,omitempty\""
		UpdatedAt     *string "json:\"updated_at,omitempty\""
		UpdatedByName *string "json:\"updated_by_name,omitempty\""
		UpdatedByUuid *string "json:\"updated_by_uuid,omitempty\""
		Version       *int    "json:\"version,omitempty\""
	}, error)
	AccessGroupsListFilters(reqEditors ...RequestEditorFn) (*struct {
		Filters *[]struct {
			Control      *string   "json:\"control,omitempty\""
			Name         *string   "json:\"name,omitempty\""
			Operators    *[]string "json:\"operators,omitempty\""
			ReadableName *string   "json:\"readable_name,omitempty\""
		} "json:\"filters,omitempty\""
		Sort *[]struct {
			SortableFields *string "json:\"sortable_fields,omitempty\""
		} "json:\"sort,omitempty\""
		WildcardFields *[]string "json:\"wildcard_fields,omitempty\""
	}, error)
	AccessGroupsListRuleFilters(reqEditors ...RequestEditorFn) (*struct {
		Rules *[]struct {
			Control *[]struct {
				Regex *string "json:\"regex,omitempty\""
				Type  *string "json:\"type,omitempty\""
			} "json:\"control,omitempty\""
			Name         *string   "json:\"name,omitempty\""
			Operators    *[]string "json:\"operators,omitempty\""
			Placeholder  *string   "json:\"placeholder,omitempty\""
			ReadableName *string   "json:\"readable_name,omitempty\""
		} "json:\"rules,omitempty\""
	}, error)
	AccessGroupsList(params *IoV2AccessGroupsListParams, reqEditors ...RequestEditorFn) (*struct {
		AccessGroups *struct {
			AccessGroupType *N200AccessGroupsAccessGroupType "json:\"access_group_type,omitempty\""
			AllAssets       *bool                            "json:\"all_assets,omitempty\""
			ContainerUuid   *string                          "json:\"container_uuid,omitempty\""
			CreatedAt       *string                          "json:\"created_at,omitempty\""
			CreatedByName   *string                          "json:\"created_by_name,omitempty\""
			CreatedByUuid   *string                          "json:\"created_by_uuid,omitempty\""
			Id              *string                          "json:\"id,omitempty\""
			Name            *string                          "json:\"name,omitempty\""
			Principals      *[]struct {
				Permissions   *N200AccessGroupsPrincipalsPermissions "json:\"permissions,omitempty\""
				PrincipalId   *string                                "json:\"principal_id,omitempty\""
				PrincipalName *string                                "json:\"principal_name,omitempty\""
				Type          *N200AccessGroupsPrincipalsType        "json:\"type,omitempty\""
			} "json:\"principals,omitempty\""
			ProcessingPercentComplete *int    "json:\"processing_percent_complete,omitempty\""
			Status                    *string "json:\"status,omitempty\""
			UpdatedAt                 *string "json:\"updated_at,omitempty\""
			UpdatedByName             *string "json:\"updated_by_name,omitempty\""
			UpdatedByUuid             *string "json:\"updated_by_uuid,omitempty\""
			Version                   *int    "json:\"version,omitempty\""
		} "json:\"access_groups,omitempty\""
		Pagination *struct {
			Limit  *int32 "json:\"limit,omitempty\""
			Offset *int32 "json:\"offset,omitempty\""
			Sort   *[]struct {
				Name  *string "json:\"name,omitempty\""
				Order *string "json:\"order,omitempty\""
			} "json:\"sort,omitempty\""
			Total *int32 "json:\"total,omitempty\""
		} "json:\"pagination,omitempty\""
	}, error)
}

IoV2Interface contains all methods for the nessus api

type N200AccessControlAllUsersPermissions

type N200AccessControlAllUsersPermissions []string

type N200AccessControlCurrentDomainPermissionsType

type N200AccessControlCurrentDomainPermissionsType string

type N200AccessControlCurrentUserPermissions

type N200AccessControlCurrentUserPermissions []string

type N200AccessControlDefinedDomainPermissions

type N200AccessControlDefinedDomainPermissions []string

type N200AccessGroupType

type N200AccessGroupType string

type N200AccessGroupsAccessGroupType

type N200AccessGroupsAccessGroupType string

type N200AccessGroupsPrincipalsPermissions

type N200AccessGroupsPrincipalsPermissions []string

type N200AccessGroupsPrincipalsType

type N200AccessGroupsPrincipalsType string

type N200AclsType

type N200AclsType string

type N200AgentsStatus

type N200AgentsStatus string

type N200PermissionsType

type N200PermissionsType string

type N200PrincipalsPermissions

type N200PrincipalsPermissions []string

type N200PrincipalsType

type N200PrincipalsType string

type N200ScheduleRrulesFreq

type N200ScheduleRrulesFreq int

type N200Status

type N200Status string

type N200Type

type N200Type string

type N200ValuesAccessControlAllUsersPermissions

type N200ValuesAccessControlAllUsersPermissions []string

type N200ValuesAccessControlCurrentDomainPermissionsType

type N200ValuesAccessControlCurrentDomainPermissionsType string

type N200ValuesAccessControlCurrentUserPermissions

type N200ValuesAccessControlCurrentUserPermissions []string

type N200ValuesAccessControlDefinedDomainPermissions

type N200ValuesAccessControlDefinedDomainPermissions []string

type Networks

type Networks struct {
	*ClientWithResponses
}

Networks implementation of the Networks interface

func (*Networks) AssignScanner

func (c *Networks) AssignScanner(arg1 string, contentType string, reqEditors ...RequestEditorFn) (*interface{}, error)

AssignScanner calls the Networks ´s function

func (*Networks) AssignScannerBulk

func (c *Networks) AssignScannerBulk(arg1 string, arg2 NetworksAssignScannerBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)

AssignScannerBulk calls the Networks ´s function

func (*Networks) AssignScannerBulkWithBody

func (c *Networks) AssignScannerBulkWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)

AssignScannerBulkWithBody calls the Networks ´s function

func (*Networks) Create

func (c *Networks) Create(arg1 NetworksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	AssetsTtlDays     *int    "json:\"assets_ttl_days,omitempty\""
	Created           *int    "json:\"created,omitempty\""
	CreatedBy         *string "json:\"created_by,omitempty\""
	CreatedInSeconds  *int    "json:\"created_in_seconds,omitempty\""
	Deleted           *int    "json:\"deleted,omitempty\""
	DeletedBy         *string "json:\"deleted_by,omitempty\""
	Description       *string "json:\"description,omitempty\""
	IsDefault         *bool   "json:\"is_default,omitempty\""
	Modified          *int    "json:\"modified,omitempty\""
	ModifiedBy        *string "json:\"modified_by,omitempty\""
	ModifiedInSeconds *int    "json:\"modified_in_seconds,omitempty\""
	Name              *string "json:\"name,omitempty\""
	OwnerUuid         *string "json:\"owner_uuid,omitempty\""
	Uuid              *string "json:\"uuid,omitempty\""
}, error)

Create calls the Networks ´s function

func (*Networks) CreateWithBody

func (c *Networks) CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	AssetsTtlDays     *int    "json:\"assets_ttl_days,omitempty\""
	Created           *int    "json:\"created,omitempty\""
	CreatedBy         *string "json:\"created_by,omitempty\""
	CreatedInSeconds  *int    "json:\"created_in_seconds,omitempty\""
	Deleted           *int    "json:\"deleted,omitempty\""
	DeletedBy         *string "json:\"deleted_by,omitempty\""
	Description       *string "json:\"description,omitempty\""
	IsDefault         *bool   "json:\"is_default,omitempty\""
	Modified          *int    "json:\"modified,omitempty\""
	ModifiedBy        *string "json:\"modified_by,omitempty\""
	ModifiedInSeconds *int    "json:\"modified_in_seconds,omitempty\""
	Name              *string "json:\"name,omitempty\""
	OwnerUuid         *string "json:\"owner_uuid,omitempty\""
	Uuid              *string "json:\"uuid,omitempty\""
}, error)

CreateWithBody calls the Networks ´s function

func (*Networks) Delete

func (c *Networks) Delete(contentType string, reqEditors ...RequestEditorFn) (*interface{}, error)

Delete calls the Networks ´s function

func (*Networks) Details

func (c *Networks) Details(contentType string, reqEditors ...RequestEditorFn) (*struct {
	AssetsTtlDays     *int    "json:\"assets_ttl_days,omitempty\""
	Created           *int    "json:\"created,omitempty\""
	CreatedBy         *string "json:\"created_by,omitempty\""
	CreatedInSeconds  *int    "json:\"created_in_seconds,omitempty\""
	Deleted           *int    "json:\"deleted,omitempty\""
	DeletedBy         *string "json:\"deleted_by,omitempty\""
	Description       *string "json:\"description,omitempty\""
	IsDefault         *bool   "json:\"is_default,omitempty\""
	Modified          *int    "json:\"modified,omitempty\""
	ModifiedBy        *string "json:\"modified_by,omitempty\""
	ModifiedInSeconds *int    "json:\"modified_in_seconds,omitempty\""
	Name              *string "json:\"name,omitempty\""
	OwnerUuid         *string "json:\"owner_uuid,omitempty\""
	Uuid              *string "json:\"uuid,omitempty\""
}, error)

Details calls the Networks ´s function

func (*Networks) List

func (c *Networks) List(params *NetworksListParams, reqEditors ...RequestEditorFn) (*struct {
	Networks *[]struct {
		AssetsTtlDays     *int    "json:\"assets_ttl_days,omitempty\""
		Created           *int    "json:\"created,omitempty\""
		CreatedBy         *string "json:\"created_by,omitempty\""
		CreatedInSeconds  *int    "json:\"created_in_seconds,omitempty\""
		Deleted           *int    "json:\"deleted,omitempty\""
		DeletedBy         *string "json:\"deleted_by,omitempty\""
		Description       *string "json:\"description,omitempty\""
		IsDefault         *bool   "json:\"is_default,omitempty\""
		Modified          *int    "json:\"modified,omitempty\""
		ModifiedBy        *string "json:\"modified_by,omitempty\""
		ModifiedInSeconds *int    "json:\"modified_in_seconds,omitempty\""
		Name              *string "json:\"name,omitempty\""
		OwnerUuid         *string "json:\"owner_uuid,omitempty\""
		Uuid              *string "json:\"uuid,omitempty\""
	} "json:\"networks,omitempty\""
	Pagination *[]struct {
		Limit  *int32 "json:\"limit,omitempty\""
		Offset *int32 "json:\"offset,omitempty\""
		Sort   *[]struct {
			Name  *string "json:\"name,omitempty\""
			Order *string "json:\"order,omitempty\""
		} "json:\"sort,omitempty\""
		Total *int32 "json:\"total,omitempty\""
	} "json:\"pagination,omitempty\""
}, error)

List calls the Networks ´s function

func (*Networks) ListAssignableScanners

func (c *Networks) ListAssignableScanners(contentType string, reqEditors ...RequestEditorFn) (*struct {
	Scanners *[]struct {
		CreationDate         *int32                  "json:\"creation_date,omitempty\""
		Distro               *string                 "json:\"distro,omitempty\""
		EngineBuild          *string                 "json:\"engine_build,omitempty\""
		EngineVersion        *string                 "json:\"engine_version,omitempty\""
		Group                *bool                   "json:\"group,omitempty\""
		Id                   *int32                  "json:\"id,omitempty\""
		Key                  *string                 "json:\"key,omitempty\""
		LastConnect          *int32                  "json:\"last_connect,omitempty\""
		LastModificationDate *int                    "json:\"last_modification_date,omitempty\""
		Linked               *int                    "json:\"linked,omitempty\""
		LoadedPluginSet      *string                 "json:\"loaded_plugin_set,omitempty\""
		Name                 *string                 "json:\"name,omitempty\""
		NumHosts             *int                    "json:\"num_hosts,omitempty\""
		NumScans             *int                    "json:\"num_scans,omitempty\""
		NumSessions          *int                    "json:\"num_sessions,omitempty\""
		NumTcpSessions       *int                    "json:\"num_tcp_sessions,omitempty\""
		Owner                *string                 "json:\"owner,omitempty\""
		OwnerId              *int                    "json:\"owner_id,omitempty\""
		OwnerName            *string                 "json:\"owner_name,omitempty\""
		OwnerUuid            *string                 "json:\"owner_uuid,omitempty\""
		Platform             *string                 "json:\"platform,omitempty\""
		Pool                 *bool                   "json:\"pool,omitempty\""
		RemoteUuid           *string                 "json:\"remote_uuid,omitempty\""
		ReportFrequency      *int                    "json:\"report_frequency,omitempty\""
		ScanCount            *int                    "json:\"scan_count,omitempty\""
		Settings             *map[string]interface{} "json:\"settings,omitempty\""
		Source               *string                 "json:\"source,omitempty\""
		Status               *string                 "json:\"status,omitempty\""
		SupportsRemoteLogs   *bool                   "json:\"supports_remote_logs,omitempty\""
		Timestamp            *int                    "json:\"timestamp,omitempty\""
		Type                 *string                 "json:\"type,omitempty\""
		Uuid                 *string                 "json:\"uuid,omitempty\""
	} "json:\"scanners,omitempty\""
}, error)

ListAssignableScanners calls the Networks ´s function

func (*Networks) ListScanners

func (c *Networks) ListScanners(contentType string, reqEditors ...RequestEditorFn) (*struct {
	Scanners *[]struct {
		CreationDate         *int32                  "json:\"creation_date,omitempty\""
		Distro               *string                 "json:\"distro,omitempty\""
		EngineBuild          *string                 "json:\"engine_build,omitempty\""
		EngineVersion        *string                 "json:\"engine_version,omitempty\""
		Group                *bool                   "json:\"group,omitempty\""
		Id                   *int32                  "json:\"id,omitempty\""
		Key                  *string                 "json:\"key,omitempty\""
		LastConnect          *int32                  "json:\"last_connect,omitempty\""
		LastModificationDate *int                    "json:\"last_modification_date,omitempty\""
		Linked               *int                    "json:\"linked,omitempty\""
		LoadedPluginSet      *string                 "json:\"loaded_plugin_set,omitempty\""
		Name                 *string                 "json:\"name,omitempty\""
		NumHosts             *int                    "json:\"num_hosts,omitempty\""
		NumScans             *int                    "json:\"num_scans,omitempty\""
		NumSessions          *int                    "json:\"num_sessions,omitempty\""
		NumTcpSessions       *int                    "json:\"num_tcp_sessions,omitempty\""
		Owner                *string                 "json:\"owner,omitempty\""
		OwnerId              *int                    "json:\"owner_id,omitempty\""
		OwnerName            *string                 "json:\"owner_name,omitempty\""
		OwnerUuid            *string                 "json:\"owner_uuid,omitempty\""
		Platform             *string                 "json:\"platform,omitempty\""
		Pool                 *bool                   "json:\"pool,omitempty\""
		RemoteUuid           *string                 "json:\"remote_uuid,omitempty\""
		ReportFrequency      *int                    "json:\"report_frequency,omitempty\""
		ScanCount            *int                    "json:\"scan_count,omitempty\""
		Settings             *map[string]interface{} "json:\"settings,omitempty\""
		Source               *string                 "json:\"source,omitempty\""
		Status               *string                 "json:\"status,omitempty\""
		SupportsRemoteLogs   *bool                   "json:\"supports_remote_logs,omitempty\""
		Timestamp            *int                    "json:\"timestamp,omitempty\""
		Type                 *string                 "json:\"type,omitempty\""
		Uuid                 *string                 "json:\"uuid,omitempty\""
	} "json:\"scanners,omitempty\""
}, error)

ListScanners calls the Networks ´s function

func (*Networks) Update

func (c *Networks) Update(arg1 string, arg2 NetworksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	AssetsTtlDays     *int    "json:\"assets_ttl_days,omitempty\""
	Created           *int    "json:\"created,omitempty\""
	CreatedBy         *string "json:\"created_by,omitempty\""
	CreatedInSeconds  *int    "json:\"created_in_seconds,omitempty\""
	Deleted           *int    "json:\"deleted,omitempty\""
	DeletedBy         *string "json:\"deleted_by,omitempty\""
	Description       *string "json:\"description,omitempty\""
	IsDefault         *bool   "json:\"is_default,omitempty\""
	Modified          *int    "json:\"modified,omitempty\""
	ModifiedBy        *string "json:\"modified_by,omitempty\""
	ModifiedInSeconds *int    "json:\"modified_in_seconds,omitempty\""
	Name              *string "json:\"name,omitempty\""
	OwnerUuid         *string "json:\"owner_uuid,omitempty\""
	Uuid              *string "json:\"uuid,omitempty\""
}, error)

Update calls the Networks ´s function

func (*Networks) UpdateWithBody

func (c *Networks) UpdateWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	AssetsTtlDays     *int    "json:\"assets_ttl_days,omitempty\""
	Created           *int    "json:\"created,omitempty\""
	CreatedBy         *string "json:\"created_by,omitempty\""
	CreatedInSeconds  *int    "json:\"created_in_seconds,omitempty\""
	Deleted           *int    "json:\"deleted,omitempty\""
	DeletedBy         *string "json:\"deleted_by,omitempty\""
	Description       *string "json:\"description,omitempty\""
	IsDefault         *bool   "json:\"is_default,omitempty\""
	Modified          *int    "json:\"modified,omitempty\""
	ModifiedBy        *string "json:\"modified_by,omitempty\""
	ModifiedInSeconds *int    "json:\"modified_in_seconds,omitempty\""
	Name              *string "json:\"name,omitempty\""
	OwnerUuid         *string "json:\"owner_uuid,omitempty\""
	Uuid              *string "json:\"uuid,omitempty\""
}, error)

UpdateWithBody calls the Networks ´s function

type NetworksAssignScannerBulkJSONBody

type NetworksAssignScannerBulkJSONBody struct {
	// A list of UUIDs for the scanners and scanner groups you want to bulk move to a network object. To get values for this list, use the [GET /networks/{network_id}/assignable-scanners](ref:networks-list-assignable-scanners) endpoint.
	ScannerUuids []string `json:"scanner_uuids"`
}

NetworksAssignScannerBulkJSONBody defines parameters for NetworksAssignScannerBulk.

type NetworksAssignScannerBulkJSONRequestBody

type NetworksAssignScannerBulkJSONRequestBody NetworksAssignScannerBulkJSONBody

NetworksAssignScannerBulkJSONRequestBody defines body for NetworksAssignScannerBulk for application/json ContentType.

type NetworksAssignScannerBulkResponse

type NetworksAssignScannerBulkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
	JSON409      *struct {
		Conflicts *[]struct {
			// A list of scanner groups involved in the conflict.
			ScannerGroups *[]struct {
				// The name of the scanner group.
				Name *string `json:"name,omitempty"`

				// The UUID of the scanner group.
				Uuid *string `json:"uuid,omitempty"`
			} `json:"scanner_groups,omitempty"`

			// The UUID of the scanner involved in the conflict.
			ScannerUuid *string `json:"scanner_uuid,omitempty"`
		} `json:"conflicts,omitempty"`
	}
}

func ParseNetworksAssignScannerBulkResponse

func ParseNetworksAssignScannerBulkResponse(rsp *http.Response) (*NetworksAssignScannerBulkResponse, error)

ParseNetworksAssignScannerBulkResponse parses an HTTP response from a NetworksAssignScannerBulkWithResponse call

func (NetworksAssignScannerBulkResponse) Status

Status returns HTTPResponse.Status

func (NetworksAssignScannerBulkResponse) StatusCode

func (r NetworksAssignScannerBulkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NetworksAssignScannerResponse

type NetworksAssignScannerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
	JSON409      *struct {
		Conflicts *[]struct {
			// A list of scanner groups involved in the conflict.
			ScannerGroups *[]struct {
				// The name of the scanner group.
				Name *string `json:"name,omitempty"`

				// The UUID of the scanner group.
				Uuid *string `json:"uuid,omitempty"`
			} `json:"scanner_groups,omitempty"`

			// The UUID of the scanner involved in the conflict.
			ScannerUuid *string `json:"scanner_uuid,omitempty"`
		} `json:"conflicts,omitempty"`
	}
}

func ParseNetworksAssignScannerResponse

func ParseNetworksAssignScannerResponse(rsp *http.Response) (*NetworksAssignScannerResponse, error)

ParseNetworksAssignScannerResponse parses an HTTP response from a NetworksAssignScannerWithResponse call

func (NetworksAssignScannerResponse) Status

Status returns HTTPResponse.Status

func (NetworksAssignScannerResponse) StatusCode

func (r NetworksAssignScannerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NetworksCreateJSONBody

type NetworksCreateJSONBody struct {
	// The number of days to wait before assets age out. Assets will be permanently deleted if they are not seen on a scan within the specified number of days.<ul><li>Minimum value: 90</li><li>Maximum value: 365</li></ul> **Warning:** If you enable this option, Tenable.io immediately deletes assets in the specified network that have not been seen for the specified number of days. All asset records and associated vulnerabilities are deleted and cannot be recovered. The deleted assets no longer count towards [your license](https://docs.tenable.com/earlyaccess/tenableio/vulnerabilitymanagement/Content/GettingStarted/Licenses.htm).
	AssetsTtlDays *int `json:"assets_ttl_days,omitempty"`

	// The description of the network object.
	Description *string `json:"description,omitempty"`

	// The name of the network object. This name must be unique within your Tenable.io instance, cannot duplicate the name of a previously deleted network, and cannot be `default`.
	//
	// **Note:** You can add a maximum of 50,000 network objects to an individual Tenable.io instance.
	Name string `json:"name"`
}

NetworksCreateJSONBody defines parameters for NetworksCreate.

type NetworksCreateJSONRequestBody

type NetworksCreateJSONRequestBody NetworksCreateJSONBody

NetworksCreateJSONRequestBody defines body for NetworksCreate for application/json ContentType.

type NetworksCreateResponse

type NetworksCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The number of days before assets age out. Assets are permanently deleted if they are not seen on a scan within the specified number of days.<ul><li>Minimum value: 90</li><li>Maximum value: 365</li></ul> Note: If you enable this option, Tenable.io immediately deletes assets in the specified network that have not been seen for the specified number of days. All asset records and associated vulnerabilities are deleted and cannot be recovered. The deleted assets no longer count towards [your license](https://docs.tenable.com/earlyaccess/tenableio/vulnerabilitymanagement/Content/GettingStarted/Licenses.htm)
		AssetsTtlDays *int `json:"assets_ttl_days,omitempty"`

		// The date (in Unix milliseconds) when the network object was created.
		Created *int `json:"created,omitempty"`

		// The UUID of the user who created the network object.
		CreatedBy *string `json:"created_by,omitempty"`

		// The date (in Unix seconds) when the network object was created.
		CreatedInSeconds *int `json:"created_in_seconds,omitempty"`

		// The date (in Unix time) when the network object was deleted. This attribute is present for deleted network objects only. To view deleted network objects, use the `includeDeleted` parameter on the [GET /networks](ref:networks-list) endpoint.
		Deleted *int `json:"deleted,omitempty"`

		// The UUID of the user who deleted the network object. This attribute is present for deleted network objects only. To view deleted network objects, use the `includeDeleted` parameter on the [GET /networks](ref:networks-list) endpoint.
		DeletedBy *string `json:"deleted_by,omitempty"`

		// The description of the network object.
		Description *string `json:"description,omitempty"`

		// Indicates whether the network object is the default network object. The default network object is a system-generated object that contains any scanners and scanner groups not yet assigned to a custom network object. You cannot update or delete the default network object.
		IsDefault *bool `json:"is_default,omitempty"`

		// The date (in Unix milliseconds) when the network object was last updated.
		Modified *int `json:"modified,omitempty"`

		// The UUID of the user who last updated the network object.
		ModifiedBy *string `json:"modified_by,omitempty"`

		// The date (in Unix seconds) when the network object was last updated.
		ModifiedInSeconds *int `json:"modified_in_seconds,omitempty"`

		// The name of the network object.
		Name *string `json:"name,omitempty"`

		// The UUID of the owner of the network object. The owner of the network object does not have any additional permissions above administrator permissions.
		OwnerUuid *string `json:"owner_uuid,omitempty"`

		// The UUID of the network object.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseNetworksCreateResponse

func ParseNetworksCreateResponse(rsp *http.Response) (*NetworksCreateResponse, error)

ParseNetworksCreateResponse parses an HTTP response from a NetworksCreateWithResponse call

func (NetworksCreateResponse) Status

func (r NetworksCreateResponse) Status() string

Status returns HTTPResponse.Status

func (NetworksCreateResponse) StatusCode

func (r NetworksCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NetworksDeleteResponse

type NetworksDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseNetworksDeleteResponse

func ParseNetworksDeleteResponse(rsp *http.Response) (*NetworksDeleteResponse, error)

ParseNetworksDeleteResponse parses an HTTP response from a NetworksDeleteWithResponse call

func (NetworksDeleteResponse) Status

func (r NetworksDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (NetworksDeleteResponse) StatusCode

func (r NetworksDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NetworksDetailsResponse

type NetworksDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The number of days before assets age out. Assets are permanently deleted if they are not seen on a scan within the specified number of days.<ul><li>Minimum value: 90</li><li>Maximum value: 365</li></ul> Note: If you enable this option, Tenable.io immediately deletes assets in the specified network that have not been seen for the specified number of days. All asset records and associated vulnerabilities are deleted and cannot be recovered. The deleted assets no longer count towards [your license](https://docs.tenable.com/earlyaccess/tenableio/vulnerabilitymanagement/Content/GettingStarted/Licenses.htm)
		AssetsTtlDays *int `json:"assets_ttl_days,omitempty"`

		// The date (in Unix milliseconds) when the network object was created.
		Created *int `json:"created,omitempty"`

		// The UUID of the user who created the network object.
		CreatedBy *string `json:"created_by,omitempty"`

		// The date (in Unix seconds) when the network object was created.
		CreatedInSeconds *int `json:"created_in_seconds,omitempty"`

		// The date (in Unix time) when the network object was deleted. This attribute is present for deleted network objects only. To view deleted network objects, use the `includeDeleted` parameter on the [GET /networks](ref:networks-list) endpoint.
		Deleted *int `json:"deleted,omitempty"`

		// The UUID of the user who deleted the network object. This attribute is present for deleted network objects only. To view deleted network objects, use the `includeDeleted` parameter on the [GET /networks](ref:networks-list) endpoint.
		DeletedBy *string `json:"deleted_by,omitempty"`

		// The description of the network object.
		Description *string `json:"description,omitempty"`

		// Indicates whether the network object is the default network object. The default network object is a system-generated object that contains any scanners and scanner groups not yet assigned to a custom network object. You cannot update or delete the default network object.
		IsDefault *bool `json:"is_default,omitempty"`

		// The date (in Unix milliseconds) when the network object was last updated.
		Modified *int `json:"modified,omitempty"`

		// The UUID of the user who last updated the network object.
		ModifiedBy *string `json:"modified_by,omitempty"`

		// The date (in Unix seconds) when the network object was last updated.
		ModifiedInSeconds *int `json:"modified_in_seconds,omitempty"`

		// The name of the network object.
		Name *string `json:"name,omitempty"`

		// The UUID of the owner of the network object. The owner of the network object does not have any additional permissions above administrator permissions.
		OwnerUuid *string `json:"owner_uuid,omitempty"`

		// The UUID of the network object.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseNetworksDetailsResponse

func ParseNetworksDetailsResponse(rsp *http.Response) (*NetworksDetailsResponse, error)

ParseNetworksDetailsResponse parses an HTTP response from a NetworksDetailsWithResponse call

func (NetworksDetailsResponse) Status

func (r NetworksDetailsResponse) Status() string

Status returns HTTPResponse.Status

func (NetworksDetailsResponse) StatusCode

func (r NetworksDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NetworksInterface

type NetworksInterface interface {
	AssignScannerBulkWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)
	AssignScannerBulk(arg1 string, arg2 NetworksAssignScannerBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)
	AssignScanner(arg1 string, contentType string, reqEditors ...RequestEditorFn) (*interface{}, error)
	CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		AssetsTtlDays     *int    "json:\"assets_ttl_days,omitempty\""
		Created           *int    "json:\"created,omitempty\""
		CreatedBy         *string "json:\"created_by,omitempty\""
		CreatedInSeconds  *int    "json:\"created_in_seconds,omitempty\""
		Deleted           *int    "json:\"deleted,omitempty\""
		DeletedBy         *string "json:\"deleted_by,omitempty\""
		Description       *string "json:\"description,omitempty\""
		IsDefault         *bool   "json:\"is_default,omitempty\""
		Modified          *int    "json:\"modified,omitempty\""
		ModifiedBy        *string "json:\"modified_by,omitempty\""
		ModifiedInSeconds *int    "json:\"modified_in_seconds,omitempty\""
		Name              *string "json:\"name,omitempty\""
		OwnerUuid         *string "json:\"owner_uuid,omitempty\""
		Uuid              *string "json:\"uuid,omitempty\""
	}, error)
	Create(arg1 NetworksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		AssetsTtlDays     *int    "json:\"assets_ttl_days,omitempty\""
		Created           *int    "json:\"created,omitempty\""
		CreatedBy         *string "json:\"created_by,omitempty\""
		CreatedInSeconds  *int    "json:\"created_in_seconds,omitempty\""
		Deleted           *int    "json:\"deleted,omitempty\""
		DeletedBy         *string "json:\"deleted_by,omitempty\""
		Description       *string "json:\"description,omitempty\""
		IsDefault         *bool   "json:\"is_default,omitempty\""
		Modified          *int    "json:\"modified,omitempty\""
		ModifiedBy        *string "json:\"modified_by,omitempty\""
		ModifiedInSeconds *int    "json:\"modified_in_seconds,omitempty\""
		Name              *string "json:\"name,omitempty\""
		OwnerUuid         *string "json:\"owner_uuid,omitempty\""
		Uuid              *string "json:\"uuid,omitempty\""
	}, error)
	Delete(contentType string, reqEditors ...RequestEditorFn) (*interface{}, error)
	Details(contentType string, reqEditors ...RequestEditorFn) (*struct {
		AssetsTtlDays     *int    "json:\"assets_ttl_days,omitempty\""
		Created           *int    "json:\"created,omitempty\""
		CreatedBy         *string "json:\"created_by,omitempty\""
		CreatedInSeconds  *int    "json:\"created_in_seconds,omitempty\""
		Deleted           *int    "json:\"deleted,omitempty\""
		DeletedBy         *string "json:\"deleted_by,omitempty\""
		Description       *string "json:\"description,omitempty\""
		IsDefault         *bool   "json:\"is_default,omitempty\""
		Modified          *int    "json:\"modified,omitempty\""
		ModifiedBy        *string "json:\"modified_by,omitempty\""
		ModifiedInSeconds *int    "json:\"modified_in_seconds,omitempty\""
		Name              *string "json:\"name,omitempty\""
		OwnerUuid         *string "json:\"owner_uuid,omitempty\""
		Uuid              *string "json:\"uuid,omitempty\""
	}, error)
	ListAssignableScanners(contentType string, reqEditors ...RequestEditorFn) (*struct {
		Scanners *[]struct {
			CreationDate         *int32                  "json:\"creation_date,omitempty\""
			Distro               *string                 "json:\"distro,omitempty\""
			EngineBuild          *string                 "json:\"engine_build,omitempty\""
			EngineVersion        *string                 "json:\"engine_version,omitempty\""
			Group                *bool                   "json:\"group,omitempty\""
			Id                   *int32                  "json:\"id,omitempty\""
			Key                  *string                 "json:\"key,omitempty\""
			LastConnect          *int32                  "json:\"last_connect,omitempty\""
			LastModificationDate *int                    "json:\"last_modification_date,omitempty\""
			Linked               *int                    "json:\"linked,omitempty\""
			LoadedPluginSet      *string                 "json:\"loaded_plugin_set,omitempty\""
			Name                 *string                 "json:\"name,omitempty\""
			NumHosts             *int                    "json:\"num_hosts,omitempty\""
			NumScans             *int                    "json:\"num_scans,omitempty\""
			NumSessions          *int                    "json:\"num_sessions,omitempty\""
			NumTcpSessions       *int                    "json:\"num_tcp_sessions,omitempty\""
			Owner                *string                 "json:\"owner,omitempty\""
			OwnerId              *int                    "json:\"owner_id,omitempty\""
			OwnerName            *string                 "json:\"owner_name,omitempty\""
			OwnerUuid            *string                 "json:\"owner_uuid,omitempty\""
			Platform             *string                 "json:\"platform,omitempty\""
			Pool                 *bool                   "json:\"pool,omitempty\""
			RemoteUuid           *string                 "json:\"remote_uuid,omitempty\""
			ReportFrequency      *int                    "json:\"report_frequency,omitempty\""
			ScanCount            *int                    "json:\"scan_count,omitempty\""
			Settings             *map[string]interface{} "json:\"settings,omitempty\""
			Source               *string                 "json:\"source,omitempty\""
			Status               *string                 "json:\"status,omitempty\""
			SupportsRemoteLogs   *bool                   "json:\"supports_remote_logs,omitempty\""
			Timestamp            *int                    "json:\"timestamp,omitempty\""
			Type                 *string                 "json:\"type,omitempty\""
			Uuid                 *string                 "json:\"uuid,omitempty\""
		} "json:\"scanners,omitempty\""
	}, error)
	ListScanners(contentType string, reqEditors ...RequestEditorFn) (*struct {
		Scanners *[]struct {
			CreationDate         *int32                  "json:\"creation_date,omitempty\""
			Distro               *string                 "json:\"distro,omitempty\""
			EngineBuild          *string                 "json:\"engine_build,omitempty\""
			EngineVersion        *string                 "json:\"engine_version,omitempty\""
			Group                *bool                   "json:\"group,omitempty\""
			Id                   *int32                  "json:\"id,omitempty\""
			Key                  *string                 "json:\"key,omitempty\""
			LastConnect          *int32                  "json:\"last_connect,omitempty\""
			LastModificationDate *int                    "json:\"last_modification_date,omitempty\""
			Linked               *int                    "json:\"linked,omitempty\""
			LoadedPluginSet      *string                 "json:\"loaded_plugin_set,omitempty\""
			Name                 *string                 "json:\"name,omitempty\""
			NumHosts             *int                    "json:\"num_hosts,omitempty\""
			NumScans             *int                    "json:\"num_scans,omitempty\""
			NumSessions          *int                    "json:\"num_sessions,omitempty\""
			NumTcpSessions       *int                    "json:\"num_tcp_sessions,omitempty\""
			Owner                *string                 "json:\"owner,omitempty\""
			OwnerId              *int                    "json:\"owner_id,omitempty\""
			OwnerName            *string                 "json:\"owner_name,omitempty\""
			OwnerUuid            *string                 "json:\"owner_uuid,omitempty\""
			Platform             *string                 "json:\"platform,omitempty\""
			Pool                 *bool                   "json:\"pool,omitempty\""
			RemoteUuid           *string                 "json:\"remote_uuid,omitempty\""
			ReportFrequency      *int                    "json:\"report_frequency,omitempty\""
			ScanCount            *int                    "json:\"scan_count,omitempty\""
			Settings             *map[string]interface{} "json:\"settings,omitempty\""
			Source               *string                 "json:\"source,omitempty\""
			Status               *string                 "json:\"status,omitempty\""
			SupportsRemoteLogs   *bool                   "json:\"supports_remote_logs,omitempty\""
			Timestamp            *int                    "json:\"timestamp,omitempty\""
			Type                 *string                 "json:\"type,omitempty\""
			Uuid                 *string                 "json:\"uuid,omitempty\""
		} "json:\"scanners,omitempty\""
	}, error)
	List(params *NetworksListParams, reqEditors ...RequestEditorFn) (*struct {
		Networks *[]struct {
			AssetsTtlDays     *int    "json:\"assets_ttl_days,omitempty\""
			Created           *int    "json:\"created,omitempty\""
			CreatedBy         *string "json:\"created_by,omitempty\""
			CreatedInSeconds  *int    "json:\"created_in_seconds,omitempty\""
			Deleted           *int    "json:\"deleted,omitempty\""
			DeletedBy         *string "json:\"deleted_by,omitempty\""
			Description       *string "json:\"description,omitempty\""
			IsDefault         *bool   "json:\"is_default,omitempty\""
			Modified          *int    "json:\"modified,omitempty\""
			ModifiedBy        *string "json:\"modified_by,omitempty\""
			ModifiedInSeconds *int    "json:\"modified_in_seconds,omitempty\""
			Name              *string "json:\"name,omitempty\""
			OwnerUuid         *string "json:\"owner_uuid,omitempty\""
			Uuid              *string "json:\"uuid,omitempty\""
		} "json:\"networks,omitempty\""
		Pagination *[]struct {
			Limit  *int32 "json:\"limit,omitempty\""
			Offset *int32 "json:\"offset,omitempty\""
			Sort   *[]struct {
				Name  *string "json:\"name,omitempty\""
				Order *string "json:\"order,omitempty\""
			} "json:\"sort,omitempty\""
			Total *int32 "json:\"total,omitempty\""
		} "json:\"pagination,omitempty\""
	}, error)
	UpdateWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		AssetsTtlDays     *int    "json:\"assets_ttl_days,omitempty\""
		Created           *int    "json:\"created,omitempty\""
		CreatedBy         *string "json:\"created_by,omitempty\""
		CreatedInSeconds  *int    "json:\"created_in_seconds,omitempty\""
		Deleted           *int    "json:\"deleted,omitempty\""
		DeletedBy         *string "json:\"deleted_by,omitempty\""
		Description       *string "json:\"description,omitempty\""
		IsDefault         *bool   "json:\"is_default,omitempty\""
		Modified          *int    "json:\"modified,omitempty\""
		ModifiedBy        *string "json:\"modified_by,omitempty\""
		ModifiedInSeconds *int    "json:\"modified_in_seconds,omitempty\""
		Name              *string "json:\"name,omitempty\""
		OwnerUuid         *string "json:\"owner_uuid,omitempty\""
		Uuid              *string "json:\"uuid,omitempty\""
	}, error)
	Update(arg1 string, arg2 NetworksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		AssetsTtlDays     *int    "json:\"assets_ttl_days,omitempty\""
		Created           *int    "json:\"created,omitempty\""
		CreatedBy         *string "json:\"created_by,omitempty\""
		CreatedInSeconds  *int    "json:\"created_in_seconds,omitempty\""
		Deleted           *int    "json:\"deleted,omitempty\""
		DeletedBy         *string "json:\"deleted_by,omitempty\""
		Description       *string "json:\"description,omitempty\""
		IsDefault         *bool   "json:\"is_default,omitempty\""
		Modified          *int    "json:\"modified,omitempty\""
		ModifiedBy        *string "json:\"modified_by,omitempty\""
		ModifiedInSeconds *int    "json:\"modified_in_seconds,omitempty\""
		Name              *string "json:\"name,omitempty\""
		OwnerUuid         *string "json:\"owner_uuid,omitempty\""
		Uuid              *string "json:\"uuid,omitempty\""
	}, error)
}

NetworksInterface contains all methods for the nessus api

type NetworksListAssignableScannersResponse

type NetworksListAssignableScannersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Scanners *[]struct {
			// The date on which the scanner was linked to the Tenable.io instance.
			CreationDate *int32 `json:"creation_date,omitempty"`

			// The scanner software distribution.
			Distro *string `json:"distro,omitempty"`

			// The build of the engine running on the scanner.
			EngineBuild *string `json:"engine_build,omitempty"`

			// The version of the engine running on the scanner.
			EngineVersion *string `json:"engine_version,omitempty"`

			// Indicates whether the object represents a single scanner (`false`) or a scanner group (`true`).
			Group *bool `json:"group,omitempty"`

			// The unique ID of the scanner.
			Id *int32 `json:"id,omitempty"`

			// An alpha-numeric sequence of characters used when linking a scanner to Tenable.io.
			Key *string `json:"key,omitempty"`

			// The Unix timestamp when the scanner last connected to the Tenable.io instance.
			LastConnect *int32 `json:"last_connect,omitempty"`

			// The Unix timestamp when the scanner was last updated.
			LastModificationDate *int `json:"last_modification_date,omitempty"`

			// Indicates if the scanner is enabled (`1`) or not disabled (`0`).
			Linked *int `json:"linked,omitempty"`

			// The current plugin set on the scanner.
			LoadedPluginSet *string `json:"loaded_plugin_set,omitempty"`

			// The user-defined name of the scanner.
			Name *string `json:"name,omitempty"`

			// The number of hosts that the scanner's analysis have discovered.
			NumHosts *int `json:"num_hosts,omitempty"`

			// The number of scan tasks the scanner is currently executing.
			NumScans *int `json:"num_scans,omitempty"`

			// The number of active sessions between the scanner and hosts.
			NumSessions *int `json:"num_sessions,omitempty"`

			// The number of active TCP sessions between the scanner and hosts.
			NumTcpSessions *int `json:"num_tcp_sessions,omitempty"`

			// The scanner owner.
			Owner *string `json:"owner,omitempty"`

			// The ID of the scanner owner.
			OwnerId *int `json:"owner_id,omitempty"`

			// The name of the scanner owner.
			OwnerName *string `json:"owner_name,omitempty"`

			// The UUID of the scanner owner.
			OwnerUuid *string `json:"owner_uuid,omitempty"`

			// The platform of the scanner.
			Platform *string `json:"platform,omitempty"`

			// Indicates whether the scanner is part of a scanner group.
			Pool *bool `json:"pool,omitempty"`

			// The UUID of the Nessus installation on the scanner.
			RemoteUuid *string `json:"remote_uuid,omitempty"`

			// The frequency (in seconds) at which the scanner polls the Tenable.io instance.
			ReportFrequency *int `json:"report_frequency,omitempty"`

			// The current number of scans currently running on the scanner.
			ScanCount *int                    `json:"scan_count,omitempty"`
			Settings  *map[string]interface{} `json:"settings,omitempty"`

			// Historical attribute. Always `service`.
			Source *string `json:"source,omitempty"`

			// The scanner's current status. Possible values are:
			//  - on—The scanner has connected in the last five minutes.
			//  - off—The scanner has not connected in the last five minutes.
			Status *string `json:"status,omitempty"`

			// Indicates whether the scanner supports remote logging.
			SupportsRemoteLogs *bool `json:"supports_remote_logs,omitempty"`

			// Equivalent to the last_modification_date.
			Timestamp *int `json:"timestamp,omitempty"`

			// The type of scanner (local or remote).
			Type *string `json:"type,omitempty"`

			// The UUID of the scanner.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"scanners,omitempty"`
	}
}

func ParseNetworksListAssignableScannersResponse

func ParseNetworksListAssignableScannersResponse(rsp *http.Response) (*NetworksListAssignableScannersResponse, error)

ParseNetworksListAssignableScannersResponse parses an HTTP response from a NetworksListAssignableScannersWithResponse call

func (NetworksListAssignableScannersResponse) Status

Status returns HTTPResponse.Status

func (NetworksListAssignableScannersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type NetworksListParams

type NetworksListParams struct {
	// A filter condition in the following format: `field:operator:value`. For network objects, you can only filter on the `name` field, using the following operators:
	// * eq—The name of the returned network object is equal to the text you specify.
	// * neq—The returned list of network objects excludes the network object where the name is equal to the text you specify.
	// * match—The returned list includes network objects where the name contains the text you specify at least partially.
	//
	// You can specify multiple `f` parameters, separated by ampersand (&) characters. If you specify multiple `f` parameters, use the `ft` parameter to specify how Tenable.io applies the multiple filter conditions.
	F *string `json:"f,omitempty"`

	// The operator that Tenable.io applies if multiple \`f\` parameters are present. The `OR` operator is the only supported value. If you omit this parameter and multiple `f` parameters are present, Tenable.io applies the `OR` operator by default.
	Ft *string `json:"ft,omitempty"`

	// The number of records to retrieve. If this parameter is omitted, Tenable.io uses the default value of `50`.
	Limit *int32 `json:"limit,omitempty"`

	// The starting record to retrieve. If this parameter is omitted, Tenable.io uses the default value of `0`.
	Offset *int32 `json:"offset,omitempty"`

	// The field you want to use to sort the results by along with the sort order. The field is specified first, followed by a colon, and the order is specified second (`asc` or `desc`). For example, `name:asc` would sort results by the `name` field in ascending order.
	Sort *string `json:"sort,omitempty"`

	// Indicates whether Tenable.io includes deleted network objects in the response message. Deleted network objects contain the additional attributes, `deleted` and `deleted_by`, which specifies the date (in Unix time) when the network object was deleted and the UUID of the user that deleted the network object.
	IncludeDeleted *bool `json:"includeDeleted,omitempty"`
}

NetworksListParams defines parameters for NetworksList.

type NetworksListResponse

type NetworksListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Networks *[]struct {
			// The number of days before assets age out. Assets are permanently deleted if they are not seen on a scan within the specified number of days.<ul><li>Minimum value: 90</li><li>Maximum value: 365</li></ul> Note: If you enable this option, Tenable.io immediately deletes assets in the specified network that have not been seen for the specified number of days. All asset records and associated vulnerabilities are deleted and cannot be recovered. The deleted assets no longer count towards [your license](https://docs.tenable.com/earlyaccess/tenableio/vulnerabilitymanagement/Content/GettingStarted/Licenses.htm)
			AssetsTtlDays *int `json:"assets_ttl_days,omitempty"`

			// The date (in Unix milliseconds) when the network object was created.
			Created *int `json:"created,omitempty"`

			// The UUID of the user who created the network object.
			CreatedBy *string `json:"created_by,omitempty"`

			// The date (in Unix seconds) when the network object was created.
			CreatedInSeconds *int `json:"created_in_seconds,omitempty"`

			// The date (in Unix time) when the network object was deleted. This attribute is present for deleted network objects only. To view deleted network objects, use the `includeDeleted` parameter on the [GET /networks](ref:networks-list) endpoint.
			Deleted *int `json:"deleted,omitempty"`

			// The UUID of the user who deleted the network object. This attribute is present for deleted network objects only. To view deleted network objects, use the `includeDeleted` parameter on the [GET /networks](ref:networks-list) endpoint.
			DeletedBy *string `json:"deleted_by,omitempty"`

			// The description of the network object.
			Description *string `json:"description,omitempty"`

			// Indicates whether the network object is the default network object. The default network object is a system-generated object that contains any scanners and scanner groups not yet assigned to a custom network object. You cannot update or delete the default network object.
			IsDefault *bool `json:"is_default,omitempty"`

			// The date (in Unix milliseconds) when the network object was last updated.
			Modified *int `json:"modified,omitempty"`

			// The UUID of the user who last updated the network object.
			ModifiedBy *string `json:"modified_by,omitempty"`

			// The date (in Unix seconds) when the network object was last updated.
			ModifiedInSeconds *int `json:"modified_in_seconds,omitempty"`

			// The name of the network object.
			Name *string `json:"name,omitempty"`

			// The UUID of the owner of the network object. The owner of the network object does not have any additional permissions above administrator permissions.
			OwnerUuid *string `json:"owner_uuid,omitempty"`

			// The UUID of the network object.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"networks,omitempty"`
		Pagination *[]struct {
			// The number of records requested (or the default value if omitted from the request).
			Limit *int32 `json:"limit,omitempty"`

			// The starting record you requested (or zero if omitted).
			Offset *int32 `json:"offset,omitempty"`

			// An array of objects representing the fields and sort order you specified in the request, which Tenable.io used to sort the returned data.
			Sort *[]struct {
				// The field on which Tenable.io sorted the results.
				Name *string `json:"name,omitempty"`

				// The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending).
				Order *string `json:"order,omitempty"`
			} `json:"sort,omitempty"`

			// The total number of records matching your search criteria.
			Total *int32 `json:"total,omitempty"`
		} `json:"pagination,omitempty"`
	}
}

func ParseNetworksListResponse

func ParseNetworksListResponse(rsp *http.Response) (*NetworksListResponse, error)

ParseNetworksListResponse parses an HTTP response from a NetworksListWithResponse call

func (NetworksListResponse) Status

func (r NetworksListResponse) Status() string

Status returns HTTPResponse.Status

func (NetworksListResponse) StatusCode

func (r NetworksListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NetworksListScannersResponse

type NetworksListScannersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Scanners *[]struct {
			// The date on which the scanner was linked to the Tenable.io instance.
			CreationDate *int32 `json:"creation_date,omitempty"`

			// The scanner software distribution.
			Distro *string `json:"distro,omitempty"`

			// The build of the engine running on the scanner.
			EngineBuild *string `json:"engine_build,omitempty"`

			// The version of the engine running on the scanner.
			EngineVersion *string `json:"engine_version,omitempty"`

			// Indicates whether the object represents a single scanner (`false`) or a scanner group (`true`).
			Group *bool `json:"group,omitempty"`

			// The unique ID of the scanner.
			Id *int32 `json:"id,omitempty"`

			// An alpha-numeric sequence of characters used when linking a scanner to Tenable.io.
			Key *string `json:"key,omitempty"`

			// The Unix timestamp when the scanner last connected to the Tenable.io instance.
			LastConnect *int32 `json:"last_connect,omitempty"`

			// The Unix timestamp when the scanner was last updated.
			LastModificationDate *int `json:"last_modification_date,omitempty"`

			// Indicates if the scanner is enabled (`1`) or not disabled (`0`).
			Linked *int `json:"linked,omitempty"`

			// The current plugin set on the scanner.
			LoadedPluginSet *string `json:"loaded_plugin_set,omitempty"`

			// The user-defined name of the scanner.
			Name *string `json:"name,omitempty"`

			// The number of hosts that the scanner's analysis have discovered.
			NumHosts *int `json:"num_hosts,omitempty"`

			// The number of scan tasks the scanner is currently executing.
			NumScans *int `json:"num_scans,omitempty"`

			// The number of active sessions between the scanner and hosts.
			NumSessions *int `json:"num_sessions,omitempty"`

			// The number of active TCP sessions between the scanner and hosts.
			NumTcpSessions *int `json:"num_tcp_sessions,omitempty"`

			// The scanner owner.
			Owner *string `json:"owner,omitempty"`

			// The ID of the scanner owner.
			OwnerId *int `json:"owner_id,omitempty"`

			// The name of the scanner owner.
			OwnerName *string `json:"owner_name,omitempty"`

			// The UUID of the scanner owner.
			OwnerUuid *string `json:"owner_uuid,omitempty"`

			// The platform of the scanner.
			Platform *string `json:"platform,omitempty"`

			// Indicates whether the scanner is part of a scanner group.
			Pool *bool `json:"pool,omitempty"`

			// The UUID of the Nessus installation on the scanner.
			RemoteUuid *string `json:"remote_uuid,omitempty"`

			// The frequency (in seconds) at which the scanner polls the Tenable.io instance.
			ReportFrequency *int `json:"report_frequency,omitempty"`

			// The current number of scans currently running on the scanner.
			ScanCount *int                    `json:"scan_count,omitempty"`
			Settings  *map[string]interface{} `json:"settings,omitempty"`

			// Historical attribute. Always `service`.
			Source *string `json:"source,omitempty"`

			// The scanner's current status. Possible values are:
			//  - on—The scanner has connected in the last five minutes.
			//  - off—The scanner has not connected in the last five minutes.
			Status *string `json:"status,omitempty"`

			// Indicates whether the scanner supports remote logging.
			SupportsRemoteLogs *bool `json:"supports_remote_logs,omitempty"`

			// Equivalent to the last_modification_date.
			Timestamp *int `json:"timestamp,omitempty"`

			// The type of scanner (local or remote).
			Type *string `json:"type,omitempty"`

			// The UUID of the scanner.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"scanners,omitempty"`
	}
}

func ParseNetworksListScannersResponse

func ParseNetworksListScannersResponse(rsp *http.Response) (*NetworksListScannersResponse, error)

ParseNetworksListScannersResponse parses an HTTP response from a NetworksListScannersWithResponse call

func (NetworksListScannersResponse) Status

Status returns HTTPResponse.Status

func (NetworksListScannersResponse) StatusCode

func (r NetworksListScannersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NetworksUpdateJSONBody

type NetworksUpdateJSONBody struct {
	// The number of days to wait before assets age out. Assets will be permanently deleted if they are not seen on a scan within the specified number of days.<ul><li>Minimum value: 90</li><li>Maximum value: 365</li></ul> **Warning:** If you enable this option, Tenable.io immediately deletes assets in the specified network that have not been seen for the specified number of days. All asset records and associated vulnerabilities are deleted and cannot be recovered. The deleted assets no longer count towards [your license](https://docs.tenable.com/earlyaccess/tenableio/vulnerabilitymanagement/Content/GettingStarted/Licenses.htm).
	AssetsTtlDays *int `json:"assets_ttl_days,omitempty"`

	// The new description of the network object.
	Description *string `json:"description,omitempty"`

	// The new name of the network object. This name must be unique within your Tenable.io instance, cannot duplicate the name of a previously deleted network, and cannot be `default`.
	Name string `json:"name"`
}

NetworksUpdateJSONBody defines parameters for NetworksUpdate.

type NetworksUpdateJSONRequestBody

type NetworksUpdateJSONRequestBody NetworksUpdateJSONBody

NetworksUpdateJSONRequestBody defines body for NetworksUpdate for application/json ContentType.

type NetworksUpdateResponse

type NetworksUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The number of days before assets age out. Assets are permanently deleted if they are not seen on a scan within the specified number of days.<ul><li>Minimum value: 90</li><li>Maximum value: 365</li></ul> Note: If you enable this option, Tenable.io immediately deletes assets in the specified network that have not been seen for the specified number of days. All asset records and associated vulnerabilities are deleted and cannot be recovered. The deleted assets no longer count towards [your license](https://docs.tenable.com/earlyaccess/tenableio/vulnerabilitymanagement/Content/GettingStarted/Licenses.htm)
		AssetsTtlDays *int `json:"assets_ttl_days,omitempty"`

		// The date (in Unix milliseconds) when the network object was created.
		Created *int `json:"created,omitempty"`

		// The UUID of the user who created the network object.
		CreatedBy *string `json:"created_by,omitempty"`

		// The date (in Unix seconds) when the network object was created.
		CreatedInSeconds *int `json:"created_in_seconds,omitempty"`

		// The date (in Unix time) when the network object was deleted. This attribute is present for deleted network objects only. To view deleted network objects, use the `includeDeleted` parameter on the [GET /networks](ref:networks-list) endpoint.
		Deleted *int `json:"deleted,omitempty"`

		// The UUID of the user who deleted the network object. This attribute is present for deleted network objects only. To view deleted network objects, use the `includeDeleted` parameter on the [GET /networks](ref:networks-list) endpoint.
		DeletedBy *string `json:"deleted_by,omitempty"`

		// The description of the network object.
		Description *string `json:"description,omitempty"`

		// Indicates whether the network object is the default network object. The default network object is a system-generated object that contains any scanners and scanner groups not yet assigned to a custom network object. You cannot update or delete the default network object.
		IsDefault *bool `json:"is_default,omitempty"`

		// The date (in Unix milliseconds) when the network object was last updated.
		Modified *int `json:"modified,omitempty"`

		// The UUID of the user who last updated the network object.
		ModifiedBy *string `json:"modified_by,omitempty"`

		// The date (in Unix seconds) when the network object was last updated.
		ModifiedInSeconds *int `json:"modified_in_seconds,omitempty"`

		// The name of the network object.
		Name *string `json:"name,omitempty"`

		// The UUID of the owner of the network object. The owner of the network object does not have any additional permissions above administrator permissions.
		OwnerUuid *string `json:"owner_uuid,omitempty"`

		// The UUID of the network object.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseNetworksUpdateResponse

func ParseNetworksUpdateResponse(rsp *http.Response) (*NetworksUpdateResponse, error)

ParseNetworksUpdateResponse parses an HTTP response from a NetworksUpdateWithResponse call

func (NetworksUpdateResponse) Status

func (r NetworksUpdateResponse) Status() string

Status returns HTTPResponse.Status

func (NetworksUpdateResponse) StatusCode

func (r NetworksUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Permissions

type Permissions struct {
	*ClientWithResponses
}

Permissions implementation of the Permissions interface

func (*Permissions) Change

func (c *Permissions) Change(arg1 PermissionsChangeParamsObjectType, arg2 int32, arg3 PermissionsChangeJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)

Change calls the Permissions ´s function

func (*Permissions) ChangeWithBody

func (c *Permissions) ChangeWithBody(arg1 PermissionsChangeParamsObjectType, arg2 int32, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)

ChangeWithBody calls the Permissions ´s function

func (*Permissions) List

func (c *Permissions) List(arg1 PermissionsListParamsObjectType, arg2 int32, reqEditors ...RequestEditorFn) (*[]struct {
	DisplayName *string   "json:\"display_name,omitempty\""
	Id          *int      "json:\"id,omitempty\""
	Name        *string   "json:\"name,omitempty\""
	Owner       *int      "json:\"owner,omitempty\""
	Permissions *int32    "json:\"permissions,omitempty\""
	Type        *N200Type "json:\"type,omitempty\""
	Uuid        *string   "json:\"uuid,omitempty\""
}, error)

List calls the Permissions ´s function

type PermissionsChangeJSONBody

type PermissionsChangeJSONBody struct {
	Acls *struct {
		// The unique ID of the user or group.
		Id *int `json:"id,omitempty"`

		// The permission value to grant access as described in [Permissions](doc:permissions).
		Permissions *int32 `json:"permissions,omitempty"`

		// The type of permission (default, user, group).
		Type *PermissionsChangeJSONBodyAclsType `json:"type,omitempty"`
	} `json:"acls,omitempty"`
}

PermissionsChangeJSONBody defines parameters for PermissionsChange.

type PermissionsChangeJSONBodyAclsType

type PermissionsChangeJSONBodyAclsType string

PermissionsChangeJSONBodyAclsType defines parameters for PermissionsChange.

type PermissionsChangeJSONRequestBody

type PermissionsChangeJSONRequestBody PermissionsChangeJSONBody

PermissionsChangeJSONRequestBody defines body for PermissionsChange for application/json ContentType.

type PermissionsChangeParamsObjectType

type PermissionsChangeParamsObjectType string

PermissionsChangeParamsObjectType defines parameters for PermissionsChange.

type PermissionsChangeResponse

type PermissionsChangeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParsePermissionsChangeResponse

func ParsePermissionsChangeResponse(rsp *http.Response) (*PermissionsChangeResponse, error)

ParsePermissionsChangeResponse parses an HTTP response from a PermissionsChangeWithResponse call

func (PermissionsChangeResponse) Status

func (r PermissionsChangeResponse) Status() string

Status returns HTTPResponse.Status

func (PermissionsChangeResponse) StatusCode

func (r PermissionsChangeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PermissionsInterface

type PermissionsInterface interface {
	ChangeWithBody(arg1 PermissionsChangeParamsObjectType, arg2 int32, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)
	Change(arg1 PermissionsChangeParamsObjectType, arg2 int32, arg3 PermissionsChangeJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)
	List(arg1 PermissionsListParamsObjectType, arg2 int32, reqEditors ...RequestEditorFn) (*[]struct {
		DisplayName *string   "json:\"display_name,omitempty\""
		Id          *int      "json:\"id,omitempty\""
		Name        *string   "json:\"name,omitempty\""
		Owner       *int      "json:\"owner,omitempty\""
		Permissions *int32    "json:\"permissions,omitempty\""
		Type        *N200Type "json:\"type,omitempty\""
		Uuid        *string   "json:\"uuid,omitempty\""
	}, error)
}

PermissionsInterface contains all methods for the nessus api

type PermissionsListParamsObjectType

type PermissionsListParamsObjectType string

PermissionsListParamsObjectType defines parameters for PermissionsList.

type PermissionsListResponse

type PermissionsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// The display-friendly name of the user or group.
		DisplayName *string `json:"display_name,omitempty"`

		// The unique ID of the user or group.
		Id *int `json:"id,omitempty"`

		// The name of the user or group.
		Name *string `json:"name,omitempty"`

		// The ID of the owner of the object.
		Owner *int `json:"owner,omitempty"`

		// The permission value to grant access as described in [Permissions](doc:permissions).
		Permissions *int32 `json:"permissions,omitempty"`

		// The type of permission (default, user, group).
		Type *N200Type `json:"type,omitempty"`

		// The UUID of the owner of the object.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParsePermissionsListResponse

func ParsePermissionsListResponse(rsp *http.Response) (*PermissionsListResponse, error)

ParsePermissionsListResponse parses an HTTP response from a PermissionsListWithResponse call

func (PermissionsListResponse) Status

func (r PermissionsListResponse) Status() string

Status returns HTTPResponse.Status

func (PermissionsListResponse) StatusCode

func (r PermissionsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Policies

type Policies struct {
	*ClientWithResponses
}

Policies implementation of the Policies interface

func (*Policies) Configure

func (c *Policies) Configure(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)

Configure calls the Policies ´s function

func (*Policies) Copy

func (c *Policies) Copy(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)

Copy calls the Policies ´s function

func (*Policies) Create

func (c *Policies) Create(arg1 PoliciesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	PolicyId   *int    "json:\"policy_id,omitempty\""
	PolicyName *string "json:\"policy_name,omitempty\""
}, error)

Create calls the Policies ´s function

func (*Policies) CreateWithBody

func (c *Policies) CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	PolicyId   *int    "json:\"policy_id,omitempty\""
	PolicyName *string "json:\"policy_name,omitempty\""
}, error)

CreateWithBody calls the Policies ´s function

func (*Policies) Delete

func (c *Policies) Delete(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)

Delete calls the Policies ´s function

func (*Policies) Details

func (c *Policies) Details(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
	Audits      *map[string]interface{} "json:\"audits,omitempty\""
	Credentials *map[string]interface{} "json:\"credentials,omitempty\""
	Plugins     *map[string]interface{} "json:\"plugins,omitempty\""
	Scap        *map[string]interface{} "json:\"scap,omitempty\""
	Settings    *map[string]interface{} "json:\"settings,omitempty\""
	Uuid        *string                 "json:\"uuid,omitempty\""
}, error)

Details calls the Policies ´s function

func (*Policies) Export

func (c *Policies) Export(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)

Export calls the Policies ´s function

func (*Policies) Import

func (c *Policies) Import(arg1 PoliciesImportJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NoTarget             *string "json:\"no_target,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	OwnerId              *int    "json:\"owner_id,omitempty\""
	Private              *int    "json:\"private,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	TemplateUuid         *string "json:\"template_uuid,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
}, error)

Import calls the Policies ´s function

func (*Policies) ImportWithBody

func (c *Policies) ImportWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NoTarget             *string "json:\"no_target,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	OwnerId              *int    "json:\"owner_id,omitempty\""
	Private              *int    "json:\"private,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	TemplateUuid         *string "json:\"template_uuid,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
}, error)

ImportWithBody calls the Policies ´s function

func (*Policies) List

func (c *Policies) List(reqEditors ...RequestEditorFn) (*[]struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NoTarget             *bool   "json:\"no_target,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	OwnerId              *string "json:\"owner_id,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	TemplateUuid         *string "json:\"template_uuid,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
	Visibility           *int    "json:\"visibility,omitempty\""
}, error)

List calls the Policies ´s function

type PoliciesConfigureResponse

type PoliciesConfigureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParsePoliciesConfigureResponse

func ParsePoliciesConfigureResponse(rsp *http.Response) (*PoliciesConfigureResponse, error)

ParsePoliciesConfigureResponse parses an HTTP response from a PoliciesConfigureWithResponse call

func (PoliciesConfigureResponse) Status

func (r PoliciesConfigureResponse) Status() string

Status returns HTTPResponse.Status

func (PoliciesConfigureResponse) StatusCode

func (r PoliciesConfigureResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PoliciesCopyResponse

type PoliciesCopyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParsePoliciesCopyResponse

func ParsePoliciesCopyResponse(rsp *http.Response) (*PoliciesCopyResponse, error)

ParsePoliciesCopyResponse parses an HTTP response from a PoliciesCopyWithResponse call

func (PoliciesCopyResponse) Status

func (r PoliciesCopyResponse) Status() string

Status returns HTTPResponse.Status

func (PoliciesCopyResponse) StatusCode

func (r PoliciesCopyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PoliciesCreateJSONBody

type PoliciesCreateJSONBody struct {
	Settings *map[string]interface{} `json:"settings,omitempty"`

	// The uuid for the editor template to use.
	Uuid string `json:"uuid"`
}

PoliciesCreateJSONBody defines parameters for PoliciesCreate.

type PoliciesCreateJSONRequestBody

type PoliciesCreateJSONRequestBody PoliciesCreateJSONBody

PoliciesCreateJSONRequestBody defines body for PoliciesCreate for application/json ContentType.

type PoliciesCreateResponse

type PoliciesCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		PolicyId   *int    `json:"policy_id,omitempty"`
		PolicyName *string `json:"policy_name,omitempty"`
	}
}

func ParsePoliciesCreateResponse

func ParsePoliciesCreateResponse(rsp *http.Response) (*PoliciesCreateResponse, error)

ParsePoliciesCreateResponse parses an HTTP response from a PoliciesCreateWithResponse call

func (PoliciesCreateResponse) Status

func (r PoliciesCreateResponse) Status() string

Status returns HTTPResponse.Status

func (PoliciesCreateResponse) StatusCode

func (r PoliciesCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PoliciesDeleteResponse

type PoliciesDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParsePoliciesDeleteResponse

func ParsePoliciesDeleteResponse(rsp *http.Response) (*PoliciesDeleteResponse, error)

ParsePoliciesDeleteResponse parses an HTTP response from a PoliciesDeleteWithResponse call

func (PoliciesDeleteResponse) Status

func (r PoliciesDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (PoliciesDeleteResponse) StatusCode

func (r PoliciesDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PoliciesDetailsResponse

type PoliciesDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Audits      *map[string]interface{} `json:"audits,omitempty"`
		Credentials *map[string]interface{} `json:"credentials,omitempty"`
		Plugins     *map[string]interface{} `json:"plugins,omitempty"`
		Scap        *map[string]interface{} `json:"scap,omitempty"`
		Settings    *map[string]interface{} `json:"settings,omitempty"`

		// The UUID of the Tenable-provided template used to create this policy.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParsePoliciesDetailsResponse

func ParsePoliciesDetailsResponse(rsp *http.Response) (*PoliciesDetailsResponse, error)

ParsePoliciesDetailsResponse parses an HTTP response from a PoliciesDetailsWithResponse call

func (PoliciesDetailsResponse) Status

func (r PoliciesDetailsResponse) Status() string

Status returns HTTPResponse.Status

func (PoliciesDetailsResponse) StatusCode

func (r PoliciesDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PoliciesExportResponse

type PoliciesExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParsePoliciesExportResponse

func ParsePoliciesExportResponse(rsp *http.Response) (*PoliciesExportResponse, error)

ParsePoliciesExportResponse parses an HTTP response from a PoliciesExportWithResponse call

func (PoliciesExportResponse) Status

func (r PoliciesExportResponse) Status() string

Status returns HTTPResponse.Status

func (PoliciesExportResponse) StatusCode

func (r PoliciesExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PoliciesImportJSONBody

type PoliciesImportJSONBody struct {
	// The name of the file to import as provided by the response from file-upload.
	File string `json:"file"`
}

PoliciesImportJSONBody defines parameters for PoliciesImport.

type PoliciesImportJSONRequestBody

type PoliciesImportJSONRequestBody PoliciesImportJSONBody

PoliciesImportJSONRequestBody defines body for PoliciesImport for application/json ContentType.

type PoliciesImportResponse

type PoliciesImportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CreationDate         *int    `json:"creation_date,omitempty"`
		Description          *string `json:"description,omitempty"`
		Id                   *int    `json:"id,omitempty"`
		LastModificationDate *int    `json:"last_modification_date,omitempty"`
		Name                 *string `json:"name,omitempty"`
		NoTarget             *string `json:"no_target,omitempty"`
		Owner                *string `json:"owner,omitempty"`
		OwnerId              *int    `json:"owner_id,omitempty"`
		Private              *int    `json:"private,omitempty"`
		Shared               *bool   `json:"shared,omitempty"`
		TemplateUuid         *string `json:"template_uuid,omitempty"`
		UserPermissions      *int    `json:"user_permissions,omitempty"`
	}
}

func ParsePoliciesImportResponse

func ParsePoliciesImportResponse(rsp *http.Response) (*PoliciesImportResponse, error)

ParsePoliciesImportResponse parses an HTTP response from a PoliciesImportWithResponse call

func (PoliciesImportResponse) Status

func (r PoliciesImportResponse) Status() string

Status returns HTTPResponse.Status

func (PoliciesImportResponse) StatusCode

func (r PoliciesImportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PoliciesInterface

type PoliciesInterface interface {
	Configure(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)
	Copy(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)
	CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		PolicyId   *int    "json:\"policy_id,omitempty\""
		PolicyName *string "json:\"policy_name,omitempty\""
	}, error)
	Create(arg1 PoliciesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		PolicyId   *int    "json:\"policy_id,omitempty\""
		PolicyName *string "json:\"policy_name,omitempty\""
	}, error)
	Delete(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)
	Details(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
		Audits      *map[string]interface{} "json:\"audits,omitempty\""
		Credentials *map[string]interface{} "json:\"credentials,omitempty\""
		Plugins     *map[string]interface{} "json:\"plugins,omitempty\""
		Scap        *map[string]interface{} "json:\"scap,omitempty\""
		Settings    *map[string]interface{} "json:\"settings,omitempty\""
		Uuid        *string                 "json:\"uuid,omitempty\""
	}, error)
	Export(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)
	ImportWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NoTarget             *string "json:\"no_target,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		OwnerId              *int    "json:\"owner_id,omitempty\""
		Private              *int    "json:\"private,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		TemplateUuid         *string "json:\"template_uuid,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
	}, error)
	Import(arg1 PoliciesImportJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NoTarget             *string "json:\"no_target,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		OwnerId              *int    "json:\"owner_id,omitempty\""
		Private              *int    "json:\"private,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		TemplateUuid         *string "json:\"template_uuid,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
	}, error)
	List(reqEditors ...RequestEditorFn) (*[]struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NoTarget             *bool   "json:\"no_target,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		OwnerId              *string "json:\"owner_id,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		TemplateUuid         *string "json:\"template_uuid,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
		Visibility           *int    "json:\"visibility,omitempty\""
	}, error)
}

PoliciesInterface contains all methods for the nessus api

type PoliciesListResponse

type PoliciesListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// The creation date of the policy in Unix time format.
		CreationDate *int `json:"creation_date,omitempty"`

		// The description of the policy.
		Description *string `json:"description,omitempty"`

		// The unique ID of the policy.
		Id *int `json:"id,omitempty"`

		// The last modification date for the policy in Unix time format.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The name of the policy.
		Name *string `json:"name,omitempty"`

		// If `true`, the policy configuration does not include targets.
		NoTarget *bool `json:"no_target,omitempty"`

		// The username for the owner of the policy.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the policy.
		OwnerId *string `json:"owner_id,omitempty"`

		// The shared status of the policy (`1` if shared with users other than owner, `0` if not shared).
		Shared *bool `json:"shared,omitempty"`

		// The UUID for the Tenable-provided template used to create the policy.
		TemplateUuid *string `json:"template_uuid,omitempty"`

		// The sharing permissions for the policy.
		UserPermissions *int `json:"user_permissions,omitempty"`

		// The visibility of the target (`private` or `shared`).
		Visibility *int `json:"visibility,omitempty"`
	}
}

func ParsePoliciesListResponse

func ParsePoliciesListResponse(rsp *http.Response) (*PoliciesListResponse, error)

ParsePoliciesListResponse parses an HTTP response from a PoliciesListWithResponse call

func (PoliciesListResponse) Status

func (r PoliciesListResponse) Status() string

Status returns HTTPResponse.Status

func (PoliciesListResponse) StatusCode

func (r PoliciesListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RawAPIResponse

type RawAPIResponse interface {
	Status() string
	StatusCode() int
}

RawAPIResponse generic response wrapper

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type Scanner

type Scanner struct {
	*ClientWithResponses
}

Scanner implementation of the Scanner interface

func (*Scanner) GroupsAddScanner

func (c *Scanner) GroupsAddScanner(arg1 int32, arg2 int32, reqEditors ...RequestEditorFn) (*interface{}, error)

GroupsAddScanner calls the Scanner ´s function

func (*Scanner) GroupsCreate

func (c *Scanner) GroupsCreate(arg1 ScannerGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	DefaultPermissions   *int    "json:\"default_permissions,omitempty\""
	Flag                 *string "json:\"flag,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NetworkName          *string "json:\"network_name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	OwnerId              *int    "json:\"owner_id,omitempty\""
	ScanCount            *int    "json:\"scan_count,omitempty\""
	ScannerCount         *string "json:\"scanner_count,omitempty\""
	ScannerId            *int    "json:\"scanner_id,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Token                *string "json:\"token,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
	Uuid                 *string "json:\"uuid,omitempty\""
}, error)

GroupsCreate calls the Scanner ´s function

func (*Scanner) GroupsCreateWithBody

func (c *Scanner) GroupsCreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	DefaultPermissions   *int    "json:\"default_permissions,omitempty\""
	Flag                 *string "json:\"flag,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NetworkName          *string "json:\"network_name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	OwnerId              *int    "json:\"owner_id,omitempty\""
	ScanCount            *int    "json:\"scan_count,omitempty\""
	ScannerCount         *string "json:\"scanner_count,omitempty\""
	ScannerId            *int    "json:\"scanner_id,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Token                *string "json:\"token,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
	Uuid                 *string "json:\"uuid,omitempty\""
}, error)

GroupsCreateWithBody calls the Scanner ´s function

func (*Scanner) GroupsDelete

func (c *Scanner) GroupsDelete(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)

GroupsDelete calls the Scanner ´s function

func (*Scanner) GroupsDeleteScanner

func (c *Scanner) GroupsDeleteScanner(arg1 int32, arg2 int32, reqEditors ...RequestEditorFn) (*interface{}, error)

GroupsDeleteScanner calls the Scanner ´s function

func (*Scanner) GroupsDetails

func (c *Scanner) GroupsDetails(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	DefaultPermissions   *int    "json:\"default_permissions,omitempty\""
	Flag                 *string "json:\"flag,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NetworkName          *string "json:\"network_name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	OwnerId              *int    "json:\"owner_id,omitempty\""
	ScanCount            *int    "json:\"scan_count,omitempty\""
	ScannerCount         *string "json:\"scanner_count,omitempty\""
	ScannerId            *int    "json:\"scanner_id,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Token                *string "json:\"token,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
	Uuid                 *string "json:\"uuid,omitempty\""
}, error)

GroupsDetails calls the Scanner ´s function

func (*Scanner) GroupsEdit

func (c *Scanner) GroupsEdit(arg1 int32, arg2 ScannerGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	DefaultPermissions   *int    "json:\"default_permissions,omitempty\""
	Flag                 *string "json:\"flag,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NetworkName          *string "json:\"network_name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	OwnerId              *int    "json:\"owner_id,omitempty\""
	ScanCount            *int    "json:\"scan_count,omitempty\""
	ScannerCount         *string "json:\"scanner_count,omitempty\""
	ScannerId            *int    "json:\"scanner_id,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Token                *string "json:\"token,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
	Uuid                 *string "json:\"uuid,omitempty\""
}, error)

GroupsEdit calls the Scanner ´s function

func (*Scanner) GroupsEditWithBody

func (c *Scanner) GroupsEditWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	DefaultPermissions   *int    "json:\"default_permissions,omitempty\""
	Flag                 *string "json:\"flag,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NetworkName          *string "json:\"network_name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	OwnerId              *int    "json:\"owner_id,omitempty\""
	ScanCount            *int    "json:\"scan_count,omitempty\""
	ScannerCount         *string "json:\"scanner_count,omitempty\""
	ScannerId            *int    "json:\"scanner_id,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Token                *string "json:\"token,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
	Uuid                 *string "json:\"uuid,omitempty\""
}, error)

GroupsEditWithBody calls the Scanner ´s function

func (*Scanner) GroupsList

func (c *Scanner) GroupsList(reqEditors ...RequestEditorFn) (*struct {
	CreationDate         *int    "json:\"creation_date,omitempty\""
	DefaultPermissions   *int    "json:\"default_permissions,omitempty\""
	Flag                 *string "json:\"flag,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NetworkName          *string "json:\"network_name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	OwnerId              *int    "json:\"owner_id,omitempty\""
	ScanCount            *int    "json:\"scan_count,omitempty\""
	ScannerCount         *string "json:\"scanner_count,omitempty\""
	ScannerId            *int    "json:\"scanner_id,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Token                *string "json:\"token,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
	Uuid                 *string "json:\"uuid,omitempty\""
}, error)

GroupsList calls the Scanner ´s function

func (*Scanner) GroupsListScanners

func (c *Scanner) GroupsListScanners(arg1 int32, reqEditors ...RequestEditorFn) (*[]struct {
	AwsUpdateInterval    *int      "json:\"aws_update_interval,omitempty\""
	CreationDate         *int      "json:\"creation_date,omitempty\""
	Distro               *string   "json:\"distro,omitempty\""
	EngineVersion        *string   "json:\"engine_version,omitempty\""
	Group                *bool     "json:\"group,omitempty\""
	Hostname             *string   "json:\"hostname,omitempty\""
	Id                   *int      "json:\"id,omitempty\""
	IpAddresses          *[]string "json:\"ip_addresses,omitempty\""
	Key                  *string   "json:\"key,omitempty\""
	LastConnect          *string   "json:\"last_connect,omitempty\""
	LastModificationDate *int      "json:\"last_modification_date,omitempty\""
	License              *struct {
		Agents *int "json:\"agents,omitempty\""
		Apps   *struct {
			Consec *struct {
				ActivationCode *int    "json:\"activation_code,omitempty\""
				ExpirationDate *int    "json:\"expiration_date,omitempty\""
				MaxGb          *int    "json:\"max_gb,omitempty\""
				Mode           *string "json:\"mode,omitempty\""
				Type           *string "json:\"type,omitempty\""
			} "json:\"consec,omitempty\""
			Type *string "json:\"type,omitempty\""
			Was  *struct {
				ActivationCode *int    "json:\"activation_code,omitempty\""
				ExpirationDate *int    "json:\"expiration_date,omitempty\""
				Mode           *string "json:\"mode,omitempty\""
				Type           *string "json:\"type,omitempty\""
				WebAssets      *int    "json:\"web_assets,omitempty\""
			} "json:\"was,omitempty\""
		} "json:\"apps,omitempty\""
		Ips      *int    "json:\"ips,omitempty\""
		Scanners *int    "json:\"scanners,omitempty\""
		Type     *string "json:\"type,omitempty\""
	} "json:\"license,omitempty\""
	Linked             *int    "json:\"linked,omitempty\""
	LoadedPluginSet    *string "json:\"loaded_plugin_set,omitempty\""
	Name               *string "json:\"name,omitempty\""
	NetworkName        *string "json:\"network_name,omitempty\""
	NumHosts           *int    "json:\"num_hosts,omitempty\""
	NumScans           *int    "json:\"num_scans,omitempty\""
	NumSessions        *int    "json:\"num_sessions,omitempty\""
	NumTcpSessions     *int    "json:\"num_tcp_sessions,omitempty\""
	Owner              *string "json:\"owner,omitempty\""
	OwnerId            *int    "json:\"owner_id,omitempty\""
	OwnerName          *string "json:\"owner_name,omitempty\""
	OwnerUuid          *string "json:\"owner_uuid,omitempty\""
	Platform           *string "json:\"platform,omitempty\""
	Pool               *bool   "json:\"pool,omitempty\""
	RegistrationCode   *string "json:\"registration_code,omitempty\""
	ScanCount          *int    "json:\"scan_count,omitempty\""
	Shared             *bool   "json:\"shared,omitempty\""
	Source             *string "json:\"source,omitempty\""
	Status             *string "json:\"status,omitempty\""
	SupportsRemoteLogs *bool   "json:\"supports_remote_logs,omitempty\""
	SupportsWebapp     *bool   "json:\"supports_webapp,omitempty\""
	Timestamp          *int    "json:\"timestamp,omitempty\""
	Type               *string "json:\"type,omitempty\""
	UiBuild            *string "json:\"ui_build,omitempty\""
	UiVersion          *string "json:\"ui_version,omitempty\""
	UserPermissions    *int    "json:\"user_permissions,omitempty\""
	Uuid               *string "json:\"uuid,omitempty\""
}, error)

GroupsListScanners calls the Scanner ´s function

type ScannerGroupsAddScannerResponse

type ScannerGroupsAddScannerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseScannerGroupsAddScannerResponse

func ParseScannerGroupsAddScannerResponse(rsp *http.Response) (*ScannerGroupsAddScannerResponse, error)

ParseScannerGroupsAddScannerResponse parses an HTTP response from a ScannerGroupsAddScannerWithResponse call

func (ScannerGroupsAddScannerResponse) Status

Status returns HTTPResponse.Status

func (ScannerGroupsAddScannerResponse) StatusCode

func (r ScannerGroupsAddScannerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannerGroupsCreateJSONBody

type ScannerGroupsCreateJSONBody struct {
	// The name for the new scanner group.
	Name string `json:"name"`

	// The type of scanner group. If you omit this parameter, Tenable.io automatically uses the default (`load_balancing`).
	Type *ScannerGroupsCreateJSONBodyType `json:"type,omitempty"`
}

ScannerGroupsCreateJSONBody defines parameters for ScannerGroupsCreate.

type ScannerGroupsCreateJSONBodyType

type ScannerGroupsCreateJSONBodyType string

ScannerGroupsCreateJSONBodyType defines parameters for ScannerGroupsCreate.

type ScannerGroupsCreateJSONRequestBody

type ScannerGroupsCreateJSONRequestBody ScannerGroupsCreateJSONBody

ScannerGroupsCreateJSONRequestBody defines body for ScannerGroupsCreate for application/json ContentType.

type ScannerGroupsCreateResponse

type ScannerGroupsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The creation date for the scanner group in Unix time.
		CreationDate *int `json:"creation_date,omitempty"`

		// The access permissions for the Default group.
		DefaultPermissions *int `json:"default_permissions,omitempty"`

		// The flag indicating what type of scanner group.
		Flag *string `json:"flag,omitempty"`

		// The unique ID of the scanner group.
		Id *int `json:"id,omitempty"`

		// The last modification date for the scanner group in Unix time.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The name of the scanner group.
		Name *string `json:"name,omitempty"`

		// The name of the network object associated with the scanner group. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
		NetworkName *string `json:"network_name,omitempty"`

		// The username of the owner of the scanner group.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the scanner group.
		OwnerId *int `json:"owner_id,omitempty"`

		// The number of scans currently tasked to the scanner group.
		ScanCount *int `json:"scan_count,omitempty"`

		// The number of scanners associated with this scanner group.
		ScannerCount *string `json:"scanner_count,omitempty"`

		// The unique scanner ID of the scanner group.
		ScannerId *int `json:"scanner_id,omitempty"`

		// The shared status of the scanner-group.
		Shared *bool `json:"shared,omitempty"`

		// The unique token for a scanner group.
		Token *string `json:"token,omitempty"`

		// The type of scanner group. This is set to "load_balancing" by default.
		Type *string `json:"type,omitempty"`

		// The sharing permissions for the scanner group.
		UserPermissions *int `json:"user_permissions,omitempty"`

		// The UUID of the scanner group.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseScannerGroupsCreateResponse

func ParseScannerGroupsCreateResponse(rsp *http.Response) (*ScannerGroupsCreateResponse, error)

ParseScannerGroupsCreateResponse parses an HTTP response from a ScannerGroupsCreateWithResponse call

func (ScannerGroupsCreateResponse) Status

Status returns HTTPResponse.Status

func (ScannerGroupsCreateResponse) StatusCode

func (r ScannerGroupsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannerGroupsDeleteResponse

type ScannerGroupsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseScannerGroupsDeleteResponse

func ParseScannerGroupsDeleteResponse(rsp *http.Response) (*ScannerGroupsDeleteResponse, error)

ParseScannerGroupsDeleteResponse parses an HTTP response from a ScannerGroupsDeleteWithResponse call

func (ScannerGroupsDeleteResponse) Status

Status returns HTTPResponse.Status

func (ScannerGroupsDeleteResponse) StatusCode

func (r ScannerGroupsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannerGroupsDeleteScannerResponse

type ScannerGroupsDeleteScannerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseScannerGroupsDeleteScannerResponse

func ParseScannerGroupsDeleteScannerResponse(rsp *http.Response) (*ScannerGroupsDeleteScannerResponse, error)

ParseScannerGroupsDeleteScannerResponse parses an HTTP response from a ScannerGroupsDeleteScannerWithResponse call

func (ScannerGroupsDeleteScannerResponse) Status

Status returns HTTPResponse.Status

func (ScannerGroupsDeleteScannerResponse) StatusCode

func (r ScannerGroupsDeleteScannerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannerGroupsDetailsResponse

type ScannerGroupsDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The creation date for the scanner group in Unix time.
		CreationDate *int `json:"creation_date,omitempty"`

		// The access permissions for the Default group.
		DefaultPermissions *int `json:"default_permissions,omitempty"`

		// The flag indicating what type of scanner group.
		Flag *string `json:"flag,omitempty"`

		// The unique ID of the scanner group.
		Id *int `json:"id,omitempty"`

		// The last modification date for the scanner group in Unix time.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The name of the scanner group.
		Name *string `json:"name,omitempty"`

		// The name of the network object associated with the scanner group. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
		NetworkName *string `json:"network_name,omitempty"`

		// The username of the owner of the scanner group.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the scanner group.
		OwnerId *int `json:"owner_id,omitempty"`

		// The number of scans currently tasked to the scanner group.
		ScanCount *int `json:"scan_count,omitempty"`

		// The number of scanners associated with this scanner group.
		ScannerCount *string `json:"scanner_count,omitempty"`

		// The unique scanner ID of the scanner group.
		ScannerId *int `json:"scanner_id,omitempty"`

		// The shared status of the scanner-group.
		Shared *bool `json:"shared,omitempty"`

		// The unique token for a scanner group.
		Token *string `json:"token,omitempty"`

		// The type of scanner group. This is set to "load_balancing" by default.
		Type *string `json:"type,omitempty"`

		// The sharing permissions for the scanner group.
		UserPermissions *int `json:"user_permissions,omitempty"`

		// The UUID of the scanner group.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseScannerGroupsDetailsResponse

func ParseScannerGroupsDetailsResponse(rsp *http.Response) (*ScannerGroupsDetailsResponse, error)

ParseScannerGroupsDetailsResponse parses an HTTP response from a ScannerGroupsDetailsWithResponse call

func (ScannerGroupsDetailsResponse) Status

Status returns HTTPResponse.Status

func (ScannerGroupsDetailsResponse) StatusCode

func (r ScannerGroupsDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannerGroupsEditJSONBody

type ScannerGroupsEditJSONBody struct {
	// The new name for the scanner group.
	Name string `json:"name"`
}

ScannerGroupsEditJSONBody defines parameters for ScannerGroupsEdit.

type ScannerGroupsEditJSONRequestBody

type ScannerGroupsEditJSONRequestBody ScannerGroupsEditJSONBody

ScannerGroupsEditJSONRequestBody defines body for ScannerGroupsEdit for application/json ContentType.

type ScannerGroupsEditResponse

type ScannerGroupsEditResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The creation date for the scanner group in Unix time.
		CreationDate *int `json:"creation_date,omitempty"`

		// The access permissions for the Default group.
		DefaultPermissions *int `json:"default_permissions,omitempty"`

		// The flag indicating what type of scanner group.
		Flag *string `json:"flag,omitempty"`

		// The unique ID of the scanner group.
		Id *int `json:"id,omitempty"`

		// The last modification date for the scanner group in Unix time.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The name of the scanner group.
		Name *string `json:"name,omitempty"`

		// The name of the network object associated with the scanner group. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
		NetworkName *string `json:"network_name,omitempty"`

		// The username of the owner of the scanner group.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the scanner group.
		OwnerId *int `json:"owner_id,omitempty"`

		// The number of scans currently tasked to the scanner group.
		ScanCount *int `json:"scan_count,omitempty"`

		// The number of scanners associated with this scanner group.
		ScannerCount *string `json:"scanner_count,omitempty"`

		// The unique scanner ID of the scanner group.
		ScannerId *int `json:"scanner_id,omitempty"`

		// The shared status of the scanner-group.
		Shared *bool `json:"shared,omitempty"`

		// The unique token for a scanner group.
		Token *string `json:"token,omitempty"`

		// The type of scanner group. This is set to "load_balancing" by default.
		Type *string `json:"type,omitempty"`

		// The sharing permissions for the scanner group.
		UserPermissions *int `json:"user_permissions,omitempty"`

		// The UUID of the scanner group.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseScannerGroupsEditResponse

func ParseScannerGroupsEditResponse(rsp *http.Response) (*ScannerGroupsEditResponse, error)

ParseScannerGroupsEditResponse parses an HTTP response from a ScannerGroupsEditWithResponse call

func (ScannerGroupsEditResponse) Status

func (r ScannerGroupsEditResponse) Status() string

Status returns HTTPResponse.Status

func (ScannerGroupsEditResponse) StatusCode

func (r ScannerGroupsEditResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannerGroupsListResponse

type ScannerGroupsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The creation date for the scanner group in Unix time.
		CreationDate *int `json:"creation_date,omitempty"`

		// The access permissions for the Default group.
		DefaultPermissions *int `json:"default_permissions,omitempty"`

		// The flag indicating what type of scanner group.
		Flag *string `json:"flag,omitempty"`

		// The unique ID of the scanner group.
		Id *int `json:"id,omitempty"`

		// The last modification date for the scanner group in Unix time.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The name of the scanner group.
		Name *string `json:"name,omitempty"`

		// The name of the network object associated with the scanner group. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
		NetworkName *string `json:"network_name,omitempty"`

		// The username of the owner of the scanner group.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the scanner group.
		OwnerId *int `json:"owner_id,omitempty"`

		// The number of scans currently tasked to the scanner group.
		ScanCount *int `json:"scan_count,omitempty"`

		// The number of scanners associated with this scanner group.
		ScannerCount *string `json:"scanner_count,omitempty"`

		// The unique scanner ID of the scanner group.
		ScannerId *int `json:"scanner_id,omitempty"`

		// The shared status of the scanner-group.
		Shared *bool `json:"shared,omitempty"`

		// The unique token for a scanner group.
		Token *string `json:"token,omitempty"`

		// The type of scanner group. This is set to "load_balancing" by default.
		Type *string `json:"type,omitempty"`

		// The sharing permissions for the scanner group.
		UserPermissions *int `json:"user_permissions,omitempty"`

		// The UUID of the scanner group.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseScannerGroupsListResponse

func ParseScannerGroupsListResponse(rsp *http.Response) (*ScannerGroupsListResponse, error)

ParseScannerGroupsListResponse parses an HTTP response from a ScannerGroupsListWithResponse call

func (ScannerGroupsListResponse) Status

func (r ScannerGroupsListResponse) Status() string

Status returns HTTPResponse.Status

func (ScannerGroupsListResponse) StatusCode

func (r ScannerGroupsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannerGroupsListScannersResponse

type ScannerGroupsListScannersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// Specifies how often, in minutes, the scanner checks in with Tenable.io (Amazon Web Services scanners only).
		AwsUpdateInterval *int `json:"aws_update_interval,omitempty"`

		// The Unix timestamp when the scanner was created. This attribute specifies the original creation date if the scanner was migrated.
		CreationDate *int `json:"creation_date,omitempty"`

		// The scanner operating system distribution.
		Distro *string `json:"distro,omitempty"`

		// The version of the scanner.
		EngineVersion *string `json:"engine_version,omitempty"`

		// Indicates whether the scanner belongs to a scanner group ('true') or not ('false').
		Group *bool `json:"group,omitempty"`

		// The hostname of the scanner.
		Hostname *string `json:"hostname,omitempty"`

		// The unique ID of the scanner.
		Id *int `json:"id,omitempty"`

		// A list of IP addresses associated with the scanner.
		IpAddresses *[]string `json:"ip_addresses,omitempty"`

		// The linking key, that is, the alpha-numeric sequence of characters you use to link a scanner to Tenable.io. For more information about linking a scanner to Tenable.io, see the [Tenable.io Vulnerability Management Guide](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Settings/LinkaSensor.htm).
		Key *string `json:"key,omitempty"`

		// The Unix timestamp when any of the scanner's tasks have provided its last update.
		LastConnect *string `json:"last_connect,omitempty"`

		// The Unix timestamp when the scanner was last modified.
		LastModificationDate *int `json:"last_modification_date,omitempty"`
		License              *struct {
			// The number of agents the scanner is licensed to use.
			Agents *int `json:"agents,omitempty"`
			Apps   *struct {
				Consec *struct {
					// The activation code you used to enable the license. This value is present for standard licenses only.
					ActivationCode *int `json:"activation_code,omitempty"`

					// The Unix timestamp when the license expires.
					ExpirationDate *int `json:"expiration_date,omitempty"`

					// The maximum memory (in GB) on the scanner allotted for the Tenable licensed application.
					MaxGb *int `json:"max_gb,omitempty"`

					// Indicates whether the product license is an evaluation license (`eval`) or standard license (`standard`).
					Mode *string `json:"mode,omitempty"`

					// Indicates that the scanner is licensed to perform Tenable.io Container Security scans.
					Type *string `json:"type,omitempty"`
				} `json:"consec,omitempty"`

				// The Tenable products licensed on the scanner.
				Type *string `json:"type,omitempty"`
				Was  *struct {
					// The activation code you used to enable the license. This value is present for standard licenses only.
					ActivationCode *int `json:"activation_code,omitempty"`

					// The Unix timestamp when the license expires.
					ExpirationDate *int `json:"expiration_date,omitempty"`

					// Indicates whether the product license is an evaluation license (`eval`) or standard license (`standard`).
					Mode *string `json:"mode,omitempty"`

					// Indicates that the scanner is licensed to perform Tenable.io Web Application Scanning scans.
					Type *string `json:"type,omitempty"`

					// The number of web assets which your license authorizes you to scan.
					WebAssets *int `json:"web_assets,omitempty"`
				} `json:"was,omitempty"`
			} `json:"apps,omitempty"`

			// The number of hosts the scanner is licensed to use.
			Ips *int `json:"ips,omitempty"`

			// The number of scanners the scanner is licensed to use.
			Scanners *int `json:"scanners,omitempty"`

			// The license type.
			Type *string `json:"type,omitempty"`
		} `json:"license,omitempty"`

		// Specifies whether you disabled (`0`) or enabled (`1`) the scanner. For more information, see the [PUT /scanners/{scanner_id}/link](ref:scanners-toggle-link-state) endpoint.
		Linked *int `json:"linked,omitempty"`

		// The current plugin set on the scanner.
		LoadedPluginSet *string `json:"loaded_plugin_set,omitempty"`

		// The user-defined name of the scanner.
		Name *string `json:"name,omitempty"`

		// The name of the network object associated with the scanner. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
		NetworkName *string `json:"network_name,omitempty"`

		// The number of hosts that the scanner's analysis has discovered.
		NumHosts *int `json:"num_hosts,omitempty"`

		// The number of scans (tasks) the scanner is currently executing.
		NumScans *int `json:"num_scans,omitempty"`

		// The number of active sessions between the scanner and hosts.
		NumSessions *int `json:"num_sessions,omitempty"`

		// The number of active TCP sessions between the scanner and hosts.
		NumTcpSessions *int `json:"num_tcp_sessions,omitempty"`

		// The owner of the scanner.
		Owner *string `json:"owner,omitempty"`

		// The ID of the owner of the scanner.
		OwnerId *int `json:"owner_id,omitempty"`

		// The username of the owner of the scanner.
		OwnerName *string `json:"owner_name,omitempty"`

		// The UUID of the owner of the scanner.
		OwnerUuid *string `json:"owner_uuid,omitempty"`

		// The platform of the scanner.
		Platform *string `json:"platform,omitempty"`

		// Indicates whether the scanner is part of a scanner group ('true') or not ('false'). For more information about scanner groups, see the [Scanner Groups](ref:scanner-groups) endpoints.
		Pool *bool `json:"pool,omitempty"`

		// The registration code of the scanner.
		RegistrationCode *string `json:"registration_code,omitempty"`

		// The number of scans that the scanner is currently running.
		ScanCount *int `json:"scan_count,omitempty"`

		// Indicates whether anyone other than the scanner owner has explicit access to the scanner (`1`).
		Shared *bool `json:"shared,omitempty"`

		// Always set to `service`.
		Source *string `json:"source,omitempty"`

		// The status of the scanner (`on` or `off`).
		Status *string `json:"status,omitempty"`

		// Indicates if the scanner supports remote logging.
		SupportsRemoteLogs *bool `json:"supports_remote_logs,omitempty"`

		// Indicates if the scanner supports web application scanning.
		SupportsWebapp *bool `json:"supports_webapp,omitempty"`

		// Equivalent to the `last_modification_date` attribute.
		Timestamp *int `json:"timestamp,omitempty"`

		// The type of scanner (`local`, `managed`, `managed_pvs`, `pool`, `remote`, or `webapp`).
		Type *string `json:"type,omitempty"`

		// The backend build of Nessus that is running on the scanner.
		UiBuild *string `json:"ui_build,omitempty"`

		// The backend version of Nessus that is running on the scanner.
		UiVersion *string `json:"ui_version,omitempty"`

		// The permissions you (the current user) have been assigned for the scanner. See [Permissions](doc:permissions).
		UserPermissions *int `json:"user_permissions,omitempty"`

		// The UUID of the scanner.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseScannerGroupsListScannersResponse

func ParseScannerGroupsListScannersResponse(rsp *http.Response) (*ScannerGroupsListScannersResponse, error)

ParseScannerGroupsListScannersResponse parses an HTTP response from a ScannerGroupsListScannersWithResponse call

func (ScannerGroupsListScannersResponse) Status

Status returns HTTPResponse.Status

func (ScannerGroupsListScannersResponse) StatusCode

func (r ScannerGroupsListScannersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannerInterface

type ScannerInterface interface {
	GroupsAddScanner(arg1 int32, arg2 int32, reqEditors ...RequestEditorFn) (*interface{}, error)
	GroupsCreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		DefaultPermissions   *int    "json:\"default_permissions,omitempty\""
		Flag                 *string "json:\"flag,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NetworkName          *string "json:\"network_name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		OwnerId              *int    "json:\"owner_id,omitempty\""
		ScanCount            *int    "json:\"scan_count,omitempty\""
		ScannerCount         *string "json:\"scanner_count,omitempty\""
		ScannerId            *int    "json:\"scanner_id,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Token                *string "json:\"token,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
		Uuid                 *string "json:\"uuid,omitempty\""
	}, error)
	GroupsCreate(arg1 ScannerGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		DefaultPermissions   *int    "json:\"default_permissions,omitempty\""
		Flag                 *string "json:\"flag,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NetworkName          *string "json:\"network_name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		OwnerId              *int    "json:\"owner_id,omitempty\""
		ScanCount            *int    "json:\"scan_count,omitempty\""
		ScannerCount         *string "json:\"scanner_count,omitempty\""
		ScannerId            *int    "json:\"scanner_id,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Token                *string "json:\"token,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
		Uuid                 *string "json:\"uuid,omitempty\""
	}, error)
	GroupsDeleteScanner(arg1 int32, arg2 int32, reqEditors ...RequestEditorFn) (*interface{}, error)
	GroupsDelete(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)
	GroupsDetails(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		DefaultPermissions   *int    "json:\"default_permissions,omitempty\""
		Flag                 *string "json:\"flag,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NetworkName          *string "json:\"network_name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		OwnerId              *int    "json:\"owner_id,omitempty\""
		ScanCount            *int    "json:\"scan_count,omitempty\""
		ScannerCount         *string "json:\"scanner_count,omitempty\""
		ScannerId            *int    "json:\"scanner_id,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Token                *string "json:\"token,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
		Uuid                 *string "json:\"uuid,omitempty\""
	}, error)
	GroupsEditWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		DefaultPermissions   *int    "json:\"default_permissions,omitempty\""
		Flag                 *string "json:\"flag,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NetworkName          *string "json:\"network_name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		OwnerId              *int    "json:\"owner_id,omitempty\""
		ScanCount            *int    "json:\"scan_count,omitempty\""
		ScannerCount         *string "json:\"scanner_count,omitempty\""
		ScannerId            *int    "json:\"scanner_id,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Token                *string "json:\"token,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
		Uuid                 *string "json:\"uuid,omitempty\""
	}, error)
	GroupsEdit(arg1 int32, arg2 ScannerGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		DefaultPermissions   *int    "json:\"default_permissions,omitempty\""
		Flag                 *string "json:\"flag,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NetworkName          *string "json:\"network_name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		OwnerId              *int    "json:\"owner_id,omitempty\""
		ScanCount            *int    "json:\"scan_count,omitempty\""
		ScannerCount         *string "json:\"scanner_count,omitempty\""
		ScannerId            *int    "json:\"scanner_id,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Token                *string "json:\"token,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
		Uuid                 *string "json:\"uuid,omitempty\""
	}, error)
	GroupsListScanners(arg1 int32, reqEditors ...RequestEditorFn) (*[]struct {
		AwsUpdateInterval    *int      "json:\"aws_update_interval,omitempty\""
		CreationDate         *int      "json:\"creation_date,omitempty\""
		Distro               *string   "json:\"distro,omitempty\""
		EngineVersion        *string   "json:\"engine_version,omitempty\""
		Group                *bool     "json:\"group,omitempty\""
		Hostname             *string   "json:\"hostname,omitempty\""
		Id                   *int      "json:\"id,omitempty\""
		IpAddresses          *[]string "json:\"ip_addresses,omitempty\""
		Key                  *string   "json:\"key,omitempty\""
		LastConnect          *string   "json:\"last_connect,omitempty\""
		LastModificationDate *int      "json:\"last_modification_date,omitempty\""
		License              *struct {
			Agents *int "json:\"agents,omitempty\""
			Apps   *struct {
				Consec *struct {
					ActivationCode *int    "json:\"activation_code,omitempty\""
					ExpirationDate *int    "json:\"expiration_date,omitempty\""
					MaxGb          *int    "json:\"max_gb,omitempty\""
					Mode           *string "json:\"mode,omitempty\""
					Type           *string "json:\"type,omitempty\""
				} "json:\"consec,omitempty\""
				Type *string "json:\"type,omitempty\""
				Was  *struct {
					ActivationCode *int    "json:\"activation_code,omitempty\""
					ExpirationDate *int    "json:\"expiration_date,omitempty\""
					Mode           *string "json:\"mode,omitempty\""
					Type           *string "json:\"type,omitempty\""
					WebAssets      *int    "json:\"web_assets,omitempty\""
				} "json:\"was,omitempty\""
			} "json:\"apps,omitempty\""
			Ips      *int    "json:\"ips,omitempty\""
			Scanners *int    "json:\"scanners,omitempty\""
			Type     *string "json:\"type,omitempty\""
		} "json:\"license,omitempty\""
		Linked             *int    "json:\"linked,omitempty\""
		LoadedPluginSet    *string "json:\"loaded_plugin_set,omitempty\""
		Name               *string "json:\"name,omitempty\""
		NetworkName        *string "json:\"network_name,omitempty\""
		NumHosts           *int    "json:\"num_hosts,omitempty\""
		NumScans           *int    "json:\"num_scans,omitempty\""
		NumSessions        *int    "json:\"num_sessions,omitempty\""
		NumTcpSessions     *int    "json:\"num_tcp_sessions,omitempty\""
		Owner              *string "json:\"owner,omitempty\""
		OwnerId            *int    "json:\"owner_id,omitempty\""
		OwnerName          *string "json:\"owner_name,omitempty\""
		OwnerUuid          *string "json:\"owner_uuid,omitempty\""
		Platform           *string "json:\"platform,omitempty\""
		Pool               *bool   "json:\"pool,omitempty\""
		RegistrationCode   *string "json:\"registration_code,omitempty\""
		ScanCount          *int    "json:\"scan_count,omitempty\""
		Shared             *bool   "json:\"shared,omitempty\""
		Source             *string "json:\"source,omitempty\""
		Status             *string "json:\"status,omitempty\""
		SupportsRemoteLogs *bool   "json:\"supports_remote_logs,omitempty\""
		SupportsWebapp     *bool   "json:\"supports_webapp,omitempty\""
		Timestamp          *int    "json:\"timestamp,omitempty\""
		Type               *string "json:\"type,omitempty\""
		UiBuild            *string "json:\"ui_build,omitempty\""
		UiVersion          *string "json:\"ui_version,omitempty\""
		UserPermissions    *int    "json:\"user_permissions,omitempty\""
		Uuid               *string "json:\"uuid,omitempty\""
	}, error)
	GroupsList(reqEditors ...RequestEditorFn) (*struct {
		CreationDate         *int    "json:\"creation_date,omitempty\""
		DefaultPermissions   *int    "json:\"default_permissions,omitempty\""
		Flag                 *string "json:\"flag,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NetworkName          *string "json:\"network_name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		OwnerId              *int    "json:\"owner_id,omitempty\""
		ScanCount            *int    "json:\"scan_count,omitempty\""
		ScannerCount         *string "json:\"scanner_count,omitempty\""
		ScannerId            *int    "json:\"scanner_id,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Token                *string "json:\"token,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
		Uuid                 *string "json:\"uuid,omitempty\""
	}, error)
}

ScannerInterface contains all methods for the nessus api

type Scanners

type Scanners struct {
	*ClientWithResponses
}

Scanners implementation of the Scanners interface

func (*Scanners) ControlScans

func (c *Scanners) ControlScans(arg1 int32, arg2 string, arg3 ScannersControlScansJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)

ControlScans calls the Scanners ´s function

func (*Scanners) ControlScansWithBody

func (c *Scanners) ControlScansWithBody(arg1 int32, arg2 string, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)

ControlScansWithBody calls the Scanners ´s function

func (*Scanners) Delete

func (c *Scanners) Delete(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)

Delete calls the Scanners ´s function

func (*Scanners) Details

func (c *Scanners) Details(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
	AwsUpdateInterval    *int      "json:\"aws_update_interval,omitempty\""
	CreationDate         *int      "json:\"creation_date,omitempty\""
	Distro               *string   "json:\"distro,omitempty\""
	EngineVersion        *string   "json:\"engine_version,omitempty\""
	Group                *bool     "json:\"group,omitempty\""
	Hostname             *string   "json:\"hostname,omitempty\""
	Id                   *int      "json:\"id,omitempty\""
	IpAddresses          *[]string "json:\"ip_addresses,omitempty\""
	Key                  *string   "json:\"key,omitempty\""
	LastConnect          *string   "json:\"last_connect,omitempty\""
	LastModificationDate *int      "json:\"last_modification_date,omitempty\""
	License              *struct {
		Agents *int "json:\"agents,omitempty\""
		Apps   *struct {
			Consec *struct {
				ActivationCode *int    "json:\"activation_code,omitempty\""
				ExpirationDate *int    "json:\"expiration_date,omitempty\""
				MaxGb          *int    "json:\"max_gb,omitempty\""
				Mode           *string "json:\"mode,omitempty\""
				Type           *string "json:\"type,omitempty\""
			} "json:\"consec,omitempty\""
			Type *string "json:\"type,omitempty\""
			Was  *struct {
				ActivationCode *int    "json:\"activation_code,omitempty\""
				ExpirationDate *int    "json:\"expiration_date,omitempty\""
				Mode           *string "json:\"mode,omitempty\""
				Type           *string "json:\"type,omitempty\""
				WebAssets      *int    "json:\"web_assets,omitempty\""
			} "json:\"was,omitempty\""
		} "json:\"apps,omitempty\""
		Ips      *int    "json:\"ips,omitempty\""
		Scanners *int    "json:\"scanners,omitempty\""
		Type     *string "json:\"type,omitempty\""
	} "json:\"license,omitempty\""
	Linked             *int    "json:\"linked,omitempty\""
	LoadedPluginSet    *string "json:\"loaded_plugin_set,omitempty\""
	Name               *string "json:\"name,omitempty\""
	NetworkName        *string "json:\"network_name,omitempty\""
	NumHosts           *int    "json:\"num_hosts,omitempty\""
	NumScans           *int    "json:\"num_scans,omitempty\""
	NumSessions        *int    "json:\"num_sessions,omitempty\""
	NumTcpSessions     *int    "json:\"num_tcp_sessions,omitempty\""
	Owner              *string "json:\"owner,omitempty\""
	OwnerId            *int    "json:\"owner_id,omitempty\""
	OwnerName          *string "json:\"owner_name,omitempty\""
	OwnerUuid          *string "json:\"owner_uuid,omitempty\""
	Platform           *string "json:\"platform,omitempty\""
	Pool               *bool   "json:\"pool,omitempty\""
	RegistrationCode   *string "json:\"registration_code,omitempty\""
	ScanCount          *int    "json:\"scan_count,omitempty\""
	Shared             *bool   "json:\"shared,omitempty\""
	Source             *string "json:\"source,omitempty\""
	Status             *string "json:\"status,omitempty\""
	SupportsRemoteLogs *bool   "json:\"supports_remote_logs,omitempty\""
	SupportsWebapp     *bool   "json:\"supports_webapp,omitempty\""
	Timestamp          *int    "json:\"timestamp,omitempty\""
	Type               *string "json:\"type,omitempty\""
	UiBuild            *string "json:\"ui_build,omitempty\""
	UiVersion          *string "json:\"ui_version,omitempty\""
	UserPermissions    *int    "json:\"user_permissions,omitempty\""
	Uuid               *string "json:\"uuid,omitempty\""
}, error)

Details calls the Scanners ´s function

func (*Scanners) Edit

func (c *Scanners) Edit(arg1 int32, arg2 ScannersEditJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	ContainerUuid      *string "json:\"container_uuid,omitempty\""
	Created            *int    "json:\"created,omitempty\""
	DefaultPermissions *int    "json:\"default_permissions,omitempty\""
	Id                 *int    "json:\"id,omitempty\""
	Key                *string "json:\"key,omitempty\""
	Modified           *int    "json:\"modified,omitempty\""
	Name               *string "json:\"name,omitempty\""
	NetworkName        *string "json:\"network_name,omitempty\""
	OwnerUuid          *string "json:\"owner_uuid,omitempty\""
	Shared             *bool   "json:\"shared,omitempty\""
	Status             *string "json:\"status,omitempty\""
	UserPermissions    *int    "json:\"user_permissions,omitempty\""
	Uuid               *string "json:\"uuid,omitempty\""
}, error)

Edit calls the Scanners ´s function

func (*Scanners) EditWithBody

func (c *Scanners) EditWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	ContainerUuid      *string "json:\"container_uuid,omitempty\""
	Created            *int    "json:\"created,omitempty\""
	DefaultPermissions *int    "json:\"default_permissions,omitempty\""
	Id                 *int    "json:\"id,omitempty\""
	Key                *string "json:\"key,omitempty\""
	Modified           *int    "json:\"modified,omitempty\""
	Name               *string "json:\"name,omitempty\""
	NetworkName        *string "json:\"network_name,omitempty\""
	OwnerUuid          *string "json:\"owner_uuid,omitempty\""
	Shared             *bool   "json:\"shared,omitempty\""
	Status             *string "json:\"status,omitempty\""
	UserPermissions    *int    "json:\"user_permissions,omitempty\""
	Uuid               *string "json:\"uuid,omitempty\""
}, error)

EditWithBody calls the Scanners ´s function

func (*Scanners) GetAwsTargets

func (c *Scanners) GetAwsTargets(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
	InstanceId *string "json:\"instance_id,omitempty\""
	Name       *string "json:\"name,omitempty\""
	PrivateIp  *string "json:\"private_ip,omitempty\""
	PublicIp   *string "json:\"public_ip,omitempty\""
	ScannerId  *int    "json:\"scanner_id,omitempty\""
	State      *string "json:\"state,omitempty\""
	Type       *string "json:\"type,omitempty\""
	Zone       *string "json:\"zone,omitempty\""
}, error)

GetAwsTargets calls the Scanners ´s function

func (*Scanners) GetScannerKey

func (c *Scanners) GetScannerKey(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
	ScannerId *string "json:\"scanner_id,omitempty\""
}, error)

GetScannerKey calls the Scanners ´s function

func (*Scanners) GetScans

func (c *Scanners) GetScans(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
	Id                   *string "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NetworkId            *string "json:\"network_id,omitempty\""
	Remote               *bool   "json:\"remote,omitempty\""
	ScanId               *int    "json:\"scan_id,omitempty\""
	ScannerUuid          *string "json:\"scanner_uuid,omitempty\""
	StartTime            *int    "json:\"start_time,omitempty\""
	Status               *string "json:\"status,omitempty\""
	User                 *string "json:\"user,omitempty\""
}, error)

GetScans calls the Scanners ´s function

func (*Scanners) List

func (c *Scanners) List(reqEditors ...RequestEditorFn) (*struct {
	Scanners []struct {
		Challenge            *string   `json:"challenge,omitempty"`
		AwsUpdateInterval    *int      "json:\"aws_update_interval,omitempty\""
		CreationDate         *int      "json:\"creation_date,omitempty\""
		Distro               *string   "json:\"distro,omitempty\""
		EngineVersion        *string   "json:\"engine_version,omitempty\""
		Group                *bool     "json:\"group,omitempty\""
		Hostname             *string   "json:\"hostname,omitempty\""
		Id                   *int      "json:\"id,omitempty\""
		IpAddresses          *[]string "json:\"ip_addresses,omitempty\""
		Key                  *string   "json:\"key,omitempty\""
		LastConnect          *string   "json:\"last_connect,omitempty\""
		LastModificationDate *int      "json:\"last_modification_date,omitempty\""
		License              *struct {
			Agents *int "json:\"agents,omitempty\""
			Apps   *struct {
				Consec *struct {
					ActivationCode *int    "json:\"activation_code,omitempty\""
					ExpirationDate *int    "json:\"expiration_date,omitempty\""
					MaxGb          *int    "json:\"max_gb,omitempty\""
					Mode           *string "json:\"mode,omitempty\""
					Type           *string "json:\"type,omitempty\""
				} "json:\"consec,omitempty\""
				Type *string "json:\"type,omitempty\""
				Was  *struct {
					ActivationCode *int    "json:\"activation_code,omitempty\""
					ExpirationDate *int    "json:\"expiration_date,omitempty\""
					Mode           *string "json:\"mode,omitempty\""
					Type           *string "json:\"type,omitempty\""
					WebAssets      *int    "json:\"web_assets,omitempty\""
				} "json:\"was,omitempty\""
			} "json:\"apps,omitempty\""
			Ips      *int    "json:\"ips,omitempty\""
			Scanners *int    "json:\"scanners,omitempty\""
			Type     *string "json:\"type,omitempty\""
		} "json:\"license,omitempty\""
		Linked             *int    "json:\"linked,omitempty\""
		LoadedPluginSet    *string "json:\"loaded_plugin_set,omitempty\""
		Name               *string "json:\"name,omitempty\""
		NetworkName        *string "json:\"network_name,omitempty\""
		NumHosts           *int    "json:\"num_hosts,omitempty\""
		NumScans           *int    "json:\"num_scans,omitempty\""
		NumSessions        *int    "json:\"num_sessions,omitempty\""
		NumTcpSessions     *int    "json:\"num_tcp_sessions,omitempty\""
		Owner              *string "json:\"owner,omitempty\""
		OwnerId            *int    "json:\"owner_id,omitempty\""
		OwnerName          *string "json:\"owner_name,omitempty\""
		OwnerUuid          *string "json:\"owner_uuid,omitempty\""
		Platform           *string "json:\"platform,omitempty\""
		Pool               *bool   "json:\"pool,omitempty\""
		RegistrationCode   *string "json:\"registration_code,omitempty\""
		ScanCount          *int    "json:\"scan_count,omitempty\""
		Shared             *int    "json:\"shared,omitempty\""
		Source             *string "json:\"source,omitempty\""
		Status             *string "json:\"status,omitempty\""
		SupportsRemoteLogs *bool   "json:\"supports_remote_logs,omitempty\""
		SupportsWebapp     *bool   "json:\"supports_webapp,omitempty\""
		Timestamp          *int    "json:\"timestamp,omitempty\""
		Type               *string "json:\"type,omitempty\""
		UiBuild            *string "json:\"ui_build,omitempty\""
		UiVersion          *string "json:\"ui_version,omitempty\""
		UserPermissions    *int    "json:\"user_permissions,omitempty\""
		Uuid               *string "json:\"uuid,omitempty\""
	} "json:\"scanners,omitempty\""
}, error)

List calls the Scanners ´s function

func (*Scanners) ToggleLinkState

func (c *Scanners) ToggleLinkState(arg1 int32, arg2 ScannersToggleLinkStateJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)

ToggleLinkState calls the Scanners ´s function

func (*Scanners) ToggleLinkStateWithBody

func (c *Scanners) ToggleLinkStateWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)

ToggleLinkStateWithBody calls the Scanners ´s function

type ScannersControlScansJSONBody

type ScannersControlScansJSONBody struct {
	// An action to perform on a scan. Valid values are `stop`, `pause`, and `resume`.
	Action string `json:"action"`
}

ScannersControlScansJSONBody defines parameters for ScannersControlScans.

type ScannersControlScansJSONRequestBody

type ScannersControlScansJSONRequestBody ScannersControlScansJSONBody

ScannersControlScansJSONRequestBody defines body for ScannersControlScans for application/json ContentType.

type ScannersControlScansResponse

type ScannersControlScansResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseScannersControlScansResponse

func ParseScannersControlScansResponse(rsp *http.Response) (*ScannersControlScansResponse, error)

ParseScannersControlScansResponse parses an HTTP response from a ScannersControlScansWithResponse call

func (ScannersControlScansResponse) Status

Status returns HTTPResponse.Status

func (ScannersControlScansResponse) StatusCode

func (r ScannersControlScansResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannersDeleteResponse

type ScannersDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseScannersDeleteResponse

func ParseScannersDeleteResponse(rsp *http.Response) (*ScannersDeleteResponse, error)

ParseScannersDeleteResponse parses an HTTP response from a ScannersDeleteWithResponse call

func (ScannersDeleteResponse) Status

func (r ScannersDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (ScannersDeleteResponse) StatusCode

func (r ScannersDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannersDetailsResponse

type ScannersDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Specifies how often, in minutes, the scanner checks in with Tenable.io (Amazon Web Services scanners only).
		AwsUpdateInterval *int `json:"aws_update_interval,omitempty"`

		// The Unix timestamp when the scanner was created. This attribute specifies the original creation date if the scanner was migrated.
		CreationDate *int `json:"creation_date,omitempty"`

		// The scanner operating system distribution.
		Distro *string `json:"distro,omitempty"`

		// The version of the scanner.
		EngineVersion *string `json:"engine_version,omitempty"`

		// Indicates whether the scanner belongs to a scanner group ('true') or not ('false').
		Group *bool `json:"group,omitempty"`

		// The hostname of the scanner.
		Hostname *string `json:"hostname,omitempty"`

		// The unique ID of the scanner.
		Id *int `json:"id,omitempty"`

		// A list of IP addresses associated with the scanner.
		IpAddresses *[]string `json:"ip_addresses,omitempty"`

		// The linking key, that is, the alpha-numeric sequence of characters you use to link a scanner to Tenable.io. For more information about linking a scanner to Tenable.io, see the [Tenable.io Vulnerability Management Guide](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Settings/LinkaSensor.htm).
		Key *string `json:"key,omitempty"`

		// The Unix timestamp when any of the scanner's tasks have provided its last update.
		LastConnect *string `json:"last_connect,omitempty"`

		// The Unix timestamp when the scanner was last modified.
		LastModificationDate *int `json:"last_modification_date,omitempty"`
		License              *struct {
			// The number of agents the scanner is licensed to use.
			Agents *int `json:"agents,omitempty"`
			Apps   *struct {
				Consec *struct {
					// The activation code you used to enable the license. This value is present for standard licenses only.
					ActivationCode *int `json:"activation_code,omitempty"`

					// The Unix timestamp when the license expires.
					ExpirationDate *int `json:"expiration_date,omitempty"`

					// The maximum memory (in GB) on the scanner allotted for the Tenable licensed application.
					MaxGb *int `json:"max_gb,omitempty"`

					// Indicates whether the product license is an evaluation license (`eval`) or standard license (`standard`).
					Mode *string `json:"mode,omitempty"`

					// Indicates that the scanner is licensed to perform Tenable.io Container Security scans.
					Type *string `json:"type,omitempty"`
				} `json:"consec,omitempty"`

				// The Tenable products licensed on the scanner.
				Type *string `json:"type,omitempty"`
				Was  *struct {
					// The activation code you used to enable the license. This value is present for standard licenses only.
					ActivationCode *int `json:"activation_code,omitempty"`

					// The Unix timestamp when the license expires.
					ExpirationDate *int `json:"expiration_date,omitempty"`

					// Indicates whether the product license is an evaluation license (`eval`) or standard license (`standard`).
					Mode *string `json:"mode,omitempty"`

					// Indicates that the scanner is licensed to perform Tenable.io Web Application Scanning scans.
					Type *string `json:"type,omitempty"`

					// The number of web assets which your license authorizes you to scan.
					WebAssets *int `json:"web_assets,omitempty"`
				} `json:"was,omitempty"`
			} `json:"apps,omitempty"`

			// The number of hosts the scanner is licensed to use.
			Ips *int `json:"ips,omitempty"`

			// The number of scanners the scanner is licensed to use.
			Scanners *int `json:"scanners,omitempty"`

			// The license type.
			Type *string `json:"type,omitempty"`
		} `json:"license,omitempty"`

		// Specifies whether you disabled (`0`) or enabled (`1`) the scanner. For more information, see the [PUT /scanners/{scanner_id}/link](ref:scanners-toggle-link-state) endpoint.
		Linked *int `json:"linked,omitempty"`

		// The current plugin set on the scanner.
		LoadedPluginSet *string `json:"loaded_plugin_set,omitempty"`

		// The user-defined name of the scanner.
		Name *string `json:"name,omitempty"`

		// The name of the network object associated with the scanner. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
		NetworkName *string `json:"network_name,omitempty"`

		// The number of hosts that the scanner's analysis has discovered.
		NumHosts *int `json:"num_hosts,omitempty"`

		// The number of scans (tasks) the scanner is currently executing.
		NumScans *int `json:"num_scans,omitempty"`

		// The number of active sessions between the scanner and hosts.
		NumSessions *int `json:"num_sessions,omitempty"`

		// The number of active TCP sessions between the scanner and hosts.
		NumTcpSessions *int `json:"num_tcp_sessions,omitempty"`

		// The owner of the scanner.
		Owner *string `json:"owner,omitempty"`

		// The ID of the owner of the scanner.
		OwnerId *int `json:"owner_id,omitempty"`

		// The username of the owner of the scanner.
		OwnerName *string `json:"owner_name,omitempty"`

		// The UUID of the owner of the scanner.
		OwnerUuid *string `json:"owner_uuid,omitempty"`

		// The platform of the scanner.
		Platform *string `json:"platform,omitempty"`

		// Indicates whether the scanner is part of a scanner group ('true') or not ('false'). For more information about scanner groups, see the [Scanner Groups](ref:scanner-groups) endpoints.
		Pool *bool `json:"pool,omitempty"`

		// The registration code of the scanner.
		RegistrationCode *string `json:"registration_code,omitempty"`

		// The number of scans that the scanner is currently running.
		ScanCount *int `json:"scan_count,omitempty"`

		// Indicates whether anyone other than the scanner owner has explicit access to the scanner (`1`).
		Shared *bool `json:"shared,omitempty"`

		// Always set to `service`.
		Source *string `json:"source,omitempty"`

		// The status of the scanner (`on` or `off`).
		Status *string `json:"status,omitempty"`

		// Indicates if the scanner supports remote logging.
		SupportsRemoteLogs *bool `json:"supports_remote_logs,omitempty"`

		// Indicates if the scanner supports web application scanning.
		SupportsWebapp *bool `json:"supports_webapp,omitempty"`

		// Equivalent to the `last_modification_date` attribute.
		Timestamp *int `json:"timestamp,omitempty"`

		// The type of scanner (`local`, `managed`, `managed_pvs`, `pool`, `remote`, or `webapp`).
		Type *string `json:"type,omitempty"`

		// The backend build of Nessus that is running on the scanner.
		UiBuild *string `json:"ui_build,omitempty"`

		// The backend version of Nessus that is running on the scanner.
		UiVersion *string `json:"ui_version,omitempty"`

		// The permissions you (the current user) have been assigned for the scanner. See [Permissions](doc:permissions).
		UserPermissions *int `json:"user_permissions,omitempty"`

		// The UUID of the scanner.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseScannersDetailsResponse

func ParseScannersDetailsResponse(rsp *http.Response) (*ScannersDetailsResponse, error)

ParseScannersDetailsResponse parses an HTTP response from a ScannersDetailsWithResponse call

func (ScannersDetailsResponse) Status

func (r ScannersDetailsResponse) Status() string

Status returns HTTPResponse.Status

func (ScannersDetailsResponse) StatusCode

func (r ScannersDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannersEditJSONBody

type ScannersEditJSONBody struct {
	// Specifies how often, in minutes, the scanner checks in with Tenable.io (Amazon Web Services scanners only).
	AwsUpdateInterval *int32 `json:"aws_update_interval,omitempty"`

	// Pass 1 to reboot the scanner and run the latest software update (only valid if automatic updates are disabled).
	FinishUpdate *int32 `json:"finish_update,omitempty"`

	// Pass 1 to force a plugin update.
	ForcePluginUpdate *int32 `json:"force_plugin_update,omitempty"`

	// Pass 1 to force a UI update.
	ForceUiUpdate *int32 `json:"force_ui_update,omitempty"`

	// Sets the registration code for the scanner.
	RegistrationCode *string `json:"registration_code,omitempty"`
}

ScannersEditJSONBody defines parameters for ScannersEdit.

type ScannersEditJSONRequestBody

type ScannersEditJSONRequestBody ScannersEditJSONBody

ScannersEditJSONRequestBody defines body for ScannersEdit for application/json ContentType.

type ScannersEditResponse

type ScannersEditResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The UUID of the Tenable.io instance to which the scanner is linked.
		ContainerUuid *string `json:"container_uuid,omitempty"`

		// The Unix timestamp when you linked the scanner to the Tenable.io instance.
		Created *int `json:"created,omitempty"`

		// The default permissions value set for the scanner. (Possible values are: 16, 24, 32, 40, and 64)
		DefaultPermissions *int `json:"default_permissions,omitempty"`

		// The unique ID of the scanner.
		Id *int `json:"id,omitempty"`

		// The linking key, that is, the alpha-numeric sequence of characters you use to link a scanner to Tenable.io. For more information about linking a scanner to Tenable.io, see the [Tenable.io Vulnerability Management Guide](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Settings/LinkaSensor.htm).
		Key *string `json:"key,omitempty"`

		// The Unix timestamp when the scanner configuration was last modified.
		Modified *int `json:"modified,omitempty"`

		// The user-defined name of the scanner.
		Name *string `json:"name,omitempty"`

		// The name of the network object associated with the scanner. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
		NetworkName *string `json:"network_name,omitempty"`

		// The UUID of the owner of the scanner.
		OwnerUuid *string `json:"owner_uuid,omitempty"`

		// Indicates whether anyone other than the scanner owner has explicit access to the scanner (`1`).
		Shared *bool `json:"shared,omitempty"`

		// The status of the scanner (`on` or `off`).
		Status *string `json:"status,omitempty"`

		// The permissions you (the current user) have been assigned for the scanner. See [Permissions](doc:permissions).
		UserPermissions *int `json:"user_permissions,omitempty"`

		// The UUID of the scanner.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseScannersEditResponse

func ParseScannersEditResponse(rsp *http.Response) (*ScannersEditResponse, error)

ParseScannersEditResponse parses an HTTP response from a ScannersEditWithResponse call

func (ScannersEditResponse) Status

func (r ScannersEditResponse) Status() string

Status returns HTTPResponse.Status

func (ScannersEditResponse) StatusCode

func (r ScannersEditResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannersGetAwsTargetsResponse

type ScannersGetAwsTargetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Unique instance identifier from Amazon.
		InstanceId *string `json:"instance_id,omitempty"`

		// The user-defined name of the instance.
		Name *string `json:"name,omitempty"`

		// Private IP address of the AWS instance.
		PrivateIp *string `json:"private_ip,omitempty"`

		// Public IP address of the AWS instance.
		PublicIp *string `json:"public_ip,omitempty"`

		// The ID of the scanner.
		ScannerId *int `json:"scanner_id,omitempty"`

		// The state of the instance. Can be one of the following values: `running`, `stopped`, or `terminated`.
		State *string `json:"state,omitempty"`

		// The size of the instance. Example: `t2.small`, `t2.medium`, etc.
		Type *string `json:"type,omitempty"`

		// The availability zone for the instance. Example: `us-east-1a`, `us-east-1b`, etc.
		Zone *string `json:"zone,omitempty"`
	}
}

func ParseScannersGetAwsTargetsResponse

func ParseScannersGetAwsTargetsResponse(rsp *http.Response) (*ScannersGetAwsTargetsResponse, error)

ParseScannersGetAwsTargetsResponse parses an HTTP response from a ScannersGetAwsTargetsWithResponse call

func (ScannersGetAwsTargetsResponse) Status

Status returns HTTPResponse.Status

func (ScannersGetAwsTargetsResponse) StatusCode

func (r ScannersGetAwsTargetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannersGetScannerKeyResponse

type ScannersGetScannerKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The linking key, that is, the alpha-numeric sequence of characters you use to link a scanner to Tenable.io. For more information about linking a scanner to Tenable.io, see the [Tenable.io Vulnerability Management Guide](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Settings/LinkaSensor.htm).
		ScannerId *string `json:"scanner_id,omitempty"`
	}
}

func ParseScannersGetScannerKeyResponse

func ParseScannersGetScannerKeyResponse(rsp *http.Response) (*ScannersGetScannerKeyResponse, error)

ParseScannersGetScannerKeyResponse parses an HTTP response from a ScannersGetScannerKeyWithResponse call

func (ScannersGetScannerKeyResponse) Status

Status returns HTTPResponse.Status

func (ScannersGetScannerKeyResponse) StatusCode

func (r ScannersGetScannerKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannersGetScansResponse

type ScannersGetScansResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The scan UUID.
		Id *string `json:"id,omitempty"`

		// The last time the scan was modified.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The name of the scan.
		Name *string `json:"name,omitempty"`

		// The ID of the network object associated with the scanner currently running the scan. The default network ID is `00000000-0000-0000-0000-000000000000`. To determine the ID of a custom network, use the [GET /networks](ref:networks-list) endpoint. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
		NetworkId *string `json:"network_id,omitempty"`

		// Indicates whether the scan is running remotely ('true') or not ('false').
		Remote *bool `json:"remote,omitempty"`

		// The ID of the scan.
		ScanId *int `json:"scan_id,omitempty"`

		// The UUID of the scanner the scan belongs to.
		ScannerUuid *string `json:"scanner_uuid,omitempty"`

		// When the scan was started.
		StartTime *int `json:"start_time,omitempty"`

		// Scan status. Can be one of the following values: pending, processing, stopping, pausing, paused, resuming, or running.
		Status *string `json:"status,omitempty"`

		// The username of the owner of the scan.
		User *string `json:"user,omitempty"`
	}
}

func ParseScannersGetScansResponse

func ParseScannersGetScansResponse(rsp *http.Response) (*ScannersGetScansResponse, error)

ParseScannersGetScansResponse parses an HTTP response from a ScannersGetScansWithResponse call

func (ScannersGetScansResponse) Status

func (r ScannersGetScansResponse) Status() string

Status returns HTTPResponse.Status

func (ScannersGetScansResponse) StatusCode

func (r ScannersGetScansResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannersInterface

type ScannersInterface interface {
	ControlScansWithBody(arg1 int32, arg2 string, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)
	ControlScans(arg1 int32, arg2 string, arg3 ScannersControlScansJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)
	Delete(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)
	Details(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
		AwsUpdateInterval    *int      "json:\"aws_update_interval,omitempty\""
		CreationDate         *int      "json:\"creation_date,omitempty\""
		Distro               *string   "json:\"distro,omitempty\""
		EngineVersion        *string   "json:\"engine_version,omitempty\""
		Group                *bool     "json:\"group,omitempty\""
		Hostname             *string   "json:\"hostname,omitempty\""
		Id                   *int      "json:\"id,omitempty\""
		IpAddresses          *[]string "json:\"ip_addresses,omitempty\""
		Key                  *string   "json:\"key,omitempty\""
		LastConnect          *string   "json:\"last_connect,omitempty\""
		LastModificationDate *int      "json:\"last_modification_date,omitempty\""
		License              *struct {
			Agents *int "json:\"agents,omitempty\""
			Apps   *struct {
				Consec *struct {
					ActivationCode *int    "json:\"activation_code,omitempty\""
					ExpirationDate *int    "json:\"expiration_date,omitempty\""
					MaxGb          *int    "json:\"max_gb,omitempty\""
					Mode           *string "json:\"mode,omitempty\""
					Type           *string "json:\"type,omitempty\""
				} "json:\"consec,omitempty\""
				Type *string "json:\"type,omitempty\""
				Was  *struct {
					ActivationCode *int    "json:\"activation_code,omitempty\""
					ExpirationDate *int    "json:\"expiration_date,omitempty\""
					Mode           *string "json:\"mode,omitempty\""
					Type           *string "json:\"type,omitempty\""
					WebAssets      *int    "json:\"web_assets,omitempty\""
				} "json:\"was,omitempty\""
			} "json:\"apps,omitempty\""
			Ips      *int    "json:\"ips,omitempty\""
			Scanners *int    "json:\"scanners,omitempty\""
			Type     *string "json:\"type,omitempty\""
		} "json:\"license,omitempty\""
		Linked             *int    "json:\"linked,omitempty\""
		LoadedPluginSet    *string "json:\"loaded_plugin_set,omitempty\""
		Name               *string "json:\"name,omitempty\""
		NetworkName        *string "json:\"network_name,omitempty\""
		NumHosts           *int    "json:\"num_hosts,omitempty\""
		NumScans           *int    "json:\"num_scans,omitempty\""
		NumSessions        *int    "json:\"num_sessions,omitempty\""
		NumTcpSessions     *int    "json:\"num_tcp_sessions,omitempty\""
		Owner              *string "json:\"owner,omitempty\""
		OwnerId            *int    "json:\"owner_id,omitempty\""
		OwnerName          *string "json:\"owner_name,omitempty\""
		OwnerUuid          *string "json:\"owner_uuid,omitempty\""
		Platform           *string "json:\"platform,omitempty\""
		Pool               *bool   "json:\"pool,omitempty\""
		RegistrationCode   *string "json:\"registration_code,omitempty\""
		ScanCount          *int    "json:\"scan_count,omitempty\""
		Shared             *bool   "json:\"shared,omitempty\""
		Source             *string "json:\"source,omitempty\""
		Status             *string "json:\"status,omitempty\""
		SupportsRemoteLogs *bool   "json:\"supports_remote_logs,omitempty\""
		SupportsWebapp     *bool   "json:\"supports_webapp,omitempty\""
		Timestamp          *int    "json:\"timestamp,omitempty\""
		Type               *string "json:\"type,omitempty\""
		UiBuild            *string "json:\"ui_build,omitempty\""
		UiVersion          *string "json:\"ui_version,omitempty\""
		UserPermissions    *int    "json:\"user_permissions,omitempty\""
		Uuid               *string "json:\"uuid,omitempty\""
	}, error)
	EditWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		ContainerUuid      *string "json:\"container_uuid,omitempty\""
		Created            *int    "json:\"created,omitempty\""
		DefaultPermissions *int    "json:\"default_permissions,omitempty\""
		Id                 *int    "json:\"id,omitempty\""
		Key                *string "json:\"key,omitempty\""
		Modified           *int    "json:\"modified,omitempty\""
		Name               *string "json:\"name,omitempty\""
		NetworkName        *string "json:\"network_name,omitempty\""
		OwnerUuid          *string "json:\"owner_uuid,omitempty\""
		Shared             *bool   "json:\"shared,omitempty\""
		Status             *string "json:\"status,omitempty\""
		UserPermissions    *int    "json:\"user_permissions,omitempty\""
		Uuid               *string "json:\"uuid,omitempty\""
	}, error)
	Edit(arg1 int32, arg2 ScannersEditJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		ContainerUuid      *string "json:\"container_uuid,omitempty\""
		Created            *int    "json:\"created,omitempty\""
		DefaultPermissions *int    "json:\"default_permissions,omitempty\""
		Id                 *int    "json:\"id,omitempty\""
		Key                *string "json:\"key,omitempty\""
		Modified           *int    "json:\"modified,omitempty\""
		Name               *string "json:\"name,omitempty\""
		NetworkName        *string "json:\"network_name,omitempty\""
		OwnerUuid          *string "json:\"owner_uuid,omitempty\""
		Shared             *bool   "json:\"shared,omitempty\""
		Status             *string "json:\"status,omitempty\""
		UserPermissions    *int    "json:\"user_permissions,omitempty\""
		Uuid               *string "json:\"uuid,omitempty\""
	}, error)
	GetAwsTargets(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
		InstanceId *string "json:\"instance_id,omitempty\""
		Name       *string "json:\"name,omitempty\""
		PrivateIp  *string "json:\"private_ip,omitempty\""
		PublicIp   *string "json:\"public_ip,omitempty\""
		ScannerId  *int    "json:\"scanner_id,omitempty\""
		State      *string "json:\"state,omitempty\""
		Type       *string "json:\"type,omitempty\""
		Zone       *string "json:\"zone,omitempty\""
	}, error)
	GetScannerKey(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
		ScannerId *string "json:\"scanner_id,omitempty\""
	}, error)
	GetScans(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
		Id                   *string "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NetworkId            *string "json:\"network_id,omitempty\""
		Remote               *bool   "json:\"remote,omitempty\""
		ScanId               *int    "json:\"scan_id,omitempty\""
		ScannerUuid          *string "json:\"scanner_uuid,omitempty\""
		StartTime            *int    "json:\"start_time,omitempty\""
		Status               *string "json:\"status,omitempty\""
		User                 *string "json:\"user,omitempty\""
	}, error)
	List(reqEditors ...RequestEditorFn) (*struct {
		Scanners []struct {
			Challenge            *string   `json:"challenge,omitempty"`
			AwsUpdateInterval    *int      "json:\"aws_update_interval,omitempty\""
			CreationDate         *int      "json:\"creation_date,omitempty\""
			Distro               *string   "json:\"distro,omitempty\""
			EngineVersion        *string   "json:\"engine_version,omitempty\""
			Group                *bool     "json:\"group,omitempty\""
			Hostname             *string   "json:\"hostname,omitempty\""
			Id                   *int      "json:\"id,omitempty\""
			IpAddresses          *[]string "json:\"ip_addresses,omitempty\""
			Key                  *string   "json:\"key,omitempty\""
			LastConnect          *string   "json:\"last_connect,omitempty\""
			LastModificationDate *int      "json:\"last_modification_date,omitempty\""
			License              *struct {
				Agents *int "json:\"agents,omitempty\""
				Apps   *struct {
					Consec *struct {
						ActivationCode *int    "json:\"activation_code,omitempty\""
						ExpirationDate *int    "json:\"expiration_date,omitempty\""
						MaxGb          *int    "json:\"max_gb,omitempty\""
						Mode           *string "json:\"mode,omitempty\""
						Type           *string "json:\"type,omitempty\""
					} "json:\"consec,omitempty\""
					Type *string "json:\"type,omitempty\""
					Was  *struct {
						ActivationCode *int    "json:\"activation_code,omitempty\""
						ExpirationDate *int    "json:\"expiration_date,omitempty\""
						Mode           *string "json:\"mode,omitempty\""
						Type           *string "json:\"type,omitempty\""
						WebAssets      *int    "json:\"web_assets,omitempty\""
					} "json:\"was,omitempty\""
				} "json:\"apps,omitempty\""
				Ips      *int    "json:\"ips,omitempty\""
				Scanners *int    "json:\"scanners,omitempty\""
				Type     *string "json:\"type,omitempty\""
			} "json:\"license,omitempty\""
			Linked             *int    "json:\"linked,omitempty\""
			LoadedPluginSet    *string "json:\"loaded_plugin_set,omitempty\""
			Name               *string "json:\"name,omitempty\""
			NetworkName        *string "json:\"network_name,omitempty\""
			NumHosts           *int    "json:\"num_hosts,omitempty\""
			NumScans           *int    "json:\"num_scans,omitempty\""
			NumSessions        *int    "json:\"num_sessions,omitempty\""
			NumTcpSessions     *int    "json:\"num_tcp_sessions,omitempty\""
			Owner              *string "json:\"owner,omitempty\""
			OwnerId            *int    "json:\"owner_id,omitempty\""
			OwnerName          *string "json:\"owner_name,omitempty\""
			OwnerUuid          *string "json:\"owner_uuid,omitempty\""
			Platform           *string "json:\"platform,omitempty\""
			Pool               *bool   "json:\"pool,omitempty\""
			RegistrationCode   *string "json:\"registration_code,omitempty\""
			ScanCount          *int    "json:\"scan_count,omitempty\""
			Shared             *int    "json:\"shared,omitempty\""
			Source             *string "json:\"source,omitempty\""
			Status             *string "json:\"status,omitempty\""
			SupportsRemoteLogs *bool   "json:\"supports_remote_logs,omitempty\""
			SupportsWebapp     *bool   "json:\"supports_webapp,omitempty\""
			Timestamp          *int    "json:\"timestamp,omitempty\""
			Type               *string "json:\"type,omitempty\""
			UiBuild            *string "json:\"ui_build,omitempty\""
			UiVersion          *string "json:\"ui_version,omitempty\""
			UserPermissions    *int    "json:\"user_permissions,omitempty\""
			Uuid               *string "json:\"uuid,omitempty\""
		} "json:\"scanners,omitempty\""
	}, error)
	ToggleLinkStateWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)
	ToggleLinkState(arg1 int32, arg2 ScannersToggleLinkStateJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)
}

ScannersInterface contains all methods for the nessus api

type ScannersListResponse

type ScannersListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Scanners []struct {
			Challenge *string `json:"challenge,omitempty"`
			// Specifies how often, in minutes, the scanner checks in with Tenable.io (Amazon Web Services scanners only).
			AwsUpdateInterval *int `json:"aws_update_interval,omitempty"`

			// The Unix timestamp when the scanner was created. This attribute specifies the original creation date if the scanner was migrated.
			CreationDate *int `json:"creation_date,omitempty"`

			// The scanner operating system distribution.
			Distro *string `json:"distro,omitempty"`

			// The version of the scanner.
			EngineVersion *string `json:"engine_version,omitempty"`

			// Indicates whether the scanner belongs to a scanner group ('true') or not ('false').
			Group *bool `json:"group,omitempty"`

			// The hostname of the scanner.
			Hostname *string `json:"hostname,omitempty"`

			// The unique ID of the scanner.
			Id *int `json:"id,omitempty"`

			// A list of IP addresses associated with the scanner.
			IpAddresses *[]string `json:"ip_addresses,omitempty"`

			// The linking key, that is, the alpha-numeric sequence of characters you use to link a scanner to Tenable.io. For more information about linking a scanner to Tenable.io, see the [Tenable.io Vulnerability Management Guide](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Settings/LinkaSensor.htm).
			Key *string `json:"key,omitempty"`

			// The Unix timestamp when any of the scanner's tasks have provided its last update.
			LastConnect *string `json:"last_connect,omitempty"`

			// The Unix timestamp when the scanner was last modified.
			LastModificationDate *int `json:"last_modification_date,omitempty"`
			License              *struct {
				// The number of agents the scanner is licensed to use.
				Agents *int `json:"agents,omitempty"`
				Apps   *struct {
					Consec *struct {
						// The activation code you used to enable the license. This value is present for standard licenses only.
						ActivationCode *int `json:"activation_code,omitempty"`

						// The Unix timestamp when the license expires.
						ExpirationDate *int `json:"expiration_date,omitempty"`

						// The maximum memory (in GB) on the scanner allotted for the Tenable licensed application.
						MaxGb *int `json:"max_gb,omitempty"`

						// Indicates whether the product license is an evaluation license (`eval`) or standard license (`standard`).
						Mode *string `json:"mode,omitempty"`

						// Indicates that the scanner is licensed to perform Tenable.io Container Security scans.
						Type *string `json:"type,omitempty"`
					} `json:"consec,omitempty"`

					// The Tenable products licensed on the scanner.
					Type *string `json:"type,omitempty"`
					Was  *struct {
						// The activation code you used to enable the license. This value is present for standard licenses only.
						ActivationCode *int `json:"activation_code,omitempty"`

						// The Unix timestamp when the license expires.
						ExpirationDate *int `json:"expiration_date,omitempty"`

						// Indicates whether the product license is an evaluation license (`eval`) or standard license (`standard`).
						Mode *string `json:"mode,omitempty"`

						// Indicates that the scanner is licensed to perform Tenable.io Web Application Scanning scans.
						Type *string `json:"type,omitempty"`

						// The number of web assets which your license authorizes you to scan.
						WebAssets *int `json:"web_assets,omitempty"`
					} `json:"was,omitempty"`
				} `json:"apps,omitempty"`

				// The number of hosts the scanner is licensed to use.
				Ips *int `json:"ips,omitempty"`

				// The number of scanners the scanner is licensed to use.
				Scanners *int `json:"scanners,omitempty"`

				// The license type.
				Type *string `json:"type,omitempty"`
			} `json:"license,omitempty"`

			// Specifies whether you disabled (`0`) or enabled (`1`) the scanner. For more information, see the [PUT /scanners/{scanner_id}/link](ref:scanners-toggle-link-state) endpoint.
			Linked *int `json:"linked,omitempty"`

			// The current plugin set on the scanner.
			LoadedPluginSet *string `json:"loaded_plugin_set,omitempty"`

			// The user-defined name of the scanner.
			Name *string `json:"name,omitempty"`

			// The name of the network object associated with the scanner. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
			NetworkName *string `json:"network_name,omitempty"`

			// The number of hosts that the scanner's analysis has discovered.
			NumHosts *int `json:"num_hosts,omitempty"`

			// The number of scans (tasks) the scanner is currently executing.
			NumScans *int `json:"num_scans,omitempty"`

			// The number of active sessions between the scanner and hosts.
			NumSessions *int `json:"num_sessions,omitempty"`

			// The number of active TCP sessions between the scanner and hosts.
			NumTcpSessions *int `json:"num_tcp_sessions,omitempty"`

			// The owner of the scanner.
			Owner *string `json:"owner,omitempty"`

			// The ID of the owner of the scanner.
			OwnerId *int `json:"owner_id,omitempty"`

			// The username of the owner of the scanner.
			OwnerName *string `json:"owner_name,omitempty"`

			// The UUID of the owner of the scanner.
			OwnerUuid *string `json:"owner_uuid,omitempty"`

			// The platform of the scanner.
			Platform *string `json:"platform,omitempty"`

			// Indicates whether the scanner is part of a scanner group ('true') or not ('false'). For more information about scanner groups, see the [Scanner Groups](ref:scanner-groups) endpoints.
			Pool *bool `json:"pool,omitempty"`

			// The registration code of the scanner.
			RegistrationCode *string `json:"registration_code,omitempty"`

			// The number of scans that the scanner is currently running.
			ScanCount *int `json:"scan_count,omitempty"`

			// Indicates whether anyone other than the scanner owner has explicit access to the scanner (`1`).
			Shared *int `json:"shared,omitempty"`

			// Always set to `service`.
			Source *string `json:"source,omitempty"`

			// The status of the scanner (`on` or `off`).
			Status *string `json:"status,omitempty"`

			// Indicates if the scanner supports remote logging.
			SupportsRemoteLogs *bool `json:"supports_remote_logs,omitempty"`

			// Indicates if the scanner supports web application scanning.
			SupportsWebapp *bool `json:"supports_webapp,omitempty"`

			// Equivalent to the `last_modification_date` attribute.
			Timestamp *int `json:"timestamp,omitempty"`

			// The type of scanner (`local`, `managed`, `managed_pvs`, `pool`, `remote`, or `webapp`).
			Type *string `json:"type,omitempty"`

			// The backend build of Nessus that is running on the scanner.
			UiBuild *string `json:"ui_build,omitempty"`

			// The backend version of Nessus that is running on the scanner.
			UiVersion *string `json:"ui_version,omitempty"`

			// The permissions you (the current user) have been assigned for the scanner. See [Permissions](doc:permissions).
			UserPermissions *int `json:"user_permissions,omitempty"`

			// The UUID of the scanner.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"scanners,omitempty"`
	}
}

func ParseScannersListResponse

func ParseScannersListResponse(rsp *http.Response) (*ScannersListResponse, error)

ParseScannersListResponse parses an HTTP response from a ScannersListWithResponse call

func (ScannersListResponse) Status

func (r ScannersListResponse) Status() string

Status returns HTTPResponse.Status

func (ScannersListResponse) StatusCode

func (r ScannersListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScannersToggleLinkStateJSONBody

type ScannersToggleLinkStateJSONBody struct {
	// Pass `1` enable the link. Pass `0` to disable.
	Link int32 `json:"link"`
}

ScannersToggleLinkStateJSONBody defines parameters for ScannersToggleLinkState.

type ScannersToggleLinkStateJSONRequestBody

type ScannersToggleLinkStateJSONRequestBody ScannersToggleLinkStateJSONBody

ScannersToggleLinkStateJSONRequestBody defines body for ScannersToggleLinkState for application/json ContentType.

type ScannersToggleLinkStateResponse

type ScannersToggleLinkStateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseScannersToggleLinkStateResponse

func ParseScannersToggleLinkStateResponse(rsp *http.Response) (*ScannersToggleLinkStateResponse, error)

ParseScannersToggleLinkStateResponse parses an HTTP response from a ScannersToggleLinkStateWithResponse call

func (ScannersToggleLinkStateResponse) Status

Status returns HTTPResponse.Status

func (ScannersToggleLinkStateResponse) StatusCode

func (r ScannersToggleLinkStateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Scans

type Scans struct {
	*ClientWithResponses
}

Scans implementation of the Scans interface

func (*Scans) Attachments

func (c *Scans) Attachments(arg1 string, arg2 string, params *ScansAttachmentsParams, reqEditors ...RequestEditorFn) (*ScansAttachmentsResponse, error)

Attachments calls the Scans ´s function

func (*Scans) Configure

func (c *Scans) Configure(arg1 string, arg2 ScansConfigureJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	ContainerId          *string "json:\"container_id,omitempty\""
	CreationDate         *int32  "json:\"creation_date,omitempty\""
	CustomTargets        *string "json:\"custom_targets,omitempty\""
	DashboardFile        *string "json:\"dashboard_file,omitempty\""
	DefaultPermissions   *int32  "json:\"default_permissions,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Emails               *string "json:\"emails,omitempty\""
	Enabled              *bool   "json:\"enabled,omitempty\""
	Id                   *int32  "json:\"id,omitempty\""
	IncludeAggregate     *bool   "json:\"include_aggregate,omitempty\""
	LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NotificationFilters  *[]struct {
		Filter  *string "json:\"filter,omitempty\""
		Quality *string "json:\"quality,omitempty\""
		Value   *string "json:\"value,omitempty\""
	} "json:\"notification_filters,omitempty\""
	Owner             *string   "json:\"owner,omitempty\""
	OwnerId           *int      "json:\"owner_id,omitempty\""
	OwnerUuid         *string   "json:\"owner_uuid,omitempty\""
	PolicyId          *int      "json:\"policy_id,omitempty\""
	Remediation       *int      "json:\"remediation,omitempty\""
	Rrules            *string   "json:\"rrules,omitempty\""
	ScanTimeWindow    *string   "json:\"scan_time_window,omitempty\""
	ScannerUuid       *string   "json:\"scanner_uuid,omitempty\""
	Shared            *bool     "json:\"shared,omitempty\""
	Sms               *string   "json:\"sms,omitempty\""
	Starttime         *string   "json:\"starttime,omitempty\""
	TagTargets        *[]string "json:\"tag_targets,omitempty\""
	TagType           *string   "json:\"tag_type,omitempty\""
	TargetNetworkUuid *string   "json:\"target_network_uuid,omitempty\""
	Timezone          *string   "json:\"timezone,omitempty\""
	Type              *string   "json:\"type,omitempty\""
	UserPermissions   *int32    "json:\"user_permissions,omitempty\""
	Uuid              *string   "json:\"uuid,omitempty\""
}, error)

Configure calls the Scans ´s function

func (*Scans) ConfigureWithBody

func (c *Scans) ConfigureWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	ContainerId          *string "json:\"container_id,omitempty\""
	CreationDate         *int32  "json:\"creation_date,omitempty\""
	CustomTargets        *string "json:\"custom_targets,omitempty\""
	DashboardFile        *string "json:\"dashboard_file,omitempty\""
	DefaultPermissions   *int32  "json:\"default_permissions,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Emails               *string "json:\"emails,omitempty\""
	Enabled              *bool   "json:\"enabled,omitempty\""
	Id                   *int32  "json:\"id,omitempty\""
	IncludeAggregate     *bool   "json:\"include_aggregate,omitempty\""
	LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NotificationFilters  *[]struct {
		Filter  *string "json:\"filter,omitempty\""
		Quality *string "json:\"quality,omitempty\""
		Value   *string "json:\"value,omitempty\""
	} "json:\"notification_filters,omitempty\""
	Owner             *string   "json:\"owner,omitempty\""
	OwnerId           *int      "json:\"owner_id,omitempty\""
	OwnerUuid         *string   "json:\"owner_uuid,omitempty\""
	PolicyId          *int      "json:\"policy_id,omitempty\""
	Remediation       *int      "json:\"remediation,omitempty\""
	Rrules            *string   "json:\"rrules,omitempty\""
	ScanTimeWindow    *string   "json:\"scan_time_window,omitempty\""
	ScannerUuid       *string   "json:\"scanner_uuid,omitempty\""
	Shared            *bool     "json:\"shared,omitempty\""
	Sms               *string   "json:\"sms,omitempty\""
	Starttime         *string   "json:\"starttime,omitempty\""
	TagTargets        *[]string "json:\"tag_targets,omitempty\""
	TagType           *string   "json:\"tag_type,omitempty\""
	TargetNetworkUuid *string   "json:\"target_network_uuid,omitempty\""
	Timezone          *string   "json:\"timezone,omitempty\""
	Type              *string   "json:\"type,omitempty\""
	UserPermissions   *int32    "json:\"user_permissions,omitempty\""
	Uuid              *string   "json:\"uuid,omitempty\""
}, error)

ConfigureWithBody calls the Scans ´s function

func (*Scans) Copy

func (c *Scans) Copy(arg1 string, arg2 ScansCopyJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	Control              *bool   "json:\"control,omitempty\""
	CreationDate         *int    "json:\"creation_date,omitempty\""
	Enabled              *bool   "json:\"enabled,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	Read                 *bool   "json:\"read,omitempty\""
	Rrules               *string "json:\"rrules,omitempty\""
	ScheduleUuid         *string "json:\"schedule_uuid,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Starttime            *string "json:\"starttime,omitempty\""
	Status               *string "json:\"status,omitempty\""
	Timezone             *string "json:\"timezone,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
	Uuid                 *string "json:\"uuid,omitempty\""
}, error)

Copy calls the Scans ´s function

func (*Scans) CopyWithBody

func (c *Scans) CopyWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	Control              *bool   "json:\"control,omitempty\""
	CreationDate         *int    "json:\"creation_date,omitempty\""
	Enabled              *bool   "json:\"enabled,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	Read                 *bool   "json:\"read,omitempty\""
	Rrules               *string "json:\"rrules,omitempty\""
	ScheduleUuid         *string "json:\"schedule_uuid,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Starttime            *string "json:\"starttime,omitempty\""
	Status               *string "json:\"status,omitempty\""
	Timezone             *string "json:\"timezone,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
	Uuid                 *string "json:\"uuid,omitempty\""
}, error)

CopyWithBody calls the Scans ´s function

func (*Scans) Create

func (c *Scans) Create(arg1 ScansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	ContainerId          *string "json:\"container_id,omitempty\""
	CreationDate         *int32  "json:\"creation_date,omitempty\""
	CustomTargets        *string "json:\"custom_targets,omitempty\""
	DashboardFile        *string "json:\"dashboard_file,omitempty\""
	DefaultPermissions   *int32  "json:\"default_permissions,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Emails               *string "json:\"emails,omitempty\""
	Enabled              *bool   "json:\"enabled,omitempty\""
	Id                   *int32  "json:\"id,omitempty\""
	IncludeAggregate     *bool   "json:\"include_aggregate,omitempty\""
	LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NotificationFilters  *[]struct {
		Filter  *string "json:\"filter,omitempty\""
		Quality *string "json:\"quality,omitempty\""
		Value   *string "json:\"value,omitempty\""
	} "json:\"notification_filters,omitempty\""
	Owner             *string   "json:\"owner,omitempty\""
	OwnerId           *int      "json:\"owner_id,omitempty\""
	OwnerUuid         *string   "json:\"owner_uuid,omitempty\""
	PolicyId          *int      "json:\"policy_id,omitempty\""
	Remediation       *int      "json:\"remediation,omitempty\""
	Rrules            *string   "json:\"rrules,omitempty\""
	ScanTimeWindow    *string   "json:\"scan_time_window,omitempty\""
	ScannerUuid       *string   "json:\"scanner_uuid,omitempty\""
	Shared            *bool     "json:\"shared,omitempty\""
	Sms               *string   "json:\"sms,omitempty\""
	Starttime         *string   "json:\"starttime,omitempty\""
	TagTargets        *[]string "json:\"tag_targets,omitempty\""
	TagType           *string   "json:\"tag_type,omitempty\""
	TargetNetworkUuid *string   "json:\"target_network_uuid,omitempty\""
	Timezone          *string   "json:\"timezone,omitempty\""
	Type              *string   "json:\"type,omitempty\""
	UserPermissions   *int32    "json:\"user_permissions,omitempty\""
	Uuid              *string   "json:\"uuid,omitempty\""
}, error)

Create calls the Scans ´s function

func (*Scans) CreateWithBody

func (c *Scans) CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	ContainerId          *string "json:\"container_id,omitempty\""
	CreationDate         *int32  "json:\"creation_date,omitempty\""
	CustomTargets        *string "json:\"custom_targets,omitempty\""
	DashboardFile        *string "json:\"dashboard_file,omitempty\""
	DefaultPermissions   *int32  "json:\"default_permissions,omitempty\""
	Description          *string "json:\"description,omitempty\""
	Emails               *string "json:\"emails,omitempty\""
	Enabled              *bool   "json:\"enabled,omitempty\""
	Id                   *int32  "json:\"id,omitempty\""
	IncludeAggregate     *bool   "json:\"include_aggregate,omitempty\""
	LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	NotificationFilters  *[]struct {
		Filter  *string "json:\"filter,omitempty\""
		Quality *string "json:\"quality,omitempty\""
		Value   *string "json:\"value,omitempty\""
	} "json:\"notification_filters,omitempty\""
	Owner             *string   "json:\"owner,omitempty\""
	OwnerId           *int      "json:\"owner_id,omitempty\""
	OwnerUuid         *string   "json:\"owner_uuid,omitempty\""
	PolicyId          *int      "json:\"policy_id,omitempty\""
	Remediation       *int      "json:\"remediation,omitempty\""
	Rrules            *string   "json:\"rrules,omitempty\""
	ScanTimeWindow    *string   "json:\"scan_time_window,omitempty\""
	ScannerUuid       *string   "json:\"scanner_uuid,omitempty\""
	Shared            *bool     "json:\"shared,omitempty\""
	Sms               *string   "json:\"sms,omitempty\""
	Starttime         *string   "json:\"starttime,omitempty\""
	TagTargets        *[]string "json:\"tag_targets,omitempty\""
	TagType           *string   "json:\"tag_type,omitempty\""
	TargetNetworkUuid *string   "json:\"target_network_uuid,omitempty\""
	Timezone          *string   "json:\"timezone,omitempty\""
	Type              *string   "json:\"type,omitempty\""
	UserPermissions   *int32    "json:\"user_permissions,omitempty\""
	Uuid              *string   "json:\"uuid,omitempty\""
}, error)

CreateWithBody calls the Scans ´s function

func (*Scans) Delete

func (c *Scans) Delete(contentType string, reqEditors ...RequestEditorFn) (*interface{}, error)

Delete calls the Scans ´s function

func (*Scans) DeleteHistory

func (c *Scans) DeleteHistory(arg1 string, arg2 int32, reqEditors ...RequestEditorFn) (*interface{}, error)

DeleteHistory calls the Scans ´s function

func (*Scans) Details

func (c *Scans) Details(arg1 string, params *ScansDetailsParams, reqEditors ...RequestEditorFn) (*struct {
	Comphosts *[]struct {
		Critical              *int                    "json:\"critical,omitempty\""
		High                  *int                    "json:\"high,omitempty\""
		HostId                *int                    "json:\"host_id,omitempty\""
		HostIndex             *int                    "json:\"host_index,omitempty\""
		Hostname              *string                 "json:\"hostname,omitempty\""
		Info                  *int                    "json:\"info,omitempty\""
		Low                   *int                    "json:\"low,omitempty\""
		Medium                *int                    "json:\"medium,omitempty\""
		Numchecksconsidered   *int                    "json:\"numchecksconsidered,omitempty\""
		Progress              *string                 "json:\"progress,omitempty\""
		Scanprogresscurrent   *int                    "json:\"scanprogresscurrent,omitempty\""
		Scanprogresstotal     *int                    "json:\"scanprogresstotal,omitempty\""
		Score                 *int                    "json:\"score,omitempty\""
		Severitycount         *map[string]interface{} "json:\"severitycount,omitempty\""
		Totalchecksconsidered *int                    "json:\"totalchecksconsidered,omitempty\""
	} "json:\"comphosts,omitempty\""
	Compliance *[]struct {
		Count         *int    "json:\"count,omitempty\""
		PluginFamily  *string "json:\"plugin_family,omitempty\""
		PluginId      *int    "json:\"plugin_id,omitempty\""
		PluginName    *string "json:\"plugin_name,omitempty\""
		Severity      *int    "json:\"severity,omitempty\""
		SeverityIndex *int    "json:\"severity_index,omitempty\""
		VulnIndex     *int    "json:\"vuln_index,omitempty\""
	} "json:\"compliance,omitempty\""
	Filters *[]struct {
		Control *struct {
			Options        *[]string "json:\"options,omitempty\""
			ReadableRegest *string   "json:\"readable_regest,omitempty\""
			Regex          *string   "json:\"regex,omitempty\""
			Type           *string   "json:\"type,omitempty\""
		} "json:\"control,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	} "json:\"filters,omitempty\""
	History *[]struct {
		AltTargetsUsed       *bool   "json:\"alt_targets_used,omitempty\""
		CreationDate         *int    "json:\"creation_date,omitempty\""
		HistoryId            *int    "json:\"history_id,omitempty\""
		IsArchived           *bool   "json:\"is_archived,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		OwnerId              *int    "json:\"owner_id,omitempty\""
		Scheduler            *int    "json:\"scheduler,omitempty\""
		Status               *string "json:\"status,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		Uuid                 *string "json:\"uuid,omitempty\""
	} "json:\"history,omitempty\""
	Hosts *[]struct {
		Critical              *int                    "json:\"critical,omitempty\""
		High                  *int                    "json:\"high,omitempty\""
		HostId                *int                    "json:\"host_id,omitempty\""
		HostIndex             *int                    "json:\"host_index,omitempty\""
		Hostname              *string                 "json:\"hostname,omitempty\""
		Info                  *int                    "json:\"info,omitempty\""
		Low                   *int                    "json:\"low,omitempty\""
		Medium                *int                    "json:\"medium,omitempty\""
		Numchecksconsidered   *int                    "json:\"numchecksconsidered,omitempty\""
		Progress              *string                 "json:\"progress,omitempty\""
		Scanprogresscurrent   *int                    "json:\"scanprogresscurrent,omitempty\""
		Scanprogresstotal     *int                    "json:\"scanprogresstotal,omitempty\""
		Score                 *int                    "json:\"score,omitempty\""
		Severitycount         *map[string]interface{} "json:\"severitycount,omitempty\""
		Totalchecksconsidered *int                    "json:\"totalchecksconsidered,omitempty\""
	} "json:\"hosts,omitempty\""
	Info *struct {
		Acls *[]struct {
			DisplayName *string "json:\"display_name,omitempty\""
			Id          *int    "json:\"id,omitempty\""
			Name        *string "json:\"name,omitempty\""
			Owner       *int    "json:\"owner,omitempty\""
			Permissions *int    "json:\"permissions,omitempty\""
			Type        *string "json:\"type,omitempty\""
		} "json:\"acls,omitempty\""
		AltTargetsUsed  *bool     "json:\"alt_targets_used,omitempty\""
		Control         *bool     "json:\"control,omitempty\""
		EditAllowed     *bool     "json:\"edit_allowed,omitempty\""
		FolderId        *int32    "json:\"folder_id,omitempty\""
		Hasaudittrail   *bool     "json:\"hasaudittrail,omitempty\""
		Haskb           *bool     "json:\"haskb,omitempty\""
		Hostcount       *int32    "json:\"hostcount,omitempty\""
		IsArchived      *bool     "json:\"is_archived,omitempty\""
		Name            *string   "json:\"name,omitempty\""
		NoTarget        *bool     "json:\"no_target,omitempty\""
		ObjectId        *int32    "json:\"object_id,omitempty\""
		Owner           *string   "json:\"owner,omitempty\""
		PciCanUpload    *bool     "json:\"pci-can-upload,omitempty\""
		Policy          *string   "json:\"policy,omitempty\""
		ScanEnd         *int      "json:\"scan_end,omitempty\""
		ScanStart       *int32    "json:\"scan_start,omitempty\""
		ScanType        *string   "json:\"scan_type,omitempty\""
		ScannerEnd      *int      "json:\"scanner_end,omitempty\""
		ScannerName     *string   "json:\"scanner_name,omitempty\""
		ScannerStart    *int      "json:\"scanner_start,omitempty\""
		ScheduleUuid    *string   "json:\"schedule_uuid,omitempty\""
		Shared          *bool     "json:\"shared,omitempty\""
		Status          *string   "json:\"status,omitempty\""
		TagTargets      *[]string "json:\"tag_targets,omitempty\""
		Targets         *string   "json:\"targets,omitempty\""
		Timestamp       *int      "json:\"timestamp,omitempty\""
		UserPermissions *int32    "json:\"user_permissions,omitempty\""
		Uuid            *string   "json:\"uuid,omitempty\""
	} "json:\"info,omitempty\""
	Notes *[]struct {
		Message  *string "json:\"message,omitempty\""
		Severity *int    "json:\"severity,omitempty\""
		Title    *string "json:\"title,omitempty\""
	} "json:\"notes,omitempty\""
	Remediations    *map[string]interface{} "json:\"remediations,omitempty\""
	Vulnerabilities *[]struct {
		Count         *int    "json:\"count,omitempty\""
		PluginFamily  *string "json:\"plugin_family,omitempty\""
		PluginId      *int    "json:\"plugin_id,omitempty\""
		PluginName    *string "json:\"plugin_name,omitempty\""
		Severity      *int    "json:\"severity,omitempty\""
		SeverityIndex *int    "json:\"severity_index,omitempty\""
		VulnIndex     *int    "json:\"vuln_index,omitempty\""
	} "json:\"vulnerabilities,omitempty\""
}, error)

Details calls the Scans ´s function

func (*Scans) ExportDownload

func (c *Scans) ExportDownload(arg1 string, contentType string, reqEditors ...RequestEditorFn) (*ScansExportDownloadResponse, error)

ExportDownload calls the Scans ´s function

func (*Scans) ExportRequest

func (c *Scans) ExportRequest(arg1 string, params *ScansExportRequestParams, arg3 ScansExportRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	File      *string "json:\"file,omitempty\""
	TempToken *string "json:\"temp_token,omitempty\""
}, error)

ExportRequest calls the Scans ´s function

func (*Scans) ExportRequestWithBody

func (c *Scans) ExportRequestWithBody(arg1 string, params *ScansExportRequestParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	File      *string "json:\"file,omitempty\""
	TempToken *string "json:\"temp_token,omitempty\""
}, error)

ExportRequestWithBody calls the Scans ´s function

func (*Scans) ExportStatus

func (c *Scans) ExportStatus(arg1 string, contentType string, reqEditors ...RequestEditorFn) (*struct {
	Status *string "json:\"status,omitempty\""
}, error)

ExportStatus calls the Scans ´s function

func (*Scans) GetLatestStatus

func (c *Scans) GetLatestStatus(contentType string, reqEditors ...RequestEditorFn) (*struct {
	Status *string "json:\"status,omitempty\""
}, error)

GetLatestStatus calls the Scans ´s function

func (*Scans) History

func (c *Scans) History(arg1 string, params *ScansHistoryParams, reqEditors ...RequestEditorFn) (*struct {
	History *[]struct {
		Id         *int    "json:\"id,omitempty\""
		IsArchived *bool   "json:\"is_archived,omitempty\""
		ScanUuid   *string "json:\"scan_uuid,omitempty\""
		Status     *string "json:\"status,omitempty\""
		Targets    *struct {
			Custom  *bool "json:\"custom,omitempty\""
			Default *bool "json:\"default,omitempty\""
		} "json:\"targets,omitempty\""
		TimeEnd    *int    "json:\"time_end,omitempty\""
		TimeStart  *int    "json:\"time_start,omitempty\""
		Visibility *string "json:\"visibility,omitempty\""
	} "json:\"history,omitempty\""
	Pagination *struct {
		Limit  *int32 "json:\"limit,omitempty\""
		Offset *int32 "json:\"offset,omitempty\""
		Sort   *[]struct {
			Name  *string "json:\"name,omitempty\""
			Order *string "json:\"order,omitempty\""
		} "json:\"sort,omitempty\""
		Total *int32 "json:\"total,omitempty\""
	} "json:\"pagination,omitempty\""
}, error)

History calls the Scans ´s function

func (*Scans) HistoryDetails

func (c *Scans) HistoryDetails(arg1 string, contentType string, reqEditors ...RequestEditorFn) (*struct {
	IsArchived   *bool   "json:\"is_archived,omitempty\""
	Name         *string "json:\"name,omitempty\""
	ObjectId     *int32  "json:\"object_id,omitempty\""
	Owner        *string "json:\"owner,omitempty\""
	OwnerId      *int    "json:\"owner_id,omitempty\""
	OwnerUuid    *int    "json:\"owner_uuid,omitempty\""
	ScanEnd      *int    "json:\"scan_end,omitempty\""
	ScanStart    *int32  "json:\"scan_start,omitempty\""
	ScanType     *string "json:\"scan_type,omitempty\""
	ScheduleUuid *string "json:\"schedule_uuid,omitempty\""
	Status       *string "json:\"status,omitempty\""
	Targets      *string "json:\"targets,omitempty\""
	Uuid         *string "json:\"uuid,omitempty\""
}, error)

HistoryDetails calls the Scans ´s function

func (*Scans) HostDetails

func (c *Scans) HostDetails(arg1 string, arg2 int32, params *ScansHostDetailsParams, reqEditors ...RequestEditorFn) (*struct {
	Compliance *[]struct {
		Count         *int    "json:\"count,omitempty\""
		HostId        *int    "json:\"host_id,omitempty\""
		Hostname      *string "json:\"hostname,omitempty\""
		PluginFamily  *string "json:\"plugin_family,omitempty\""
		PluginId      *int    "json:\"plugin_id,omitempty\""
		PluginName    *string "json:\"plugin_name,omitempty\""
		Severity      *int    "json:\"severity,omitempty\""
		SeverityIndex *int    "json:\"severity_index,omitempty\""
	} "json:\"compliance,omitempty\""
	Info            *map[string]interface{} "json:\"info,omitempty\""
	Vulnerabilities *[]struct {
		Count         *int    "json:\"count,omitempty\""
		HostId        *int    "json:\"host_id,omitempty\""
		Hostname      *string "json:\"hostname,omitempty\""
		PluginFamily  *string "json:\"plugin_family,omitempty\""
		PluginId      *int    "json:\"plugin_id,omitempty\""
		PluginName    *string "json:\"plugin_name,omitempty\""
		Severity      *int    "json:\"severity,omitempty\""
		SeverityIndex *int    "json:\"severity_index,omitempty\""
		VulnIndex     *int    "json:\"vuln_index,omitempty\""
	} "json:\"vulnerabilities,omitempty\""
}, error)

HostDetails calls the Scans ´s function

func (*Scans) Import

func (c *Scans) Import(params *ScansImportParams, arg2 ScansImportJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	Control              *bool   "json:\"control,omitempty\""
	CreationDate         *int    "json:\"creation_date,omitempty\""
	Enabled              *bool   "json:\"enabled,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	Read                 *bool   "json:\"read,omitempty\""
	Rrules               *string "json:\"rrules,omitempty\""
	ScheduleUuid         *string "json:\"schedule_uuid,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Starttime            *string "json:\"starttime,omitempty\""
	Status               *string "json:\"status,omitempty\""
	Timezone             *string "json:\"timezone,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
	Uuid                 *string "json:\"uuid,omitempty\""
}, error)

Import calls the Scans ´s function

func (*Scans) ImportWithBody

func (c *Scans) ImportWithBody(params *ScansImportParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	Control              *bool   "json:\"control,omitempty\""
	CreationDate         *int    "json:\"creation_date,omitempty\""
	Enabled              *bool   "json:\"enabled,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	Read                 *bool   "json:\"read,omitempty\""
	Rrules               *string "json:\"rrules,omitempty\""
	ScheduleUuid         *string "json:\"schedule_uuid,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Starttime            *string "json:\"starttime,omitempty\""
	Status               *string "json:\"status,omitempty\""
	Timezone             *string "json:\"timezone,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
	Uuid                 *string "json:\"uuid,omitempty\""
}, error)

ImportWithBody calls the Scans ´s function

func (*Scans) Launch

func (c *Scans) Launch(arg1 string, arg2 ScansLaunchJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	ScanUuid *string "json:\"scan_uuid,omitempty\""
}, error)

Launch calls the Scans ´s function

func (*Scans) LaunchWithBody

func (c *Scans) LaunchWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	ScanUuid *string "json:\"scan_uuid,omitempty\""
}, error)

LaunchWithBody calls the Scans ´s function

func (*Scans) List

func (c *Scans) List(params *ScansListParams, reqEditors ...RequestEditorFn) (*struct {
	Folders *[]struct {
		Custom      *int    "json:\"custom,omitempty\""
		DefaultTag  *int    "json:\"default_tag,omitempty\""
		Id          *int    "json:\"id,omitempty\""
		Name        *string "json:\"name,omitempty\""
		Type        *string "json:\"type,omitempty\""
		UnreadCount *int    "json:\"unread_count,omitempty\""
	} "json:\"folders,omitempty\""
	Scans *[]struct {
		Control              *bool   "json:\"control,omitempty\""
		CreationDate         *int32  "json:\"creation_date,omitempty\""
		Enabled              *bool   "json:\"enabled,omitempty\""
		Id                   *int32  "json:\"id,omitempty\""
		LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
		Legacy               *bool   "json:\"legacy,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		Permissions          *int32  "json:\"permissions,omitempty\""
		PolicyId             *int    "json:\"policy_id,omitempty\""
		Read                 *bool   "json:\"read,omitempty\""
		Rrules               *string "json:\"rrules,omitempty\""
		ScheduleUuid         *string "json:\"schedule_uuid,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Starttime            *string "json:\"starttime,omitempty\""
		Status               *string "json:\"status,omitempty\""
		Timezone             *string "json:\"timezone,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int32  "json:\"user_permissions,omitempty\""
		Uuid                 *string "json:\"uuid,omitempty\""
		WizardUuid           *string "json:\"wizard_uuid,omitempty\""
	} "json:\"scans,omitempty\""
	Timestamp *int32 "json:\"timestamp,omitempty\""
}, error)

List calls the Scans ´s function

func (*Scans) Pause

func (c *Scans) Pause(contentType string, reqEditors ...RequestEditorFn) (*interface{}, error)

Pause calls the Scans ´s function

func (*Scans) PluginOutput

func (c *Scans) PluginOutput(arg1 string, arg2 int32, arg3 int32, params *ScansPluginOutputParams, reqEditors ...RequestEditorFn) (*struct {
	Info *struct {
		HostFqdn   *string "json:\"host-fqdn,omitempty\""
		HostIp     *string "json:\"host-ip,omitempty\""
		HostUuid   *string "json:\"host-uuid,omitempty\""
		HostEnd    *string "json:\"host_end,omitempty\""
		HostFqdn2  *string "json:\"host_fqdn,omitempty\""
		HostStart  *string "json:\"host_start,omitempty\""
		MacAddress *string "json:\"mac-address,omitempty\""
	} "json:\"info,omitempty\""
	Output *[]struct {
		CustomDescription *string                 "json:\"custom_description,omitempty\""
		HasAttachment     *int                    "json:\"has_attachment,omitempty\""
		Hosts             *string                 "json:\"hosts,omitempty\""
		PluginOutput      *string                 "json:\"plugin_output,omitempty\""
		Ports             *map[string]interface{} "json:\"ports,omitempty\""
		Severity          *int                    "json:\"severity,omitempty\""
	} "json:\"output,omitempty\""
}, error)

PluginOutput calls the Scans ´s function

func (*Scans) ReadStatus

func (c *Scans) ReadStatus(arg1 string, arg2 ScansReadStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)

ReadStatus calls the Scans ´s function

func (*Scans) ReadStatusWithBody

func (c *Scans) ReadStatusWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)

ReadStatusWithBody calls the Scans ´s function

func (*Scans) Resume

func (c *Scans) Resume(contentType string, reqEditors ...RequestEditorFn) (*interface{}, error)

Resume calls the Scans ´s function

func (*Scans) Schedule

func (c *Scans) Schedule(arg1 string, arg2 ScansScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	Control   *bool   "json:\"control,omitempty\""
	Enabled   *bool   "json:\"enabled,omitempty\""
	Rrules    *string "json:\"rrules,omitempty\""
	Starttime *string "json:\"starttime,omitempty\""
	Timezone  *string "json:\"timezone,omitempty\""
}, error)

Schedule calls the Scans ´s function

func (*Scans) ScheduleWithBody

func (c *Scans) ScheduleWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	Control   *bool   "json:\"control,omitempty\""
	Enabled   *bool   "json:\"enabled,omitempty\""
	Rrules    *string "json:\"rrules,omitempty\""
	Starttime *string "json:\"starttime,omitempty\""
	Timezone  *string "json:\"timezone,omitempty\""
}, error)

ScheduleWithBody calls the Scans ´s function

func (*Scans) Stop

func (c *Scans) Stop(contentType string, reqEditors ...RequestEditorFn) (*interface{}, error)

Stop calls the Scans ´s function

func (*Scans) Timezones

func (c *Scans) Timezones(reqEditors ...RequestEditorFn) (*[]struct {
	Name  *string "json:\"name,omitempty\""
	Value *string "json:\"value,omitempty\""
}, error)

Timezones calls the Scans ´s function

type ScansAttachmentsParams

type ScansAttachmentsParams struct {
	// The attachment access token.
	Key string `json:"key"`
}

ScansAttachmentsParams defines parameters for ScansAttachments.

type ScansAttachmentsResponse

type ScansAttachmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseScansAttachmentsResponse

func ParseScansAttachmentsResponse(rsp *http.Response) (*ScansAttachmentsResponse, error)

ParseScansAttachmentsResponse parses an HTTP response from a ScansAttachmentsWithResponse call

func (ScansAttachmentsResponse) Status

func (r ScansAttachmentsResponse) Status() string

Status returns HTTPResponse.Status

func (ScansAttachmentsResponse) StatusCode

func (r ScansAttachmentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansConfigureJSONBody

type ScansConfigureJSONBody struct {
	// An object that specifies credential parameters that enable a scanner to authenticate a connection to a target host.
	Credentials *struct {
		// A credentials object you want to add to the scan. The parameters of the object vary based on credentials category, credentials type, and type-specific settings. For more information, see [Add Credentials to a Scan](doc:add-credentials-to-scan).
		//
		// **Note:** This form displays limited parameters that support a Windows type of credentials that uses password authentication.
		Add *struct {
			// The name of this parameter corresponds to the display name that uniquely identifies the credentials category (in this case, `Host` for credentials from the Host category). This value corresponds to the following response message attributes:
			//  - `credentials[].data[].name` in the [GET /editor/type/templates/{template_uuid}](/reference#editor-template-details) response message
			//  - `credentials[].id` in the [GET /credentials/types](/reference#credentials-list-credential-types) response message
			Host *struct {
				// The name of this parameter corresponds to the display name that uniquely identifies the credentials type (in this case, `Windows` for a Windows credential). This value corresponds to the following response message attributes:
				//  - `credentials[].data[].types[].name` in the [GET /editor/type/templates/{template_uuid}](/reference#editor-template-details) response message
				//  - `credentials[].types[].id` in the [GET /credentials/types](/reference#credentials-list-credential-types) response message`
				Windows *[]struct {
					// The name for the authentication method. This value corresponds to the credentials[].types[].configuration[].options[].id attribute in the response message for the [GET /credentials/types](/reference#credentials-list-credential-types) endpoint.
					AuthMethod *ScansConfigureJSONBodyCredentialsAddHostWindowsAuthMethod `json:"auth_method,omitempty"`

					// The Windows domain to which the username belongs.
					Domain *string `json:"domain,omitempty"`

					// The user password on the target system.
					Password *string `json:"password,omitempty"`

					// The username on the target system.
					Username *string `json:"username,omitempty"`
				} `json:"Windows,omitempty"`
			} `json:"Host,omitempty"`
		} `json:"add,omitempty"`

		// A list of identifiers for the credentials you want to remove from the scan. For more information, see [Remove Credentials from a Scan](doc:remove-credentials-from-scan-tio).
		Delete *[]string `json:"delete,omitempty"`

		// A scan-specific credentials object you want to modify. The parameters of the object vary based on credential category, credential type, and type-specific settings. For more information, see [Update a Scan](doc:update-scan-tio).
		//
		//  **Note:** This parameter is not supported for use with managed credentials. For more information about editing managed credentials, see [Edit Managed Credentials](doc:edit-managed-credentials-tio).
		Edit *map[string]interface{} `json:"edit,omitempty"`
	} `json:"credentials,omitempty"`

	// A list of plugins to add to the non-remediation scans. Use the [GET /plugins/families](ref:io-plugins-families-list) endpoint to get a list of plugin families to choose from. Then, use the [GET /plugins/families/{id}](ref:io-plugins-family-details) endpoint to find plugins within the family to add to the scan.
	//
	// **Note:** This form displays limited parameters. The example below illustrates how to add two plugins within the `Web Servers` plugin family to a scan.
	Plugins *struct {
		// A list of plugin families containing individual plugins to add to the scan. Use the [GET /plugins/families](ref:io-plugins-families-list) endpoint to get a list of plugin families.
		WebServers *struct {
			// A list of individual plugins within the specified plugin family.
			Individual *struct {
				// The status (`enabled` or `disabled`) of the individual plugin within the plugin family to add to the scan.
				N11213 *ScansConfigureJSONBodyPluginsWebServersIndividual11213 `json:"11213,omitempty"`

				// The status (`enabled` or `disabled`) of the individual plugin within the plugin family to add to the scan.
				N18261 *ScansConfigureJSONBodyPluginsWebServersIndividual18261 `json:"18261,omitempty"`
			} `json:"individual,omitempty"`
		} `json:"Web Servers,omitempty"`
	} `json:"plugins,omitempty"`
	Settings struct {
		// An array containing sharing permissions to apply to the scan.
		Acls *[]struct {
			// The name of the user or group granted the specified permissions, as it appears in the Tenable.io user interface.
			DisplayName *string `json:"display_name,omitempty"`

			// A number representing the order in which the user or user groups display in the Permissions tab in the Tenable.io user interface.
			Id *int `json:"id,omitempty"`

			// The name of the user or group granted the specified permissions.
			Name *string `json:"name,omitempty"`

			// A value that indicates whether the user or user group specified in the object owns the scan. Possible values include: `null` (system-owned permissions), `0` (the user is not the owner of the scan), `1` (the user is the owner of the scan).
			Owner *int `json:"owner,omitempty"`

			// The scan permission. For more information, see [Permissions](doc:permissions).
			Permissions *int `json:"permissions,omitempty"`

			// The type of scan permissions: `default` (default permissions for the scan), `user` (permissions for an individual user), or `group` (permissions for a user group).
			Type *string `json:"type,omitempty"`
		} `json:"acls,omitempty"`

		// An array of agent group UUIDs to scan. Required if the scan is an agent scan.
		AgentGroupId *[]string `json:"agent_group_id,omitempty"`

		// The description of the scan.
		Description *string `json:"description,omitempty"`

		// A comma-separated list of accounts that receive the email summary report.
		Emails *string `json:"emails,omitempty"`

		// If `true`, the schedule for the scan is enabled. Note that scheduled scans do not run if they are in the scan owner's trash folder.
		Enabled *bool `json:"enabled,omitempty"`

		// The name of a file containing the list of targets to scan. Before you use this parameter, use the [POST /files/upload](ref:file-upload) endpoint to upload the file to Tenable.io; then, use the `fileuploaded` attribute of the response message as the `file_targets` parameter value.
		//
		//
		//
		// This parameter is required if your request omits other target parameters. For more information, see "Required Scan Target Parameters" in [Create a Scan](doc:create-scan-tio).
		//
		//  **Note:** Unicode/UTF-8 encoding is not supported in the targets file.
		FileTargets *string `json:"file_targets,omitempty"`

		// The unique ID of the folder where you want to store the scan. Use the [GET /folders](ref:folders-list) endpoint to find the folder ID.
		FolderId *int32 `json:"folder_id,omitempty"`

		// When to launch the scan. Possible values are: DAILY, WEEKLY, MONTHLY, YEARLY. Note that scheduled scans do not run if they are in the scan owner's trash folder.
		Launch *ScansConfigureJSONBodySettingsLaunch `json:"launch,omitempty"`

		// The name of the scan.
		Name string `json:"name"`

		// The unique ID of the user you want to make the owner of the specified scan. You can only change ownership for scans where you have OWNER [128] scan permissions. For more information, see [Change Scan Ownership](doc:change-scan-ownership-tio).
		OwnerId *int `json:"owner_id,omitempty"`

		// The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). For a scan that runs every three weeks on Monday Wednesday and Friday, the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`. If the scan is not scheduled to recur, this attribute is `null`. For more information, see [rrules Format](doc:example-assessment-scan-recurring#rrules-format).
		//
		// **Note:** To set the `rrules` parameter for an agent scan, the request must also include the following body parameters:<ul><li>The `uuid` parameter must specify an agent scan template. For more information, see [Tenable-Provided Agent Templates](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Scans/AgentTemplates.htm) and the [GET /editor/scan/templates](ref:editor-list-templates) endpoint.</li><li>The `agent_group_id` parameter must specify an agent group. For more information, see [Agent Groups](ref:agent-groups).</li></ul>For an example request body for an agent scan, see [Example Agent Scan: Recurring](doc:example-agent-scan-recurring).
		Rrules *string `json:"rrules,omitempty"`

		// The time frame, in minutes, during which agents must transmit scan results to Tenable.io in order to be included in dashboards and reports. If your request omits this parameter, the default value is 180 minutes. For non-agent scans, this attribute is null.
		ScanTimeWindow *int `json:"scan_time_window,omitempty"`

		// The unique ID of the scanner to use. Use the [GET /scanners](ref:scanners-list) endpoint to find the scanner ID. You can use the special value `AUTO-ROUTED` to assign scan targets to scanner groups based on the groups' configured scan routes. For more information, see [Manage Scan Routing](doc:manage-scan-routing-tio).
		//
		// **Note:** If you omit this parameter from the request, Tenable.io assigns the US Cloud Scanner by default.
		ScannerId *string `json:"scanner_id,omitempty"`

		// For one-time scans, the starting time and date for the scan. For recurrent scans, the first date on which the scan schedule is active and the time that recurring scans launch based on the `rrules` parameter.
		//
		// This parameter must be in the following format: `YYYYMMDDTHHMMSS`.
		Starttime *string `json:"starttime,omitempty"`

		// The list of asset tag identifiers that the scan uses to determine which assets it evaluates. For more information about tag-based scans, see [Manage Tag-Based Scans](doc:manage-tag-based-scans-tio).
		//
		//
		//
		// This parameter is required if your request omits other target parameters. For more information, see "Required Scan Target Parameters" in [Create a Scan](doc:create-scan-tio).
		TagTargets *[]string `json:"tag_targets,omitempty"`

		// An array of target group IDs to scan. Use the [GET /target-groups](/reference#target-groups-list) endpoint to determine target group IDs.
		//
		// This parameter is required if your request omits other target parameters. For more information, see "Required Scan Target Parameters" in [Create a Scan](doc:create-scan-tio).
		TargetGroups *[]int `json:"target_groups,omitempty"`

		// This field is required if the `scanner_id` parameter is `AUTO-ROUTED`. Specify a value as follows:<ul><li>If your scans involve separate environments with overlapping IP ranges, specify the UUID of the [network](doc:manage-networks-tio) you want to associate with the results of the auto-routed scan. This value must match the network where you have assigned the scanner groups that you configured for scan routing.</li><li>Otherwise, specify the default network (`00000000-0000-0000-0000-000000000000`).</li></ul><p>**Note:** This parameter does not override network associations for scans that are not auto-routed. Tenable.io automatically associates a non-routed scan with the network to which you have assigned the scanner that performs the scan.</p>
		TargetNetworkUuid *string `json:"target_network_uuid,omitempty"`

		// The list of targets to scan. For a full list of supported target formats, see the [Tenable.io Vulnerability Management User Guide](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Scans/AboutScanTargets.htm). You can specify multiple targets (of differing formats) as a comma-delimited list.
		//
		// This parameter is required if your request omits other target parameters. For more information, see "Required Scan Target Parameters" in [Create a Scan](doc:create-scan-tio).
		//
		// **Note:** Tenable.io does not perform validation on values you submit for this parameter. If you submit invalid values, Tenable.io stores the invalid values in the scan configuration; when the scan runs, scanning fails on the invalid targets.
		TextTargets *string `json:"text_targets,omitempty"`

		// The timezone of the scheduled start time for the scan.
		Timezone *string `json:"timezone,omitempty"`
	} `json:"settings"`

	// The UUID for the Tenable-provided scan template to use. Use the [GET /editor/scan/templates](ref:editor-list-templates) endpoint to find the template UUID.
	Uuid string `json:"uuid"`
}

ScansConfigureJSONBody defines parameters for ScansConfigure.

type ScansConfigureJSONBodyCredentialsAddHostWindowsAuthMethod

type ScansConfigureJSONBodyCredentialsAddHostWindowsAuthMethod string

ScansConfigureJSONBodyCredentialsAddHostWindowsAuthMethod defines parameters for ScansConfigure.

type ScansConfigureJSONBodyPluginsWebServersIndividual11213

type ScansConfigureJSONBodyPluginsWebServersIndividual11213 string

ScansConfigureJSONBodyPluginsWebServersIndividual11213 defines parameters for ScansConfigure.

type ScansConfigureJSONBodyPluginsWebServersIndividual18261

type ScansConfigureJSONBodyPluginsWebServersIndividual18261 string

ScansConfigureJSONBodyPluginsWebServersIndividual18261 defines parameters for ScansConfigure.

type ScansConfigureJSONBodySettingsLaunch

type ScansConfigureJSONBodySettingsLaunch string

ScansConfigureJSONBodySettingsLaunch defines parameters for ScansConfigure.

type ScansConfigureJSONRequestBody

type ScansConfigureJSONRequestBody ScansConfigureJSONBody

ScansConfigureJSONRequestBody defines body for ScansConfigure for application/json ContentType.

type ScansConfigureResponse

type ScansConfigureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The unique ID of your Tenable.io instance.
		ContainerId *string `json:"container_id,omitempty"`

		// For newly-created scans, the date on which the scan configuration was originally created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was originally created. Instead, it represents the date on which the scan was first launched, in Unix time format.
		CreationDate *int32 `json:"creation_date,omitempty"`

		// Targets specified in the `alt_targets` parameter of the [POST /scans/{scan_id}/launch](/reference#scans-launch) request body used to run the scan.
		CustomTargets *string `json:"custom_targets,omitempty"`

		// The name of the dashboard file associated with the scan.
		DashboardFile *string `json:"dashboard_file,omitempty"`

		// The default permissions for the scan.
		DefaultPermissions *int32 `json:"default_permissions,omitempty"`

		// A brief user-defined description of the scan.
		Description *string `json:"description,omitempty"`

		// A comma-separated list of accounts that receive the email summary report.
		Emails *string `json:"emails,omitempty"`

		// A value indicating whether the scan schedule is active (`true`) or inactive (`false`).
		Enabled *bool `json:"enabled,omitempty"`

		// The unique ID of the scan.
		Id *int32 `json:"id,omitempty"`

		// A value indicating whether the scan results appear in dashboards.
		IncludeAggregate *bool `json:"include_aggregate,omitempty"`

		// For newly-created scans, the date on which the scan configuration was created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was last modified. Instead, it represents the date on which the scan was last launched, in Unix time format. Tenable.io updates this attribute each time the scan launches.
		LastModificationDate *int32 `json:"last_modification_date,omitempty"`

		// The user-defined scan name.
		Name *string `json:"name,omitempty"`

		// A list of filters that Tenable.io applies to determine whether it sends a notification email on scan completion to the recipients specified in the `emails` attribute.
		NotificationFilters *[]struct {
			// The attribute name. For example, use the `risk_factor` attribute if you want to filter on vulnerability severity.
			Filter *string `json:"filter,omitempty"`

			// The operator Tenable.io applies to the filter value, for example, `eq`.
			Quality *string `json:"quality,omitempty"`

			// The attribute value Tenable.io filters on. For example, when filtering on severity, this attribute might specify `Critical`.
			Value *string `json:"value,omitempty"`
		} `json:"notification_filters,omitempty"`

		// The owner of the scan.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the scan.
		OwnerId *int `json:"owner_id,omitempty"`

		// The unique ID of the scan owner.
		OwnerUuid *string `json:"owner_uuid,omitempty"`

		// The unique ID of the policy associated with the scan.
		PolicyId *int `json:"policy_id,omitempty"`

		// If `1`, your vulnerability remediation actions on scan targets have been successful.
		Remediation *int `json:"remediation,omitempty"`

		// The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). For a scan that runs every three weeks on Monday Wednesday and Friday, the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`. If the scan is not scheduled to recur, this attribute is `null`. For more information, see [rrules Format](doc:example-assessment-scan-recurring#rrules-format).
		//
		// **Note:** To set the `rrules` parameter for an agent scan, the request must also include the following body parameters:<ul><li>The `uuid` parameter must specify an agent scan template. For more information, see [Tenable-Provided Agent Templates](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Scans/AgentTemplates.htm) and the [GET /editor/scan/templates](ref:editor-list-templates) endpoint.</li><li>The `agent_group_id` parameter must specify an agent group. For more information, see [Agent Groups](ref:agent-groups).</li></ul>For an example request body for an agent scan, see [Example Agent Scan: Recurring](doc:example-agent-scan-recurring).
		Rrules *string `json:"rrules,omitempty"`

		// The time frame, in minutes, during which agents must transmit scan results to Tenable.io in order to be included in dashboards and reports. If your request omits this parameter, the default value is 180 minutes. For non-agent scans, this attribute is null.
		ScanTimeWindow *string `json:"scan_time_window,omitempty"`

		// The UUID of the scanner that the scan is configured to use, if the scan is *not* configured for [scan routing](doc:manage-scan-routing-tio).
		ScannerUuid *string `json:"scanner_uuid,omitempty"`

		// If `1`, the scan is shared with users other than the scan owner. The level of sharing is specified in the `acls` attribute of the scan details.
		Shared *bool `json:"shared,omitempty"`

		// A comma-separated list of mobile phone numbers that receive notification of the scan.
		Sms *string `json:"sms,omitempty"`

		// For one-time scans, the starting time and date for the scan. For recurrent scans, the first date on which the scan schedule is active and the time that recurring scans launch based on the `rrules` parameter.
		//
		// This attribute has the following format: `YYYYMMDDTHHMMSS`.
		Starttime *string `json:"starttime,omitempty"`

		// The list of asset tag identifiers the scan uses to determine which assets it evaluates. For more information about tag-based scans, see [Manage Tag-Based Scans](doc:manage-tag-based-scans-tio).
		TagTargets *[]string `json:"tag_targets,omitempty"`

		// The type of tag.
		TagType *string `json:"tag_type,omitempty"`

		// The UUID of the network object that Tenable.io associates with the scan results if the scan is configured for [scan routing](doc:manage-scan-routing-tio).
		TargetNetworkUuid *string `json:"target_network_uuid,omitempty"`

		// The timezone of the scheduled start time for the scan.
		Timezone *string `json:"timezone,omitempty"`

		// The type of scan.
		Type *string `json:"type,omitempty"`

		// The sharing permissions for the scan.
		UserPermissions *int32 `json:"user_permissions,omitempty"`

		// The UUID of the schedule for the scan.
		Uuid *string `json:"uuid,omitempty"`
	}
	JSON500 *struct {
		// The HTTP status text.
		Error *int `json:"error,omitempty"`

		// A brief message describing the error Tenable.io encountered.
		Message *string `json:"message,omitempty"`

		// The HTTP status code.
		StatusCode *string `json:"statusCode,omitempty"`
	}
}

func ParseScansConfigureResponse

func ParseScansConfigureResponse(rsp *http.Response) (*ScansConfigureResponse, error)

ParseScansConfigureResponse parses an HTTP response from a ScansConfigureWithResponse call

func (ScansConfigureResponse) Status

func (r ScansConfigureResponse) Status() string

Status returns HTTPResponse.Status

func (ScansConfigureResponse) StatusCode

func (r ScansConfigureResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansCopyJSONBody

type ScansCopyJSONBody struct {
	// The ID of the destination folder. If you don't specify a folder ID, Tenable.io creates the copy in the same folder as the original.
	FolderId *int32 `json:"folder_id,omitempty"`

	// The name of the copied scan. If you don't specify a name, Tenable.io uses the same name as the original with "Copy of" prefix.
	Name *string `json:"name,omitempty"`
}

ScansCopyJSONBody defines parameters for ScansCopy.

type ScansCopyJSONRequestBody

type ScansCopyJSONRequestBody ScansCopyJSONBody

ScansCopyJSONRequestBody defines body for ScansCopy for application/json ContentType.

type ScansCopyResponse

type ScansCopyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// If `true`, the scan has a schedule and can be launched.
		Control *bool `json:"control,omitempty"`

		// The creation date for the scan in Unix time.
		CreationDate *int `json:"creation_date,omitempty"`

		// If `true`, the schedule for the scan is enabled.
		Enabled *bool `json:"enabled,omitempty"`

		// The unique ID of the scan.
		Id *int `json:"id,omitempty"`

		// For newly-created scans, the date on which the scan configuration was created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was last modified. Instead, it represents the date on which the scan was last launched, in Unix time format. Tenable.io updates this attribute each time the scan launches.
		LastModificationDate *int32 `json:"last_modification_date,omitempty"`

		// The name of the scan.
		Name *string `json:"name,omitempty"`

		// The owner of the scan.
		Owner *string `json:"owner,omitempty"`

		// If `true`, the scan has been read.
		Read *bool `json:"read,omitempty"`

		// The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). For a scan that runs every three weeks on Monday Wednesday and Friday, the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`. If the scan is not scheduled to recur, this attribute is `null`. For more information, see [rrules Format](doc:example-assessment-scan-recurring#rrules-format).
		//
		// **Note:** To set the `rrules` parameter for an agent scan, the request must also include the following body parameters:<ul><li>The `uuid` parameter must specify an agent scan template. For more information, see [Tenable-Provided Agent Templates](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Scans/AgentTemplates.htm) and the [GET /editor/scan/templates](ref:editor-list-templates) endpoint.</li><li>The `agent_group_id` parameter must specify an agent group. For more information, see [Agent Groups](ref:agent-groups).</li></ul>For an example request body for an agent scan, see [Example Agent Scan: Recurring](doc:example-agent-scan-recurring).
		Rrules *string `json:"rrules,omitempty"`

		// The UUID for a specific instance in the scan schedule.
		ScheduleUuid *string `json:"schedule_uuid,omitempty"`

		// If `1`, the scan is shared with users other than the scan owner. The level of sharing is specified in the `acls` attribute of the scan details.
		Shared *bool `json:"shared,omitempty"`

		// For one-time scans, the starting time and date for the scan. For recurrent scans, the first date on which the scan schedule is active and the time that recurring scans launch based on the `rrules` attribute.
		//
		// This attribute has the following format: `YYYYMMDDTHHMMSS`.
		Starttime *string `json:"starttime,omitempty"`

		// The status of the scan. For a list of possible values, see [Scan Status](doc:scan-status-tio).
		Status *string `json:"status,omitempty"`

		// The timezone of the scheduled start time for the scan.
		Timezone *string `json:"timezone,omitempty"`

		// The type of scan (local, remote, or agent).
		Type *string `json:"type,omitempty"`

		// The sharing permissions for the scan.
		UserPermissions *int `json:"user_permissions,omitempty"`

		// The UUID of the scan.
		Uuid *string `json:"uuid,omitempty"`
	}
	JSON500 *struct {
		// The HTTP status text.
		Error *int `json:"error,omitempty"`

		// A brief message describing the error Tenable.io encountered.
		Message *string `json:"message,omitempty"`

		// The HTTP status code.
		StatusCode *string `json:"statusCode,omitempty"`
	}
}

func ParseScansCopyResponse

func ParseScansCopyResponse(rsp *http.Response) (*ScansCopyResponse, error)

ParseScansCopyResponse parses an HTTP response from a ScansCopyWithResponse call

func (ScansCopyResponse) Status

func (r ScansCopyResponse) Status() string

Status returns HTTPResponse.Status

func (ScansCopyResponse) StatusCode

func (r ScansCopyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansCreateJSONBody

type ScansCreateJSONBody struct {
	// An object that specifies credential parameters that enable a scanner to authenticate a connection to a target host.
	Credentials *struct {
		// A credentials object you want to add to the scan. For scan-specific credentials, the parameters of the object vary based on credentials category, credentials type, and type-specific settings. For more information, see [Determine Settings for a Credential Type](doc:determine-settings-for-credential-type). For managed credentials, the object contains a single parameter `id`, which specifies the UUID of the managed credentials you want to add.
		//
		// **Note:** This form displays limited parameters that support a Windows type of credentials that uses password authentication.
		Add *struct {
			// The name of this parameter corresponds to the display name that uniquely identifies the credentials category (in this case, `Host` for credentials from the Host category). This value corresponds to the following response message attributes:
			//  - `credentials[].data[].name` in the [GET /editor/type/templates/{template_uuid}](/reference#editor-template-details) response message
			//  - `credentials[].id` in the [GET /credentials/types](/reference#credentials-list-credential-types) response message
			Host *struct {
				// The name of this parameter corresponds to the display name that uniquely identifies the credentials type (in this case, `Windows` for a Windows credential). This value corresponds to the following response message attributes:
				//  - `credentials[].data[].types[].name` in the [GET /editor/type/templates/{template_uuid}](/reference#editor-template-details) response message
				//  - `credentials[].types[].id` in the [GET /credentials/types](/reference#credentials-list-credential-types) response message`
				Windows *[]struct {
					// The name for the authentication method. This value corresponds to the credentials[].types[].configuration[].options[].id attribute in the response message for the [GET /credentials/types](/reference#credentials-list-credential-types) endpoint.
					AuthMethod *ScansCreateJSONBodyCredentialsAddHostWindowsAuthMethod `json:"auth_method,omitempty"`

					// The Windows domain to which the username belongs.
					Domain *string `json:"domain,omitempty"`

					// The user password on the target system.
					Password *string `json:"password,omitempty"`

					// The username on the target system.
					Username *string `json:"username,omitempty"`
				} `json:"Windows,omitempty"`
			} `json:"Host,omitempty"`
		} `json:"add,omitempty"`
	} `json:"credentials,omitempty"`

	// A list of plugins to add to the non-remediation scans. Use the [GET /plugins/families](ref:io-plugins-families-list) endpoint to get a list of plugin families to choose from. Then, use the [GET /plugins/families/{id}](ref:io-plugins-family-details) endpoint to find plugins within the family to add to the scan.
	//
	// **Note:** This form displays limited parameters. The example below illustrates how to add two plugins within the `Web Servers` plugin family to a scan.
	Plugins *struct {
		// A list of plugin families containing individual plugins to add to the scan. Use the [GET /plugins/families](ref:io-plugins-families-list) endpoint to get a list of plugin families.
		WebServers *struct {
			// A list of individual plugins within the specified plugin family.
			Individual *struct {
				// The status (`enabled` or `disabled`) of the individual plugin within the plugin family to add to the scan.
				N11213 *ScansCreateJSONBodyPluginsWebServersIndividual11213 `json:"11213,omitempty"`

				// The status (`enabled` or `disabled`) of the individual plugin within the plugin family to add to the scan.
				N18261 *ScansCreateJSONBodyPluginsWebServersIndividual18261 `json:"18261,omitempty"`
			} `json:"individual,omitempty"`
		} `json:"Web Servers,omitempty"`
	} `json:"plugins,omitempty"`
	Settings struct {
		// An array containing permissions to apply to the scan.
		Acls *[]struct {
			// The name of the user or group granted the specified permissions, as it appears in the Tenable.io user interface.
			DisplayName *string `json:"display_name,omitempty"`

			// A number representing the order in which the user or user groups display in the Permissions tab in the Tenable.io user interface.
			Id *int `json:"id,omitempty"`

			// The name of the user or group granted the specified permissions.
			Name *string `json:"name,omitempty"`

			// A value that indicates whether the user or user group specified in the object owns the scan. Possible values include: `null` (system-owned permissions), `0` (the user is not the owner of the scan), `1` (the user is the owner of the scan).
			Owner *int `json:"owner,omitempty"`

			// The scan permission. For more information, see [Permissions](doc:permissions).
			Permissions *int `json:"permissions,omitempty"`

			// The type of scan permissions: `default` (default permissions for the scan), `user` (permissions for an individual user), or `group` (permissions for a user group).
			Type *string `json:"type,omitempty"`
		} `json:"acls,omitempty"`

		// An array of agent group UUIDs to scan. Required if the scan is an agent scan.
		AgentGroupId *[]string `json:"agent_group_id,omitempty"`

		// The description of the scan.
		Description *string `json:"description,omitempty"`

		// A comma-separated list of accounts that receive the email summary report.
		Emails *string `json:"emails,omitempty"`

		// If `true`, the schedule for the scan is enabled. If you omit this parameter from the request, Tenable.io assigns the default value `true`. This parameter corresponds to the **Enabled** toggle in scan schedule settings in the Tenable.io user interface. Note that scheduled scans do not run if they are in the scan owner's trash folder.
		Enabled bool `json:"enabled"`

		// The name of a file containing the list of targets to scan. Before you use this parameter, use the [POST /files/upload](ref:file-upload) endpoint to upload the file to Tenable.io; then, use the `fileuploaded` attribute of the response message as the `file_targets` parameter value.
		//
		// This parameter is required if your request omits other target parameters. For more information, see "Required Scan Target Parameters" in [Create a Scan](doc:create-scan-tio).
		//
		//  **Note:** Unicode/UTF-8 encoding is not supported in the targets file.
		FileTargets *string `json:"file_targets,omitempty"`

		// The unique ID of the folder where you want to store the scan. Use the [GET /folders](ref:folders-list) endpoint to find the folder ID. If you omit this parameter from the request, Tenable.io assigns the ID of the Tenable-provided `main` folder.
		FolderId *int32 `json:"folder_id,omitempty"`

		// When to launch the scan. Possible values are: ON\_DEMAND, DAILY, WEEKLY, MONTHLY, YEARLY. Note that scheduled scans do not run if they are in the scan owner's trash folder.
		Launch *ScansCreateJSONBodySettingsLaunch `json:"launch,omitempty"`

		// The name of the scan.
		Name string `json:"name"`

		// The unique ID of the policy to use to create the scan. If your user permissions are set to SCAN OPERATOR [24], this parameter is required. Use the [GET /policies](ref:policies-list) endpoint to find the policy ID.
		PolicyId *int32 `json:"policy_id,omitempty"`

		// The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). For a scan that runs every three weeks on Monday Wednesday and Friday, the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`. If the scan is not scheduled to recur, this attribute is `null`. For more information, see [rrules Format](doc:example-assessment-scan-recurring#rrules-format).
		//
		// **Note:** To set the `rrules` parameter for an agent scan, the request must also include the following body parameters:<ul><li>The `uuid` parameter must specify an agent scan template. For more information, see [Tenable-Provided Agent Templates](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Scans/AgentTemplates.htm) and the [GET /editor/scan/templates](ref:editor-list-templates) endpoint.</li><li>The `agent_group_id` parameter must specify an agent group. For more information, see [Agent Groups](ref:agent-groups).</li></ul>For an example request body for an agent scan, see [Example Agent Scan: Recurring](doc:example-agent-scan-recurring).
		Rrules *string `json:"rrules,omitempty"`

		// The time frame, in minutes, during which agents must transmit scan results to Tenable.io in order to be included in dashboards and reports. If your request omits this parameter, the default value is 180 minutes. For non-agent scans, this attribute is null.
		ScanTimeWindow *int `json:"scan_time_window,omitempty"`

		// The unique ID of the scanner to use. Use the [GET /scanners](ref:scanners-list) endpoint to find the scanner ID. You can use the special value `AUTO-ROUTED` to assign scan targets to scanner groups based on the groups' configured scan routes. For more information, see [Manage Scan Routing](doc:manage-scan-routing-tio).
		//
		// **Note:** If you omit this parameter from the request, Tenable.io assigns the US Cloud Scanner by default.
		ScannerId *string `json:"scanner_id,omitempty"`

		// For one-time scans, the starting time and date for the scan. For recurrent scans, the first date on which the scan schedule is active and the time that recurring scans launch based on the `rrules` parameter.
		//
		// This parameter must be in the following format: `YYYYMMDDTHHMMSS`.
		//
		// This parameter corresponds to the **Starts** drop-down boxes in scan schedule settings in the Tenable.io user interface.
		Starttime *string `json:"starttime,omitempty"`

		// The list of asset tag identifiers that the scan uses to determine which assets it evaluates. For more information about tag-based scans, see [Manage Tag-Based Scans](doc:manage-tag-based-scans-tio).
		//
		// This parameter is required if your request omits other target parameters. For more information, see "Required Scan Target Parameters" in [Create a Scan](doc:create-scan-tio).
		TagTargets *[]string `json:"tag_targets,omitempty"`

		// An array of target group IDs to scan. Use the [GET /target-groups](/reference#target-groups-list) endpoint to determine target group IDs. This parameter is required if your request omits other target parameters. For more information, see "Required Scan Target Parameters" in [Create a Scan](doc:create-scan-tio).
		TargetGroups *[]int `json:"target_groups,omitempty"`

		// This field is required if the `scanner_id` parameter is `AUTO-ROUTED`. Specify a value as follows:<ul><li>If your scans involve separate environments with overlapping IP ranges, specify the UUID of the [network](doc:manage-networks-tio) you want to associate with the results of the auto-routed scan. This value must match the network where you have assigned the scanner groups that you configured for scan routing.</li><li>Otherwise, specify the default network (`00000000-0000-0000-0000-000000000000`).</li></ul>
		//
		// **Note:** This parameter does not override network associations for scans that are not auto-routed. Tenable.io automatically associates a non-routed scan with the network to which you have assigned the scanner that performs the scan.
		TargetNetworkUuid *string `json:"target_network_uuid,omitempty"`

		// The list of targets to scan. For a full list of supported target formats, see the [Tenable.io Vulnerability Management User Guide](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Scans/AboutScanTargets.htm). You can specify multiple targets (of differing formats) as a comma-delimited list.
		//
		// This parameter is required if your request omits other target parameters. For more information, see "Required Scan Target Parameters" in [Create a Scan](doc:create-scan-tio).
		//
		// **Note:** Tenable.io does not perform validation on values you submit for this parameter. If you submit invalid values, Tenable.io stores the invalid values in the scan configuration, and when the scan runs, scanning fails on the invalid targets.
		TextTargets *string `json:"text_targets,omitempty"`

		// The timezone of the scheduled start time for the scan (as specified in the `starttime` parameter). Use the [GET /scans/timezones](ref:scans-timezones) endpoint to determine this value.
		//
		//  Corresponds to the **Timezone** drop-down box in the scan schedule settings in the Tenable.io user interface.
		Timezone *string `json:"timezone,omitempty"`
	} `json:"settings"`

	// The UUID for the Tenable-provided scan template to use. Use the [GET /editor/scan/templates](ref:editor-list-templates) endpoint to find the template UUID.
	Uuid string `json:"uuid"`
}

ScansCreateJSONBody defines parameters for ScansCreate.

type ScansCreateJSONBodyCredentialsAddHostWindowsAuthMethod

type ScansCreateJSONBodyCredentialsAddHostWindowsAuthMethod string

ScansCreateJSONBodyCredentialsAddHostWindowsAuthMethod defines parameters for ScansCreate.

type ScansCreateJSONBodyPluginsWebServersIndividual11213

type ScansCreateJSONBodyPluginsWebServersIndividual11213 string

ScansCreateJSONBodyPluginsWebServersIndividual11213 defines parameters for ScansCreate.

type ScansCreateJSONBodyPluginsWebServersIndividual18261

type ScansCreateJSONBodyPluginsWebServersIndividual18261 string

ScansCreateJSONBodyPluginsWebServersIndividual18261 defines parameters for ScansCreate.

type ScansCreateJSONBodySettingsLaunch

type ScansCreateJSONBodySettingsLaunch string

ScansCreateJSONBodySettingsLaunch defines parameters for ScansCreate.

type ScansCreateJSONRequestBody

type ScansCreateJSONRequestBody ScansCreateJSONBody

ScansCreateJSONRequestBody defines body for ScansCreate for application/json ContentType.

type ScansCreateResponse

type ScansCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The unique ID of your Tenable.io instance.
		ContainerId *string `json:"container_id,omitempty"`

		// For newly-created scans, the date on which the scan configuration was originally created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was originally created. Instead, it represents the date on which the scan was first launched, in Unix time format.
		CreationDate *int32 `json:"creation_date,omitempty"`

		// Targets specified in the `alt_targets` parameter of the [POST /scans/{scan_id}/launch](/reference#scans-launch) request body used to run the scan.
		CustomTargets *string `json:"custom_targets,omitempty"`

		// The name of the dashboard file associated with the scan.
		DashboardFile *string `json:"dashboard_file,omitempty"`

		// The default permissions for the scan.
		DefaultPermissions *int32 `json:"default_permissions,omitempty"`

		// A brief user-defined description of the scan.
		Description *string `json:"description,omitempty"`

		// A comma-separated list of accounts that receive the email summary report.
		Emails *string `json:"emails,omitempty"`

		// A value indicating whether the scan schedule is active (`true`) or inactive (`false`).
		Enabled *bool `json:"enabled,omitempty"`

		// The unique ID of the scan.
		Id *int32 `json:"id,omitempty"`

		// A value indicating whether the scan results appear in dashboards.
		IncludeAggregate *bool `json:"include_aggregate,omitempty"`

		// For newly-created scans, the date on which the scan configuration was created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was last modified. Instead, it represents the date on which the scan was last launched, in Unix time format. Tenable.io updates this attribute each time the scan launches.
		LastModificationDate *int32 `json:"last_modification_date,omitempty"`

		// The user-defined scan name.
		Name *string `json:"name,omitempty"`

		// A list of filters that Tenable.io applies to determine whether it sends a notification email on scan completion to the recipients specified in the `emails` attribute.
		NotificationFilters *[]struct {
			// The attribute name. For example, use the `risk_factor` attribute if you want to filter on vulnerability severity.
			Filter *string `json:"filter,omitempty"`

			// The operator Tenable.io applies to the filter value, for example, `eq`.
			Quality *string `json:"quality,omitempty"`

			// The attribute value Tenable.io filters on. For example, when filtering on severity, this attribute might specify `Critical`.
			Value *string `json:"value,omitempty"`
		} `json:"notification_filters,omitempty"`

		// The owner of the scan.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the scan.
		OwnerId *int `json:"owner_id,omitempty"`

		// The unique ID of the scan owner.
		OwnerUuid *string `json:"owner_uuid,omitempty"`

		// The unique ID of the policy associated with the scan.
		PolicyId *int `json:"policy_id,omitempty"`

		// If `1`, your vulnerability remediation actions on scan targets have been successful.
		Remediation *int `json:"remediation,omitempty"`

		// The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). For a scan that runs every three weeks on Monday Wednesday and Friday, the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`. If the scan is not scheduled to recur, this attribute is `null`. For more information, see [rrules Format](doc:example-assessment-scan-recurring#rrules-format).
		//
		// **Note:** To set the `rrules` parameter for an agent scan, the request must also include the following body parameters:<ul><li>The `uuid` parameter must specify an agent scan template. For more information, see [Tenable-Provided Agent Templates](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Scans/AgentTemplates.htm) and the [GET /editor/scan/templates](ref:editor-list-templates) endpoint.</li><li>The `agent_group_id` parameter must specify an agent group. For more information, see [Agent Groups](ref:agent-groups).</li></ul>For an example request body for an agent scan, see [Example Agent Scan: Recurring](doc:example-agent-scan-recurring).
		Rrules *string `json:"rrules,omitempty"`

		// The time frame, in minutes, during which agents must transmit scan results to Tenable.io in order to be included in dashboards and reports. If your request omits this parameter, the default value is 180 minutes. For non-agent scans, this attribute is null.
		ScanTimeWindow *string `json:"scan_time_window,omitempty"`

		// The UUID of the scanner that the scan is configured to use, if the scan is *not* configured for [scan routing](doc:manage-scan-routing-tio).
		ScannerUuid *string `json:"scanner_uuid,omitempty"`

		// If `1`, the scan is shared with users other than the scan owner. The level of sharing is specified in the `acls` attribute of the scan details.
		Shared *bool `json:"shared,omitempty"`

		// A comma-separated list of mobile phone numbers that receive notification of the scan.
		Sms *string `json:"sms,omitempty"`

		// For one-time scans, the starting time and date for the scan. For recurrent scans, the first date on which the scan schedule is active and the time that recurring scans launch based on the `rrules` parameter.
		//
		// This attribute has the following format: `YYYYMMDDTHHMMSS`.
		Starttime *string `json:"starttime,omitempty"`

		// The list of asset tag identifiers the scan uses to determine which assets it evaluates. For more information about tag-based scans, see [Manage Tag-Based Scans](doc:manage-tag-based-scans-tio).
		TagTargets *[]string `json:"tag_targets,omitempty"`

		// The type of tag.
		TagType *string `json:"tag_type,omitempty"`

		// The UUID of the network object that Tenable.io associates with the scan results if the scan is configured for [scan routing](doc:manage-scan-routing-tio).
		TargetNetworkUuid *string `json:"target_network_uuid,omitempty"`

		// The timezone of the scheduled start time for the scan.
		Timezone *string `json:"timezone,omitempty"`

		// The type of scan.
		Type *string `json:"type,omitempty"`

		// The sharing permissions for the scan.
		UserPermissions *int32 `json:"user_permissions,omitempty"`

		// The UUID of the schedule for the scan.
		Uuid *string `json:"uuid,omitempty"`
	}
	JSON500 *struct {
		// The HTTP status text.
		Error *int `json:"error,omitempty"`

		// A brief message describing the error Tenable.io encountered.
		Message *string `json:"message,omitempty"`

		// The HTTP status code.
		StatusCode *string `json:"statusCode,omitempty"`
	}
}

func ParseScansCreateResponse

func ParseScansCreateResponse(rsp *http.Response) (*ScansCreateResponse, error)

ParseScansCreateResponse parses an HTTP response from a ScansCreateWithResponse call

func (ScansCreateResponse) Status

func (r ScansCreateResponse) Status() string

Status returns HTTPResponse.Status

func (ScansCreateResponse) StatusCode

func (r ScansCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansDeleteHistoryResponse

type ScansDeleteHistoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
	JSON500      *struct {
		// The HTTP status text.
		Error *int `json:"error,omitempty"`

		// A brief message describing the error Tenable.io encountered.
		Message *string `json:"message,omitempty"`

		// The HTTP status code.
		StatusCode *string `json:"statusCode,omitempty"`
	}
}

func ParseScansDeleteHistoryResponse

func ParseScansDeleteHistoryResponse(rsp *http.Response) (*ScansDeleteHistoryResponse, error)

ParseScansDeleteHistoryResponse parses an HTTP response from a ScansDeleteHistoryWithResponse call

func (ScansDeleteHistoryResponse) Status

Status returns HTTPResponse.Status

func (ScansDeleteHistoryResponse) StatusCode

func (r ScansDeleteHistoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansDeleteResponse

type ScansDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
	JSON500      *struct {
		// The HTTP status text.
		Error *int `json:"error,omitempty"`

		// A brief message describing the error Tenable.io encountered.
		Message *string `json:"message,omitempty"`

		// The HTTP status code.
		StatusCode *string `json:"statusCode,omitempty"`
	}
}

func ParseScansDeleteResponse

func ParseScansDeleteResponse(rsp *http.Response) (*ScansDeleteResponse, error)

ParseScansDeleteResponse parses an HTTP response from a ScansDeleteWithResponse call

func (ScansDeleteResponse) Status

func (r ScansDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (ScansDeleteResponse) StatusCode

func (r ScansDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansDetailsParams

type ScansDetailsParams struct {
	// The unique identifier of the historical data that you want Tenable.io to return. This identifier corresponds to the `history.id` attribute of the response message from the [GET /scans/{scan_id}/history](ref:scans-history) endpoint. You can use either this parameter or the `history_uuid` query parameter to specify a scan run.
	HistoryId *int32 `json:"history_id,omitempty"`

	// The UUID of the historical data that you want Tenable.io to return. This identifier corresponds to the `history.scan_uuid` attribute of the response message from the [GET /scans/{scan_id}/history](ref:scans-history) endpoint. You can use either this parameter or the `history_id` query parameter to specify a scan run.
	HistoryUuid *string `json:"history_uuid,omitempty"`
}

ScansDetailsParams defines parameters for ScansDetails.

type ScansDetailsResponse

type ScansDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A list of the hosts targeted by the scan for the specified run. If the scan results are older than 35 days (that is, if the `info.archived` attribute for the scan is `true`), this array does not appear in the response message.
		Comphosts *[]struct {
			// The percentage of critical findings on the host.
			Critical *int `json:"critical,omitempty"`

			// The percentage of high findings on the host.
			High *int `json:"high,omitempty"`

			// The unique ID of the host.
			HostId *int `json:"host_id,omitempty"`

			// The index for the host.
			HostIndex *int `json:"host_index,omitempty"`

			// The name of the host.
			Hostname *string `json:"hostname,omitempty"`

			// The percentage of info findings on the host.
			Info *int `json:"info,omitempty"`

			// The percentage of low findings on the host.
			Low *int `json:"low,omitempty"`

			// The percentage of medium findings on the host.
			Medium *int `json:"medium,omitempty"`

			// The number of checks considered on the host.
			Numchecksconsidered *int `json:"numchecksconsidered,omitempty"`

			// The scan progress of the host.
			Progress *string `json:"progress,omitempty"`

			// The current scan progress for the host.
			Scanprogresscurrent *int `json:"scanprogresscurrent,omitempty"`

			// The total scan progress for the host.
			Scanprogresstotal *int `json:"scanprogresstotal,omitempty"`

			// The overall score for the host.
			Score         *int                    `json:"score,omitempty"`
			Severitycount *map[string]interface{} `json:"severitycount,omitempty"`

			// The total number of checks considered on the host.
			Totalchecksconsidered *int `json:"totalchecksconsidered,omitempty"`
		} `json:"comphosts,omitempty"`

		// A list of compliance checks performed during the run of the scan. If the scan results are older than 35 days (that is, if the `info.archived` attribute for the scan is `true`), this array does not appear in the response message.
		Compliance *[]struct {
			// The number of vulnerabilities found.
			Count *int `json:"count,omitempty"`

			// The parent family of the vulnerability plugin.
			PluginFamily *string `json:"plugin_family,omitempty"`

			// The unique ID of the vulnerability plugin.
			PluginId *int `json:"plugin_id,omitempty"`

			// The name of the vulnerability plugin.
			PluginName *string `json:"plugin_name,omitempty"`

			// The severity rating of the plugin.
			Severity *int `json:"severity,omitempty"`

			// The severity index order of the plugin.
			SeverityIndex *int `json:"severity_index,omitempty"`

			// The index of the vulnerability plugin.
			VulnIndex *int `json:"vuln_index,omitempty"`
		} `json:"compliance,omitempty"`

		// A list of filters. If the scan results are older than 35 days (that is, if the `info.archived` attribute for the scan is `true`), this array does not appear in the response message.
		Filters *[]struct {
			Control *struct {
				// A list of options if the input is a dropdown.
				Options *[]string `json:"options,omitempty"`

				// The placeholder for the input.
				ReadableRegest *string `json:"readable_regest,omitempty"`

				// A regex for checking the value of the input.
				Regex *string `json:"regex,omitempty"`

				// The input type (entry or dropdown).
				Type *string `json:"type,omitempty"`
			} `json:"control,omitempty"`

			// The short name of the filter.
			Name *string `json:"name,omitempty"`

			// The comparison options for the filter.
			Operators *[]string `json:"operators,omitempty"`

			// The long name of the filter.
			ReadableName *string `json:"readable_name,omitempty"`
		} `json:"filters,omitempty"`

		// A list of details about each time the scan has run.
		History *[]struct {
			// If `true`, Tenable.io did not not launched with a target list. This parameter is `true` for agent scans.
			AltTargetsUsed *bool `json:"alt_targets_used,omitempty"`

			// The creation date for the historical data in Unix time.
			CreationDate *int `json:"creation_date,omitempty"`

			// The unique ID of the historical data.
			HistoryId *int `json:"history_id,omitempty"`

			// Indicates whether the scan results are older than 35 days (`true`). If this parameter is `true`, Tenable.io returns limited data for the scan run. For complete scan results that are older than 35 days, use the [POST /scans/{scan_id}/export](ref:scans-export-request) endpoint instead.
			IsArchived *bool `json:"is_archived,omitempty"`

			// The last modification date for the historical data in Unix time.
			LastModificationDate *int `json:"last_modification_date,omitempty"`

			// The unique ID of the owner of the scan.
			OwnerId *int `json:"owner_id,omitempty"`

			// If `true`, Tenable.io launched the scan automatically from a schedule.
			Scheduler *int `json:"scheduler,omitempty"`

			// The terminal status of the scan run. For a list of possible values, see [Scan Status](doc:scan-status-tio).
			Status *string `json:"status,omitempty"`

			// The type of scan: `local` (a credentialed scan performed over the network), `remote` (an uncredentialed scan performed over the network, `agent` (a scan on a local host that a Nessus agent performs directly), or `null` (the scan has never been launched, or the scan is imported).
			Type *string `json:"type,omitempty"`

			// The UUID of the historical data.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"history,omitempty"`

		// A list of the hosts targeted by the scan for the specified run. If the scan results are older than 35 days (that is, if the `info.archived` attribute for the scan is `true`), this array does not appear in the response message.
		Hosts *[]struct {
			// The percentage of critical findings on the host.
			Critical *int `json:"critical,omitempty"`

			// The percentage of high findings on the host.
			High *int `json:"high,omitempty"`

			// The unique ID of the host.
			HostId *int `json:"host_id,omitempty"`

			// The index for the host.
			HostIndex *int `json:"host_index,omitempty"`

			// The name of the host.
			Hostname *string `json:"hostname,omitempty"`

			// The percentage of info findings on the host.
			Info *int `json:"info,omitempty"`

			// The percentage of low findings on the host.
			Low *int `json:"low,omitempty"`

			// The percentage of medium findings on the host.
			Medium *int `json:"medium,omitempty"`

			// The number of checks considered on the host.
			Numchecksconsidered *int `json:"numchecksconsidered,omitempty"`

			// The scan progress of the host.
			Progress *string `json:"progress,omitempty"`

			// The current scan progress for the host.
			Scanprogresscurrent *int `json:"scanprogresscurrent,omitempty"`

			// The total scan progress for the host.
			Scanprogresstotal *int `json:"scanprogresstotal,omitempty"`

			// The overall score for the host.
			Score         *int                    `json:"score,omitempty"`
			Severitycount *map[string]interface{} `json:"severitycount,omitempty"`

			// The total number of checks considered on the host.
			Totalchecksconsidered *int `json:"totalchecksconsidered,omitempty"`
		} `json:"hosts,omitempty"`
		Info *struct {
			// An array of objects that control sharing permissions for the scan.
			Acls *[]struct {
				// The name of the user or group granted the specified permissions, as it appears in the Tenable.io user interface.
				DisplayName *string `json:"display_name,omitempty"`

				// A number representing the order in which the user or user groups display in the Permissions tab in the Tenable.io user interface.
				Id *int `json:"id,omitempty"`

				// The name of the user or group granted the specified permissions.
				Name *string `json:"name,omitempty"`

				// A value that indicates whether the user or user group specified in the object owns the scan. Possible values include: `null` (system-owned permissions), `0` (the user is not the owner of the scan), `1` (the user is the owner of the scan).
				Owner *int `json:"owner,omitempty"`

				// The scan permission. For more information, see [Permissions](doc:permissions).
				Permissions *int `json:"permissions,omitempty"`

				// The type of scan permissions: `default` (default permissions for the scan), `user` (permissions for an individual user), or `group` (permissions for a user group).
				Type *string `json:"type,omitempty"`
			} `json:"acls,omitempty"`

			// If `true`, Tenable.io did not not launched with a target list. This parameter is `true` for agent scans.
			AltTargetsUsed *bool `json:"alt_targets_used,omitempty"`

			// If `true`, the scan has a schedule and can be launched.
			Control *bool `json:"control,omitempty"`

			// If `true`, the requesting user can edit this scan configuration.
			EditAllowed *bool `json:"edit_allowed,omitempty"`

			// The unique ID of the destination folder for the scan.
			FolderId *int32 `json:"folder_id,omitempty"`

			// Indicates whether the scan is configured to create an audit trail.
			Hasaudittrail *bool `json:"hasaudittrail,omitempty"`

			// Indicates whether a scan has a Knowledge Base (KB) associated with it. A KB is an ASCII text file containing a log of information relevant to the scan performed and results found.
			Haskb *bool `json:"haskb,omitempty"`

			// The total number of assets scanned for vulnerabilities.
			Hostcount *int32 `json:"hostcount,omitempty"`

			// Indicates whether the scan results are older than 35 days (`true`). If this attribute is `true`, the response message for this endpoint excludes the `hosts`, `vulnerabilities`, `comphosts`, `compliance`, and `filters` objects. For complete scan results older than 35 days, use the [POST /scans/{scan_id}/export](ref:scans-export-request) endpoint instead.
			IsArchived *bool `json:"is_archived,omitempty"`

			// The name of the scan.
			Name *string `json:"name,omitempty"`

			// Indicates whether the scan based on this policy can specify targets.
			NoTarget *bool `json:"no_target,omitempty"`

			// The unique ID of the scan result object.
			ObjectId *int32 `json:"object_id,omitempty"`

			// The owner of the scan.
			Owner *string `json:"owner,omitempty"`

			// If `true`, you can submit the results of the scan for PCI ASV review. For more information, see [PCI ASV](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/PCI_ASV/Welcome.htm) in the Tenable.io Vulnerability Management User Guide.
			PciCanUpload *bool `json:"pci-can-upload,omitempty"`

			// The name of the scan template associated with the scan.
			Policy *string `json:"policy,omitempty"`

			// The Unix timestamp when the scan run finished.
			ScanEnd *int `json:"scan_end,omitempty"`

			// The Unix timestamp when the scan run started.
			ScanStart *int32 `json:"scan_start,omitempty"`

			// The type of scan: `ps` (a scan performed over the network by a cloud scanner), `remote` (a  scan performed over the network by a local scanner), `agent` (a scan on a local host that a Nessus agent performs directly), or `null` (the scan has never been launched, or the scan is imported).
			ScanType *string `json:"scan_type,omitempty"`

			// The scan's end time, if the scan is imported.
			ScannerEnd *int `json:"scanner_end,omitempty"`

			// The name of the scanner configured to run the scan.
			ScannerName *string `json:"scanner_name,omitempty"`

			// The scan's start time, if the scan is imported.
			ScannerStart *int `json:"scanner_start,omitempty"`

			// The UUID for a specific instance in the scan schedule.
			ScheduleUuid *string `json:"schedule_uuid,omitempty"`

			// If `true`, the scan is shared with users other than the owner. The level of sharing is specified in the `acls` attribute of the scan details.
			Shared *bool `json:"shared,omitempty"`

			// The status of the scan. For a list of possible values, see [Scan Status](doc:scan-status-tio).
			Status *string `json:"status,omitempty"`

			// The list of asset tag identifiers the scan uses to determine which assets it evaluates. For more information about tag-based scans, see [Manage Tag-Based Scans](doc:manage-tag-based-scans-tio).
			TagTargets *[]string `json:"tag_targets,omitempty"`

			// A comma-delimited list of IPv4 addresses that are configured as targets for the scan.
			Targets *string `json:"targets,omitempty"`

			// The Unix timestamp when the scan run finished.
			Timestamp *int `json:"timestamp,omitempty"`

			// The sharing permissions for the scan.
			UserPermissions *int32 `json:"user_permissions,omitempty"`

			// The UUID of the scan.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"info,omitempty"`
		Notes *[]struct {
			// The specific message of the note.
			Message *string `json:"message,omitempty"`

			// The severity of the note.
			Severity *int `json:"severity,omitempty"`

			// The title of the note.
			Title *string `json:"title,omitempty"`
		} `json:"notes,omitempty"`
		Remediations *map[string]interface{} `json:"remediations,omitempty"`

		// A list of vulnerabilities that the scan identified on the target hosts. If the scan results are older than 35 days (that is, if the `info.archived` attribute for the scan is `true`), this array does not appear in the response message.
		Vulnerabilities *[]struct {
			// The number of vulnerabilities found.
			Count *int `json:"count,omitempty"`

			// The parent family of the vulnerability plugin.
			PluginFamily *string `json:"plugin_family,omitempty"`

			// The unique ID of the vulnerability plugin.
			PluginId *int `json:"plugin_id,omitempty"`

			// The name of the vulnerability plugin.
			PluginName *string `json:"plugin_name,omitempty"`

			// The severity rating of the plugin.
			Severity *int `json:"severity,omitempty"`

			// The severity index order of the plugin.
			SeverityIndex *int `json:"severity_index,omitempty"`

			// The index of the vulnerability plugin.
			VulnIndex *int `json:"vuln_index,omitempty"`
		} `json:"vulnerabilities,omitempty"`
	}
	JSON404 *struct {
		// A brief description of the cause of the error.
		Error *string `json:"error,omitempty"`
	}
}

func ParseScansDetailsResponse

func ParseScansDetailsResponse(rsp *http.Response) (*ScansDetailsResponse, error)

ParseScansDetailsResponse parses an HTTP response from a ScansDetailsWithResponse call

func (ScansDetailsResponse) Status

func (r ScansDetailsResponse) Status() string

Status returns HTTPResponse.Status

func (ScansDetailsResponse) StatusCode

func (r ScansDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansExportDownloadResponse

type ScansExportDownloadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseScansExportDownloadResponse

func ParseScansExportDownloadResponse(rsp *http.Response) (*ScansExportDownloadResponse, error)

ParseScansExportDownloadResponse parses an HTTP response from a ScansExportDownloadWithResponse call

func (ScansExportDownloadResponse) Status

Status returns HTTPResponse.Status

func (ScansExportDownloadResponse) StatusCode

func (r ScansExportDownloadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansExportRequestJSONBody

type ScansExportRequestJSONBody struct {
	// The ID of the asset scanned.
	AssetId *string `json:"asset_id,omitempty"`

	// The chapters to include in the export. This parameter accepts a semi-colon delimited string comprised of some combination of the following options: vuln_hosts_summary, vuln_by_host, compliance_exec, remediations, vuln_by_plugin, compliance).
	//
	// **Note:** This parameter is required if the file format is `PDF` or `HTML`.
	Chapters *string `json:"chapters,omitempty"`

	// The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/vulnerabilities](ref:io-filters-vulnerabilities-workbench-list) endpoint. If you specify the name of the filter, you must specify the operator as the `filter.0.quality` parameter and the value as the `filter.0.value` parameter. To use multiple filters, increment the `<INDEX>` portion of `filter.<INDEX>.filter`, for example, `filter.1.filter`. For more information about using this parameter, see [Scan Export Filters](doc:scan-export-filters-tio).
	//
	// **Note:** Filters are not supported when exporting scan results that are older than 60 days.
	Filter0Filter *string `json:"filter.0.filter,omitempty"`

	// The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/vulnerabilities](ref:io-filters-vulnerabilities-workbench-list) endpoint. To use multiple filters, increment the `<INDEX>` portion of `filter.<INDEX>.quality`, for example, `filter.1.quality`. For more information about using this parameter, see [Scan Export Filters](doc:scan-export-filters-tio).
	Filter0Quality *string `json:"filter.0.quality,omitempty"`

	// The value of the filter to apply to the exported scan report. You can find valid values for the filter in the `control` attribute of the objects returned by the [GET /filters/workbenches/vulnerabilities](ref:io-filters-vulnerabilities-workbench-list) endpoint. To use multiple filters, increment the `<INDEX>` portion of `filter.<INDEX>.value`, for example, `filter.1.value`. For more information about using this parameter, see [Scan Export Filters](doc:scan-export-filters-tio).
	Filter0Value *string `json:"filter.0.value,omitempty"`

	// For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about using this parameter, see [Scan Export Filters](doc:scan-export-filters-tio).
	FilterSearchType *ScansExportRequestJSONBodyFilterSearchType `json:"filter.search_type,omitempty"`

	// The file format to use (`Nessus`, `HTML`, `PDF`, `CSV`, or `DB`). For scans that are older than 60 days, only `Nessus` and `CSV` are supported.
	Format ScansExportRequestJSONBodyFormat `json:"format"`

	// The password used to encrypt database exports. This parameter is required when exporting as `DB`.
	Password *string `json:"password,omitempty"`
}

ScansExportRequestJSONBody defines parameters for ScansExportRequest.

type ScansExportRequestJSONBodyFilterSearchType

type ScansExportRequestJSONBodyFilterSearchType string

ScansExportRequestJSONBodyFilterSearchType defines parameters for ScansExportRequest.

type ScansExportRequestJSONBodyFormat

type ScansExportRequestJSONBodyFormat string

ScansExportRequestJSONBodyFormat defines parameters for ScansExportRequest.

type ScansExportRequestJSONRequestBody

type ScansExportRequestJSONRequestBody ScansExportRequestJSONBody

ScansExportRequestJSONRequestBody defines body for ScansExportRequest for application/json ContentType.

type ScansExportRequestParams

type ScansExportRequestParams struct {
	// The unique identifier of the historical data that you want Tenable.io to export. This identifier corresponds to the `history.id` attribute of the response message from the [GET /scans/{scan_id}/history](ref:scans-history) endpoint.
	HistoryId *int32 `json:"history_id,omitempty"`

	// The UUID of the historical data that you want Tenable.io to return. This identifier corresponds to the `history.scan_uuid` attribute of the response message from the [GET /scans/{scan_id}/history](ref:scans-history) endpoint.
	HistoryUuid *string `json:"history_uuid,omitempty"`
}

ScansExportRequestParams defines parameters for ScansExportRequest.

type ScansExportRequestResponse

type ScansExportRequestResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		File      *string `json:"file,omitempty"`
		TempToken *string `json:"temp_token,omitempty"`
	}
}

func ParseScansExportRequestResponse

func ParseScansExportRequestResponse(rsp *http.Response) (*ScansExportRequestResponse, error)

ParseScansExportRequestResponse parses an HTTP response from a ScansExportRequestWithResponse call

func (ScansExportRequestResponse) Status

Status returns HTTPResponse.Status

func (ScansExportRequestResponse) StatusCode

func (r ScansExportRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansExportStatusResponse

type ScansExportStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The export status.
		Status *string `json:"status,omitempty"`
	}
}

func ParseScansExportStatusResponse

func ParseScansExportStatusResponse(rsp *http.Response) (*ScansExportStatusResponse, error)

ParseScansExportStatusResponse parses an HTTP response from a ScansExportStatusWithResponse call

func (ScansExportStatusResponse) Status

func (r ScansExportStatusResponse) Status() string

Status returns HTTPResponse.Status

func (ScansExportStatusResponse) StatusCode

func (r ScansExportStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansGetLatestStatusResponse

type ScansGetLatestStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The latest status of the scan. For a list of possible status values, see [Scan Status](doc:scan-status-tio).
		Status *string `json:"status,omitempty"`
	}
	JSON404 *struct {
		// A brief description of the cause of the error.
		Error *string `json:"error,omitempty"`
	}
	JSON500 *struct {
		// The HTTP status text.
		Error *int `json:"error,omitempty"`

		// A brief message describing the error Tenable.io encountered.
		Message *string `json:"message,omitempty"`

		// The HTTP status code.
		StatusCode *string `json:"statusCode,omitempty"`
	}
}

func ParseScansGetLatestStatusResponse

func ParseScansGetLatestStatusResponse(rsp *http.Response) (*ScansGetLatestStatusResponse, error)

ParseScansGetLatestStatusResponse parses an HTTP response from a ScansGetLatestStatusWithResponse call

func (ScansGetLatestStatusResponse) Status

Status returns HTTPResponse.Status

func (ScansGetLatestStatusResponse) StatusCode

func (r ScansGetLatestStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansHistoryDetailsResponse

type ScansHistoryDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Indicates whether the scan results are older than 35 days (`true`). If this parameter is `true`, Tenable.io returns limited data for the scan run. For complete scan results that are older than 35 days, use the [POST /scans/{scan_id}/export](ref:scans-export-request) endpoint instead.
		IsArchived *bool `json:"is_archived,omitempty"`

		// The name of the scan.
		Name *string `json:"name,omitempty"`

		// The unique ID of the scan result object.
		ObjectId *int32 `json:"object_id,omitempty"`

		// The username of the owner of the scan when the scan run occurred.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the scan.
		OwnerId *int `json:"owner_id,omitempty"`

		// The UUID of the owner of the scan when the scan run occurred.
		OwnerUuid *int `json:"owner_uuid,omitempty"`

		// The Unix timestamp when the scan run finished.
		ScanEnd *int `json:"scan_end,omitempty"`

		// The Unix timestamp when the scan run started.
		ScanStart *int32 `json:"scan_start,omitempty"`

		// The type of scan: `ps` (a scan performed over the network by a cloud scanner), `remote` (a  scan performed over the network by a local scanner), `agent` (a scan on a local host that a Nessus agent performs directly), or `null` (the scan has never been launched, or the scan is imported).
		ScanType *string `json:"scan_type,omitempty"`

		// The UUID for a specific instance in the scan schedule.
		ScheduleUuid *string `json:"schedule_uuid,omitempty"`

		// The terminal status of the scan run. For possible values, see [Scan Status](doc:scan-status-tio).
		Status *string `json:"status,omitempty"`

		// The hosts that the scan targeted.
		Targets *string `json:"targets,omitempty"`

		// The UUID of the historical data.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseScansHistoryDetailsResponse

func ParseScansHistoryDetailsResponse(rsp *http.Response) (*ScansHistoryDetailsResponse, error)

ParseScansHistoryDetailsResponse parses an HTTP response from a ScansHistoryDetailsWithResponse call

func (ScansHistoryDetailsResponse) Status

Status returns HTTPResponse.Status

func (ScansHistoryDetailsResponse) StatusCode

func (r ScansHistoryDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansHistoryParams

type ScansHistoryParams struct {
	// The number of records to retrieve. If this parameter is omitted, Tenable.io uses the default value of `50`.
	Limit *int32 `json:"limit,omitempty"`

	// The starting record to retrieve. If this parameter is omitted, Tenable.io uses the default value of `0`.
	Offset *int32 `json:"offset,omitempty"`

	// The field you want to use to sort the results by along with the sort order. The field is specified first, followed by a colon, and the order is specified second (`asc` or `desc`). For example, `start_date:desc` would sort results by the `start_date` field in descending order.
	//
	// If you specify multiple fields, the fields must be separated by commas. For example, `start_date:desc,status:asc` would first sort results by the `start_date` field in descending order and then by the `status` field in ascending order.
	Sort *string `json:"sort,omitempty"`
}

ScansHistoryParams defines parameters for ScansHistory.

type ScansHistoryResponse

type ScansHistoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		History *[]struct {
			// The unique identifier for the specific scan run.
			Id *int `json:"id,omitempty"`

			// Indicates whether the scan results are older than 35 days (`true`). If this parameter is `true`, Tenable.io returns limited data for the scan run. For complete scan results that are older than 35 days, use the [POST /scans/{scan_id}/export](ref:scans-export-request) endpoint instead.
			IsArchived *bool `json:"is_archived,omitempty"`

			// The UUID for the specific scan run.
			ScanUuid *string `json:"scan_uuid,omitempty"`

			// The status of the scan. For a list of possible values, see [Scan Status](doc:scan-status-tio).
			Status *string `json:"status,omitempty"`

			// The target parameters used to launch the scan.
			Targets *struct {
				// If `true`, custom parameters were used to launch the scan.
				Custom *bool `json:"custom,omitempty"`

				// If `true`, default parameters were used to launch the scan..
				Default *bool `json:"default,omitempty"`
			} `json:"targets,omitempty"`

			// The Unix timestamp when the scan finished running.
			TimeEnd *int `json:"time_end,omitempty"`

			// The Unix timestamp when the scan started running.
			TimeStart *int `json:"time_start,omitempty"`

			// The visibility of the scan results in workbenches (`public` or `private`).
			Visibility *string `json:"visibility,omitempty"`
		} `json:"history,omitempty"`
		Pagination *struct {
			// The number of records requested (or the default value if omitted from the request).
			Limit *int32 `json:"limit,omitempty"`

			// The starting record you requested (or zero if omitted).
			Offset *int32 `json:"offset,omitempty"`

			// An array of objects representing the fields and sort order you specified in the request, which Tenable.io used to sort the returned data.
			Sort *[]struct {
				// The field on which Tenable.io sorted the results.
				Name *string `json:"name,omitempty"`

				// The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending).
				Order *string `json:"order,omitempty"`
			} `json:"sort,omitempty"`

			// The total number of records matching your search criteria.
			Total *int32 `json:"total,omitempty"`
		} `json:"pagination,omitempty"`
	}
}

func ParseScansHistoryResponse

func ParseScansHistoryResponse(rsp *http.Response) (*ScansHistoryResponse, error)

ParseScansHistoryResponse parses an HTTP response from a ScansHistoryWithResponse call

func (ScansHistoryResponse) Status

func (r ScansHistoryResponse) Status() string

Status returns HTTPResponse.Status

func (ScansHistoryResponse) StatusCode

func (r ScansHistoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansHostDetailsParams

type ScansHostDetailsParams struct {
	// The unique identifier of the historical data that you want Tenable.io to return. This identifier corresponds to the `history.id` attribute of the response message from the [GET /scans/{scan_id}/history](ref:scans-history) endpoint.
	HistoryId *int32 `json:"history_id,omitempty"`

	// The UUID of the historical data that you want Tenable.io to return. This identifier corresponds to the `history.scan_uuid` attribute of the response message from the [GET /scans/{scan_id}/history](ref:scans-history) endpoint.
	HistoryUuid *string `json:"history_uuid,omitempty"`
}

ScansHostDetailsParams defines parameters for ScansHostDetails.

type ScansHostDetailsResponse

type ScansHostDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Compliance *[]struct {
			// The number of vulnerabilities found.
			Count *int `json:"count,omitempty"`

			// The unique ID of the host.
			HostId *int `json:"host_id,omitempty"`

			// The name of the host.
			Hostname *string `json:"hostname,omitempty"`

			// The parent family of the vulnerability plugin.
			PluginFamily *string `json:"plugin_family,omitempty"`

			// The unique ID of the vulnerability plugin.
			PluginId *int `json:"plugin_id,omitempty"`

			// The name of the vulnerability plugin.
			PluginName *string `json:"plugin_name,omitempty"`

			// The severity of plugin.
			Severity *int `json:"severity,omitempty"`

			// The severity index order of the plugin.
			SeverityIndex *int `json:"severity_index,omitempty"`
		} `json:"compliance,omitempty"`
		Info            *map[string]interface{} `json:"info,omitempty"`
		Vulnerabilities *[]struct {
			// The number of vulnerabilities found.
			Count *int `json:"count,omitempty"`

			// The unique ID of the host.
			HostId *int `json:"host_id,omitempty"`

			// The name of the host.
			Hostname *string `json:"hostname,omitempty"`

			// The parent family of the vulnerability plugin.
			PluginFamily *string `json:"plugin_family,omitempty"`

			// The unique ID of the vulnerability plugin.
			PluginId *int `json:"plugin_id,omitempty"`

			// The name of the vulnerability plugin.
			PluginName *string `json:"plugin_name,omitempty"`

			// The severity of plugin.
			Severity *int `json:"severity,omitempty"`

			// The severity index order of the plugin.
			SeverityIndex *int `json:"severity_index,omitempty"`

			// The index of the vulnerability plugin.
			VulnIndex *int `json:"vuln_index,omitempty"`
		} `json:"vulnerabilities,omitempty"`
	}
}

func ParseScansHostDetailsResponse

func ParseScansHostDetailsResponse(rsp *http.Response) (*ScansHostDetailsResponse, error)

ParseScansHostDetailsResponse parses an HTTP response from a ScansHostDetailsWithResponse call

func (ScansHostDetailsResponse) Status

func (r ScansHostDetailsResponse) Status() string

Status returns HTTPResponse.Status

func (ScansHostDetailsResponse) StatusCode

func (r ScansHostDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansImportJSONBody

type ScansImportJSONBody struct {
	// The name of the file to import as provided by the response from [Upload File](ref:file-upload) endpoint.
	File string `json:"file"`

	// The ID of the destination folder. If you omit this parameter, Tenable.io stores the imported scan in the default folder.
	FolderId *int32 `json:"folder_id,omitempty"`

	// The password for the file to import (required for nessus.db).
	Password *string `json:"password,omitempty"`
}

ScansImportJSONBody defines parameters for ScansImport.

type ScansImportJSONRequestBody

type ScansImportJSONRequestBody ScansImportJSONBody

ScansImportJSONRequestBody defines body for ScansImport for application/json ContentType.

type ScansImportParams

type ScansImportParams struct {
	// Specifies whether to include the imported scan data in the vulnerabilities dashboard views. To include, use `1`. To exclude, use `0`. If you don't specify the include_aggregate parameter, the data does not appear in the dashboard.
	IncludeAggregate *ScansImportParamsIncludeAggregate `json:"include_aggregate,omitempty"`
}

ScansImportParams defines parameters for ScansImport.

type ScansImportParamsIncludeAggregate

type ScansImportParamsIncludeAggregate int

ScansImportParamsIncludeAggregate defines parameters for ScansImport.

type ScansImportResponse

type ScansImportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// If `true`, the scan has a schedule and can be launched.
		Control *bool `json:"control,omitempty"`

		// The creation date for the scan in Unix time.
		CreationDate *int `json:"creation_date,omitempty"`

		// If `true`, the schedule for the scan is enabled.
		Enabled *bool `json:"enabled,omitempty"`

		// The unique ID of the scan.
		Id *int `json:"id,omitempty"`

		// For newly-created scans, the date on which the scan configuration was created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was last modified. Instead, it represents the date on which the scan was last launched, in Unix time format. Tenable.io updates this attribute each time the scan launches.
		LastModificationDate *int32 `json:"last_modification_date,omitempty"`

		// The name of the scan.
		Name *string `json:"name,omitempty"`

		// The owner of the scan.
		Owner *string `json:"owner,omitempty"`

		// If `true`, the scan has been read.
		Read *bool `json:"read,omitempty"`

		// The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). For a scan that runs every three weeks on Monday Wednesday and Friday, the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`. If the scan is not scheduled to recur, this attribute is `null`. For more information, see [rrules Format](doc:example-assessment-scan-recurring#rrules-format).
		//
		// **Note:** To set the `rrules` parameter for an agent scan, the request must also include the following body parameters:<ul><li>The `uuid` parameter must specify an agent scan template. For more information, see [Tenable-Provided Agent Templates](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Scans/AgentTemplates.htm) and the [GET /editor/scan/templates](ref:editor-list-templates) endpoint.</li><li>The `agent_group_id` parameter must specify an agent group. For more information, see [Agent Groups](ref:agent-groups).</li></ul>For an example request body for an agent scan, see [Example Agent Scan: Recurring](doc:example-agent-scan-recurring).
		Rrules *string `json:"rrules,omitempty"`

		// The UUID for a specific instance in the scan schedule.
		ScheduleUuid *string `json:"schedule_uuid,omitempty"`

		// If `1`, the scan is shared with users other than the scan owner. The level of sharing is specified in the `acls` attribute of the scan details.
		Shared *bool `json:"shared,omitempty"`

		// For one-time scans, the starting time and date for the scan. For recurrent scans, the first date on which the scan schedule is active and the time that recurring scans launch based on the `rrules` attribute.
		//
		// This attribute has the following format: `YYYYMMDDTHHMMSS`.
		Starttime *string `json:"starttime,omitempty"`

		// The status of the scan. For a list of possible values, see [Scan Status](doc:scan-status-tio).
		Status *string `json:"status,omitempty"`

		// The timezone of the scheduled start time for the scan.
		Timezone *string `json:"timezone,omitempty"`

		// The type of scan (local, remote, or agent).
		Type *string `json:"type,omitempty"`

		// The sharing permissions for the scan.
		UserPermissions *int `json:"user_permissions,omitempty"`

		// The UUID of the scan.
		Uuid *string `json:"uuid,omitempty"`
	}
	JSON500 *struct {
		// The HTTP status text.
		Error *int `json:"error,omitempty"`

		// A brief message describing the error Tenable.io encountered.
		Message *string `json:"message,omitempty"`

		// The HTTP status code.
		StatusCode *string `json:"statusCode,omitempty"`
	}
}

func ParseScansImportResponse

func ParseScansImportResponse(rsp *http.Response) (*ScansImportResponse, error)

ParseScansImportResponse parses an HTTP response from a ScansImportWithResponse call

func (ScansImportResponse) Status

func (r ScansImportResponse) Status() string

Status returns HTTPResponse.Status

func (ScansImportResponse) StatusCode

func (r ScansImportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansInterface

type ScansInterface interface {
	Attachments(arg1 string, arg2 string, params *ScansAttachmentsParams, reqEditors ...RequestEditorFn) (*ScansAttachmentsResponse, error)
	ConfigureWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		ContainerId          *string "json:\"container_id,omitempty\""
		CreationDate         *int32  "json:\"creation_date,omitempty\""
		CustomTargets        *string "json:\"custom_targets,omitempty\""
		DashboardFile        *string "json:\"dashboard_file,omitempty\""
		DefaultPermissions   *int32  "json:\"default_permissions,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Emails               *string "json:\"emails,omitempty\""
		Enabled              *bool   "json:\"enabled,omitempty\""
		Id                   *int32  "json:\"id,omitempty\""
		IncludeAggregate     *bool   "json:\"include_aggregate,omitempty\""
		LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NotificationFilters  *[]struct {
			Filter  *string "json:\"filter,omitempty\""
			Quality *string "json:\"quality,omitempty\""
			Value   *string "json:\"value,omitempty\""
		} "json:\"notification_filters,omitempty\""
		Owner             *string   "json:\"owner,omitempty\""
		OwnerId           *int      "json:\"owner_id,omitempty\""
		OwnerUuid         *string   "json:\"owner_uuid,omitempty\""
		PolicyId          *int      "json:\"policy_id,omitempty\""
		Remediation       *int      "json:\"remediation,omitempty\""
		Rrules            *string   "json:\"rrules,omitempty\""
		ScanTimeWindow    *string   "json:\"scan_time_window,omitempty\""
		ScannerUuid       *string   "json:\"scanner_uuid,omitempty\""
		Shared            *bool     "json:\"shared,omitempty\""
		Sms               *string   "json:\"sms,omitempty\""
		Starttime         *string   "json:\"starttime,omitempty\""
		TagTargets        *[]string "json:\"tag_targets,omitempty\""
		TagType           *string   "json:\"tag_type,omitempty\""
		TargetNetworkUuid *string   "json:\"target_network_uuid,omitempty\""
		Timezone          *string   "json:\"timezone,omitempty\""
		Type              *string   "json:\"type,omitempty\""
		UserPermissions   *int32    "json:\"user_permissions,omitempty\""
		Uuid              *string   "json:\"uuid,omitempty\""
	}, error)
	Configure(arg1 string, arg2 ScansConfigureJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		ContainerId          *string "json:\"container_id,omitempty\""
		CreationDate         *int32  "json:\"creation_date,omitempty\""
		CustomTargets        *string "json:\"custom_targets,omitempty\""
		DashboardFile        *string "json:\"dashboard_file,omitempty\""
		DefaultPermissions   *int32  "json:\"default_permissions,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Emails               *string "json:\"emails,omitempty\""
		Enabled              *bool   "json:\"enabled,omitempty\""
		Id                   *int32  "json:\"id,omitempty\""
		IncludeAggregate     *bool   "json:\"include_aggregate,omitempty\""
		LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NotificationFilters  *[]struct {
			Filter  *string "json:\"filter,omitempty\""
			Quality *string "json:\"quality,omitempty\""
			Value   *string "json:\"value,omitempty\""
		} "json:\"notification_filters,omitempty\""
		Owner             *string   "json:\"owner,omitempty\""
		OwnerId           *int      "json:\"owner_id,omitempty\""
		OwnerUuid         *string   "json:\"owner_uuid,omitempty\""
		PolicyId          *int      "json:\"policy_id,omitempty\""
		Remediation       *int      "json:\"remediation,omitempty\""
		Rrules            *string   "json:\"rrules,omitempty\""
		ScanTimeWindow    *string   "json:\"scan_time_window,omitempty\""
		ScannerUuid       *string   "json:\"scanner_uuid,omitempty\""
		Shared            *bool     "json:\"shared,omitempty\""
		Sms               *string   "json:\"sms,omitempty\""
		Starttime         *string   "json:\"starttime,omitempty\""
		TagTargets        *[]string "json:\"tag_targets,omitempty\""
		TagType           *string   "json:\"tag_type,omitempty\""
		TargetNetworkUuid *string   "json:\"target_network_uuid,omitempty\""
		Timezone          *string   "json:\"timezone,omitempty\""
		Type              *string   "json:\"type,omitempty\""
		UserPermissions   *int32    "json:\"user_permissions,omitempty\""
		Uuid              *string   "json:\"uuid,omitempty\""
	}, error)
	CopyWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		Control              *bool   "json:\"control,omitempty\""
		CreationDate         *int    "json:\"creation_date,omitempty\""
		Enabled              *bool   "json:\"enabled,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		Read                 *bool   "json:\"read,omitempty\""
		Rrules               *string "json:\"rrules,omitempty\""
		ScheduleUuid         *string "json:\"schedule_uuid,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Starttime            *string "json:\"starttime,omitempty\""
		Status               *string "json:\"status,omitempty\""
		Timezone             *string "json:\"timezone,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
		Uuid                 *string "json:\"uuid,omitempty\""
	}, error)
	Copy(arg1 string, arg2 ScansCopyJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		Control              *bool   "json:\"control,omitempty\""
		CreationDate         *int    "json:\"creation_date,omitempty\""
		Enabled              *bool   "json:\"enabled,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		Read                 *bool   "json:\"read,omitempty\""
		Rrules               *string "json:\"rrules,omitempty\""
		ScheduleUuid         *string "json:\"schedule_uuid,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Starttime            *string "json:\"starttime,omitempty\""
		Status               *string "json:\"status,omitempty\""
		Timezone             *string "json:\"timezone,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
		Uuid                 *string "json:\"uuid,omitempty\""
	}, error)
	CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		ContainerId          *string "json:\"container_id,omitempty\""
		CreationDate         *int32  "json:\"creation_date,omitempty\""
		CustomTargets        *string "json:\"custom_targets,omitempty\""
		DashboardFile        *string "json:\"dashboard_file,omitempty\""
		DefaultPermissions   *int32  "json:\"default_permissions,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Emails               *string "json:\"emails,omitempty\""
		Enabled              *bool   "json:\"enabled,omitempty\""
		Id                   *int32  "json:\"id,omitempty\""
		IncludeAggregate     *bool   "json:\"include_aggregate,omitempty\""
		LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NotificationFilters  *[]struct {
			Filter  *string "json:\"filter,omitempty\""
			Quality *string "json:\"quality,omitempty\""
			Value   *string "json:\"value,omitempty\""
		} "json:\"notification_filters,omitempty\""
		Owner             *string   "json:\"owner,omitempty\""
		OwnerId           *int      "json:\"owner_id,omitempty\""
		OwnerUuid         *string   "json:\"owner_uuid,omitempty\""
		PolicyId          *int      "json:\"policy_id,omitempty\""
		Remediation       *int      "json:\"remediation,omitempty\""
		Rrules            *string   "json:\"rrules,omitempty\""
		ScanTimeWindow    *string   "json:\"scan_time_window,omitempty\""
		ScannerUuid       *string   "json:\"scanner_uuid,omitempty\""
		Shared            *bool     "json:\"shared,omitempty\""
		Sms               *string   "json:\"sms,omitempty\""
		Starttime         *string   "json:\"starttime,omitempty\""
		TagTargets        *[]string "json:\"tag_targets,omitempty\""
		TagType           *string   "json:\"tag_type,omitempty\""
		TargetNetworkUuid *string   "json:\"target_network_uuid,omitempty\""
		Timezone          *string   "json:\"timezone,omitempty\""
		Type              *string   "json:\"type,omitempty\""
		UserPermissions   *int32    "json:\"user_permissions,omitempty\""
		Uuid              *string   "json:\"uuid,omitempty\""
	}, error)
	Create(arg1 ScansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		ContainerId          *string "json:\"container_id,omitempty\""
		CreationDate         *int32  "json:\"creation_date,omitempty\""
		CustomTargets        *string "json:\"custom_targets,omitempty\""
		DashboardFile        *string "json:\"dashboard_file,omitempty\""
		DefaultPermissions   *int32  "json:\"default_permissions,omitempty\""
		Description          *string "json:\"description,omitempty\""
		Emails               *string "json:\"emails,omitempty\""
		Enabled              *bool   "json:\"enabled,omitempty\""
		Id                   *int32  "json:\"id,omitempty\""
		IncludeAggregate     *bool   "json:\"include_aggregate,omitempty\""
		LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		NotificationFilters  *[]struct {
			Filter  *string "json:\"filter,omitempty\""
			Quality *string "json:\"quality,omitempty\""
			Value   *string "json:\"value,omitempty\""
		} "json:\"notification_filters,omitempty\""
		Owner             *string   "json:\"owner,omitempty\""
		OwnerId           *int      "json:\"owner_id,omitempty\""
		OwnerUuid         *string   "json:\"owner_uuid,omitempty\""
		PolicyId          *int      "json:\"policy_id,omitempty\""
		Remediation       *int      "json:\"remediation,omitempty\""
		Rrules            *string   "json:\"rrules,omitempty\""
		ScanTimeWindow    *string   "json:\"scan_time_window,omitempty\""
		ScannerUuid       *string   "json:\"scanner_uuid,omitempty\""
		Shared            *bool     "json:\"shared,omitempty\""
		Sms               *string   "json:\"sms,omitempty\""
		Starttime         *string   "json:\"starttime,omitempty\""
		TagTargets        *[]string "json:\"tag_targets,omitempty\""
		TagType           *string   "json:\"tag_type,omitempty\""
		TargetNetworkUuid *string   "json:\"target_network_uuid,omitempty\""
		Timezone          *string   "json:\"timezone,omitempty\""
		Type              *string   "json:\"type,omitempty\""
		UserPermissions   *int32    "json:\"user_permissions,omitempty\""
		Uuid              *string   "json:\"uuid,omitempty\""
	}, error)
	DeleteHistory(arg1 string, arg2 int32, reqEditors ...RequestEditorFn) (*interface{}, error)
	Delete(contentType string, reqEditors ...RequestEditorFn) (*interface{}, error)
	Details(arg1 string, params *ScansDetailsParams, reqEditors ...RequestEditorFn) (*struct {
		Comphosts *[]struct {
			Critical              *int                    "json:\"critical,omitempty\""
			High                  *int                    "json:\"high,omitempty\""
			HostId                *int                    "json:\"host_id,omitempty\""
			HostIndex             *int                    "json:\"host_index,omitempty\""
			Hostname              *string                 "json:\"hostname,omitempty\""
			Info                  *int                    "json:\"info,omitempty\""
			Low                   *int                    "json:\"low,omitempty\""
			Medium                *int                    "json:\"medium,omitempty\""
			Numchecksconsidered   *int                    "json:\"numchecksconsidered,omitempty\""
			Progress              *string                 "json:\"progress,omitempty\""
			Scanprogresscurrent   *int                    "json:\"scanprogresscurrent,omitempty\""
			Scanprogresstotal     *int                    "json:\"scanprogresstotal,omitempty\""
			Score                 *int                    "json:\"score,omitempty\""
			Severitycount         *map[string]interface{} "json:\"severitycount,omitempty\""
			Totalchecksconsidered *int                    "json:\"totalchecksconsidered,omitempty\""
		} "json:\"comphosts,omitempty\""
		Compliance *[]struct {
			Count         *int    "json:\"count,omitempty\""
			PluginFamily  *string "json:\"plugin_family,omitempty\""
			PluginId      *int    "json:\"plugin_id,omitempty\""
			PluginName    *string "json:\"plugin_name,omitempty\""
			Severity      *int    "json:\"severity,omitempty\""
			SeverityIndex *int    "json:\"severity_index,omitempty\""
			VulnIndex     *int    "json:\"vuln_index,omitempty\""
		} "json:\"compliance,omitempty\""
		Filters *[]struct {
			Control *struct {
				Options        *[]string "json:\"options,omitempty\""
				ReadableRegest *string   "json:\"readable_regest,omitempty\""
				Regex          *string   "json:\"regex,omitempty\""
				Type           *string   "json:\"type,omitempty\""
			} "json:\"control,omitempty\""
			Name         *string   "json:\"name,omitempty\""
			Operators    *[]string "json:\"operators,omitempty\""
			ReadableName *string   "json:\"readable_name,omitempty\""
		} "json:\"filters,omitempty\""
		History *[]struct {
			AltTargetsUsed       *bool   "json:\"alt_targets_used,omitempty\""
			CreationDate         *int    "json:\"creation_date,omitempty\""
			HistoryId            *int    "json:\"history_id,omitempty\""
			IsArchived           *bool   "json:\"is_archived,omitempty\""
			LastModificationDate *int    "json:\"last_modification_date,omitempty\""
			OwnerId              *int    "json:\"owner_id,omitempty\""
			Scheduler            *int    "json:\"scheduler,omitempty\""
			Status               *string "json:\"status,omitempty\""
			Type                 *string "json:\"type,omitempty\""
			Uuid                 *string "json:\"uuid,omitempty\""
		} "json:\"history,omitempty\""
		Hosts *[]struct {
			Critical              *int                    "json:\"critical,omitempty\""
			High                  *int                    "json:\"high,omitempty\""
			HostId                *int                    "json:\"host_id,omitempty\""
			HostIndex             *int                    "json:\"host_index,omitempty\""
			Hostname              *string                 "json:\"hostname,omitempty\""
			Info                  *int                    "json:\"info,omitempty\""
			Low                   *int                    "json:\"low,omitempty\""
			Medium                *int                    "json:\"medium,omitempty\""
			Numchecksconsidered   *int                    "json:\"numchecksconsidered,omitempty\""
			Progress              *string                 "json:\"progress,omitempty\""
			Scanprogresscurrent   *int                    "json:\"scanprogresscurrent,omitempty\""
			Scanprogresstotal     *int                    "json:\"scanprogresstotal,omitempty\""
			Score                 *int                    "json:\"score,omitempty\""
			Severitycount         *map[string]interface{} "json:\"severitycount,omitempty\""
			Totalchecksconsidered *int                    "json:\"totalchecksconsidered,omitempty\""
		} "json:\"hosts,omitempty\""
		Info *struct {
			Acls *[]struct {
				DisplayName *string "json:\"display_name,omitempty\""
				Id          *int    "json:\"id,omitempty\""
				Name        *string "json:\"name,omitempty\""
				Owner       *int    "json:\"owner,omitempty\""
				Permissions *int    "json:\"permissions,omitempty\""
				Type        *string "json:\"type,omitempty\""
			} "json:\"acls,omitempty\""
			AltTargetsUsed  *bool     "json:\"alt_targets_used,omitempty\""
			Control         *bool     "json:\"control,omitempty\""
			EditAllowed     *bool     "json:\"edit_allowed,omitempty\""
			FolderId        *int32    "json:\"folder_id,omitempty\""
			Hasaudittrail   *bool     "json:\"hasaudittrail,omitempty\""
			Haskb           *bool     "json:\"haskb,omitempty\""
			Hostcount       *int32    "json:\"hostcount,omitempty\""
			IsArchived      *bool     "json:\"is_archived,omitempty\""
			Name            *string   "json:\"name,omitempty\""
			NoTarget        *bool     "json:\"no_target,omitempty\""
			ObjectId        *int32    "json:\"object_id,omitempty\""
			Owner           *string   "json:\"owner,omitempty\""
			PciCanUpload    *bool     "json:\"pci-can-upload,omitempty\""
			Policy          *string   "json:\"policy,omitempty\""
			ScanEnd         *int      "json:\"scan_end,omitempty\""
			ScanStart       *int32    "json:\"scan_start,omitempty\""
			ScanType        *string   "json:\"scan_type,omitempty\""
			ScannerEnd      *int      "json:\"scanner_end,omitempty\""
			ScannerName     *string   "json:\"scanner_name,omitempty\""
			ScannerStart    *int      "json:\"scanner_start,omitempty\""
			ScheduleUuid    *string   "json:\"schedule_uuid,omitempty\""
			Shared          *bool     "json:\"shared,omitempty\""
			Status          *string   "json:\"status,omitempty\""
			TagTargets      *[]string "json:\"tag_targets,omitempty\""
			Targets         *string   "json:\"targets,omitempty\""
			Timestamp       *int      "json:\"timestamp,omitempty\""
			UserPermissions *int32    "json:\"user_permissions,omitempty\""
			Uuid            *string   "json:\"uuid,omitempty\""
		} "json:\"info,omitempty\""
		Notes *[]struct {
			Message  *string "json:\"message,omitempty\""
			Severity *int    "json:\"severity,omitempty\""
			Title    *string "json:\"title,omitempty\""
		} "json:\"notes,omitempty\""
		Remediations    *map[string]interface{} "json:\"remediations,omitempty\""
		Vulnerabilities *[]struct {
			Count         *int    "json:\"count,omitempty\""
			PluginFamily  *string "json:\"plugin_family,omitempty\""
			PluginId      *int    "json:\"plugin_id,omitempty\""
			PluginName    *string "json:\"plugin_name,omitempty\""
			Severity      *int    "json:\"severity,omitempty\""
			SeverityIndex *int    "json:\"severity_index,omitempty\""
			VulnIndex     *int    "json:\"vuln_index,omitempty\""
		} "json:\"vulnerabilities,omitempty\""
	}, error)
	ExportDownload(arg1 string, contentType string, reqEditors ...RequestEditorFn) (*ScansExportDownloadResponse, error)
	ExportRequestWithBody(arg1 string, params *ScansExportRequestParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		File      *string "json:\"file,omitempty\""
		TempToken *string "json:\"temp_token,omitempty\""
	}, error)
	ExportRequest(arg1 string, params *ScansExportRequestParams, arg3 ScansExportRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		File      *string "json:\"file,omitempty\""
		TempToken *string "json:\"temp_token,omitempty\""
	}, error)
	ExportStatus(arg1 string, contentType string, reqEditors ...RequestEditorFn) (*struct {
		Status *string "json:\"status,omitempty\""
	}, error)
	GetLatestStatus(contentType string, reqEditors ...RequestEditorFn) (*struct {
		Status *string "json:\"status,omitempty\""
	}, error)
	HistoryDetails(arg1 string, contentType string, reqEditors ...RequestEditorFn) (*struct {
		IsArchived   *bool   "json:\"is_archived,omitempty\""
		Name         *string "json:\"name,omitempty\""
		ObjectId     *int32  "json:\"object_id,omitempty\""
		Owner        *string "json:\"owner,omitempty\""
		OwnerId      *int    "json:\"owner_id,omitempty\""
		OwnerUuid    *int    "json:\"owner_uuid,omitempty\""
		ScanEnd      *int    "json:\"scan_end,omitempty\""
		ScanStart    *int32  "json:\"scan_start,omitempty\""
		ScanType     *string "json:\"scan_type,omitempty\""
		ScheduleUuid *string "json:\"schedule_uuid,omitempty\""
		Status       *string "json:\"status,omitempty\""
		Targets      *string "json:\"targets,omitempty\""
		Uuid         *string "json:\"uuid,omitempty\""
	}, error)
	History(arg1 string, params *ScansHistoryParams, reqEditors ...RequestEditorFn) (*struct {
		History *[]struct {
			Id         *int    "json:\"id,omitempty\""
			IsArchived *bool   "json:\"is_archived,omitempty\""
			ScanUuid   *string "json:\"scan_uuid,omitempty\""
			Status     *string "json:\"status,omitempty\""
			Targets    *struct {
				Custom  *bool "json:\"custom,omitempty\""
				Default *bool "json:\"default,omitempty\""
			} "json:\"targets,omitempty\""
			TimeEnd    *int    "json:\"time_end,omitempty\""
			TimeStart  *int    "json:\"time_start,omitempty\""
			Visibility *string "json:\"visibility,omitempty\""
		} "json:\"history,omitempty\""
		Pagination *struct {
			Limit  *int32 "json:\"limit,omitempty\""
			Offset *int32 "json:\"offset,omitempty\""
			Sort   *[]struct {
				Name  *string "json:\"name,omitempty\""
				Order *string "json:\"order,omitempty\""
			} "json:\"sort,omitempty\""
			Total *int32 "json:\"total,omitempty\""
		} "json:\"pagination,omitempty\""
	}, error)
	HostDetails(arg1 string, arg2 int32, params *ScansHostDetailsParams, reqEditors ...RequestEditorFn) (*struct {
		Compliance *[]struct {
			Count         *int    "json:\"count,omitempty\""
			HostId        *int    "json:\"host_id,omitempty\""
			Hostname      *string "json:\"hostname,omitempty\""
			PluginFamily  *string "json:\"plugin_family,omitempty\""
			PluginId      *int    "json:\"plugin_id,omitempty\""
			PluginName    *string "json:\"plugin_name,omitempty\""
			Severity      *int    "json:\"severity,omitempty\""
			SeverityIndex *int    "json:\"severity_index,omitempty\""
		} "json:\"compliance,omitempty\""
		Info            *map[string]interface{} "json:\"info,omitempty\""
		Vulnerabilities *[]struct {
			Count         *int    "json:\"count,omitempty\""
			HostId        *int    "json:\"host_id,omitempty\""
			Hostname      *string "json:\"hostname,omitempty\""
			PluginFamily  *string "json:\"plugin_family,omitempty\""
			PluginId      *int    "json:\"plugin_id,omitempty\""
			PluginName    *string "json:\"plugin_name,omitempty\""
			Severity      *int    "json:\"severity,omitempty\""
			SeverityIndex *int    "json:\"severity_index,omitempty\""
			VulnIndex     *int    "json:\"vuln_index,omitempty\""
		} "json:\"vulnerabilities,omitempty\""
	}, error)
	ImportWithBody(params *ScansImportParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		Control              *bool   "json:\"control,omitempty\""
		CreationDate         *int    "json:\"creation_date,omitempty\""
		Enabled              *bool   "json:\"enabled,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		Read                 *bool   "json:\"read,omitempty\""
		Rrules               *string "json:\"rrules,omitempty\""
		ScheduleUuid         *string "json:\"schedule_uuid,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Starttime            *string "json:\"starttime,omitempty\""
		Status               *string "json:\"status,omitempty\""
		Timezone             *string "json:\"timezone,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
		Uuid                 *string "json:\"uuid,omitempty\""
	}, error)
	Import(params *ScansImportParams, arg2 ScansImportJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		Control              *bool   "json:\"control,omitempty\""
		CreationDate         *int    "json:\"creation_date,omitempty\""
		Enabled              *bool   "json:\"enabled,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		Read                 *bool   "json:\"read,omitempty\""
		Rrules               *string "json:\"rrules,omitempty\""
		ScheduleUuid         *string "json:\"schedule_uuid,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Starttime            *string "json:\"starttime,omitempty\""
		Status               *string "json:\"status,omitempty\""
		Timezone             *string "json:\"timezone,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
		Uuid                 *string "json:\"uuid,omitempty\""
	}, error)
	LaunchWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		ScanUuid *string "json:\"scan_uuid,omitempty\""
	}, error)
	Launch(arg1 string, arg2 ScansLaunchJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		ScanUuid *string "json:\"scan_uuid,omitempty\""
	}, error)
	List(params *ScansListParams, reqEditors ...RequestEditorFn) (*struct {
		Folders *[]struct {
			Custom      *int    "json:\"custom,omitempty\""
			DefaultTag  *int    "json:\"default_tag,omitempty\""
			Id          *int    "json:\"id,omitempty\""
			Name        *string "json:\"name,omitempty\""
			Type        *string "json:\"type,omitempty\""
			UnreadCount *int    "json:\"unread_count,omitempty\""
		} "json:\"folders,omitempty\""
		Scans *[]struct {
			Control              *bool   "json:\"control,omitempty\""
			CreationDate         *int32  "json:\"creation_date,omitempty\""
			Enabled              *bool   "json:\"enabled,omitempty\""
			Id                   *int32  "json:\"id,omitempty\""
			LastModificationDate *int32  "json:\"last_modification_date,omitempty\""
			Legacy               *bool   "json:\"legacy,omitempty\""
			Name                 *string "json:\"name,omitempty\""
			Owner                *string "json:\"owner,omitempty\""
			Permissions          *int32  "json:\"permissions,omitempty\""
			PolicyId             *int    "json:\"policy_id,omitempty\""
			Read                 *bool   "json:\"read,omitempty\""
			Rrules               *string "json:\"rrules,omitempty\""
			ScheduleUuid         *string "json:\"schedule_uuid,omitempty\""
			Shared               *bool   "json:\"shared,omitempty\""
			Starttime            *string "json:\"starttime,omitempty\""
			Status               *string "json:\"status,omitempty\""
			Timezone             *string "json:\"timezone,omitempty\""
			Type                 *string "json:\"type,omitempty\""
			UserPermissions      *int32  "json:\"user_permissions,omitempty\""
			Uuid                 *string "json:\"uuid,omitempty\""
			WizardUuid           *string "json:\"wizard_uuid,omitempty\""
		} "json:\"scans,omitempty\""
		Timestamp *int32 "json:\"timestamp,omitempty\""
	}, error)
	Pause(contentType string, reqEditors ...RequestEditorFn) (*interface{}, error)
	PluginOutput(arg1 string, arg2 int32, arg3 int32, params *ScansPluginOutputParams, reqEditors ...RequestEditorFn) (*struct {
		Info *struct {
			HostFqdn   *string "json:\"host-fqdn,omitempty\""
			HostIp     *string "json:\"host-ip,omitempty\""
			HostUuid   *string "json:\"host-uuid,omitempty\""
			HostEnd    *string "json:\"host_end,omitempty\""
			HostFqdn2  *string "json:\"host_fqdn,omitempty\""
			HostStart  *string "json:\"host_start,omitempty\""
			MacAddress *string "json:\"mac-address,omitempty\""
		} "json:\"info,omitempty\""
		Output *[]struct {
			CustomDescription *string                 "json:\"custom_description,omitempty\""
			HasAttachment     *int                    "json:\"has_attachment,omitempty\""
			Hosts             *string                 "json:\"hosts,omitempty\""
			PluginOutput      *string                 "json:\"plugin_output,omitempty\""
			Ports             *map[string]interface{} "json:\"ports,omitempty\""
			Severity          *int                    "json:\"severity,omitempty\""
		} "json:\"output,omitempty\""
	}, error)
	ReadStatusWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)
	ReadStatus(arg1 string, arg2 ScansReadStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)
	Resume(contentType string, reqEditors ...RequestEditorFn) (*interface{}, error)
	ScheduleWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		Control   *bool   "json:\"control,omitempty\""
		Enabled   *bool   "json:\"enabled,omitempty\""
		Rrules    *string "json:\"rrules,omitempty\""
		Starttime *string "json:\"starttime,omitempty\""
		Timezone  *string "json:\"timezone,omitempty\""
	}, error)
	Schedule(arg1 string, arg2 ScansScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		Control   *bool   "json:\"control,omitempty\""
		Enabled   *bool   "json:\"enabled,omitempty\""
		Rrules    *string "json:\"rrules,omitempty\""
		Starttime *string "json:\"starttime,omitempty\""
		Timezone  *string "json:\"timezone,omitempty\""
	}, error)
	Stop(contentType string, reqEditors ...RequestEditorFn) (*interface{}, error)
	Timezones(reqEditors ...RequestEditorFn) (*[]struct {
		Name  *string "json:\"name,omitempty\""
		Value *string "json:\"value,omitempty\""
	}, error)
}

ScansInterface contains all methods for the nessus api

type ScansLaunchJSONBody

type ScansLaunchJSONBody struct {
	// If you include this parameter, Tenable.io scans these targets instead of the default. Value can be an array where each index is a target, or an array with a single index of comma-separated targets.
	AltTargets *[]string `json:"alt_targets,omitempty"`
}

ScansLaunchJSONBody defines parameters for ScansLaunch.

type ScansLaunchJSONRequestBody

type ScansLaunchJSONRequestBody ScansLaunchJSONBody

ScansLaunchJSONRequestBody defines body for ScansLaunch for application/json ContentType.

type ScansLaunchResponse

type ScansLaunchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The UUID of the scan launched.
		ScanUuid *string `json:"scan_uuid,omitempty"`
	}
	JSON404 *struct {
		// A brief description of the cause of the error.
		Error *string `json:"error,omitempty"`
	}
}

func ParseScansLaunchResponse

func ParseScansLaunchResponse(rsp *http.Response) (*ScansLaunchResponse, error)

ParseScansLaunchResponse parses an HTTP response from a ScansLaunchWithResponse call

func (ScansLaunchResponse) Status

func (r ScansLaunchResponse) Status() string

Status returns HTTPResponse.Status

func (ScansLaunchResponse) StatusCode

func (r ScansLaunchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansListParams

type ScansListParams struct {
	// The ID of the folder where the scans you want to list are stored.
	FolderId *int `json:"folder_id,omitempty"`

	// Limit the results to those scans that have run since the specified time. This parameter does not represent the date on which the scan configuration was last modified. Must be in Unix time format.
	LastModificationDate *int `json:"last_modification_date,omitempty"`
}

ScansListParams defines parameters for ScansList.

type ScansListResponse

type ScansListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Folders *[]struct {
			// Indicates whether or not the folder is a custom folder:
			//  - 1—User-created folder. You can rename or delete this folder.
			//  - 0—System-created folder. You cannot rename or delete this folder.
			Custom *int `json:"custom,omitempty"`

			// Indicates whether or not the folder is the default:
			//  - 1—The folder is the default.
			//  - 0—The folder is not the default.
			//
			// The main folder is the default folder. You cannot change the default folder.
			DefaultTag *int `json:"default_tag,omitempty"`

			// The unique ID of the folder.
			Id *int `json:"id,omitempty"`

			// The name of the folder. This value corresponds to the folder type as follows:
			//  - main—My Scans
			//  - trash—Trash
			// -custom—user-defined string.
			Name *string `json:"name,omitempty"`

			// The type of the folder:
			// - main—Tenable-provided folder. Contains all scans that you create but do not assign to a custom folder, as well as any scans shared with you by other users. If you do not specify a scan folder when creating a scan, Tenable.io stores scans in this folder by default. This folder corresponds to the **My Scans** folder in the Tenable.io user interface.
			//  - trash—Tenable-provided folder. Contains all scans that the current user has moved to the trash folder. Scans stored in the trash folder are automatically deleted after 30 days. This folder corresponds to the **Trash** folder in the Tenable.io user interface.
			//  - custom—User-created folder. Contains scans as assigned by the current user. You can create custom folders to meet your organizational needs.
			Type *string `json:"type,omitempty"`

			// The number of scans in the folder that the current user has not yet viewed in the Tenable.io user interface.
			UnreadCount *int `json:"unread_count,omitempty"`
		} `json:"folders,omitempty"`
		Scans *[]struct {
			// If `true`, the scan has a schedule and can be launched.
			Control *bool `json:"control,omitempty"`

			// For newly-created scans, the date on which the scan configuration was originally created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was originally created. Instead, it represents the date on which the scan was first launched, in Unix time format.
			CreationDate *int32 `json:"creation_date,omitempty"`

			// Indicates whether the scan schedule is active (`true`) or inactive (`false`).
			Enabled *bool `json:"enabled,omitempty"`

			// The unique ID of the scan.
			Id *int32 `json:"id,omitempty"`

			// For newly-created scans, the date on which the scan configuration was created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was last modified. Instead, it represents the date on which the scan was last launched, in Unix time format. Tenable.io updates this attribute each time the scan launches.
			LastModificationDate *int32 `json:"last_modification_date,omitempty"`

			// A value indicating whether the scan results were created before a change in storage method. If `true`, Tenable.io stores the results in the old storage method. If `false`, Tenable.io stores the results in the new storage method.
			Legacy *bool `json:"legacy,omitempty"`

			// The name of the scan.
			Name *string `json:"name,omitempty"`

			// The owner of the scan.
			Owner *string `json:"owner,omitempty"`

			// The requesting user's permissions for the scan.
			Permissions *int32 `json:"permissions,omitempty"`

			// The unique ID of the user-defined template (policy) on which the scan configuration is based.
			PolicyId *int `json:"policy_id,omitempty"`

			// A value indicating whether the user account associated with the request message has viewed the scan in the Tenable.io user interface. If `1`, the user account has viewed the scan results.
			Read *bool `json:"read,omitempty"`

			// The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). For a scan that runs every three weeks on Monday Wednesday and Friday, the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`. If the scan is not scheduled to recur, this attribute is `null`. For more information, see [rrules Format](doc:example-assessment-scan-recurring#rrules-format).
			//
			// **Note:** To set the `rrules` parameter for an agent scan, the request must also include the following body parameters:<ul><li>The `uuid` parameter must specify an agent scan template. For more information, see [Tenable-Provided Agent Templates](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Scans/AgentTemplates.htm) and the [GET /editor/scan/templates](ref:editor-list-templates) endpoint.</li><li>The `agent_group_id` parameter must specify an agent group. For more information, see [Agent Groups](ref:agent-groups).</li></ul>For an example request body for an agent scan, see [Example Agent Scan: Recurring](doc:example-agent-scan-recurring).
			Rrules *string `json:"rrules,omitempty"`

			// The UUID for a specific instance in the scan schedule.
			ScheduleUuid *string `json:"schedule_uuid,omitempty"`

			// If `true`, the scan is shared with users other than the scan owner. The level of sharing is specified in the `acls` attribute of the scan details.
			Shared *bool `json:"shared,omitempty"`

			// For one-time scans, the starting time and date for the scan. For recurrent scans, the first date on which the scan schedule is active and the time that recurring scans launch based on the `rrules` attribute.
			//
			// This attribute has the following format: `YYYYMMDDTHHMMSS`.
			Starttime *string `json:"starttime,omitempty"`

			// The status of the scan. For a list of possible values, see [Scan Status](doc:scan-status-tio).
			Status *string `json:"status,omitempty"`

			// The timezone of the scheduled start time for the scan.
			Timezone *string `json:"timezone,omitempty"`

			// The type of scan.
			Type *string `json:"type,omitempty"`

			// The sharing permissions for the scan.
			UserPermissions *int32 `json:"user_permissions,omitempty"`

			// The UUID of the scan.
			Uuid *string `json:"uuid,omitempty"`

			// The UUID of the Tenable-provided template used to create either the scan or the user-defined template (policy) on which the scan configuration is based.
			WizardUuid *string `json:"wizard_uuid,omitempty"`
		} `json:"scans,omitempty"`

		// The Unix timestamp when Tenable.io received the list request.
		Timestamp *int32 `json:"timestamp,omitempty"`
	}
}

func ParseScansListResponse

func ParseScansListResponse(rsp *http.Response) (*ScansListResponse, error)

ParseScansListResponse parses an HTTP response from a ScansListWithResponse call

func (ScansListResponse) Status

func (r ScansListResponse) Status() string

Status returns HTTPResponse.Status

func (ScansListResponse) StatusCode

func (r ScansListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansPauseResponse

type ScansPauseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseScansPauseResponse

func ParseScansPauseResponse(rsp *http.Response) (*ScansPauseResponse, error)

ParseScansPauseResponse parses an HTTP response from a ScansPauseWithResponse call

func (ScansPauseResponse) Status

func (r ScansPauseResponse) Status() string

Status returns HTTPResponse.Status

func (ScansPauseResponse) StatusCode

func (r ScansPauseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansPluginOutputParams

type ScansPluginOutputParams struct {
	// The unique identifier of the historical data that you want Tenable.io to return. This identifier corresponds to the `history.id` attribute of the response message from the [GET /scans/{scan_id}/history](ref:scans-history) endpoint.
	HistoryId *int32 `json:"history_id,omitempty"`

	// The UUID of the historical data that you want Tenable.io to return. This identifier corresponds to the `history.scan_uuid` attribute of the response message from the [GET /scans/{scan_id}/history](ref:scans-history) endpoint.
	HistoryUuid *string `json:"history_uuid,omitempty"`
}

ScansPluginOutputParams defines parameters for ScansPluginOutput.

type ScansPluginOutputResponse

type ScansPluginOutputResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Info *struct {
			// The host's fully qualified domain name; optional.
			HostFqdn *string `json:"host-fqdn,omitempty"`

			// The host's IPv4 address; optional.
			HostIp *string `json:"host-ip,omitempty"`

			// The host's UUID generated by Tenable.io for identification purposes; always present.
			HostUuid *string `json:"host-uuid,omitempty"`

			// The last time a scan was completed for this host as an ISO 8601 timestamp; always present.
			HostEnd *string `json:"host_end,omitempty"`

			// The FQDN of the host. Normally, this is populated with the value used to scan the host in the target list of the last scan that was ran where it was seen; always present.
			HostFqdn2 *string `json:"host_fqdn,omitempty"`

			// The last time a scan was started for this host as an ISO 8601 timestamp; always present.
			HostStart *string `json:"host_start,omitempty"`

			// The host's mac addresses in a newline-separated list; optional.
			MacAddress *string `json:"mac-address,omitempty"`
		} `json:"info,omitempty"`
		Output *[]struct {
			// A custom description of the plugin.
			CustomDescription *string `json:"custom_description,omitempty"`

			// If the value is 1, the plugin output contains files that may be exported.
			HasAttachment *int `json:"has_attachment,omitempty"`

			// Other hosts with the same output.
			Hosts *string `json:"hosts,omitempty"`

			// The text of the plugin output.
			PluginOutput *string                 `json:"plugin_output,omitempty"`
			Ports        *map[string]interface{} `json:"ports,omitempty"`

			// The severity the output.
			Severity *int `json:"severity,omitempty"`
		} `json:"output,omitempty"`
	}
}

func ParseScansPluginOutputResponse

func ParseScansPluginOutputResponse(rsp *http.Response) (*ScansPluginOutputResponse, error)

ParseScansPluginOutputResponse parses an HTTP response from a ScansPluginOutputWithResponse call

func (ScansPluginOutputResponse) Status

func (r ScansPluginOutputResponse) Status() string

Status returns HTTPResponse.Status

func (ScansPluginOutputResponse) StatusCode

func (r ScansPluginOutputResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansReadStatusJSONBody

type ScansReadStatusJSONBody struct {
	// If `true`, the scan has been read.
	Read bool `json:"read"`
}

ScansReadStatusJSONBody defines parameters for ScansReadStatus.

type ScansReadStatusJSONRequestBody

type ScansReadStatusJSONRequestBody ScansReadStatusJSONBody

ScansReadStatusJSONRequestBody defines body for ScansReadStatus for application/json ContentType.

type ScansReadStatusResponse

type ScansReadStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseScansReadStatusResponse

func ParseScansReadStatusResponse(rsp *http.Response) (*ScansReadStatusResponse, error)

ParseScansReadStatusResponse parses an HTTP response from a ScansReadStatusWithResponse call

func (ScansReadStatusResponse) Status

func (r ScansReadStatusResponse) Status() string

Status returns HTTPResponse.Status

func (ScansReadStatusResponse) StatusCode

func (r ScansReadStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansResumeResponse

type ScansResumeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseScansResumeResponse

func ParseScansResumeResponse(rsp *http.Response) (*ScansResumeResponse, error)

ParseScansResumeResponse parses an HTTP response from a ScansResumeWithResponse call

func (ScansResumeResponse) Status

func (r ScansResumeResponse) Status() string

Status returns HTTPResponse.Status

func (ScansResumeResponse) StatusCode

func (r ScansResumeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansScheduleJSONBody

type ScansScheduleJSONBody struct {
	// Enables or disables the scan schedule.
	Enabled bool `json:"enabled"`
}

ScansScheduleJSONBody defines parameters for ScansSchedule.

type ScansScheduleJSONRequestBody

type ScansScheduleJSONRequestBody ScansScheduleJSONBody

ScansScheduleJSONRequestBody defines body for ScansSchedule for application/json ContentType.

type ScansScheduleResponse

type ScansScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// If `true`, the scan has a schedule and can be launched.
		Control *bool `json:"control,omitempty"`

		// If `true`, the schedule for the scan is enabled.
		Enabled *bool `json:"enabled,omitempty"`

		// The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). For a scan that runs every three weeks on Monday Wednesday and Friday, the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`. If the scan is not scheduled to recur, this attribute is `null`. For more information, see [rrules Format](doc:example-assessment-scan-recurring#rrules-format).
		//
		// **Note:** To set the `rrules` parameter for an agent scan, the request must also include the following body parameters:<ul><li>The `uuid` parameter must specify an agent scan template. For more information, see [Tenable-Provided Agent Templates](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Scans/AgentTemplates.htm) and the [GET /editor/scan/templates](ref:editor-list-templates) endpoint.</li><li>The `agent_group_id` parameter must specify an agent group. For more information, see [Agent Groups](ref:agent-groups).</li></ul>For an example request body for an agent scan, see [Example Agent Scan: Recurring](doc:example-agent-scan-recurring).
		Rrules *string `json:"rrules,omitempty"`

		// For one-time scans, the starting time and date for the scan. For recurrent scans, the first date on which the scan schedule is active and the time that recurring scans launch based on the `rrules` parameter.
		//
		// This attribute has the following format: `YYYYMMDDTHHMMSS`.
		Starttime *string `json:"starttime,omitempty"`

		// The timezone of the scheduled start time for the scan.
		Timezone *string `json:"timezone,omitempty"`
	}
	JSON404 *struct {
		// A brief description of the cause of the error.
		Error *string `json:"error,omitempty"`
	}
	JSON500 *struct {
		// The HTTP status text.
		Error *int `json:"error,omitempty"`

		// A brief message describing the error Tenable.io encountered.
		Message *string `json:"message,omitempty"`

		// The HTTP status code.
		StatusCode *string `json:"statusCode,omitempty"`
	}
}

func ParseScansScheduleResponse

func ParseScansScheduleResponse(rsp *http.Response) (*ScansScheduleResponse, error)

ParseScansScheduleResponse parses an HTTP response from a ScansScheduleWithResponse call

func (ScansScheduleResponse) Status

func (r ScansScheduleResponse) Status() string

Status returns HTTPResponse.Status

func (ScansScheduleResponse) StatusCode

func (r ScansScheduleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansStopResponse

type ScansStopResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseScansStopResponse

func ParseScansStopResponse(rsp *http.Response) (*ScansStopResponse, error)

ParseScansStopResponse parses an HTTP response from a ScansStopWithResponse call

func (ScansStopResponse) Status

func (r ScansStopResponse) Status() string

Status returns HTTPResponse.Status

func (ScansStopResponse) StatusCode

func (r ScansStopResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScansTimezonesResponse

type ScansTimezonesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// The readable name of the timezone.
		Name *string `json:"name,omitempty"`

		// The system value for the timezone.
		Value *string `json:"value,omitempty"`
	}
}

func ParseScansTimezonesResponse

func ParseScansTimezonesResponse(rsp *http.Response) (*ScansTimezonesResponse, error)

ParseScansTimezonesResponse parses an HTTP response from a ScansTimezonesWithResponse call

func (ScansTimezonesResponse) Status

func (r ScansTimezonesResponse) Status() string

Status returns HTTPResponse.Status

func (ScansTimezonesResponse) StatusCode

func (r ScansTimezonesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ServerPropertiesResponse

type ServerPropertiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Analytics          *map[string]interface{} `json:"analytics,omitempty"`
		Capabilities       *map[string]interface{} `json:"capabilities,omitempty"`
		ContainerDbVersion *string                 `json:"container_db_version,omitempty"`
		Enterprise         *bool                   `json:"enterprise,omitempty"`
		Expiration         *int                    `json:"expiration,omitempty"`
		ExpirationTime     *int                    `json:"expiration_time,omitempty"`
		ForceUiReload      *bool                   `json:"force_ui_reload,omitempty"`
		IdleTimeout        *int                    `json:"idle_timeout,omitempty"`
		License            *map[string]interface{} `json:"license,omitempty"`
		LimitEnabled       *bool                   `json:"limitEnabled,omitempty"`
		LoadedPluginSet    *string                 `json:"loaded_plugin_set,omitempty"`
		LoginBanner        *bool                   `json:"login_banner,omitempty"`
		Msp                *bool                   `json:"msp,omitempty"`
		NessusType         *string                 `json:"nessus_type,omitempty"`
		NessusUiBuild      *string                 `json:"nessus_ui_build,omitempty"`
		NessusUiVersion    *string                 `json:"nessus_ui_version,omitempty"`
		Notifications      *[]string               `json:"notifications,omitempty"`
		PluginSet          *string                 `json:"plugin_set,omitempty"`
		ScannerBoottime    *int                    `json:"scanner_boottime,omitempty"`
		ServerBuild        *string                 `json:"server_build,omitempty"`
		ServerUuid         *string                 `json:"server_uuid,omitempty"`
		ServerVersion      *string                 `json:"server_version,omitempty"`
		Update             *struct {
			Href       *string `json:"href,omitempty"`
			NewVersion *int    `json:"new_version,omitempty"`
			Restart    *int    `json:"restart,omitempty"`
		} `json:"update,omitempty"`
	}
}

func ParseServerPropertiesResponse

func ParseServerPropertiesResponse(rsp *http.Response) (*ServerPropertiesResponse, error)

ParseServerPropertiesResponse parses an HTTP response from a ServerPropertiesWithResponse call

func (ServerPropertiesResponse) Status

func (r ServerPropertiesResponse) Status() string

Status returns HTTPResponse.Status

func (ServerPropertiesResponse) StatusCode

func (r ServerPropertiesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ServerStatusResponse

type ServerStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Code   *int    `json:"code,omitempty"`
		Status *string `json:"status,omitempty"`
	}
}

func ParseServerStatusResponse

func ParseServerStatusResponse(rsp *http.Response) (*ServerStatusResponse, error)

ParseServerStatusResponse parses an HTTP response from a ServerStatusWithResponse call

func (ServerStatusResponse) Status

func (r ServerStatusResponse) Status() string

Status returns HTTPResponse.Status

func (ServerStatusResponse) StatusCode

func (r ServerStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Tags

type Tags struct {
	*ClientWithResponses
}

Tags implementation of the Tags interface

func (*Tags) AssignAssetTags

func (c *Tags) AssignAssetTags(arg1 TagsAssignAssetTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*TagsAssignAssetTagsResponse, error)

AssignAssetTags calls the Tags ´s function

func (*Tags) AssignAssetTagsWithBody

func (c *Tags) AssignAssetTagsWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*TagsAssignAssetTagsResponse, error)

AssignAssetTagsWithBody calls the Tags ´s function

func (*Tags) CreateTagCategory

func (c *Tags) CreateTagCategory(arg1 TagsCreateTagCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	CreatedAt   *string "json:\"created_at,omitempty\""
	CreatedBy   *string "json:\"created_by,omitempty\""
	Description *string "json:\"description,omitempty\""
	Name        *string "json:\"name,omitempty\""
	Reserved    *bool   "json:\"reserved,omitempty\""
	UpdatedAt   *string "json:\"updated_at,omitempty\""
	UpdatedBy   *string "json:\"updated_by,omitempty\""
	Uuid        *string "json:\"uuid,omitempty\""
}, error)

CreateTagCategory calls the Tags ´s function

func (*Tags) CreateTagCategoryWithBody

func (c *Tags) CreateTagCategoryWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	CreatedAt   *string "json:\"created_at,omitempty\""
	CreatedBy   *string "json:\"created_by,omitempty\""
	Description *string "json:\"description,omitempty\""
	Name        *string "json:\"name,omitempty\""
	Reserved    *bool   "json:\"reserved,omitempty\""
	UpdatedAt   *string "json:\"updated_at,omitempty\""
	UpdatedBy   *string "json:\"updated_by,omitempty\""
	Uuid        *string "json:\"uuid,omitempty\""
}, error)

CreateTagCategoryWithBody calls the Tags ´s function

func (*Tags) CreateTagValue

func (c *Tags) CreateTagValue(arg1 TagsCreateTagValueJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	AccessControl *struct {
		AllUsersPermissions      *N200AccessControlAllUsersPermissions "json:\"all_users_permissions,omitempty\""
		CurrentDomainPermissions *[]struct {
			Id          *string                                        "json:\"id,omitempty\""
			Name        *string                                        "json:\"name,omitempty\""
			Permissions *[]string                                      "json:\"permissions,omitempty\""
			Type        *N200AccessControlCurrentDomainPermissionsType "json:\"type,omitempty\""
		} "json:\"current_domain_permissions,omitempty\""
		CurrentUserPermissions   *N200AccessControlCurrentUserPermissions   "json:\"current_user_permissions,omitempty\""
		DefinedDomainPermissions *N200AccessControlDefinedDomainPermissions "json:\"defined_domain_permissions,omitempty\""
		Version                  *int64                                     "json:\"version,omitempty\""
	} "json:\"access_control,omitempty\""
	CategoryDescription *string "json:\"category_description,omitempty\""
	CategoryName        *string "json:\"category_name,omitempty\""
	CategoryUuid        *string "json:\"category_uuid,omitempty\""
	CreatedAt           *string "json:\"created_at,omitempty\""
	CreatedBy           *string "json:\"created_by,omitempty\""
	Description         *string "json:\"description,omitempty\""
	Filters             *struct {
		Asset *string "json:\"asset,omitempty\""
	} "json:\"filters,omitempty\""
	Type      *string "json:\"type,omitempty\""
	UpdatedAt *string "json:\"updated_at,omitempty\""
	UpdatedBy *string "json:\"updated_by,omitempty\""
	Uuid      *string "json:\"uuid,omitempty\""
	Value     *string "json:\"value,omitempty\""
}, error)

CreateTagValue calls the Tags ´s function

func (*Tags) CreateTagValueWithBody

func (c *Tags) CreateTagValueWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	AccessControl *struct {
		AllUsersPermissions      *N200AccessControlAllUsersPermissions "json:\"all_users_permissions,omitempty\""
		CurrentDomainPermissions *[]struct {
			Id          *string                                        "json:\"id,omitempty\""
			Name        *string                                        "json:\"name,omitempty\""
			Permissions *[]string                                      "json:\"permissions,omitempty\""
			Type        *N200AccessControlCurrentDomainPermissionsType "json:\"type,omitempty\""
		} "json:\"current_domain_permissions,omitempty\""
		CurrentUserPermissions   *N200AccessControlCurrentUserPermissions   "json:\"current_user_permissions,omitempty\""
		DefinedDomainPermissions *N200AccessControlDefinedDomainPermissions "json:\"defined_domain_permissions,omitempty\""
		Version                  *int64                                     "json:\"version,omitempty\""
	} "json:\"access_control,omitempty\""
	CategoryDescription *string "json:\"category_description,omitempty\""
	CategoryName        *string "json:\"category_name,omitempty\""
	CategoryUuid        *string "json:\"category_uuid,omitempty\""
	CreatedAt           *string "json:\"created_at,omitempty\""
	CreatedBy           *string "json:\"created_by,omitempty\""
	Description         *string "json:\"description,omitempty\""
	Filters             *struct {
		Asset *string "json:\"asset,omitempty\""
	} "json:\"filters,omitempty\""
	Type      *string "json:\"type,omitempty\""
	UpdatedAt *string "json:\"updated_at,omitempty\""
	UpdatedBy *string "json:\"updated_by,omitempty\""
	Uuid      *string "json:\"uuid,omitempty\""
	Value     *string "json:\"value,omitempty\""
}, error)

CreateTagValueWithBody calls the Tags ´s function

func (*Tags) DeleteTagCategory

func (c *Tags) DeleteTagCategory(contentType string, reqEditors ...RequestEditorFn) (*TagsDeleteTagCategoryResponse, error)

DeleteTagCategory calls the Tags ´s function

func (*Tags) DeleteTagValue

func (c *Tags) DeleteTagValue(contentType string, reqEditors ...RequestEditorFn) (*TagsDeleteTagValueResponse, error)

DeleteTagValue calls the Tags ´s function

func (*Tags) DeleteTagValuesBulk

func (c *Tags) DeleteTagValuesBulk(arg1 TagsDeleteTagValuesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)

DeleteTagValuesBulk calls the Tags ´s function

func (*Tags) DeleteTagValuesBulkWithBody

func (c *Tags) DeleteTagValuesBulkWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)

DeleteTagValuesBulkWithBody calls the Tags ´s function

func (*Tags) EditTagCategory

func (c *Tags) EditTagCategory(arg1 string, arg2 TagsEditTagCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	CreatedAt   *string "json:\"created_at,omitempty\""
	CreatedBy   *string "json:\"created_by,omitempty\""
	Description *string "json:\"description,omitempty\""
	Name        *string "json:\"name,omitempty\""
	Reserved    *bool   "json:\"reserved,omitempty\""
	UpdatedAt   *string "json:\"updated_at,omitempty\""
	UpdatedBy   *string "json:\"updated_by,omitempty\""
	Uuid        *string "json:\"uuid,omitempty\""
}, error)

EditTagCategory calls the Tags ´s function

func (*Tags) EditTagCategoryWithBody

func (c *Tags) EditTagCategoryWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	CreatedAt   *string "json:\"created_at,omitempty\""
	CreatedBy   *string "json:\"created_by,omitempty\""
	Description *string "json:\"description,omitempty\""
	Name        *string "json:\"name,omitempty\""
	Reserved    *bool   "json:\"reserved,omitempty\""
	UpdatedAt   *string "json:\"updated_at,omitempty\""
	UpdatedBy   *string "json:\"updated_by,omitempty\""
	Uuid        *string "json:\"uuid,omitempty\""
}, error)

EditTagCategoryWithBody calls the Tags ´s function

func (*Tags) ListAssetFilters

func (c *Tags) ListAssetFilters(reqEditors ...RequestEditorFn) (*[]struct {
	Control *struct {
		ReadableRegex *string "json:\"readable_regex,omitempty\""
		Regex         *string "json:\"regex,omitempty\""
		Type          *string "json:\"type,omitempty\""
	} "json:\"control,omitempty\""
	Name         *string   "json:\"name,omitempty\""
	Operators    *[]string "json:\"operators,omitempty\""
	ReadableName *string   "json:\"readable_name,omitempty\""
}, error)

ListAssetFilters calls the Tags ´s function

func (*Tags) ListAssetTags

func (c *Tags) ListAssetTags(contentType string, reqEditors ...RequestEditorFn) (*struct {
	Tags *[]struct {
		AssetUuid    *string "json:\"asset_uuid,omitempty\""
		CategoryName *string "json:\"category_name,omitempty\""
		CategoryUuid *string "json:\"category_uuid,omitempty\""
		CreatedAt    *string "json:\"created_at,omitempty\""
		CreatedBy    *string "json:\"created_by,omitempty\""
		Source       *string "json:\"source,omitempty\""
		Value        *string "json:\"value,omitempty\""
		ValueUuid    *string "json:\"value_uuid,omitempty\""
	} "json:\"tags,omitempty\""
}, error)

ListAssetTags calls the Tags ´s function

func (*Tags) ListTagCategories

func (c *Tags) ListTagCategories(params *TagsListTagCategoriesParams, reqEditors ...RequestEditorFn) (*struct {
	Categories *[]struct {
		CreatedAt   *string "json:\"created_at,omitempty\""
		CreatedBy   *string "json:\"created_by,omitempty\""
		Description *string "json:\"description,omitempty\""
		Name        *string "json:\"name,omitempty\""
		Reserved    *bool   "json:\"reserved,omitempty\""
		UpdatedAt   *string "json:\"updated_at,omitempty\""
		UpdatedBy   *string "json:\"updated_by,omitempty\""
		Uuid        *string "json:\"uuid,omitempty\""
	} "json:\"categories,omitempty\""
	Pagination *struct {
		Limit  *int32 "json:\"limit,omitempty\""
		Offset *int32 "json:\"offset,omitempty\""
		Sort   *[]struct {
			Name  *string "json:\"name,omitempty\""
			Order *string "json:\"order,omitempty\""
		} "json:\"sort,omitempty\""
		Total *int32 "json:\"total,omitempty\""
	} "json:\"pagination,omitempty\""
}, error)

ListTagCategories calls the Tags ´s function

func (*Tags) ListTagValues

func (c *Tags) ListTagValues(params *TagsListTagValuesParams, reqEditors ...RequestEditorFn) (*struct {
	Pagination *struct {
		Limit  *int32 "json:\"limit,omitempty\""
		Offset *int32 "json:\"offset,omitempty\""
		Sort   *[]struct {
			Name  *string "json:\"name,omitempty\""
			Order *string "json:\"order,omitempty\""
		} "json:\"sort,omitempty\""
		Total *int32 "json:\"total,omitempty\""
	} "json:\"pagination,omitempty\""
	Values *[]struct {
		AccessControl *struct {
			AllUsersPermissions      *N200ValuesAccessControlAllUsersPermissions "json:\"all_users_permissions,omitempty\""
			CurrentDomainPermissions *[]struct {
				Id          *string                                              "json:\"id,omitempty\""
				Name        *string                                              "json:\"name,omitempty\""
				Permissions *[]string                                            "json:\"permissions,omitempty\""
				Type        *N200ValuesAccessControlCurrentDomainPermissionsType "json:\"type,omitempty\""
			} "json:\"current_domain_permissions,omitempty\""
			CurrentUserPermissions   *N200ValuesAccessControlCurrentUserPermissions   "json:\"current_user_permissions,omitempty\""
			DefinedDomainPermissions *N200ValuesAccessControlDefinedDomainPermissions "json:\"defined_domain_permissions,omitempty\""
			Version                  *int64                                           "json:\"version,omitempty\""
		} "json:\"access_control,omitempty\""
		CategoryDescription *string "json:\"category_description,omitempty\""
		CategoryName        *string "json:\"category_name,omitempty\""
		CategoryUuid        *string "json:\"category_uuid,omitempty\""
		CreatedAt           *string "json:\"created_at,omitempty\""
		CreatedBy           *string "json:\"created_by,omitempty\""
		Description         *string "json:\"description,omitempty\""
		Type                *string "json:\"type,omitempty\""
		UpdatedAt           *string "json:\"updated_at,omitempty\""
		UpdatedBy           *string "json:\"updated_by,omitempty\""
		Uuid                *string "json:\"uuid,omitempty\""
		Value               *string "json:\"value,omitempty\""
	} "json:\"values,omitempty\""
}, error)

ListTagValues calls the Tags ´s function

func (*Tags) TagCategoryDetails

func (c *Tags) TagCategoryDetails(contentType string, reqEditors ...RequestEditorFn) (*struct {
	CreatedAt   *string "json:\"created_at,omitempty\""
	CreatedBy   *string "json:\"created_by,omitempty\""
	Description *string "json:\"description,omitempty\""
	Name        *string "json:\"name,omitempty\""
	Reserved    *bool   "json:\"reserved,omitempty\""
	UpdatedAt   *string "json:\"updated_at,omitempty\""
	UpdatedBy   *string "json:\"updated_by,omitempty\""
	Uuid        *string "json:\"uuid,omitempty\""
}, error)

TagCategoryDetails calls the Tags ´s function

func (*Tags) TagValueDetails

func (c *Tags) TagValueDetails(contentType string, reqEditors ...RequestEditorFn) (*struct {
	AccessControl *struct {
		AllUsersPermissions      *N200AccessControlAllUsersPermissions "json:\"all_users_permissions,omitempty\""
		CurrentDomainPermissions *[]struct {
			Id          *string                                        "json:\"id,omitempty\""
			Name        *string                                        "json:\"name,omitempty\""
			Permissions *[]string                                      "json:\"permissions,omitempty\""
			Type        *N200AccessControlCurrentDomainPermissionsType "json:\"type,omitempty\""
		} "json:\"current_domain_permissions,omitempty\""
		CurrentUserPermissions   *N200AccessControlCurrentUserPermissions   "json:\"current_user_permissions,omitempty\""
		DefinedDomainPermissions *N200AccessControlDefinedDomainPermissions "json:\"defined_domain_permissions,omitempty\""
		Version                  *int64                                     "json:\"version,omitempty\""
	} "json:\"access_control,omitempty\""
	CategoryDescription *string "json:\"category_description,omitempty\""
	CategoryName        *string "json:\"category_name,omitempty\""
	CategoryUuid        *string "json:\"category_uuid,omitempty\""
	CreatedAt           *string "json:\"created_at,omitempty\""
	CreatedBy           *string "json:\"created_by,omitempty\""
	Description         *string "json:\"description,omitempty\""
	Filters             *struct {
		Asset *string "json:\"asset,omitempty\""
	} "json:\"filters,omitempty\""
	Type      *string "json:\"type,omitempty\""
	UpdatedAt *string "json:\"updated_at,omitempty\""
	UpdatedBy *string "json:\"updated_by,omitempty\""
	Uuid      *string "json:\"uuid,omitempty\""
	Value     *string "json:\"value,omitempty\""
}, error)

TagValueDetails calls the Tags ´s function

func (*Tags) UpdateTagValue

func (c *Tags) UpdateTagValue(arg1 string, arg2 TagsUpdateTagValueJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	AccessControl *struct {
		AllUsersPermissions      *N200AccessControlAllUsersPermissions "json:\"all_users_permissions,omitempty\""
		CurrentDomainPermissions *[]struct {
			Id          *string                                        "json:\"id,omitempty\""
			Name        *string                                        "json:\"name,omitempty\""
			Permissions *[]string                                      "json:\"permissions,omitempty\""
			Type        *N200AccessControlCurrentDomainPermissionsType "json:\"type,omitempty\""
		} "json:\"current_domain_permissions,omitempty\""
		CurrentUserPermissions   *N200AccessControlCurrentUserPermissions   "json:\"current_user_permissions,omitempty\""
		DefinedDomainPermissions *N200AccessControlDefinedDomainPermissions "json:\"defined_domain_permissions,omitempty\""
		Version                  *int64                                     "json:\"version,omitempty\""
	} "json:\"access_control,omitempty\""
	CategoryDescription *string "json:\"category_description,omitempty\""
	CategoryName        *string "json:\"category_name,omitempty\""
	CategoryUuid        *string "json:\"category_uuid,omitempty\""
	CreatedAt           *string "json:\"created_at,omitempty\""
	CreatedBy           *string "json:\"created_by,omitempty\""
	Description         *string "json:\"description,omitempty\""
	Filters             *struct {
		Asset *string "json:\"asset,omitempty\""
	} "json:\"filters,omitempty\""
	Type      *string "json:\"type,omitempty\""
	UpdatedAt *string "json:\"updated_at,omitempty\""
	UpdatedBy *string "json:\"updated_by,omitempty\""
	Uuid      *string "json:\"uuid,omitempty\""
	Value     *string "json:\"value,omitempty\""
}, error)

UpdateTagValue calls the Tags ´s function

func (*Tags) UpdateTagValueWithBody

func (c *Tags) UpdateTagValueWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	AccessControl *struct {
		AllUsersPermissions      *N200AccessControlAllUsersPermissions "json:\"all_users_permissions,omitempty\""
		CurrentDomainPermissions *[]struct {
			Id          *string                                        "json:\"id,omitempty\""
			Name        *string                                        "json:\"name,omitempty\""
			Permissions *[]string                                      "json:\"permissions,omitempty\""
			Type        *N200AccessControlCurrentDomainPermissionsType "json:\"type,omitempty\""
		} "json:\"current_domain_permissions,omitempty\""
		CurrentUserPermissions   *N200AccessControlCurrentUserPermissions   "json:\"current_user_permissions,omitempty\""
		DefinedDomainPermissions *N200AccessControlDefinedDomainPermissions "json:\"defined_domain_permissions,omitempty\""
		Version                  *int64                                     "json:\"version,omitempty\""
	} "json:\"access_control,omitempty\""
	CategoryDescription *string "json:\"category_description,omitempty\""
	CategoryName        *string "json:\"category_name,omitempty\""
	CategoryUuid        *string "json:\"category_uuid,omitempty\""
	CreatedAt           *string "json:\"created_at,omitempty\""
	CreatedBy           *string "json:\"created_by,omitempty\""
	Description         *string "json:\"description,omitempty\""
	Filters             *struct {
		Asset *string "json:\"asset,omitempty\""
	} "json:\"filters,omitempty\""
	Type      *string "json:\"type,omitempty\""
	UpdatedAt *string "json:\"updated_at,omitempty\""
	UpdatedBy *string "json:\"updated_by,omitempty\""
	Uuid      *string "json:\"uuid,omitempty\""
	Value     *string "json:\"value,omitempty\""
}, error)

UpdateTagValueWithBody calls the Tags ´s function

type TagsAssignAssetTagsJSONBody

type TagsAssignAssetTagsJSONBody struct {
	// Specifies whether to add or remove tags.
	Action TagsAssignAssetTagsJSONBodyAction `json:"action"`

	// An array of asset UUIDs. For more information on determining values for this array, see [Determine Tag Identifiers](doc:determine-tag-identifiers-tio).
	Assets []string `json:"assets"`

	// An array of tag value UUIDs. For more information on determining values for this array, see [Determine Tag Identifiers](doc:determine-tag-identifiers-tio).
	Tags []string `json:"tags"`
}

TagsAssignAssetTagsJSONBody defines parameters for TagsAssignAssetTags.

type TagsAssignAssetTagsJSONBodyAction

type TagsAssignAssetTagsJSONBodyAction string

TagsAssignAssetTagsJSONBodyAction defines parameters for TagsAssignAssetTags.

type TagsAssignAssetTagsJSONRequestBody

type TagsAssignAssetTagsJSONRequestBody TagsAssignAssetTagsJSONBody

TagsAssignAssetTagsJSONRequestBody defines body for TagsAssignAssetTags for application/json ContentType.

type TagsAssignAssetTagsResponse

type TagsAssignAssetTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *struct {
		// The UUID of the asynchronous asset update job.
		JobUuid *string `json:"job_uuid,omitempty"`
	}
}

func ParseTagsAssignAssetTagsResponse

func ParseTagsAssignAssetTagsResponse(rsp *http.Response) (*TagsAssignAssetTagsResponse, error)

ParseTagsAssignAssetTagsResponse parses an HTTP response from a TagsAssignAssetTagsWithResponse call

func (TagsAssignAssetTagsResponse) Status

Status returns HTTPResponse.Status

func (TagsAssignAssetTagsResponse) StatusCode

func (r TagsAssignAssetTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TagsCreateTagCategoryJSONBody

type TagsCreateTagCategoryJSONBody struct {
	// The description of the tag category. Must not exceed 3,000 characters.
	Description *string `json:"description,omitempty"`

	// The name of the tag category. Must not exceed 127 characters.
	Name string `json:"name"`
}

TagsCreateTagCategoryJSONBody defines parameters for TagsCreateTagCategory.

type TagsCreateTagCategoryJSONRequestBody

type TagsCreateTagCategoryJSONRequestBody TagsCreateTagCategoryJSONBody

TagsCreateTagCategoryJSONRequestBody defines body for TagsCreateTagCategory for application/json ContentType.

type TagsCreateTagCategoryResponse

type TagsCreateTagCategoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// An ISO timestamp indicating the date and time on which the category was created, for example, `2018-12-31T13:51:17.243Z`.
		CreatedAt *string `json:"created_at,omitempty"`

		// The name of the user who created the category.
		CreatedBy *string `json:"created_by,omitempty"`

		// The description of the category.
		Description *string `json:"description,omitempty"`

		// The name of the category. The name must be unique within a Tenable.io instance.
		Name *string `json:"name,omitempty"`

		// Indicates whether the tags in this category are reserved (cannot be updated). This is a read-only field set by the system.
		Reserved *bool `json:"reserved,omitempty"`

		// An ISO timestamp indicating the date and time on which the category was last updated, for example, `2018-12-31T13:51:17.243Z`.
		UpdatedAt *string `json:"updated_at,omitempty"`

		// The name of the user who last updated the category.
		UpdatedBy *string `json:"updated_by,omitempty"`

		// The UUID of the category.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseTagsCreateTagCategoryResponse

func ParseTagsCreateTagCategoryResponse(rsp *http.Response) (*TagsCreateTagCategoryResponse, error)

ParseTagsCreateTagCategoryResponse parses an HTTP response from a TagsCreateTagCategoryWithResponse call

func (TagsCreateTagCategoryResponse) Status

Status returns HTTPResponse.Status

func (TagsCreateTagCategoryResponse) StatusCode

func (r TagsCreateTagCategoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TagsCreateTagValueJSONBody

type TagsCreateTagValueJSONBody struct {
	// Determines what the user can do with the tag value.
	AccessControl *struct {
		// List of the minimum set of permissions all users have on the current tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`. Note that in responses, this field is only returned for administrators and tag owners.
		AllUsersPermissions *TagsCreateTagValueJSONBodyAccessControlAllUsersPermissions `json:"all_users_permissions,omitempty"`

		// List of user and group-specific permissions for the current tag.
		CurrentDomainPermissions *[]struct {
			// The UUID of a user or group.
			Id *string `json:"id,omitempty"`

			// The name of the user or group.
			Name *string `json:"name,omitempty"`

			// The permissions associated with the user or group.
			Permissions *[]string `json:"permissions,omitempty"`

			// The type of permission.
			Type *TagsCreateTagValueJSONBodyAccessControlCurrentDomainPermissionsType `json:"type,omitempty"`
		} `json:"current_domain_permissions,omitempty"`

		// List of all permissions for the current user on the current tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`.
		CurrentUserPermissions *TagsCreateTagValueJSONBodyAccessControlCurrentUserPermissions `json:"current_user_permissions,omitempty"`

		// List of all defined permissions for objects of type tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`. Note that in responses, this field is only returned for administrators and tag owners.
		DefinedDomainPermissions *TagsCreateTagValueJSONBodyAccessControlDefinedDomainPermissions `json:"defined_domain_permissions,omitempty"`

		// Optional, user-defined value. This value must be incremented each time the permissions are updated. Set to `1` by default.
		Version *int64 `json:"version,omitempty"`
	} `json:"access_control,omitempty"`

	// The description for the new tag category that Tenable.io creates if the category specified by name does not exist. Otherwise, Tenable.io ignores the description.
	CategoryDescription *string `json:"category_description,omitempty"`

	// The name of the tag category to associate with the new value.
	//
	// Specify the name of a new category if you want to add both a <i>new</i> category and tag value.
	//
	// Specify the name of an <i>existing</i> category if you want to add the tag value to the existing category.
	//
	// <b>Caution:</b> This value is case-sensitive. For example, Tenable.io considers "location" and "Location" to be separate categories.
	//
	// The category_name can result in the following responses:
	//
	//  - If the category_name you specify exists, and the tag value you specify already exists for that category, Tenable.io returns a 400 response code, instead of adding the tag.
	//
	//  - If the category_name you specify exists, but the tag value you specify does not yet exist for that category, Tenable.io adds the tag value to the existing category.
	//
	//  - If the category_name you specify does not exist, Tenable.io creates a new tag category and adds the new tag value to that category.
	//
	// This parameter is required if category_uuid is not present in the request message.
	CategoryName *string `json:"category_name,omitempty"`

	// The UUID of the tag category to associate with the new value. For more information on determining this value, see [Determine Tag Identifiers](doc:determine-tag-identifiers-tio).
	//
	// Use this parameter only if you want to add the tag value to an existing category. If the UUID you specify does not exist, Tenable.io does not create a new catgory. Instead, it returns a 400 (Bad Request) response code.
	//
	// This parameter is required if category_name is not present in the request message.
	CategoryUuid *string `json:"category_uuid,omitempty"`

	// The new tag value description.
	Description *string `json:"description,omitempty"`

	// The filters (conditional sets of rules) for automatically applying the tag to assets. For more information, see [Apply Dynamic Tags](doc:apply-dynamic-tags).
	Filters *struct {
		// The object containing conditional sets of rules for applying the tags.
		//
		// **Note:** Tenable.io supports a maximum of 1,000 rules per tag. This limit means that you can specify a maximum of 1,000 `and` or `or` conditions for a single tag value. Additionally, Tenable.io supports a maximum of 1,024 values in a comma-delimited string per individual tag rule. Note that the request body is limited to 1 MB. For more information about asset tags and their limitations, see [Manage Asset Tags](doc:manage-asset-tags-tio).
		Asset *struct {
			// To apply the tag to assets that match all of the rules, specify the rules inside the `and` object.
			//
			// **Note:** The value you specify for the rule attribute is not case sensitive. For example, if you type the hostname "hostx," the rule matches to assets with hostname "HOSTX" and "hostx."
			And *[]struct {
				// The asset attribute name or tag to match.
				Field *string `json:"field,omitempty"`

				// The operator to apply to the matched value, for example, equals, does not equal, or contains. To find supported operators, use the [GET /tags/assets/filters](ref:tags-list-asset-filters) endpoint.
				Operator *string `json:"operator,omitempty"`

				// The asset attribute value or tag to match. You can specify multiple values separated by commas, for example, "192.0.2.57,192.0.2.177,192.0.2.8,192.0.2.176,192.0.2.225".
				Value *string `json:"value,omitempty"`
			} `json:"and,omitempty"`

			// To apply the tag to assets that match any of the rules, specify the rules inside the `or` object.
			//
			// **Note:** The value you specify for the rule attribute is not case sensitive. For example, if you type the hostname "hostx," the rule matches to assets with hostname "HOSTX" and "hostx."
			Or *[]struct {
				// The asset attribute name or tag to match.
				Field *string `json:"field,omitempty"`

				// The operator to apply to the matched value, for example, equals, does not equal, or contains. To find supported operators, use the [GET /tags/assets/filters](ref:tags-list-asset-filters) endpoint.
				Operator *string `json:"operator,omitempty"`

				// The asset attribute value or tag to match. You can specify multiple values separated by commas, for example, "192.0.2.57,192.0.2.177,192.0.2.8,192.0.2.176,192.0.2.225".
				Value *string `json:"value,omitempty"`
			} `json:"or,omitempty"`
		} `json:"asset,omitempty"`
	} `json:"filters,omitempty"`

	// The new tag value. Tag values cannot exceed 50 characters in length.
	//
	// <b>Caution:</b> This value is case-sensitive. For example, Tenable.io considers "headquarters" and "Headquarters" to be separate tag values.
	Value string `json:"value"`
}

TagsCreateTagValueJSONBody defines parameters for TagsCreateTagValue.

type TagsCreateTagValueJSONBodyAccessControlAllUsersPermissions

type TagsCreateTagValueJSONBodyAccessControlAllUsersPermissions []string

TagsCreateTagValueJSONBodyAccessControlAllUsersPermissions defines parameters for TagsCreateTagValue.

type TagsCreateTagValueJSONBodyAccessControlCurrentDomainPermissionsType

type TagsCreateTagValueJSONBodyAccessControlCurrentDomainPermissionsType string

TagsCreateTagValueJSONBodyAccessControlCurrentDomainPermissionsType defines parameters for TagsCreateTagValue.

type TagsCreateTagValueJSONBodyAccessControlCurrentUserPermissions

type TagsCreateTagValueJSONBodyAccessControlCurrentUserPermissions []string

TagsCreateTagValueJSONBodyAccessControlCurrentUserPermissions defines parameters for TagsCreateTagValue.

type TagsCreateTagValueJSONBodyAccessControlDefinedDomainPermissions

type TagsCreateTagValueJSONBodyAccessControlDefinedDomainPermissions []string

TagsCreateTagValueJSONBodyAccessControlDefinedDomainPermissions defines parameters for TagsCreateTagValue.

type TagsCreateTagValueJSONRequestBody

type TagsCreateTagValueJSONRequestBody TagsCreateTagValueJSONBody

TagsCreateTagValueJSONRequestBody defines body for TagsCreateTagValue for application/json ContentType.

type TagsCreateTagValueResponse

type TagsCreateTagValueResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Determines what the user can do with the tag value.
		AccessControl *struct {
			// List of the minimum set of permissions all users have on the current tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`. Note that in responses, this field is only returned for administrators and tag owners.
			AllUsersPermissions *N200AccessControlAllUsersPermissions `json:"all_users_permissions,omitempty"`

			// List of user and group-specific permissions for the current tag.
			CurrentDomainPermissions *[]struct {
				// The UUID of a user or group.
				Id *string `json:"id,omitempty"`

				// The name of the user or group.
				Name *string `json:"name,omitempty"`

				// The permissions associated with the user or group.
				Permissions *[]string `json:"permissions,omitempty"`

				// The type of permission.
				Type *N200AccessControlCurrentDomainPermissionsType `json:"type,omitempty"`
			} `json:"current_domain_permissions,omitempty"`

			// List of all permissions for the current user on the current tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`.
			CurrentUserPermissions *N200AccessControlCurrentUserPermissions `json:"current_user_permissions,omitempty"`

			// List of all defined permissions for objects of type tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`. Note that in responses, this field is only returned for administrators and tag owners.
			DefinedDomainPermissions *N200AccessControlDefinedDomainPermissions `json:"defined_domain_permissions,omitempty"`

			// Optional, user-defined value. This value must be incremented each time the permissions are updated. Set to `1` by default.
			Version *int64 `json:"version,omitempty"`
		} `json:"access_control,omitempty"`

		// The description of the category associated with the tag value.
		CategoryDescription *string `json:"category_description,omitempty"`

		// The name of the category associated with the tag value.
		CategoryName *string `json:"category_name,omitempty"`

		// The UUID of the category associated with the tag value. Use this value to create future tags in the same category.
		CategoryUuid *string `json:"category_uuid,omitempty"`

		// An ISO timestamp indicating the date and time on which the tag value was created, for example, `2018-12-31T13:51:17.243Z`.
		CreatedAt *string `json:"created_at,omitempty"`

		// The name of the user who created the tag value.
		CreatedBy *string `json:"created_by,omitempty"`

		// The description of the tag value.
		Description *string `json:"description,omitempty"`

		// For dynamic tags, asset selection rules.
		Filters *struct {
			// Tag rule definitions represented as a JSON-formatted string.
			Asset *string `json:"asset,omitempty"`
		} `json:"filters,omitempty"`

		// The tag type:
		//  - static—A user must manually apply the tag to assets.
		//  - dynamic—Tenable.io automatically applies the tag based on asset attribute rules.
		Type *string `json:"type,omitempty"`

		// An ISO timestamp indicating the date and time on which the tag value was last updated, for example, `2018-12-31T13:51:17.243Z`. When you create a tag value, this date matches the `created_at` date.
		UpdatedAt *string `json:"updated_at,omitempty"`

		// The name of the user who last updated the tag value. When you create a tag value, this name matches the `created_by` name.
		UpdatedBy *string `json:"updated_by,omitempty"`

		// The UUID of the tag value. Use this value to assign the tag to assets.
		Uuid *string `json:"uuid,omitempty"`

		// The tag value. Must be unique within the category.
		Value *string `json:"value,omitempty"`
	}
}

func ParseTagsCreateTagValueResponse

func ParseTagsCreateTagValueResponse(rsp *http.Response) (*TagsCreateTagValueResponse, error)

ParseTagsCreateTagValueResponse parses an HTTP response from a TagsCreateTagValueWithResponse call

func (TagsCreateTagValueResponse) Status

Status returns HTTPResponse.Status

func (TagsCreateTagValueResponse) StatusCode

func (r TagsCreateTagValueResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TagsDeleteTagCategoryResponse

type TagsDeleteTagCategoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON204      *interface{}
}

func ParseTagsDeleteTagCategoryResponse

func ParseTagsDeleteTagCategoryResponse(rsp *http.Response) (*TagsDeleteTagCategoryResponse, error)

ParseTagsDeleteTagCategoryResponse parses an HTTP response from a TagsDeleteTagCategoryWithResponse call

func (TagsDeleteTagCategoryResponse) Status

Status returns HTTPResponse.Status

func (TagsDeleteTagCategoryResponse) StatusCode

func (r TagsDeleteTagCategoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TagsDeleteTagValueResponse

type TagsDeleteTagValueResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON204      *interface{}
}

func ParseTagsDeleteTagValueResponse

func ParseTagsDeleteTagValueResponse(rsp *http.Response) (*TagsDeleteTagValueResponse, error)

ParseTagsDeleteTagValueResponse parses an HTTP response from a TagsDeleteTagValueWithResponse call

func (TagsDeleteTagValueResponse) Status

Status returns HTTPResponse.Status

func (TagsDeleteTagValueResponse) StatusCode

func (r TagsDeleteTagValueResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TagsDeleteTagValuesBulkJSONBody

type TagsDeleteTagValuesBulkJSONBody struct {
	// The UUIDs of the tag values you want to delete.
	//
	// **Note:** A tag UUID is technically assigned to the tag value only (the second half of the category:value pair), but the API commands use this value to represent the whole `category:value` pair. For more information on determining this value, see [Determine Tag Identifiers](doc:determine-tag-identifiers-tio).
	Values *[]string `json:"values,omitempty"`
}

TagsDeleteTagValuesBulkJSONBody defines parameters for TagsDeleteTagValuesBulk.

type TagsDeleteTagValuesBulkJSONRequestBody

type TagsDeleteTagValuesBulkJSONRequestBody TagsDeleteTagValuesBulkJSONBody

TagsDeleteTagValuesBulkJSONRequestBody defines body for TagsDeleteTagValuesBulk for application/json ContentType.

type TagsDeleteTagValuesBulkResponse

type TagsDeleteTagValuesBulkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseTagsDeleteTagValuesBulkResponse

func ParseTagsDeleteTagValuesBulkResponse(rsp *http.Response) (*TagsDeleteTagValuesBulkResponse, error)

ParseTagsDeleteTagValuesBulkResponse parses an HTTP response from a TagsDeleteTagValuesBulkWithResponse call

func (TagsDeleteTagValuesBulkResponse) Status

Status returns HTTPResponse.Status

func (TagsDeleteTagValuesBulkResponse) StatusCode

func (r TagsDeleteTagValuesBulkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TagsEditTagCategoryJSONBody

type TagsEditTagCategoryJSONBody struct {
	// The description of the category. Must not exceed 3,000 characters.
	Description *string `json:"description,omitempty"`

	// The name of the tag category. Must not exceed 127 characters.
	Name string `json:"name"`
}

TagsEditTagCategoryJSONBody defines parameters for TagsEditTagCategory.

type TagsEditTagCategoryJSONRequestBody

type TagsEditTagCategoryJSONRequestBody TagsEditTagCategoryJSONBody

TagsEditTagCategoryJSONRequestBody defines body for TagsEditTagCategory for application/json ContentType.

type TagsEditTagCategoryResponse

type TagsEditTagCategoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// An ISO timestamp indicating the date and time on which the category was created, for example, `2018-12-31T13:51:17.243Z`.
		CreatedAt *string `json:"created_at,omitempty"`

		// The name of the user who created the category.
		CreatedBy *string `json:"created_by,omitempty"`

		// The description of the category.
		Description *string `json:"description,omitempty"`

		// The name of the category. The name must be unique within a Tenable.io instance.
		Name *string `json:"name,omitempty"`

		// Indicates whether the tags in this category are reserved (cannot be updated). This is a read-only field set by the system.
		Reserved *bool `json:"reserved,omitempty"`

		// An ISO timestamp indicating the date and time on which the category was last updated, for example, `2018-12-31T13:51:17.243Z`.
		UpdatedAt *string `json:"updated_at,omitempty"`

		// The name of the user who last updated the category.
		UpdatedBy *string `json:"updated_by,omitempty"`

		// The UUID of the category.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseTagsEditTagCategoryResponse

func ParseTagsEditTagCategoryResponse(rsp *http.Response) (*TagsEditTagCategoryResponse, error)

ParseTagsEditTagCategoryResponse parses an HTTP response from a TagsEditTagCategoryWithResponse call

func (TagsEditTagCategoryResponse) Status

Status returns HTTPResponse.Status

func (TagsEditTagCategoryResponse) StatusCode

func (r TagsEditTagCategoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TagsInterface

type TagsInterface interface {
	AssignAssetTagsWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*TagsAssignAssetTagsResponse, error)
	AssignAssetTags(arg1 TagsAssignAssetTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*TagsAssignAssetTagsResponse, error)
	CreateTagCategoryWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		CreatedAt   *string "json:\"created_at,omitempty\""
		CreatedBy   *string "json:\"created_by,omitempty\""
		Description *string "json:\"description,omitempty\""
		Name        *string "json:\"name,omitempty\""
		Reserved    *bool   "json:\"reserved,omitempty\""
		UpdatedAt   *string "json:\"updated_at,omitempty\""
		UpdatedBy   *string "json:\"updated_by,omitempty\""
		Uuid        *string "json:\"uuid,omitempty\""
	}, error)
	CreateTagCategory(arg1 TagsCreateTagCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		CreatedAt   *string "json:\"created_at,omitempty\""
		CreatedBy   *string "json:\"created_by,omitempty\""
		Description *string "json:\"description,omitempty\""
		Name        *string "json:\"name,omitempty\""
		Reserved    *bool   "json:\"reserved,omitempty\""
		UpdatedAt   *string "json:\"updated_at,omitempty\""
		UpdatedBy   *string "json:\"updated_by,omitempty\""
		Uuid        *string "json:\"uuid,omitempty\""
	}, error)
	CreateTagValueWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		AccessControl *struct {
			AllUsersPermissions      *N200AccessControlAllUsersPermissions "json:\"all_users_permissions,omitempty\""
			CurrentDomainPermissions *[]struct {
				Id          *string                                        "json:\"id,omitempty\""
				Name        *string                                        "json:\"name,omitempty\""
				Permissions *[]string                                      "json:\"permissions,omitempty\""
				Type        *N200AccessControlCurrentDomainPermissionsType "json:\"type,omitempty\""
			} "json:\"current_domain_permissions,omitempty\""
			CurrentUserPermissions   *N200AccessControlCurrentUserPermissions   "json:\"current_user_permissions,omitempty\""
			DefinedDomainPermissions *N200AccessControlDefinedDomainPermissions "json:\"defined_domain_permissions,omitempty\""
			Version                  *int64                                     "json:\"version,omitempty\""
		} "json:\"access_control,omitempty\""
		CategoryDescription *string "json:\"category_description,omitempty\""
		CategoryName        *string "json:\"category_name,omitempty\""
		CategoryUuid        *string "json:\"category_uuid,omitempty\""
		CreatedAt           *string "json:\"created_at,omitempty\""
		CreatedBy           *string "json:\"created_by,omitempty\""
		Description         *string "json:\"description,omitempty\""
		Filters             *struct {
			Asset *string "json:\"asset,omitempty\""
		} "json:\"filters,omitempty\""
		Type      *string "json:\"type,omitempty\""
		UpdatedAt *string "json:\"updated_at,omitempty\""
		UpdatedBy *string "json:\"updated_by,omitempty\""
		Uuid      *string "json:\"uuid,omitempty\""
		Value     *string "json:\"value,omitempty\""
	}, error)
	CreateTagValue(arg1 TagsCreateTagValueJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		AccessControl *struct {
			AllUsersPermissions      *N200AccessControlAllUsersPermissions "json:\"all_users_permissions,omitempty\""
			CurrentDomainPermissions *[]struct {
				Id          *string                                        "json:\"id,omitempty\""
				Name        *string                                        "json:\"name,omitempty\""
				Permissions *[]string                                      "json:\"permissions,omitempty\""
				Type        *N200AccessControlCurrentDomainPermissionsType "json:\"type,omitempty\""
			} "json:\"current_domain_permissions,omitempty\""
			CurrentUserPermissions   *N200AccessControlCurrentUserPermissions   "json:\"current_user_permissions,omitempty\""
			DefinedDomainPermissions *N200AccessControlDefinedDomainPermissions "json:\"defined_domain_permissions,omitempty\""
			Version                  *int64                                     "json:\"version,omitempty\""
		} "json:\"access_control,omitempty\""
		CategoryDescription *string "json:\"category_description,omitempty\""
		CategoryName        *string "json:\"category_name,omitempty\""
		CategoryUuid        *string "json:\"category_uuid,omitempty\""
		CreatedAt           *string "json:\"created_at,omitempty\""
		CreatedBy           *string "json:\"created_by,omitempty\""
		Description         *string "json:\"description,omitempty\""
		Filters             *struct {
			Asset *string "json:\"asset,omitempty\""
		} "json:\"filters,omitempty\""
		Type      *string "json:\"type,omitempty\""
		UpdatedAt *string "json:\"updated_at,omitempty\""
		UpdatedBy *string "json:\"updated_by,omitempty\""
		Uuid      *string "json:\"uuid,omitempty\""
		Value     *string "json:\"value,omitempty\""
	}, error)
	DeleteTagCategory(contentType string, reqEditors ...RequestEditorFn) (*TagsDeleteTagCategoryResponse, error)
	DeleteTagValue(contentType string, reqEditors ...RequestEditorFn) (*TagsDeleteTagValueResponse, error)
	DeleteTagValuesBulkWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)
	DeleteTagValuesBulk(arg1 TagsDeleteTagValuesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)
	EditTagCategoryWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		CreatedAt   *string "json:\"created_at,omitempty\""
		CreatedBy   *string "json:\"created_by,omitempty\""
		Description *string "json:\"description,omitempty\""
		Name        *string "json:\"name,omitempty\""
		Reserved    *bool   "json:\"reserved,omitempty\""
		UpdatedAt   *string "json:\"updated_at,omitempty\""
		UpdatedBy   *string "json:\"updated_by,omitempty\""
		Uuid        *string "json:\"uuid,omitempty\""
	}, error)
	EditTagCategory(arg1 string, arg2 TagsEditTagCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		CreatedAt   *string "json:\"created_at,omitempty\""
		CreatedBy   *string "json:\"created_by,omitempty\""
		Description *string "json:\"description,omitempty\""
		Name        *string "json:\"name,omitempty\""
		Reserved    *bool   "json:\"reserved,omitempty\""
		UpdatedAt   *string "json:\"updated_at,omitempty\""
		UpdatedBy   *string "json:\"updated_by,omitempty\""
		Uuid        *string "json:\"uuid,omitempty\""
	}, error)
	ListAssetFilters(reqEditors ...RequestEditorFn) (*[]struct {
		Control *struct {
			ReadableRegex *string "json:\"readable_regex,omitempty\""
			Regex         *string "json:\"regex,omitempty\""
			Type          *string "json:\"type,omitempty\""
		} "json:\"control,omitempty\""
		Name         *string   "json:\"name,omitempty\""
		Operators    *[]string "json:\"operators,omitempty\""
		ReadableName *string   "json:\"readable_name,omitempty\""
	}, error)
	ListAssetTags(contentType string, reqEditors ...RequestEditorFn) (*struct {
		Tags *[]struct {
			AssetUuid    *string "json:\"asset_uuid,omitempty\""
			CategoryName *string "json:\"category_name,omitempty\""
			CategoryUuid *string "json:\"category_uuid,omitempty\""
			CreatedAt    *string "json:\"created_at,omitempty\""
			CreatedBy    *string "json:\"created_by,omitempty\""
			Source       *string "json:\"source,omitempty\""
			Value        *string "json:\"value,omitempty\""
			ValueUuid    *string "json:\"value_uuid,omitempty\""
		} "json:\"tags,omitempty\""
	}, error)
	ListTagCategories(params *TagsListTagCategoriesParams, reqEditors ...RequestEditorFn) (*struct {
		Categories *[]struct {
			CreatedAt   *string "json:\"created_at,omitempty\""
			CreatedBy   *string "json:\"created_by,omitempty\""
			Description *string "json:\"description,omitempty\""
			Name        *string "json:\"name,omitempty\""
			Reserved    *bool   "json:\"reserved,omitempty\""
			UpdatedAt   *string "json:\"updated_at,omitempty\""
			UpdatedBy   *string "json:\"updated_by,omitempty\""
			Uuid        *string "json:\"uuid,omitempty\""
		} "json:\"categories,omitempty\""
		Pagination *struct {
			Limit  *int32 "json:\"limit,omitempty\""
			Offset *int32 "json:\"offset,omitempty\""
			Sort   *[]struct {
				Name  *string "json:\"name,omitempty\""
				Order *string "json:\"order,omitempty\""
			} "json:\"sort,omitempty\""
			Total *int32 "json:\"total,omitempty\""
		} "json:\"pagination,omitempty\""
	}, error)
	ListTagValues(params *TagsListTagValuesParams, reqEditors ...RequestEditorFn) (*struct {
		Pagination *struct {
			Limit  *int32 "json:\"limit,omitempty\""
			Offset *int32 "json:\"offset,omitempty\""
			Sort   *[]struct {
				Name  *string "json:\"name,omitempty\""
				Order *string "json:\"order,omitempty\""
			} "json:\"sort,omitempty\""
			Total *int32 "json:\"total,omitempty\""
		} "json:\"pagination,omitempty\""
		Values *[]struct {
			AccessControl *struct {
				AllUsersPermissions      *N200ValuesAccessControlAllUsersPermissions "json:\"all_users_permissions,omitempty\""
				CurrentDomainPermissions *[]struct {
					Id          *string                                              "json:\"id,omitempty\""
					Name        *string                                              "json:\"name,omitempty\""
					Permissions *[]string                                            "json:\"permissions,omitempty\""
					Type        *N200ValuesAccessControlCurrentDomainPermissionsType "json:\"type,omitempty\""
				} "json:\"current_domain_permissions,omitempty\""
				CurrentUserPermissions   *N200ValuesAccessControlCurrentUserPermissions   "json:\"current_user_permissions,omitempty\""
				DefinedDomainPermissions *N200ValuesAccessControlDefinedDomainPermissions "json:\"defined_domain_permissions,omitempty\""
				Version                  *int64                                           "json:\"version,omitempty\""
			} "json:\"access_control,omitempty\""
			CategoryDescription *string "json:\"category_description,omitempty\""
			CategoryName        *string "json:\"category_name,omitempty\""
			CategoryUuid        *string "json:\"category_uuid,omitempty\""
			CreatedAt           *string "json:\"created_at,omitempty\""
			CreatedBy           *string "json:\"created_by,omitempty\""
			Description         *string "json:\"description,omitempty\""
			Type                *string "json:\"type,omitempty\""
			UpdatedAt           *string "json:\"updated_at,omitempty\""
			UpdatedBy           *string "json:\"updated_by,omitempty\""
			Uuid                *string "json:\"uuid,omitempty\""
			Value               *string "json:\"value,omitempty\""
		} "json:\"values,omitempty\""
	}, error)
	TagCategoryDetails(contentType string, reqEditors ...RequestEditorFn) (*struct {
		CreatedAt   *string "json:\"created_at,omitempty\""
		CreatedBy   *string "json:\"created_by,omitempty\""
		Description *string "json:\"description,omitempty\""
		Name        *string "json:\"name,omitempty\""
		Reserved    *bool   "json:\"reserved,omitempty\""
		UpdatedAt   *string "json:\"updated_at,omitempty\""
		UpdatedBy   *string "json:\"updated_by,omitempty\""
		Uuid        *string "json:\"uuid,omitempty\""
	}, error)
	TagValueDetails(contentType string, reqEditors ...RequestEditorFn) (*struct {
		AccessControl *struct {
			AllUsersPermissions      *N200AccessControlAllUsersPermissions "json:\"all_users_permissions,omitempty\""
			CurrentDomainPermissions *[]struct {
				Id          *string                                        "json:\"id,omitempty\""
				Name        *string                                        "json:\"name,omitempty\""
				Permissions *[]string                                      "json:\"permissions,omitempty\""
				Type        *N200AccessControlCurrentDomainPermissionsType "json:\"type,omitempty\""
			} "json:\"current_domain_permissions,omitempty\""
			CurrentUserPermissions   *N200AccessControlCurrentUserPermissions   "json:\"current_user_permissions,omitempty\""
			DefinedDomainPermissions *N200AccessControlDefinedDomainPermissions "json:\"defined_domain_permissions,omitempty\""
			Version                  *int64                                     "json:\"version,omitempty\""
		} "json:\"access_control,omitempty\""
		CategoryDescription *string "json:\"category_description,omitempty\""
		CategoryName        *string "json:\"category_name,omitempty\""
		CategoryUuid        *string "json:\"category_uuid,omitempty\""
		CreatedAt           *string "json:\"created_at,omitempty\""
		CreatedBy           *string "json:\"created_by,omitempty\""
		Description         *string "json:\"description,omitempty\""
		Filters             *struct {
			Asset *string "json:\"asset,omitempty\""
		} "json:\"filters,omitempty\""
		Type      *string "json:\"type,omitempty\""
		UpdatedAt *string "json:\"updated_at,omitempty\""
		UpdatedBy *string "json:\"updated_by,omitempty\""
		Uuid      *string "json:\"uuid,omitempty\""
		Value     *string "json:\"value,omitempty\""
	}, error)
	UpdateTagValueWithBody(arg1 string, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		AccessControl *struct {
			AllUsersPermissions      *N200AccessControlAllUsersPermissions "json:\"all_users_permissions,omitempty\""
			CurrentDomainPermissions *[]struct {
				Id          *string                                        "json:\"id,omitempty\""
				Name        *string                                        "json:\"name,omitempty\""
				Permissions *[]string                                      "json:\"permissions,omitempty\""
				Type        *N200AccessControlCurrentDomainPermissionsType "json:\"type,omitempty\""
			} "json:\"current_domain_permissions,omitempty\""
			CurrentUserPermissions   *N200AccessControlCurrentUserPermissions   "json:\"current_user_permissions,omitempty\""
			DefinedDomainPermissions *N200AccessControlDefinedDomainPermissions "json:\"defined_domain_permissions,omitempty\""
			Version                  *int64                                     "json:\"version,omitempty\""
		} "json:\"access_control,omitempty\""
		CategoryDescription *string "json:\"category_description,omitempty\""
		CategoryName        *string "json:\"category_name,omitempty\""
		CategoryUuid        *string "json:\"category_uuid,omitempty\""
		CreatedAt           *string "json:\"created_at,omitempty\""
		CreatedBy           *string "json:\"created_by,omitempty\""
		Description         *string "json:\"description,omitempty\""
		Filters             *struct {
			Asset *string "json:\"asset,omitempty\""
		} "json:\"filters,omitempty\""
		Type      *string "json:\"type,omitempty\""
		UpdatedAt *string "json:\"updated_at,omitempty\""
		UpdatedBy *string "json:\"updated_by,omitempty\""
		Uuid      *string "json:\"uuid,omitempty\""
		Value     *string "json:\"value,omitempty\""
	}, error)
	UpdateTagValue(arg1 string, arg2 TagsUpdateTagValueJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		AccessControl *struct {
			AllUsersPermissions      *N200AccessControlAllUsersPermissions "json:\"all_users_permissions,omitempty\""
			CurrentDomainPermissions *[]struct {
				Id          *string                                        "json:\"id,omitempty\""
				Name        *string                                        "json:\"name,omitempty\""
				Permissions *[]string                                      "json:\"permissions,omitempty\""
				Type        *N200AccessControlCurrentDomainPermissionsType "json:\"type,omitempty\""
			} "json:\"current_domain_permissions,omitempty\""
			CurrentUserPermissions   *N200AccessControlCurrentUserPermissions   "json:\"current_user_permissions,omitempty\""
			DefinedDomainPermissions *N200AccessControlDefinedDomainPermissions "json:\"defined_domain_permissions,omitempty\""
			Version                  *int64                                     "json:\"version,omitempty\""
		} "json:\"access_control,omitempty\""
		CategoryDescription *string "json:\"category_description,omitempty\""
		CategoryName        *string "json:\"category_name,omitempty\""
		CategoryUuid        *string "json:\"category_uuid,omitempty\""
		CreatedAt           *string "json:\"created_at,omitempty\""
		CreatedBy           *string "json:\"created_by,omitempty\""
		Description         *string "json:\"description,omitempty\""
		Filters             *struct {
			Asset *string "json:\"asset,omitempty\""
		} "json:\"filters,omitempty\""
		Type      *string "json:\"type,omitempty\""
		UpdatedAt *string "json:\"updated_at,omitempty\""
		UpdatedBy *string "json:\"updated_by,omitempty\""
		Uuid      *string "json:\"uuid,omitempty\""
		Value     *string "json:\"value,omitempty\""
	}, error)
}

TagsInterface contains all methods for the nessus api

type TagsListAssetFiltersResponse

type TagsListAssetFiltersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Control *struct {
			// Provides a human-readable "hint" to guide users creating tag rules in the Tenable.io user interface.
			ReadableRegex *string `json:"readable_regex,omitempty"`

			// A regular expression that Tenable.io UI uses to validate input.
			Regex *string `json:"regex,omitempty"`

			// The type of UI control that represents the filter in the Tenable.io user interface.
			Type *string `json:"type,omitempty"`
		} `json:"control,omitempty"`

		// The name of the asset attribute or tag.
		Name *string `json:"name,omitempty"`

		// The comparison operators that can be used for the filter. To find supported operators, use the [GET /tags/assets/filters](ref:tags-list-asset-filters) endpoint.
		Operators *[]string `json:"operators,omitempty"`

		// The asset attribute name displayed in the Tenable.io user interface.
		ReadableName *string `json:"readable_name,omitempty"`
	}
}

func ParseTagsListAssetFiltersResponse

func ParseTagsListAssetFiltersResponse(rsp *http.Response) (*TagsListAssetFiltersResponse, error)

ParseTagsListAssetFiltersResponse parses an HTTP response from a TagsListAssetFiltersWithResponse call

func (TagsListAssetFiltersResponse) Status

Status returns HTTPResponse.Status

func (TagsListAssetFiltersResponse) StatusCode

func (r TagsListAssetFiltersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TagsListAssetTagsResponse

type TagsListAssetTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// An array of asset assignment objects.
		Tags *[]struct {
			// The UUID of the asset where the tag is assigned.
			AssetUuid *string `json:"asset_uuid,omitempty"`

			// The tag category name (the first half of the category:value pair).
			CategoryName *string `json:"category_name,omitempty"`

			// The UUID of the tag category. Use this value to create future tags in the same category.
			CategoryUuid *string `json:"category_uuid,omitempty"`

			// An ISO timestamp indicating the date and time on which the was assigned to an asset, for example, `2018-12-31T13:51:17.243Z`.
			CreatedAt *string `json:"created_at,omitempty"`

			// The name of the user who assigned the tag to the asset.
			CreatedBy *string `json:"created_by,omitempty"`

			// The tag type:
			//  - static—A user must manually apply the tag to assets.
			//  - dynamic—Tenable.io automatically applies the tag based on asset attribute rules.
			Source *string `json:"source,omitempty"`

			// The tag value (the second half of the category:value pair).
			Value *string `json:"value,omitempty"`

			// The UUID of the tag value.
			//
			// **Note:** A tag UUID is technically assigned to the tag value only (the second half of the category:value pair), but the API commands use this value to represent the whole `category:value` pair.
			ValueUuid *string `json:"value_uuid,omitempty"`
		} `json:"tags,omitempty"`
	}
}

func ParseTagsListAssetTagsResponse

func ParseTagsListAssetTagsResponse(rsp *http.Response) (*TagsListAssetTagsResponse, error)

ParseTagsListAssetTagsResponse parses an HTTP response from a TagsListAssetTagsWithResponse call

func (TagsListAssetTagsResponse) Status

func (r TagsListAssetTagsResponse) Status() string

Status returns HTTPResponse.Status

func (TagsListAssetTagsResponse) StatusCode

func (r TagsListAssetTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TagsListTagCategoriesParams

type TagsListTagCategoriesParams struct {
	// A filter condition in the `field:operator:value` format, for example, `f=name:match:location`. Filter conditions can include:
	// * name:eq:&lt;name>
	// * name:match:<partial\_name>
	// * description:eq:&lt;description>
	// * description:match:<partial\_description>
	// * updated\_at:date-eq:<timestamp\_as\_int>
	// * updated\_at:date-gt:<timestamp\_as\_int>
	// * updated\_at:date-lt:<timestamp\_as\_int>
	// * created\_at:date-eq:<timestamp\_as\_int>
	// * created\_at:date-gt:<timestamp\_as\_int>
	// * created\_at:date-lt:<timestamp\_as\_int>
	// * updated\_by:eq:<user\_uuid>
	F *string `json:"f,omitempty"`

	// If multiple `f` parameters are present, specifies whether Tenable.io applies `AND` or `OR` to conditions. Supported values are `and` and `or`. If you omit this parameter when using multiple `f` parameters, Tenable.io applies `AND` by default.
	Ft *string `json:"ft,omitempty"`

	// The number of records to retrieve. If this parameter is omitted, Tenable.io uses the default value of `5000`.
	Limit *int32 `json:"limit,omitempty"`

	// The starting record to retrieve. If this parameter is omitted, Tenable.io uses the default value of `0`.
	Offset *int32 `json:"offset,omitempty"`

	// The field you want to use to sort the results by along with the sort order. The field is specified first, followed by a colon, and the order is specified second (`asc` or `desc`). For example, `name:desc` would sort results by the `name` field in descending order.
	//
	// If you specify multiple fields, the fields must be separated by commas. For example, `name:desc,updated_at:asc` would first sort results by the `name` field in descending order and then by the `updated_at` field in ascending order.
	Sort *string `json:"sort,omitempty"`
}

TagsListTagCategoriesParams defines parameters for TagsListTagCategories.

type TagsListTagCategoriesResponse

type TagsListTagCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A collection of category objects.
		Categories *[]struct {
			// An ISO timestamp indicating the date and time on which the category was created, for example, `2018-12-31T13:51:17.243Z`.
			CreatedAt *string `json:"created_at,omitempty"`

			// The name of the user who created the category.
			CreatedBy *string `json:"created_by,omitempty"`

			// The description of the category.
			Description *string `json:"description,omitempty"`

			// The name of the category. The name must be unique within a Tenable.io instance.
			Name *string `json:"name,omitempty"`

			// Indicates whether the tags in this category are reserved (cannot be updated). This is a read-only field set by the system.
			Reserved *bool `json:"reserved,omitempty"`

			// An ISO timestamp indicating the date and time on which the category was last updated, for example, `2018-12-31T13:51:17.243Z`.
			UpdatedAt *string `json:"updated_at,omitempty"`

			// The name of the user who last updated the category.
			UpdatedBy *string `json:"updated_by,omitempty"`

			// The UUID of the category.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"categories,omitempty"`
		Pagination *struct {
			// The number of records requested (or the default value if omitted from the request).
			Limit *int32 `json:"limit,omitempty"`

			// The starting record you requested (or zero if omitted).
			Offset *int32 `json:"offset,omitempty"`

			// An array of objects representing the fields and sort order you specified in the request, which Tenable.io used to sort the returned data.
			Sort *[]struct {
				// The field on which Tenable.io sorted the results.
				Name *string `json:"name,omitempty"`

				// The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending).
				Order *string `json:"order,omitempty"`
			} `json:"sort,omitempty"`

			// The total number of records matching your search criteria.
			Total *int32 `json:"total,omitempty"`
		} `json:"pagination,omitempty"`
	}
}

func ParseTagsListTagCategoriesResponse

func ParseTagsListTagCategoriesResponse(rsp *http.Response) (*TagsListTagCategoriesResponse, error)

ParseTagsListTagCategoriesResponse parses an HTTP response from a TagsListTagCategoriesWithResponse call

func (TagsListTagCategoriesResponse) Status

Status returns HTTPResponse.Status

func (TagsListTagCategoriesResponse) StatusCode

func (r TagsListTagCategoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TagsListTagValuesParams

type TagsListTagValuesParams struct {
	// A filter condition in the `field:operator:value` format, for example, `f=value:match:rhel`. Filters should match `field:op:value` format. Filter conditions can include:
	// * value:eq:&lt;value>
	// * value:match:&lt;value>
	// * category\_name:match:<partial\_value>
	// * category\_name:eq:<category\_name>
	// * category\_name:match:<partial\_category\_name>
	// * description:eq:&lt;description>
	// * description:match:<partial\_description>
	// * updated\_at:date-eq:<timestamp\_as\_int>
	// * updated\_at:date-gt:<timestamp\_as\_int>
	// * updated\_at:date-lt:<timestamp\_as\_int>
	// * updated\_by:eq:<user\_uuid>
	F *string `json:"f,omitempty"`

	// If multiple `f` parameters are present, specifies whether Tenable.io applies `AND` or `OR` to conditions. Supported values are `and` and `or`. If you omit this parameter when using multiple `f` parameters, Tenable.io applies `AND` by default.
	Ft *string `json:"ft,omitempty"`

	// A comma-separated list of fields to include in the wildcard search. Provides the same functionality as a `match` condition in the `f` in parameter. For example, `f=value:match:Chi` returns the same results as `wf=value&w=Chi`. Wildcard fields include:
	// * category\_name
	// * value
	// * description
	// Use the `w` parameter to specify the search value.
	Wf *string `json:"wf,omitempty"`

	// A single search value for the wildcard fields specified in the `wf` parameter.
	W *string `json:"w,omitempty"`

	// The number of records to retrieve. If this parameter is omitted, Tenable.io uses the default value of `5000`.
	Limit *int32 `json:"limit,omitempty"`

	// The starting record to retrieve. If this parameter is omitted, Tenable.io uses the default value of `0`.
	Offset *int32 `json:"offset,omitempty"`

	// The field you want to use to sort the results by along with the sort order. The field is specified first, followed by a colon, and the order is specified second (`asc` or `desc`). For example, `value:desc` would sort results by the `value` field in descending order.
	//
	// If you specify multiple fields, the fields must be separated by commas. For example, `value:desc,updated_at:asc` would first sort results by the `value` field in descending order and then by the `updated_at` field in ascending order.
	Sort *string `json:"sort,omitempty"`
}

TagsListTagValuesParams defines parameters for TagsListTagValues.

type TagsListTagValuesResponse

type TagsListTagValuesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// The number of records requested (or the default value if omitted from the request).
			Limit *int32 `json:"limit,omitempty"`

			// The starting record you requested (or zero if omitted).
			Offset *int32 `json:"offset,omitempty"`

			// An array of objects representing the fields and sort order you specified in the request, which Tenable.io used to sort the returned data.
			Sort *[]struct {
				// The field on which Tenable.io sorted the results.
				Name *string `json:"name,omitempty"`

				// The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending).
				Order *string `json:"order,omitempty"`
			} `json:"sort,omitempty"`

			// The total number of records matching your search criteria.
			Total *int32 `json:"total,omitempty"`
		} `json:"pagination,omitempty"`

		// An array of tag value objects.
		Values *[]struct {
			// Determines what the user can do with the tag value.
			AccessControl *struct {
				// List of the minimum set of permissions all users have on the current tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`. Note that in responses, this field is only returned for administrators and tag owners.
				AllUsersPermissions *N200ValuesAccessControlAllUsersPermissions `json:"all_users_permissions,omitempty"`

				// List of user and group-specific permissions for the current tag.
				CurrentDomainPermissions *[]struct {
					// The UUID of a user or group.
					Id *string `json:"id,omitempty"`

					// The name of the user or group.
					Name *string `json:"name,omitempty"`

					// The permissions associated with the user or group.
					Permissions *[]string `json:"permissions,omitempty"`

					// The type of permission.
					Type *N200ValuesAccessControlCurrentDomainPermissionsType `json:"type,omitempty"`
				} `json:"current_domain_permissions,omitempty"`

				// List of all permissions for the current user on the current tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`.
				CurrentUserPermissions *N200ValuesAccessControlCurrentUserPermissions `json:"current_user_permissions,omitempty"`

				// List of all defined permissions for objects of type tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`. Note that in responses, this field is only returned for administrators and tag owners.
				DefinedDomainPermissions *N200ValuesAccessControlDefinedDomainPermissions `json:"defined_domain_permissions,omitempty"`

				// Optional, user-defined value. This value must be incremented each time the permissions are updated. Set to `1` by default.
				Version *int64 `json:"version,omitempty"`
			} `json:"access_control,omitempty"`

			// The description of the category associated with the tag value.
			CategoryDescription *string `json:"category_description,omitempty"`

			// The name of the category associated with the tag value.
			CategoryName *string `json:"category_name,omitempty"`

			// The UUID of the category associated with the tag value. Use this value to create future tags in the same category.
			CategoryUuid *string `json:"category_uuid,omitempty"`

			// An ISO timestamp indicating the date and time on which the tag value was created, for example, `2018-12-31T13:51:17.243Z`.
			CreatedAt *string `json:"created_at,omitempty"`

			// The name of the user who created the tag value.
			CreatedBy *string `json:"created_by,omitempty"`

			// The description of the tag value.
			Description *string `json:"description,omitempty"`

			// The tag type:
			//  - static—A user must manually apply the tag to assets.
			//  - dynamic—Tenable.io automatically applies the tag based on asset attribute rules.
			Type *string `json:"type,omitempty"`

			// An ISO timestamp indicating the date and time on which the tag value was last updated, for example, `2018-12-31T13:51:17.243Z`. When you create a tag value, this date matches the `created_at` date.
			UpdatedAt *string `json:"updated_at,omitempty"`

			// The name of the user who last updated the tag value. When you create a tag value, this name matches the `created_by` name.
			UpdatedBy *string `json:"updated_by,omitempty"`

			// The UUID of the tag value. Use this value to assign the tag to assets.
			Uuid *string `json:"uuid,omitempty"`

			// The tag value. Must be unique within the category.
			Value *string `json:"value,omitempty"`
		} `json:"values,omitempty"`
	}
}

func ParseTagsListTagValuesResponse

func ParseTagsListTagValuesResponse(rsp *http.Response) (*TagsListTagValuesResponse, error)

ParseTagsListTagValuesResponse parses an HTTP response from a TagsListTagValuesWithResponse call

func (TagsListTagValuesResponse) Status

func (r TagsListTagValuesResponse) Status() string

Status returns HTTPResponse.Status

func (TagsListTagValuesResponse) StatusCode

func (r TagsListTagValuesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TagsTagCategoryDetailsResponse

type TagsTagCategoryDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// An ISO timestamp indicating the date and time on which the category was created, for example, `2018-12-31T13:51:17.243Z`.
		CreatedAt *string `json:"created_at,omitempty"`

		// The name of the user who created the category.
		CreatedBy *string `json:"created_by,omitempty"`

		// The description of the category.
		Description *string `json:"description,omitempty"`

		// The name of the category. The name must be unique within a Tenable.io instance.
		Name *string `json:"name,omitempty"`

		// Indicates whether the tags in this category are reserved (cannot be updated). This is a read-only field set by the system.
		Reserved *bool `json:"reserved,omitempty"`

		// An ISO timestamp indicating the date and time on which the category was last updated, for example, `2018-12-31T13:51:17.243Z`.
		UpdatedAt *string `json:"updated_at,omitempty"`

		// The name of the user who last updated the category.
		UpdatedBy *string `json:"updated_by,omitempty"`

		// The UUID of the category.
		Uuid *string `json:"uuid,omitempty"`
	}
}

func ParseTagsTagCategoryDetailsResponse

func ParseTagsTagCategoryDetailsResponse(rsp *http.Response) (*TagsTagCategoryDetailsResponse, error)

ParseTagsTagCategoryDetailsResponse parses an HTTP response from a TagsTagCategoryDetailsWithResponse call

func (TagsTagCategoryDetailsResponse) Status

Status returns HTTPResponse.Status

func (TagsTagCategoryDetailsResponse) StatusCode

func (r TagsTagCategoryDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TagsTagValueDetailsResponse

type TagsTagValueDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Determines what the user can do with the tag value.
		AccessControl *struct {
			// List of the minimum set of permissions all users have on the current tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`. Note that in responses, this field is only returned for administrators and tag owners.
			AllUsersPermissions *N200AccessControlAllUsersPermissions `json:"all_users_permissions,omitempty"`

			// List of user and group-specific permissions for the current tag.
			CurrentDomainPermissions *[]struct {
				// The UUID of a user or group.
				Id *string `json:"id,omitempty"`

				// The name of the user or group.
				Name *string `json:"name,omitempty"`

				// The permissions associated with the user or group.
				Permissions *[]string `json:"permissions,omitempty"`

				// The type of permission.
				Type *N200AccessControlCurrentDomainPermissionsType `json:"type,omitempty"`
			} `json:"current_domain_permissions,omitempty"`

			// List of all permissions for the current user on the current tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`.
			CurrentUserPermissions *N200AccessControlCurrentUserPermissions `json:"current_user_permissions,omitempty"`

			// List of all defined permissions for objects of type tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`. Note that in responses, this field is only returned for administrators and tag owners.
			DefinedDomainPermissions *N200AccessControlDefinedDomainPermissions `json:"defined_domain_permissions,omitempty"`

			// Optional, user-defined value. This value must be incremented each time the permissions are updated. Set to `1` by default.
			Version *int64 `json:"version,omitempty"`
		} `json:"access_control,omitempty"`

		// The description of the category associated with the tag value.
		CategoryDescription *string `json:"category_description,omitempty"`

		// The name of the category associated with the tag value.
		CategoryName *string `json:"category_name,omitempty"`

		// The UUID of the category associated with the tag value. Use this value to create future tags in the same category.
		CategoryUuid *string `json:"category_uuid,omitempty"`

		// An ISO timestamp indicating the date and time on which the tag value was created, for example, `2018-12-31T13:51:17.243Z`.
		CreatedAt *string `json:"created_at,omitempty"`

		// The name of the user who created the tag value.
		CreatedBy *string `json:"created_by,omitempty"`

		// The description of the tag value.
		Description *string `json:"description,omitempty"`

		// For dynamic tags, asset selection rules.
		Filters *struct {
			// Tag rule definitions represented as a JSON-formatted string.
			Asset *string `json:"asset,omitempty"`
		} `json:"filters,omitempty"`

		// The tag type:
		//  - static—A user must manually apply the tag to assets.
		//  - dynamic—Tenable.io automatically applies the tag based on asset attribute rules.
		Type *string `json:"type,omitempty"`

		// An ISO timestamp indicating the date and time on which the tag value was last updated, for example, `2018-12-31T13:51:17.243Z`. When you create a tag value, this date matches the `created_at` date.
		UpdatedAt *string `json:"updated_at,omitempty"`

		// The name of the user who last updated the tag value. When you create a tag value, this name matches the `created_by` name.
		UpdatedBy *string `json:"updated_by,omitempty"`

		// The UUID of the tag value. Use this value to assign the tag to assets.
		Uuid *string `json:"uuid,omitempty"`

		// The tag value. Must be unique within the category.
		Value *string `json:"value,omitempty"`
	}
}

func ParseTagsTagValueDetailsResponse

func ParseTagsTagValueDetailsResponse(rsp *http.Response) (*TagsTagValueDetailsResponse, error)

ParseTagsTagValueDetailsResponse parses an HTTP response from a TagsTagValueDetailsWithResponse call

func (TagsTagValueDetailsResponse) Status

Status returns HTTPResponse.Status

func (TagsTagValueDetailsResponse) StatusCode

func (r TagsTagValueDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TagsUpdateTagValueJSONBody

type TagsUpdateTagValueJSONBody struct {
	// Determines what the user can do with the tag value.
	AccessControl *struct {
		// List of the minimum set of permissions all users have on the current tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`. Note that in responses, this field is only returned for administrators and tag owners.
		AllUsersPermissions *TagsUpdateTagValueJSONBodyAccessControlAllUsersPermissions `json:"all_users_permissions,omitempty"`

		// List of user and group-specific permissions for the current tag.
		CurrentDomainPermissions *[]struct {
			// The UUID of a user or group.
			Id *string `json:"id,omitempty"`

			// The name of the user or group.
			Name *string `json:"name,omitempty"`

			// The permissions associated with the user or group.
			Permissions *[]string `json:"permissions,omitempty"`

			// The type of permission.
			Type *TagsUpdateTagValueJSONBodyAccessControlCurrentDomainPermissionsType `json:"type,omitempty"`
		} `json:"current_domain_permissions,omitempty"`

		// List of all permissions for the current user on the current tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`.
		CurrentUserPermissions *TagsUpdateTagValueJSONBodyAccessControlCurrentUserPermissions `json:"current_user_permissions,omitempty"`

		// List of all defined permissions for objects of type tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`. Note that in responses, this field is only returned for administrators and tag owners.
		DefinedDomainPermissions *TagsUpdateTagValueJSONBodyAccessControlDefinedDomainPermissions `json:"defined_domain_permissions,omitempty"`

		// Optional, user-defined value. This value must be incremented each time the permissions are updated. Set to `1` by default.
		Version *int64 `json:"version,omitempty"`
	} `json:"access_control,omitempty"`

	// The new tag value description.
	Description *string `json:"description,omitempty"`

	// The filters (conditional sets of rules) for automatically applying the tag to assets. For more information, see [Apply Dynamic Tags](doc:apply-dynamic-tags).
	Filters *struct {
		// The object containing conditional sets of rules for applying the tags.
		//
		// **Note:** Tenable.io supports a maximum of 1,000 rules per tag. This limit means that you can specify a maximum of 1,000 `and` or `or` conditions for a single tag value. Additionally, Tenable.io supports a maximum of 1,024 values in a comma-delimited string per individual tag rule. Note that the request body is limited to 1 MB. For more information about asset tags and their limitations, see [Manage Asset Tags](doc:manage-asset-tags-tio).
		Asset *struct {
			// To apply the tag to assets that match all of the rules, specify the rules inside the `and` object.
			//
			// **Note:** The value you specify for the rule attribute is not case sensitive. For example, if you type the hostname "hostx," the rule matches to assets with hostname "HOSTX" and "hostx."
			And *[]struct {
				// The asset attribute name or tag to match.
				Field *string `json:"field,omitempty"`

				// The operator to apply to the matched value, for example, equals, does not equal, or contains. To find supported operators, use the [GET /tags/assets/filters](ref:tags-list-asset-filters) endpoint.
				Operator *string `json:"operator,omitempty"`

				// The asset attribute value or tag to match. You can specify multiple values separated by commas, for example, "192.0.2.57,192.0.2.177,192.0.2.8,192.0.2.176,192.0.2.225".
				Value *string `json:"value,omitempty"`
			} `json:"and,omitempty"`

			// To apply the tag to assets that match any of the rules, specify the rules inside the `or` object.
			//
			// **Note:** The value you specify for the rule attribute is not case sensitive. For example, if you type the hostname "hostx," the rule matches to assets with hostname "HOSTX" and "hostx."
			Or *[]struct {
				// The asset attribute name or tag to match.
				Field *string `json:"field,omitempty"`

				// The operator to apply to the matched value, for example, equals, does not equal, or contains. To find supported operators, use the [GET /tags/assets/filters](ref:tags-list-asset-filters) endpoint.
				Operator *string `json:"operator,omitempty"`

				// The asset attribute value or tag to match. You can specify multiple values separated by commas, for example, "192.0.2.57,192.0.2.177,192.0.2.8,192.0.2.176,192.0.2.225".
				Value *string `json:"value,omitempty"`
			} `json:"or,omitempty"`
		} `json:"asset,omitempty"`
	} `json:"filters,omitempty"`

	// The new tag value. Tag values cannot exceed 50 characters in length.
	Value *string `json:"value,omitempty"`
}

TagsUpdateTagValueJSONBody defines parameters for TagsUpdateTagValue.

type TagsUpdateTagValueJSONBodyAccessControlAllUsersPermissions

type TagsUpdateTagValueJSONBodyAccessControlAllUsersPermissions []string

TagsUpdateTagValueJSONBodyAccessControlAllUsersPermissions defines parameters for TagsUpdateTagValue.

type TagsUpdateTagValueJSONBodyAccessControlCurrentDomainPermissionsType

type TagsUpdateTagValueJSONBodyAccessControlCurrentDomainPermissionsType string

TagsUpdateTagValueJSONBodyAccessControlCurrentDomainPermissionsType defines parameters for TagsUpdateTagValue.

type TagsUpdateTagValueJSONBodyAccessControlCurrentUserPermissions

type TagsUpdateTagValueJSONBodyAccessControlCurrentUserPermissions []string

TagsUpdateTagValueJSONBodyAccessControlCurrentUserPermissions defines parameters for TagsUpdateTagValue.

type TagsUpdateTagValueJSONBodyAccessControlDefinedDomainPermissions

type TagsUpdateTagValueJSONBodyAccessControlDefinedDomainPermissions []string

TagsUpdateTagValueJSONBodyAccessControlDefinedDomainPermissions defines parameters for TagsUpdateTagValue.

type TagsUpdateTagValueJSONRequestBody

type TagsUpdateTagValueJSONRequestBody TagsUpdateTagValueJSONBody

TagsUpdateTagValueJSONRequestBody defines body for TagsUpdateTagValue for application/json ContentType.

type TagsUpdateTagValueResponse

type TagsUpdateTagValueResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Determines what the user can do with the tag value.
		AccessControl *struct {
			// List of the minimum set of permissions all users have on the current tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`. Note that in responses, this field is only returned for administrators and tag owners.
			AllUsersPermissions *N200AccessControlAllUsersPermissions `json:"all_users_permissions,omitempty"`

			// List of user and group-specific permissions for the current tag.
			CurrentDomainPermissions *[]struct {
				// The UUID of a user or group.
				Id *string `json:"id,omitempty"`

				// The name of the user or group.
				Name *string `json:"name,omitempty"`

				// The permissions associated with the user or group.
				Permissions *[]string `json:"permissions,omitempty"`

				// The type of permission.
				Type *N200AccessControlCurrentDomainPermissionsType `json:"type,omitempty"`
			} `json:"current_domain_permissions,omitempty"`

			// List of all permissions for the current user on the current tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`.
			CurrentUserPermissions *N200AccessControlCurrentUserPermissions `json:"current_user_permissions,omitempty"`

			// List of all defined permissions for objects of type tag. Possible values are `ALL`, `CAN_EDIT`, and `CAN_SET_PERMISSIONS`. Note that in responses, this field is only returned for administrators and tag owners.
			DefinedDomainPermissions *N200AccessControlDefinedDomainPermissions `json:"defined_domain_permissions,omitempty"`

			// Optional, user-defined value. This value must be incremented each time the permissions are updated. Set to `1` by default.
			Version *int64 `json:"version,omitempty"`
		} `json:"access_control,omitempty"`

		// The description of the category associated with the tag value.
		CategoryDescription *string `json:"category_description,omitempty"`

		// The name of the category associated with the tag value.
		CategoryName *string `json:"category_name,omitempty"`

		// The UUID of the category associated with the tag value. Use this value to create future tags in the same category.
		CategoryUuid *string `json:"category_uuid,omitempty"`

		// An ISO timestamp indicating the date and time on which the tag value was created, for example, `2018-12-31T13:51:17.243Z`.
		CreatedAt *string `json:"created_at,omitempty"`

		// The name of the user who created the tag value.
		CreatedBy *string `json:"created_by,omitempty"`

		// The description of the tag value.
		Description *string `json:"description,omitempty"`

		// For dynamic tags, asset selection rules.
		Filters *struct {
			// Tag rule definitions represented as a JSON-formatted string.
			Asset *string `json:"asset,omitempty"`
		} `json:"filters,omitempty"`

		// The tag type:
		//  - static—A user must manually apply the tag to assets.
		//  - dynamic—Tenable.io automatically applies the tag based on asset attribute rules.
		Type *string `json:"type,omitempty"`

		// An ISO timestamp indicating the date and time on which the tag value was last updated, for example, `2018-12-31T13:51:17.243Z`. When you create a tag value, this date matches the `created_at` date.
		UpdatedAt *string `json:"updated_at,omitempty"`

		// The name of the user who last updated the tag value. When you create a tag value, this name matches the `created_by` name.
		UpdatedBy *string `json:"updated_by,omitempty"`

		// The UUID of the tag value. Use this value to assign the tag to assets.
		Uuid *string `json:"uuid,omitempty"`

		// The tag value. Must be unique within the category.
		Value *string `json:"value,omitempty"`
	}
}

func ParseTagsUpdateTagValueResponse

func ParseTagsUpdateTagValueResponse(rsp *http.Response) (*TagsUpdateTagValueResponse, error)

ParseTagsUpdateTagValueResponse parses an HTTP response from a TagsUpdateTagValueWithResponse call

func (TagsUpdateTagValueResponse) Status

Status returns HTTPResponse.Status

func (TagsUpdateTagValueResponse) StatusCode

func (r TagsUpdateTagValueResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TargetGroups

type TargetGroups struct {
	*ClientWithResponses
}

TargetGroups implementation of the TargetGroups interface

func (*TargetGroups) Create

func (c *TargetGroups) Create(arg1 TargetGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	Acls *[]struct {
		DisplayName *string       "json:\"display_name,omitempty\""
		Id          *int          "json:\"id,omitempty\""
		Name        *string       "json:\"name,omitempty\""
		Owner       *int          "json:\"owner,omitempty\""
		Permissions *int32        "json:\"permissions,omitempty\""
		Type        *N200AclsType "json:\"type,omitempty\""
		Uuid        *string       "json:\"uuid,omitempty\""
	} "json:\"acls,omitempty\""
	DefaultGroup         *bool   "json:\"default_group,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Members              *string "json:\"members,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	OwnerId              *int    "json:\"owner_id,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
}, error)

Create calls the TargetGroups ´s function

func (*TargetGroups) CreateWithBody

func (c *TargetGroups) CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	Acls *[]struct {
		DisplayName *string       "json:\"display_name,omitempty\""
		Id          *int          "json:\"id,omitempty\""
		Name        *string       "json:\"name,omitempty\""
		Owner       *int          "json:\"owner,omitempty\""
		Permissions *int32        "json:\"permissions,omitempty\""
		Type        *N200AclsType "json:\"type,omitempty\""
		Uuid        *string       "json:\"uuid,omitempty\""
	} "json:\"acls,omitempty\""
	DefaultGroup         *bool   "json:\"default_group,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Members              *string "json:\"members,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	OwnerId              *int    "json:\"owner_id,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
}, error)

CreateWithBody calls the TargetGroups ´s function

func (*TargetGroups) Delete

func (c *TargetGroups) Delete(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)

Delete calls the TargetGroups ´s function

func (*TargetGroups) Details

func (c *TargetGroups) Details(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
	Acls *[]struct {
		DisplayName *string       "json:\"display_name,omitempty\""
		Id          *int          "json:\"id,omitempty\""
		Name        *string       "json:\"name,omitempty\""
		Owner       *int          "json:\"owner,omitempty\""
		Permissions *int32        "json:\"permissions,omitempty\""
		Type        *N200AclsType "json:\"type,omitempty\""
		Uuid        *string       "json:\"uuid,omitempty\""
	} "json:\"acls,omitempty\""
	DefaultGroup         *bool   "json:\"default_group,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Members              *string "json:\"members,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	OwnerId              *int    "json:\"owner_id,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
}, error)

Details calls the TargetGroups ´s function

func (*TargetGroups) Edit

func (c *TargetGroups) Edit(arg1 int32, arg2 TargetGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	Acls *[]struct {
		DisplayName *string       "json:\"display_name,omitempty\""
		Id          *int          "json:\"id,omitempty\""
		Name        *string       "json:\"name,omitempty\""
		Owner       *int          "json:\"owner,omitempty\""
		Permissions *int32        "json:\"permissions,omitempty\""
		Type        *N200AclsType "json:\"type,omitempty\""
		Uuid        *string       "json:\"uuid,omitempty\""
	} "json:\"acls,omitempty\""
	DefaultGroup         *bool   "json:\"default_group,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Members              *string "json:\"members,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	OwnerId              *int    "json:\"owner_id,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
}, error)

Edit calls the TargetGroups ´s function

func (*TargetGroups) EditWithBody

func (c *TargetGroups) EditWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	Acls *[]struct {
		DisplayName *string       "json:\"display_name,omitempty\""
		Id          *int          "json:\"id,omitempty\""
		Name        *string       "json:\"name,omitempty\""
		Owner       *int          "json:\"owner,omitempty\""
		Permissions *int32        "json:\"permissions,omitempty\""
		Type        *N200AclsType "json:\"type,omitempty\""
		Uuid        *string       "json:\"uuid,omitempty\""
	} "json:\"acls,omitempty\""
	DefaultGroup         *bool   "json:\"default_group,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Members              *string "json:\"members,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	OwnerId              *int    "json:\"owner_id,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
}, error)

EditWithBody calls the TargetGroups ´s function

func (*TargetGroups) List

func (c *TargetGroups) List(reqEditors ...RequestEditorFn) (*[]struct {
	Acls *[]struct {
		DisplayName *string       "json:\"display_name,omitempty\""
		Id          *int          "json:\"id,omitempty\""
		Name        *string       "json:\"name,omitempty\""
		Owner       *int          "json:\"owner,omitempty\""
		Permissions *int32        "json:\"permissions,omitempty\""
		Type        *N200AclsType "json:\"type,omitempty\""
		Uuid        *string       "json:\"uuid,omitempty\""
	} "json:\"acls,omitempty\""
	DefaultGroup         *bool   "json:\"default_group,omitempty\""
	Id                   *int    "json:\"id,omitempty\""
	LastModificationDate *int    "json:\"last_modification_date,omitempty\""
	Members              *string "json:\"members,omitempty\""
	Name                 *string "json:\"name,omitempty\""
	Owner                *string "json:\"owner,omitempty\""
	OwnerId              *int    "json:\"owner_id,omitempty\""
	Shared               *bool   "json:\"shared,omitempty\""
	Type                 *string "json:\"type,omitempty\""
	UserPermissions      *int    "json:\"user_permissions,omitempty\""
}, error)

List calls the TargetGroups ´s function

type TargetGroupsCreateJSONBody

type TargetGroupsCreateJSONBody struct {
	// An array containing permissions to apply to the group.
	Acls *[]struct {
		// The unique ID of the user or group.
		Id *int `json:"id,omitempty"`

		// The permission value to grant access as described in [Permissions](doc:permissions).
		Permissions *int32 `json:"permissions,omitempty"`

		// The type of permission (default, user, group).
		Type *TargetGroupsCreateJSONBodyAclsType `json:"type,omitempty"`
	} `json:"acls,omitempty"`

	// The members of the group. A comma-separated list of FQDNs or IP address ranges that you want to scan.
	Members string `json:"members"`

	// The name for the group.
	Name string `json:"name"`
}

TargetGroupsCreateJSONBody defines parameters for TargetGroupsCreate.

type TargetGroupsCreateJSONBodyAclsType

type TargetGroupsCreateJSONBodyAclsType string

TargetGroupsCreateJSONBodyAclsType defines parameters for TargetGroupsCreate.

type TargetGroupsCreateJSONRequestBody

type TargetGroupsCreateJSONRequestBody TargetGroupsCreateJSONBody

TargetGroupsCreateJSONRequestBody defines body for TargetGroupsCreate for application/json ContentType.

type TargetGroupsCreateResponse

type TargetGroupsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The Access Control Lists applicable to the group.
		Acls *[]struct {
			// The display-friendly name of the user or group.
			DisplayName *string `json:"display_name,omitempty"`

			// The unique ID of the user or group.
			Id *int `json:"id,omitempty"`

			// The name of the user or group.
			Name *string `json:"name,omitempty"`

			// The ID of the owner of the object.
			Owner *int `json:"owner,omitempty"`

			// The permission value to grant access as described in [Permissions](doc:permissions).
			Permissions *int32 `json:"permissions,omitempty"`

			// The type of permission (default, user, group).
			Type *N200AclsType `json:"type,omitempty"`

			// The UUID of the owner of the object.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"acls,omitempty"`

		// If true, this group is the default.
		DefaultGroup *bool `json:"default_group,omitempty"`

		// The unique ID of the group.
		Id *int `json:"id,omitempty"`

		// The last modification date for the group in unixtime.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The members of the group.
		Members *string `json:"members,omitempty"`

		// The name of the group.
		Name *string `json:"name,omitempty"`

		// The name of the owner of the group. A user of `nessus_ms_agent` indicates it is a system target group.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the group.
		OwnerId *int `json:"owner_id,omitempty"`

		// The shared status of the group.
		Shared *bool `json:"shared,omitempty"`

		// The group type (user or system). Note that the system group type is deprecated. Tenable recommends that you create only user target groups.
		Type *string `json:"type,omitempty"`

		// The current user permissions for the group.
		UserPermissions *int `json:"user_permissions,omitempty"`
	}
}

func ParseTargetGroupsCreateResponse

func ParseTargetGroupsCreateResponse(rsp *http.Response) (*TargetGroupsCreateResponse, error)

ParseTargetGroupsCreateResponse parses an HTTP response from a TargetGroupsCreateWithResponse call

func (TargetGroupsCreateResponse) Status

Status returns HTTPResponse.Status

func (TargetGroupsCreateResponse) StatusCode

func (r TargetGroupsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TargetGroupsDeleteResponse

type TargetGroupsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseTargetGroupsDeleteResponse

func ParseTargetGroupsDeleteResponse(rsp *http.Response) (*TargetGroupsDeleteResponse, error)

ParseTargetGroupsDeleteResponse parses an HTTP response from a TargetGroupsDeleteWithResponse call

func (TargetGroupsDeleteResponse) Status

Status returns HTTPResponse.Status

func (TargetGroupsDeleteResponse) StatusCode

func (r TargetGroupsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TargetGroupsDetailsResponse

type TargetGroupsDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The Access Control Lists applicable to the group.
		Acls *[]struct {
			// The display-friendly name of the user or group.
			DisplayName *string `json:"display_name,omitempty"`

			// The unique ID of the user or group.
			Id *int `json:"id,omitempty"`

			// The name of the user or group.
			Name *string `json:"name,omitempty"`

			// The ID of the owner of the object.
			Owner *int `json:"owner,omitempty"`

			// The permission value to grant access as described in [Permissions](doc:permissions).
			Permissions *int32 `json:"permissions,omitempty"`

			// The type of permission (default, user, group).
			Type *N200AclsType `json:"type,omitempty"`

			// The UUID of the owner of the object.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"acls,omitempty"`

		// If true, this group is the default.
		DefaultGroup *bool `json:"default_group,omitempty"`

		// The unique ID of the group.
		Id *int `json:"id,omitempty"`

		// The last modification date for the group in unixtime.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The members of the group.
		Members *string `json:"members,omitempty"`

		// The name of the group.
		Name *string `json:"name,omitempty"`

		// The name of the owner of the group. A user of `nessus_ms_agent` indicates it is a system target group.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the group.
		OwnerId *int `json:"owner_id,omitempty"`

		// The shared status of the group.
		Shared *bool `json:"shared,omitempty"`

		// The group type (user or system). Note that the system group type is deprecated. Tenable recommends that you create only user target groups.
		Type *string `json:"type,omitempty"`

		// The current user permissions for the group.
		UserPermissions *int `json:"user_permissions,omitempty"`
	}
}

func ParseTargetGroupsDetailsResponse

func ParseTargetGroupsDetailsResponse(rsp *http.Response) (*TargetGroupsDetailsResponse, error)

ParseTargetGroupsDetailsResponse parses an HTTP response from a TargetGroupsDetailsWithResponse call

func (TargetGroupsDetailsResponse) Status

Status returns HTTPResponse.Status

func (TargetGroupsDetailsResponse) StatusCode

func (r TargetGroupsDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TargetGroupsEditJSONBody

type TargetGroupsEditJSONBody struct {
	// An array containing permissions to apply to the group.
	Acls *[]struct {
		// The unique ID of the user or group.
		Id *int `json:"id,omitempty"`

		// The permission value to grant access as described in [Permissions](doc:permissions).
		Permissions *int32 `json:"permissions,omitempty"`

		// The type of permission (default, user, group).
		Type *TargetGroupsEditJSONBodyAclsType `json:"type,omitempty"`
	} `json:"acls,omitempty"`

	// The members of the group. A comma-separated list of FQDNs or IP address ranges that you want to scan.
	Members *string `json:"members,omitempty"`

	// The name of the group.
	Name *string `json:"name,omitempty"`
}

TargetGroupsEditJSONBody defines parameters for TargetGroupsEdit.

type TargetGroupsEditJSONBodyAclsType

type TargetGroupsEditJSONBodyAclsType string

TargetGroupsEditJSONBodyAclsType defines parameters for TargetGroupsEdit.

type TargetGroupsEditJSONRequestBody

type TargetGroupsEditJSONRequestBody TargetGroupsEditJSONBody

TargetGroupsEditJSONRequestBody defines body for TargetGroupsEdit for application/json ContentType.

type TargetGroupsEditResponse

type TargetGroupsEditResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The Access Control Lists applicable to the group.
		Acls *[]struct {
			// The display-friendly name of the user or group.
			DisplayName *string `json:"display_name,omitempty"`

			// The unique ID of the user or group.
			Id *int `json:"id,omitempty"`

			// The name of the user or group.
			Name *string `json:"name,omitempty"`

			// The ID of the owner of the object.
			Owner *int `json:"owner,omitempty"`

			// The permission value to grant access as described in [Permissions](doc:permissions).
			Permissions *int32 `json:"permissions,omitempty"`

			// The type of permission (default, user, group).
			Type *N200AclsType `json:"type,omitempty"`

			// The UUID of the owner of the object.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"acls,omitempty"`

		// If true, this group is the default.
		DefaultGroup *bool `json:"default_group,omitempty"`

		// The unique ID of the group.
		Id *int `json:"id,omitempty"`

		// The last modification date for the group in unixtime.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The members of the group.
		Members *string `json:"members,omitempty"`

		// The name of the group.
		Name *string `json:"name,omitempty"`

		// The name of the owner of the group. A user of `nessus_ms_agent` indicates it is a system target group.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the group.
		OwnerId *int `json:"owner_id,omitempty"`

		// The shared status of the group.
		Shared *bool `json:"shared,omitempty"`

		// The group type (user or system). Note that the system group type is deprecated. Tenable recommends that you create only user target groups.
		Type *string `json:"type,omitempty"`

		// The current user permissions for the group.
		UserPermissions *int `json:"user_permissions,omitempty"`
	}
}

func ParseTargetGroupsEditResponse

func ParseTargetGroupsEditResponse(rsp *http.Response) (*TargetGroupsEditResponse, error)

ParseTargetGroupsEditResponse parses an HTTP response from a TargetGroupsEditWithResponse call

func (TargetGroupsEditResponse) Status

func (r TargetGroupsEditResponse) Status() string

Status returns HTTPResponse.Status

func (TargetGroupsEditResponse) StatusCode

func (r TargetGroupsEditResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TargetGroupsInterface

type TargetGroupsInterface interface {
	CreateWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		Acls *[]struct {
			DisplayName *string       "json:\"display_name,omitempty\""
			Id          *int          "json:\"id,omitempty\""
			Name        *string       "json:\"name,omitempty\""
			Owner       *int          "json:\"owner,omitempty\""
			Permissions *int32        "json:\"permissions,omitempty\""
			Type        *N200AclsType "json:\"type,omitempty\""
			Uuid        *string       "json:\"uuid,omitempty\""
		} "json:\"acls,omitempty\""
		DefaultGroup         *bool   "json:\"default_group,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Members              *string "json:\"members,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		OwnerId              *int    "json:\"owner_id,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
	}, error)
	Create(arg1 TargetGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		Acls *[]struct {
			DisplayName *string       "json:\"display_name,omitempty\""
			Id          *int          "json:\"id,omitempty\""
			Name        *string       "json:\"name,omitempty\""
			Owner       *int          "json:\"owner,omitempty\""
			Permissions *int32        "json:\"permissions,omitempty\""
			Type        *N200AclsType "json:\"type,omitempty\""
			Uuid        *string       "json:\"uuid,omitempty\""
		} "json:\"acls,omitempty\""
		DefaultGroup         *bool   "json:\"default_group,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Members              *string "json:\"members,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		OwnerId              *int    "json:\"owner_id,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
	}, error)
	Delete(arg1 int32, reqEditors ...RequestEditorFn) (*interface{}, error)
	Details(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
		Acls *[]struct {
			DisplayName *string       "json:\"display_name,omitempty\""
			Id          *int          "json:\"id,omitempty\""
			Name        *string       "json:\"name,omitempty\""
			Owner       *int          "json:\"owner,omitempty\""
			Permissions *int32        "json:\"permissions,omitempty\""
			Type        *N200AclsType "json:\"type,omitempty\""
			Uuid        *string       "json:\"uuid,omitempty\""
		} "json:\"acls,omitempty\""
		DefaultGroup         *bool   "json:\"default_group,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Members              *string "json:\"members,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		OwnerId              *int    "json:\"owner_id,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
	}, error)
	EditWithBody(arg1 int32, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		Acls *[]struct {
			DisplayName *string       "json:\"display_name,omitempty\""
			Id          *int          "json:\"id,omitempty\""
			Name        *string       "json:\"name,omitempty\""
			Owner       *int          "json:\"owner,omitempty\""
			Permissions *int32        "json:\"permissions,omitempty\""
			Type        *N200AclsType "json:\"type,omitempty\""
			Uuid        *string       "json:\"uuid,omitempty\""
		} "json:\"acls,omitempty\""
		DefaultGroup         *bool   "json:\"default_group,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Members              *string "json:\"members,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		OwnerId              *int    "json:\"owner_id,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
	}, error)
	Edit(arg1 int32, arg2 TargetGroupsEditJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		Acls *[]struct {
			DisplayName *string       "json:\"display_name,omitempty\""
			Id          *int          "json:\"id,omitempty\""
			Name        *string       "json:\"name,omitempty\""
			Owner       *int          "json:\"owner,omitempty\""
			Permissions *int32        "json:\"permissions,omitempty\""
			Type        *N200AclsType "json:\"type,omitempty\""
			Uuid        *string       "json:\"uuid,omitempty\""
		} "json:\"acls,omitempty\""
		DefaultGroup         *bool   "json:\"default_group,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Members              *string "json:\"members,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		OwnerId              *int    "json:\"owner_id,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
	}, error)
	List(reqEditors ...RequestEditorFn) (*[]struct {
		Acls *[]struct {
			DisplayName *string       "json:\"display_name,omitempty\""
			Id          *int          "json:\"id,omitempty\""
			Name        *string       "json:\"name,omitempty\""
			Owner       *int          "json:\"owner,omitempty\""
			Permissions *int32        "json:\"permissions,omitempty\""
			Type        *N200AclsType "json:\"type,omitempty\""
			Uuid        *string       "json:\"uuid,omitempty\""
		} "json:\"acls,omitempty\""
		DefaultGroup         *bool   "json:\"default_group,omitempty\""
		Id                   *int    "json:\"id,omitempty\""
		LastModificationDate *int    "json:\"last_modification_date,omitempty\""
		Members              *string "json:\"members,omitempty\""
		Name                 *string "json:\"name,omitempty\""
		Owner                *string "json:\"owner,omitempty\""
		OwnerId              *int    "json:\"owner_id,omitempty\""
		Shared               *bool   "json:\"shared,omitempty\""
		Type                 *string "json:\"type,omitempty\""
		UserPermissions      *int    "json:\"user_permissions,omitempty\""
	}, error)
}

TargetGroupsInterface contains all methods for the nessus api

type TargetGroupsListResponse

type TargetGroupsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// The Access Control Lists applicable to the group.
		Acls *[]struct {
			// The display-friendly name of the user or group.
			DisplayName *string `json:"display_name,omitempty"`

			// The unique ID of the user or group.
			Id *int `json:"id,omitempty"`

			// The name of the user or group.
			Name *string `json:"name,omitempty"`

			// The ID of the owner of the object.
			Owner *int `json:"owner,omitempty"`

			// The permission value to grant access as described in [Permissions](doc:permissions).
			Permissions *int32 `json:"permissions,omitempty"`

			// The type of permission (default, user, group).
			Type *N200AclsType `json:"type,omitempty"`

			// The UUID of the owner of the object.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"acls,omitempty"`

		// If true, this group is the default.
		DefaultGroup *bool `json:"default_group,omitempty"`

		// The unique ID of the group.
		Id *int `json:"id,omitempty"`

		// The last modification date for the group in unixtime.
		LastModificationDate *int `json:"last_modification_date,omitempty"`

		// The members of the group.
		Members *string `json:"members,omitempty"`

		// The name of the group.
		Name *string `json:"name,omitempty"`

		// The name of the owner of the group. A user of `nessus_ms_agent` indicates it is a system target group.
		Owner *string `json:"owner,omitempty"`

		// The unique ID of the owner of the group.
		OwnerId *int `json:"owner_id,omitempty"`

		// The shared status of the group.
		Shared *bool `json:"shared,omitempty"`

		// The group type (user or system). Note that the system group type is deprecated. Tenable recommends that you create only user target groups.
		Type *string `json:"type,omitempty"`

		// The current user permissions for the group.
		UserPermissions *int `json:"user_permissions,omitempty"`
	}
}

func ParseTargetGroupsListResponse

func ParseTargetGroupsListResponse(rsp *http.Response) (*TargetGroupsListResponse, error)

ParseTargetGroupsListResponse parses an HTTP response from a TargetGroupsListWithResponse call

func (TargetGroupsListResponse) Status

func (r TargetGroupsListResponse) Status() string

Status returns HTTPResponse.Status

func (TargetGroupsListResponse) StatusCode

func (r TargetGroupsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Vulnerabilities

type Vulnerabilities struct {
	*ClientWithResponses
}

Vulnerabilities implementation of the Vulnerabilities interface

func (*Vulnerabilities) Import

func (c *Vulnerabilities) Import(arg1 VulnerabilitiesImportJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)

Import calls the Vulnerabilities ´s function

func (*Vulnerabilities) ImportV2

func (c *Vulnerabilities) ImportV2(arg1 VulnerabilitiesImportV2JSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
	JobUuid *string "json:\"job_uuid,omitempty\""
}, error)

ImportV2 calls the Vulnerabilities ´s function

func (*Vulnerabilities) ImportV2WithBody

func (c *Vulnerabilities) ImportV2WithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
	JobUuid *string "json:\"job_uuid,omitempty\""
}, error)

ImportV2WithBody calls the Vulnerabilities ´s function

func (*Vulnerabilities) ImportWithBody

func (c *Vulnerabilities) ImportWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)

ImportWithBody calls the Vulnerabilities ´s function

type VulnerabilitiesImportJSONBody

type VulnerabilitiesImportJSONBody struct {
	// An array of asset objects with vulnerabilities information. A valid asset record requires at least one valid network_interface object.
	//
	// **Note:** Tenable.io supports a maximum of 50 individual asset objects per request message. In addition, because Tenable.io supports a total size limit of 15 MB for the request message, you may want to limit the number of asset objects you include in an individual request, depending on the number of vulnerabilities identified on the assets and the size of the related vulnerability output.
	//
	// **Note:** This endpoint does not support the network_id attribute in asset objects for import. Tenable.io automatically assigns imported assets to the default network object. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
	Assets []struct {
		// The BIOS UUID of the asset.
		BiosUuid *string `json:"bios_uuid,omitempty"`

		// The asset's hostname.
		Hostname *string `json:"hostname,omitempty"`

		// The NetBIOS name that the scan has associated with the asset.
		NetbiosName *string `json:"netbios_name,omitempty"`

		// A valid network_interface object must contain at least one of the following parameters: `ipv4`, `netbios_name`, `fqdn`.
		NetworkInterfaces *[]struct {
			// The fully-qualified domain name (FQDN) of the network interface.
			Fqdn *string `json:"fqdn,omitempty"`

			// A list of IPv4 address that the scan identified as associated with the network interface.
			Ipv4 *[]string `json:"ipv4,omitempty"`

			// A list of IPv6 addresses that the scan identified as associated with the network interface.
			Ipv6 *[]string `json:"ipv6,omitempty"`

			// The MAC address of the network interface.
			MacAddress *string `json:"mac_address,omitempty"`

			// The NETBIOS name of the network interface.
			NetbiosName *string `json:"netbios_name,omitempty"`
		} `json:"network_interfaces,omitempty"`

		// The unique record identifier of the asset in ServiceNow. For more information, see the ServiceNow documentation.
		ServicenowSysid *string `json:"servicenow_sysid,omitempty"`

		// The SSH key fingerprint that the scan has associated with the asset.
		SshFingerprint *string `json:"ssh_fingerprint,omitempty"`

		// The unique ID of the Nessus agent installed on the asset. This parameter is supported only if the `source` parameter for the request is `security_center`.
		TenableAgentId *int `json:"tenable_agent_id,omitempty"`

		// A valid vulnerability object must contain at least one of the following parameters: `tenable_plugin_id` or `cve`.
		Vulnerabilities *[]struct {
			// A value specifying whether the scan that identified the vulnerability was an authenticated (credentialed) scan.
			Authenticated *bool `json:"authenticated,omitempty"`

			// The Common Vulnerability and Exposure (CVE) ID for the vulnerability. This parameter is required if the vulnerability object does not specify a `tenable_plugin_id` value.
			Cve *string `json:"cve,omitempty"`

			// The date (in Unix time) when a scan first identified the vulnerability on the asset.
			FirstFound *int32 `json:"first_found,omitempty"`

			// The date (in Unix time) when the vulnerability state was changed to `fixed`. Tenable.io updates the vulnerability state to fixed when a scan no longer detects a previously detected vulnerability on the asset.
			LastFixed *int32 `json:"last_fixed,omitempty"`

			// The date (in Unix time) when a scan last identified the vulnerability on the asset.
			LastFound *int32 `json:"last_found,omitempty"`

			// (Required) The text output of the scanner, up to 2,000 maximum characters.
			Output *string `json:"output,omitempty"`

			// The port the scanner used to communicate with the asset.
			Port *int32 `json:"port,omitempty"`

			// The protocol the scanner used to communicate with the asset.
			Protocol *string `json:"protocol,omitempty"`

			// The ID of the Nessus plugin that identified the vulnerability. This parameter is required if the vulnerability object does not specify a cve value.
			TenablePluginId *string `json:"tenable_plugin_id,omitempty"`
		} `json:"vulnerabilities,omitempty"`
	} `json:"assets"`

	// An array of objects, each representing a check that the scan used to detect the vulnerabilities you are importing. This parameter supports Tenable plugin checks only. For more information, see [Plugins](https://www.tenable.com/plugins).
	ChecksRan *[]struct {
		// The port on the asset where the check ran.
		Port *int `json:"port,omitempty"`

		// The protocol used to communicate with the asset while running the check.
		Protocol *string `json:"protocol,omitempty"`

		// The Tenable plugin ID.
		TenablePluginId *string `json:"tenable_plugin_id,omitempty"`
	} `json:"checks_ran,omitempty"`

	// The source of the scan that generated the vulnerability data. If you want to categorize the imported vulnerabilities in the same way that Tenable.io categorizes vulnerabilities detected in scans it manages, use the following values:
	//  - security_center—A Nessus scan identified the vulnerabilities you want to import. Use this value for all Nessus scans, regardless of the scan manager (Tenable.io, SecurityCenter, or Nessus Manager).
	Source string `json:"source"`

	// The type of scan that identified the vulnerabilities you want to import. If you want to categorize the imported vulnerabilities in the same way that Tenable.io categorizes vulnerabilities detected in scans it manages, use the following values:
	//  - vm—A Vulnerability Management scan identified the vulnerabilities.
	//  - was—A Web Application Scanning scan identified the vulnerabilities.
	//  - pc—A scan of a personal computer identified the vulnerabilities.
	Type string `json:"type"`
}

VulnerabilitiesImportJSONBody defines parameters for VulnerabilitiesImport.

type VulnerabilitiesImportJSONRequestBody

type VulnerabilitiesImportJSONRequestBody VulnerabilitiesImportJSONBody

VulnerabilitiesImportJSONRequestBody defines body for VulnerabilitiesImport for application/json ContentType.

type VulnerabilitiesImportResponse

type VulnerabilitiesImportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *interface{}
}

func ParseVulnerabilitiesImportResponse

func ParseVulnerabilitiesImportResponse(rsp *http.Response) (*VulnerabilitiesImportResponse, error)

ParseVulnerabilitiesImportResponse parses an HTTP response from a VulnerabilitiesImportWithResponse call

func (VulnerabilitiesImportResponse) Status

Status returns HTTPResponse.Status

func (VulnerabilitiesImportResponse) StatusCode

func (r VulnerabilitiesImportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VulnerabilitiesImportV2JSONBody

type VulnerabilitiesImportV2JSONBody struct {
	// An array of asset objects with vulnerabilities information. A valid asset record requires at least one valid network_interface object.
	//
	// **Note:** Tenable.io supports a maximum of 50 individual asset objects per request message. In addition, because Tenable.io supports a total size limit of 15 MB for the request message, you may want to limit the number of asset objects you include in an individual request, depending on the number of vulnerabilities identified on the assets and the size of the related vulnerability output.
	//
	// **Note:** This endpoint does not support the network_id attribute in asset objects for import. Tenable.io automatically assigns imported assets to the default network object. For more information about network objects, see [Manage Networks](doc:manage-networks-tio).
	Assets []struct {
		// Specifies that the asset has been scanned with credentials for OS or application authentication.
		Authenticated *bool `json:"authenticated,omitempty"`

		// The BIOS UUID of the asset.
		BiosUuid *string `json:"bios_uuid,omitempty"`

		// The asset's hostname.
		Hostname *string `json:"hostname,omitempty"`

		// The NetBIOS name that the scan has associated with the asset.
		NetbiosName *string `json:"netbios_name,omitempty"`

		// A valid network_interface object must contain at least one of the following parameters: `ipv4`, `netbios_name`, `fqdn`.
		NetworkInterfaces *[]struct {
			// The fully-qualified domain name (FQDN) of the network interface.
			Fqdn *string `json:"fqdn,omitempty"`

			// A list of IPv4 address that the scan identified as associated with the network interface.
			Ipv4 *[]string `json:"ipv4,omitempty"`

			// A list of IPv6 addresses that the scan identified as associated with the network interface.
			Ipv6 *[]string `json:"ipv6,omitempty"`

			// The MAC address of the network interface.
			MacAddress *string `json:"mac_address,omitempty"`

			// The NETBIOS name of the network interface.
			NetbiosName *string `json:"netbios_name,omitempty"`
		} `json:"network_interfaces,omitempty"`

		// The operating system the asset is running.
		OperatingSystems *string `json:"operating_systems,omitempty"`

		// The unique record identifier of the asset in ServiceNow. For more information, see the ServiceNow documentation.
		ServicenowSysid *string `json:"servicenow_sysid,omitempty"`

		// The SSH key fingerprint that the scan has associated with the asset.
		SshFingerprint *string `json:"ssh_fingerprint,omitempty"`

		// The unique ID of the Nessus agent installed on the asset. This parameter is supported only if the `vendor` parameter for the request is `tenable`.
		TenableAgentId *string `json:"tenable_agent_id,omitempty"`

		// The unique identifier for the [network](doc:manage-networks-tio) where Tenable.io assigns the asset during import.
		TenableNetworkId *string `json:"tenable_network_id,omitempty"`

		// A valid vulnerability object must contain at least one of the following parameters: `tenable_plugin_id` or `cve`.
		Vulnerabilities *[]struct {
			// A value specifying whether the scan that identified the vulnerability was an authenticated (credentialed) scan.
			Authenticated *bool `json:"authenticated,omitempty"`

			// The Common Vulnerability and Exposure (CVE) ID for the vulnerability. This parameter is required if the vulnerability object does not specify a `tenable_plugin_id` value.
			Cve *string `json:"cve,omitempty"`

			// The date (in Unix time) when a scan last identified the vulnerability on the asset.
			LastFound *int32 `json:"last_found,omitempty"`

			// (Required) The text output of the scanner, up to 2,000 maximum characters.
			Output *string `json:"output,omitempty"`

			// The port the scanner used to communicate with the asset.
			Port *int32 `json:"port,omitempty"`

			// The protocol the scanner used to communicate with the asset.
			Protocol *string `json:"protocol,omitempty"`

			// The ID of the Nessus plugin that identified the vulnerability. This parameter is required if the vulnerability object does not specify a cve value.
			TenablePluginId *string `json:"tenable_plugin_id,omitempty"`
		} `json:"vulnerabilities,omitempty"`
	} `json:"assets"`

	// .
	Coverage *struct {
		// A string or range of IDs that each represents a check that the scan used to detect vulnerabilities you are importing. This parameter supports Tenable plugin checks only. For more information, see [Plugins](https://www.tenable.com/plugins).
		Ids *string `json:"ids,omitempty"`
	} `json:"coverage,omitempty"`

	// The type of scan that identified the vulnerabilities you want to import. To categorize the imported vulnerabilities in the same way that Tenable.io categorizes vulnerabilities detected in scans it manages, use the following values:
	//  - vm—A Vulnerability Management scan identified the vulnerabilities.
	DataType string `json:"data_type"`

	// The name of the product from the vendor that is the source of the vulnerability data being imported.
	//  - tenable.sc—The vulnerability data source is Tenable.sc.
	Product string `json:"product"`

	// A unique string value used to track the set of assets and vulnerabilities that Tenable.io is importing and processing. For data imported from Tenable.sc via [Lumin synchronization](https://docs.tenable.com/tenablesc/Content/LuminSynchronization.htm), this value has the following format:
	// scan_uuid:scan_chunk_uuid
	//
	// where scan_uuid is the unique identifier for the scan in Tenable.sc (equivalent to the scan id used in [Tenable.sc API requests](https://docs.tenable.com/tenablesc/api/Scan.html)), and scan_chunk_uuid is the unique identifer that Tenable.sc assigns to individual chunks of scan data during the Lumin synchronization process.
	Source string `json:"source"`

	// The company that owns the product that is the source of the vulnerability data. To categorize the imported vulnerabilities in the same way that Tenable.io categorizes vulnerabilities detected in scans it manages, use the following values:
	//  - tenable—A Nessus scan identified the vulnerabilities you want to import. Use this value for all Nessus scans, regardless of the scan manager (Tenable.io, Tenable.sc, or Nessus Manager).
	Vendor string `json:"vendor"`
}

VulnerabilitiesImportV2JSONBody defines parameters for VulnerabilitiesImportV2.

type VulnerabilitiesImportV2JSONRequestBody

type VulnerabilitiesImportV2JSONRequestBody VulnerabilitiesImportV2JSONBody

VulnerabilitiesImportV2JSONRequestBody defines body for VulnerabilitiesImportV2 for application/json ContentType.

type VulnerabilitiesImportV2Response

type VulnerabilitiesImportV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// This attribute is always empty. An empty value does not indicate an error condition.
		JobUuid *string `json:"job_uuid,omitempty"`
	}
}

func ParseVulnerabilitiesImportV2Response

func ParseVulnerabilitiesImportV2Response(rsp *http.Response) (*VulnerabilitiesImportV2Response, error)

ParseVulnerabilitiesImportV2Response parses an HTTP response from a VulnerabilitiesImportV2WithResponse call

func (VulnerabilitiesImportV2Response) Status

Status returns HTTPResponse.Status

func (VulnerabilitiesImportV2Response) StatusCode

func (r VulnerabilitiesImportV2Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VulnerabilitiesInterface

type VulnerabilitiesInterface interface {
	ImportV2WithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
		JobUuid *string "json:\"job_uuid,omitempty\""
	}, error)
	ImportV2(arg1 VulnerabilitiesImportV2JSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
		JobUuid *string "json:\"job_uuid,omitempty\""
	}, error)
	ImportWithBody(arg1 string, body io.Reader, reqEditors ...RequestEditorFn) (*interface{}, error)
	Import(arg1 VulnerabilitiesImportJSONRequestBody, reqEditors ...RequestEditorFn) (*interface{}, error)
}

VulnerabilitiesInterface contains all methods for the nessus api

type Workbenches

type Workbenches struct {
	*ClientWithResponses
}

Workbenches implementation of the Workbenches interface

func (*Workbenches) AssetInfo

func (c *Workbenches) AssetInfo(arg1 string, params *WorkbenchesAssetInfoParams, reqEditors ...RequestEditorFn) (*struct {
	Info *struct {
		AcrDrivers *[]struct {
			DriverName  *string   "json:\"driver_name,omitempty\""
			DriverValue *[]string "json:\"driver_value,omitempty\""
		} "json:\"acr_drivers,omitempty\""
		AcrScore                  *int                    "json:\"acr_score,omitempty\""
		AgentName                 *[]string               "json:\"agent_name,omitempty\""
		AwsAvailabilityZone       *[]string               "json:\"aws_availability_zone,omitempty\""
		AwsEc2InstanceAmiId       *[]string               "json:\"aws_ec2_instance_ami_id,omitempty\""
		AwsEc2InstanceGroupName   *[]string               "json:\"aws_ec2_instance_group_name,omitempty\""
		AwsEc2InstanceId          *[]string               "json:\"aws_ec2_instance_id,omitempty\""
		AwsEc2InstanceStateName   *[]string               "json:\"aws_ec2_instance_state_name,omitempty\""
		AwsEc2InstanceType        *[]string               "json:\"aws_ec2_instance_type,omitempty\""
		AwsEc2Name                *[]string               "json:\"aws_ec2_name,omitempty\""
		AwsEc2ProductCode         *[]string               "json:\"aws_ec2_product_code,omitempty\""
		AwsOwnerId                *[]string               "json:\"aws_owner_id,omitempty\""
		AwsRegion                 *[]string               "json:\"aws_region,omitempty\""
		AwsSubnetId               *[]string               "json:\"aws_subnet_id,omitempty\""
		AwsVpcId                  *[]string               "json:\"aws_vpc_id,omitempty\""
		AzureResourceId           *[]string               "json:\"azure_resource_id,omitempty\""
		AzureVmId                 *[]string               "json:\"azure_vm_id,omitempty\""
		BiosUuid                  *[]string               "json:\"bios_uuid,omitempty\""
		Counts                    *map[string]interface{} "json:\"counts,omitempty\""
		CreatedAt                 *string                 "json:\"created_at,omitempty\""
		ExposureScore             *int                    "json:\"exposure_score,omitempty\""
		FirstSeen                 *string                 "json:\"first_seen,omitempty\""
		Fqdn                      *[]string               "json:\"fqdn,omitempty\""
		GcpInstanceId             *[]string               "json:\"gcp_instance_id,omitempty\""
		GcpProjectId              *[]string               "json:\"gcp_project_id,omitempty\""
		GcpZone                   *[]string               "json:\"gcp_zone,omitempty\""
		HasAgent                  *bool                   "json:\"has_agent,omitempty\""
		Hostname                  *[]string               "json:\"hostname,omitempty\""
		Id                        *string                 "json:\"id,omitempty\""
		InstalledSoftware         *[]string               "json:\"installed_software,omitempty\""
		Ipv4                      *[]string               "json:\"ipv4,omitempty\""
		Ipv6                      *[]string               "json:\"ipv6,omitempty\""
		LastAuthenticatedScanDate *string                 "json:\"last_authenticated_scan_date,omitempty\""
		LastLicensedScanDate      *string                 "json:\"last_licensed_scan_date,omitempty\""
		LastScanTarget            *string                 "json:\"last_scan_target,omitempty\""
		LastSeen                  *string                 "json:\"last_seen,omitempty\""
		MacAddress                *[]string               "json:\"mac_address,omitempty\""
		McafeeEpoAgentGuid        *[]string               "json:\"mcafee_epo_agent_guid,omitempty\""
		McafeeEpoGuid             *[]string               "json:\"mcafee_epo_guid,omitempty\""
		NetbiosName               *[]string               "json:\"netbios_name,omitempty\""
		OperatingSystem           *[]string               "json:\"operating_system,omitempty\""
		QualysAssetId             *[]string               "json:\"qualys_asset_id,omitempty\""
		QualysHostId              *[]string               "json:\"qualys_host_id,omitempty\""
		ScanFrequency             *[]struct {
			Frequency *int  "json:\"frequency,omitempty\""
			Interval  *int  "json:\"interval,omitempty\""
			Licensed  *bool "json:\"licensed,omitempty\""
		} "json:\"scan_frequency,omitempty\""
		ServicenowSysid *[]string "json:\"servicenow_sysid,omitempty\""
		Sources         *[]struct {
			FirstSeen *string "json:\"first_seen,omitempty\""
			LastSeen  *string "json:\"last_seen,omitempty\""
			Name      *string "json:\"name,omitempty\""
		} "json:\"sources,omitempty\""
		SshFingerprint *[]string "json:\"ssh_fingerprint,omitempty\""
		SystemType     *[]string "json:\"system_type,omitempty\""
		Tags           *[]struct {
			AddedAt  *string "json:\"added_at,omitempty\""
			AddedBy  *string "json:\"added_by,omitempty\""
			Source   *string "json:\"source,omitempty\""
			TagKey   *string "json:\"tag_key,omitempty\""
			TagUuid  *string "json:\"tag_uuid,omitempty\""
			TagValue *string "json:\"tag_value,omitempty\""
		} "json:\"tags,omitempty\""
		TenableUuid *[]string "json:\"tenable_uuid,omitempty\""
		TimeEnd     *string   "json:\"time_end,omitempty\""
		TimeStart   *string   "json:\"time_start,omitempty\""
		UpdatedAt   *string   "json:\"updated_at,omitempty\""
		Uuid        *string   "json:\"uuid,omitempty\""
	} "json:\"info,omitempty\""
}, error)

AssetInfo calls the Workbenches ´s function

func (*Workbenches) AssetVulnerabilities

func (c *Workbenches) AssetVulnerabilities(arg1 string, params *WorkbenchesAssetVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*struct {
	TotalAssetCount         *int "json:\"total_asset_count,omitempty\""
	TotalVulnerabilityCount *int "json:\"total_vulnerability_count,omitempty\""
	Vulnerabilities         *[]struct {
		AcceptedCount    *int32 "json:\"accepted_count,omitempty\""
		Count            *int   "json:\"count,omitempty\""
		CountsBySeverity *[]struct {
			Count *int32 "json:\"count,omitempty\""
			Value *int   "json:\"value,omitempty\""
		} "json:\"counts by severity,omitempty\""
		PluginFamily       *string  "json:\"plugin_family,omitempty\""
		PluginId           *int     "json:\"plugin_id,omitempty\""
		PluginName         *string  "json:\"plugin_name,omitempty\""
		RecastedCount      *int32   "json:\"recasted_count,omitempty\""
		Severity           *int32   "json:\"severity,omitempty\""
		VprScore           *float32 "json:\"vpr_score,omitempty\""
		VulnerabilityState *string  "json:\"vulnerability_state,omitempty\""
	} "json:\"vulnerabilities,omitempty\""
}, error)

AssetVulnerabilities calls the Workbenches ´s function

func (*Workbenches) AssetVulnerabilityInfo

func (c *Workbenches) AssetVulnerabilityInfo(arg1 string, arg2 int32, params *WorkbenchesAssetVulnerabilityInfoParams, reqEditors ...RequestEditorFn) (*struct {
	Info *struct {
		Count       *int32  "json:\"count,omitempty\""
		Description *string "json:\"description,omitempty\""
		Discovery   *struct {
			SeenFirst *string "json:\"seen_first,omitempty\""
			SeenLast  *string "json:\"seen_last,omitempty\""
		} "json:\"discovery,omitempty\""
		PluginDetails *struct {
			Family           *string "json:\"family,omitempty\""
			ModificationDate *string "json:\"modification_date,omitempty\""
			Name             *string "json:\"name,omitempty\""
			PublicationDate  *string "json:\"publication_date,omitempty\""
			Severity         *int32  "json:\"severity,omitempty\""
			Type             *string "json:\"type,omitempty\""
			Version          *string "json:\"version,omitempty\""
		} "json:\"plugin_details,omitempty\""
		ReferenceInformation *[]struct {
			Name   *string   "json:\"name,omitempty\""
			Url    *string   "json:\"url,omitempty\""
			Values *[]string "json:\"values,omitempty\""
		} "json:\"reference_information,omitempty\""
		RiskInformation *struct {
			Cvss3BaseScore      *string "json:\"cvss3_base_score,omitempty\""
			Cvss3TemporalScore  *string "json:\"cvss3_temporal_score,omitempty\""
			Cvss3TemporalVector *string "json:\"cvss3_temporal_vector,omitempty\""
			Cvss3Vector         *string "json:\"cvss3_vector,omitempty\""
			CvssBaseScore       *string "json:\"cvss_base_score,omitempty\""
			CvssTemporalScore   *string "json:\"cvss_temporal_score,omitempty\""
			CvssTemporalVector  *string "json:\"cvss_temporal_vector,omitempty\""
			CvssVector          *string "json:\"cvss_vector,omitempty\""
			RiskFactor          *string "json:\"risk_factor,omitempty\""
			StigSeverity        *string "json:\"stig_severity,omitempty\""
		} "json:\"risk_information,omitempty\""
		SeeAlso  *[]string "json:\"see_also,omitempty\""
		Severity *int      "json:\"severity,omitempty\""
		Solution *string   "json:\"solution,omitempty\""
		Synopsis *string   "json:\"synopsis,omitempty\""
		Vpr      *struct {
			Drivers *map[string]interface{} "json:\"drivers,omitempty\""
			Score   *float32                "json:\"score,omitempty\""
			Updated *string                 "json:\"updated,omitempty\""
		} "json:\"vpr,omitempty\""
		VulnCount                *int32 "json:\"vuln_count,omitempty\""
		VulnerabilityInformation *struct {
			AssetInventory    *string "json:\"asset_inventory,omitempty\""
			Cpe               *string "json:\"cpe,omitempty\""
			DefaultAccount    *string "json:\"default_account,omitempty\""
			ExploitAvailable  *bool   "json:\"exploit_available,omitempty\""
			ExploitFrameworks *[]struct {
				Exploits *[]struct {
					Name *string "json:\"name,omitempty\""
					Url  *string "json:\"url,omitempty\""
				} "json:\"exploits,omitempty\""
				Name *string "json:\"name,omitempty\""
			} "json:\"exploit_frameworks,omitempty\""
			ExploitabilityEase           *string "json:\"exploitability_ease,omitempty\""
			ExploitedByMalware           *bool   "json:\"exploited_by_malware,omitempty\""
			ExploitedByNessus            *bool   "json:\"exploited_by_nessus,omitempty\""
			InTheNews                    *bool   "json:\"in_the_news,omitempty\""
			Malware                      *string "json:\"malware,omitempty\""
			PatchPublicationDate         *string "json:\"patch_publication_date,omitempty\""
			UnsupportedByVendor          *bool   "json:\"unsupported_by_vendor,omitempty\""
			VulnerabilityPublicationDate *string "json:\"vulnerability_publication_date,omitempty\""
		} "json:\"vulnerability_information,omitempty\""
	} "json:\"info,omitempty\""
}, error)

AssetVulnerabilityInfo calls the Workbenches ´s function

func (*Workbenches) AssetVulnerabilityOutput

func (c *Workbenches) AssetVulnerabilityOutput(arg1 string, arg2 int32, params *WorkbenchesAssetVulnerabilityOutputParams, reqEditors ...RequestEditorFn) (*struct {
	Outputs *[]struct {
		PluginOutput *string "json:\"plugin_output,omitempty\""
		States       *[]struct {
			Name    *string "json:\"name,omitempty\""
			Results *[]struct {
				ApplicationProtocol *string "json:\"application_protocol,omitempty\""
				Assets              *[]struct {
					FirstSeen   *time.Time "json:\"first_seen,omitempty\""
					Fqdn        *string    "json:\"fqdn,omitempty\""
					Hostname    *string    "json:\"hostname,omitempty\""
					Id          *string    "json:\"id,omitempty\""
					Ipv4        *string    "json:\"ipv4,omitempty\""
					LastSeen    *time.Time "json:\"last_seen,omitempty\""
					NetbiosName *string    "json:\"netbios_name,omitempty\""
					Uuid        *string    "json:\"uuid,omitempty\""
				} "json:\"assets,omitempty\""
				Port              *int    "json:\"port,omitempty\""
				Severity          *int    "json:\"severity,omitempty\""
				TransportProtocol *string "json:\"transport_protocol,omitempty\""
			} "json:\"results,omitempty\""
		} "json:\"states,omitempty\""
	} "json:\"outputs,omitempty\""
}, error)

AssetVulnerabilityOutput calls the Workbenches ´s function

func (*Workbenches) Assets

func (c *Workbenches) Assets(params *WorkbenchesAssetsParams, reqEditors ...RequestEditorFn) (*struct {
	Assets *[]struct {
		AcrDrivers *[]struct {
			DriverName  *string   "json:\"driver_name,omitempty\""
			DriverValue *[]string "json:\"driver_value,omitempty\""
		} "json:\"acr_drivers,omitempty\""
		AcrScore        *int      "json:\"acr_score,omitempty\""
		AgentName       *[]string "json:\"agent_name,omitempty\""
		AwsEc2Name      *[]string "json:\"aws_ec2_name,omitempty\""
		BigfixAssetId   *[]string "json:\"bigfix_asset_id,omitempty\""
		ExposureScore   *int      "json:\"exposure_score,omitempty\""
		Fqdn            *[]string "json:\"fqdn,omitempty\""
		HasAgent        *bool     "json:\"has_agent,omitempty\""
		Id              *string   "json:\"id,omitempty\""
		Ipv4            *[]string "json:\"ipv4,omitempty\""
		Ipv6            *[]string "json:\"ipv6,omitempty\""
		LastScanTarget  *string   "json:\"last_scan_target,omitempty\""
		LastSeen        *string   "json:\"last_seen,omitempty\""
		MacAddress      *[]string "json:\"mac_address,omitempty\""
		NetbiosName     *[]string "json:\"netbios_name,omitempty\""
		OperatingSystem *[]string "json:\"operating_system,omitempty\""
		ScanFrequency   *[]struct {
			Frequency *int  "json:\"frequency,omitempty\""
			Interval  *int  "json:\"interval,omitempty\""
			Licensed  *bool "json:\"licensed,omitempty\""
		} "json:\"scan_frequency,omitempty\""
		Sources *[]struct {
			FirstSeen *string "json:\"first_seen,omitempty\""
			LastSeen  *string "json:\"last_seen,omitempty\""
			Name      *string "json:\"name,omitempty\""
		} "json:\"sources,omitempty\""
	} "json:\"assets,omitempty\""
	Total *int "json:\"total,omitempty\""
}, error)

Assets calls the Workbenches ´s function

func (*Workbenches) AssetsActivity

func (c *Workbenches) AssetsActivity(contentType string, reqEditors ...RequestEditorFn) (*[]struct {
	Details *struct {
		AssetId                   *string                 "json:\"assetId,omitempty\""
		ContainerId               *string                 "json:\"containerId,omitempty\""
		CreatedAt                 *int                    "json:\"createdAt,omitempty\""
		DeletedAt                 *int                    "json:\"deletedAt,omitempty\""
		DeletedBy                 *string                 "json:\"deletedBy,omitempty\""
		FirstScanTime             *int                    "json:\"firstScanTime,omitempty\""
		HasAgent                  *bool                   "json:\"hasAgent,omitempty\""
		HasPluginResults          *bool                   "json:\"hasPluginResults,omitempty\""
		LastAuthenticatedScanTime *int                    "json:\"lastAuthenticatedScanTime,omitempty\""
		LastLicensedScanTime      *int                    "json:\"lastLicensedScanTime,omitempty\""
		LastLicensedScanTimeV2    *int                    "json:\"lastLicensedScanTimeV2,omitempty\""
		LastScanTime              *int                    "json:\"lastScanTime,omitempty\""
		Properties                *map[string]interface{} "json:\"properties,omitempty\""
		Sources                   *[]struct {
			FirstSeen *string "json:\"firstSeen,omitempty\""
			LastSeen  *string "json:\"lastSeen,omitempty\""
			Name      *string "json:\"name,omitempty\""
		} "json:\"sources,omitempty\""
		TerminatedAt *int    "json:\"terminatedAt,omitempty\""
		TerminatedBy *string "json:\"terminatedBy,omitempty\""
		UpdatedAt    *int    "json:\"updatedAt,omitempty\""
	} "json:\"details,omitempty\""
	ScanId     *string "json:\"scan_id,omitempty\""
	ScheduleId *string "json:\"schedule_id,omitempty\""
	Source     *string "json:\"source,omitempty\""
	Timestamp  *int    "json:\"timestamp,omitempty\""
	Type       *string "json:\"type,omitempty\""
	Updates    *[]struct {
		Method   *string "json:\"method,omitempty\""
		Property *string "json:\"property,omitempty\""
		Value    *string "json:\"value,omitempty\""
	} "json:\"updates,omitempty\""
}, error)

AssetsActivity calls the Workbenches ´s function

func (*Workbenches) AssetsDelete

func (c *Workbenches) AssetsDelete(contentType string, reqEditors ...RequestEditorFn) (*WorkbenchesAssetsDeleteResponse, error)

AssetsDelete calls the Workbenches ´s function

func (*Workbenches) AssetsVulnerabilities

func (c *Workbenches) AssetsVulnerabilities(params *WorkbenchesAssetsVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*[]struct {
	AgentName   *[]string "json:\"agent_name,omitempty\""
	Fqdn        *[]string "json:\"fqdn,omitempty\""
	Id          *string   "json:\"id,omitempty\""
	Ipv4        *[]string "json:\"ipv4,omitempty\""
	Ipv6        *[]string "json:\"ipv6,omitempty\""
	LastSeen    *string   "json:\"last_seen,omitempty\""
	NetbiosName *[]string "json:\"netbios_name,omitempty\""
	Severities  *[]struct {
		Count *int    "json:\"count,omitempty\""
		Level *int    "json:\"level,omitempty\""
		Name  *string "json:\"name,omitempty\""
	} "json:\"severities,omitempty\""
	Total *int "json:\"total,omitempty\""
}, error)

AssetsVulnerabilities calls the Workbenches ´s function

func (*Workbenches) ExportDownload

func (c *Workbenches) ExportDownload(arg1 int32, reqEditors ...RequestEditorFn) (*WorkbenchesExportDownloadResponse, error)

ExportDownload calls the Workbenches ´s function

func (*Workbenches) ExportRequest

func (c *Workbenches) ExportRequest(params *WorkbenchesExportRequestParams, reqEditors ...RequestEditorFn) (*struct {
	File *int "json:\"file,omitempty\""
}, error)

ExportRequest calls the Workbenches ´s function

func (*Workbenches) ExportStatus

func (c *Workbenches) ExportStatus(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
	Progress      *string "json:\"progress,omitempty\""
	ProgressTotal *string "json:\"progress_total,omitempty\""
	Status        *string "json:\"status,omitempty\""
}, error)

ExportStatus calls the Workbenches ´s function

func (*Workbenches) Vulnerabilities

func (c *Workbenches) Vulnerabilities(params *WorkbenchesVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*struct {
	TotalAssetCount         *int "json:\"total_asset_count,omitempty\""
	TotalVulnerabilityCount *int "json:\"total_vulnerability_count,omitempty\""
	Vulnerabilities         *[]struct {
		AcceptedCount    *int32 "json:\"accepted_count,omitempty\""
		Count            *int   "json:\"count,omitempty\""
		CountsBySeverity *[]struct {
			Count *int32 "json:\"count,omitempty\""
			Value *int   "json:\"value,omitempty\""
		} "json:\"counts by severity,omitempty\""
		PluginFamily       *string  "json:\"plugin_family,omitempty\""
		PluginId           *int     "json:\"plugin_id,omitempty\""
		PluginName         *string  "json:\"plugin_name,omitempty\""
		RecastedCount      *int32   "json:\"recasted_count,omitempty\""
		Severity           *int32   "json:\"severity,omitempty\""
		VprScore           *float32 "json:\"vpr_score,omitempty\""
		VulnerabilityState *string  "json:\"vulnerability_state,omitempty\""
	} "json:\"vulnerabilities,omitempty\""
}, error)

Vulnerabilities calls the Workbenches ´s function

func (*Workbenches) VulnerabilityInfo

func (c *Workbenches) VulnerabilityInfo(arg1 int32, params *WorkbenchesVulnerabilityInfoParams, reqEditors ...RequestEditorFn) (*struct {
	Count       *int32  "json:\"count,omitempty\""
	Description *string "json:\"description,omitempty\""
	Discovery   *struct {
		SeenFirst *string "json:\"seen_first,omitempty\""
		SeenLast  *string "json:\"seen_last,omitempty\""
	} "json:\"discovery,omitempty\""
	PluginDetails *struct {
		Family           *string "json:\"family,omitempty\""
		ModificationDate *string "json:\"modification_date,omitempty\""
		Name             *string "json:\"name,omitempty\""
		PublicationDate  *string "json:\"publication_date,omitempty\""
		Severity         *int32  "json:\"severity,omitempty\""
		Type             *string "json:\"type,omitempty\""
		Version          *string "json:\"version,omitempty\""
	} "json:\"plugin_details,omitempty\""
	ReferenceInformation *[]struct {
		Name   *string   "json:\"name,omitempty\""
		Url    *string   "json:\"url,omitempty\""
		Values *[]string "json:\"values,omitempty\""
	} "json:\"reference_information,omitempty\""
	RiskInformation *struct {
		Cvss3BaseScore      *string "json:\"cvss3_base_score,omitempty\""
		Cvss3TemporalScore  *string "json:\"cvss3_temporal_score,omitempty\""
		Cvss3TemporalVector *string "json:\"cvss3_temporal_vector,omitempty\""
		Cvss3Vector         *string "json:\"cvss3_vector,omitempty\""
		CvssBaseScore       *string "json:\"cvss_base_score,omitempty\""
		CvssTemporalScore   *string "json:\"cvss_temporal_score,omitempty\""
		CvssTemporalVector  *string "json:\"cvss_temporal_vector,omitempty\""
		CvssVector          *string "json:\"cvss_vector,omitempty\""
		RiskFactor          *string "json:\"risk_factor,omitempty\""
		StigSeverity        *string "json:\"stig_severity,omitempty\""
	} "json:\"risk_information,omitempty\""
	SeeAlso  *[]string "json:\"see_also,omitempty\""
	Severity *int      "json:\"severity,omitempty\""
	Solution *string   "json:\"solution,omitempty\""
	Synopsis *string   "json:\"synopsis,omitempty\""
	Vpr      *struct {
		Drivers *map[string]interface{} "json:\"drivers,omitempty\""
		Score   *float32                "json:\"score,omitempty\""
		Updated *string                 "json:\"updated,omitempty\""
	} "json:\"vpr,omitempty\""
	VulnCount                *int32 "json:\"vuln_count,omitempty\""
	VulnerabilityInformation *struct {
		AssetInventory    *string "json:\"asset_inventory,omitempty\""
		Cpe               *string "json:\"cpe,omitempty\""
		DefaultAccount    *string "json:\"default_account,omitempty\""
		ExploitAvailable  *bool   "json:\"exploit_available,omitempty\""
		ExploitFrameworks *[]struct {
			Exploits *[]struct {
				Name *string "json:\"name,omitempty\""
				Url  *string "json:\"url,omitempty\""
			} "json:\"exploits,omitempty\""
			Name *string "json:\"name,omitempty\""
		} "json:\"exploit_frameworks,omitempty\""
		ExploitabilityEase           *string "json:\"exploitability_ease,omitempty\""
		ExploitedByMalware           *bool   "json:\"exploited_by_malware,omitempty\""
		ExploitedByNessus            *bool   "json:\"exploited_by_nessus,omitempty\""
		InTheNews                    *bool   "json:\"in_the_news,omitempty\""
		Malware                      *string "json:\"malware,omitempty\""
		PatchPublicationDate         *string "json:\"patch_publication_date,omitempty\""
		UnsupportedByVendor          *bool   "json:\"unsupported_by_vendor,omitempty\""
		VulnerabilityPublicationDate *string "json:\"vulnerability_publication_date,omitempty\""
	} "json:\"vulnerability_information,omitempty\""
}, error)

VulnerabilityInfo calls the Workbenches ´s function

func (*Workbenches) VulnerabilityOutput

func (c *Workbenches) VulnerabilityOutput(arg1 int32, params *WorkbenchesVulnerabilityOutputParams, reqEditors ...RequestEditorFn) (*[]struct {
	PluginOutput *string "json:\"plugin_output,omitempty\""
	States       *[]struct {
		Name    *string "json:\"name,omitempty\""
		Results *[]struct {
			ApplicationProtocol *string "json:\"application_protocol,omitempty\""
			Assets              *[]struct {
				FirstSeen   *time.Time "json:\"first_seen,omitempty\""
				Fqdn        *string    "json:\"fqdn,omitempty\""
				Hostname    *string    "json:\"hostname,omitempty\""
				Id          *string    "json:\"id,omitempty\""
				Ipv4        *string    "json:\"ipv4,omitempty\""
				LastSeen    *time.Time "json:\"last_seen,omitempty\""
				NetbiosName *string    "json:\"netbios_name,omitempty\""
				Uuid        *string    "json:\"uuid,omitempty\""
			} "json:\"assets,omitempty\""
			Port              *int    "json:\"port,omitempty\""
			Severity          *int    "json:\"severity,omitempty\""
			TransportProtocol *string "json:\"transport_protocol,omitempty\""
		} "json:\"results,omitempty\""
	} "json:\"states,omitempty\""
}, error)

VulnerabilityOutput calls the Workbenches ´s function

type WorkbenchesAssetInfoParams

type WorkbenchesAssetInfoParams struct {
	// A value specifying whether you want the returned data to include all fields (`full`) or only the default fields (`default`).  The schema for this endpoint defines the `default` fields only. For a definition of the `full` fields, see [Common Asset Attributes](doc:common-asset-attributes).
	AllFields *string `json:"all_fields,omitempty"`
}

WorkbenchesAssetInfoParams defines parameters for WorkbenchesAssetInfo.

type WorkbenchesAssetInfoResponse

type WorkbenchesAssetInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Info *struct {
			// The key drivers that Tenable uses to calculate an asset's Tenable-provided ACR. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
			//
			// This attribute is only present if you have a Lumin license.
			AcrDrivers *[]struct {
				// The type of characteristic.
				DriverName *string `json:"driver_name,omitempty"`

				// The characteristic value.
				DriverValue *[]string `json:"driver_value,omitempty"`
			} `json:"acr_drivers,omitempty"`

			// The Asset Criticality Rating (ACR) for the asset. Tenable assigns an ACR to each asset on your network to represent the asset's relative risk as an integer from 1 to 10. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
			//
			// This attribute is only present if you have a Lumin license.
			AcrScore *int `json:"acr_score,omitempty"`

			// The names of any Nessus agents that scanned and identified the asset.
			AgentName *[]string `json:"agent_name,omitempty"`

			// The availability zone where Amazon Web Services hosts the virtual machine instance, for example, `us-east-1a`. Availability zones are subdivisions of AWS regions. For more information, see Regions and Availability Zones in the AWS documentation.
			AwsAvailabilityZone *[]string `json:"aws_availability_zone,omitempty"`

			// The unique identifier of the Linux AMI image in Amazon Elastic Compute Cloud (Amazon EC2). For more information, see the Amazon Elastic Compute Cloud Documentation.
			AwsEc2InstanceAmiId *[]string `json:"aws_ec2_instance_ami_id,omitempty"`

			// The virtual machine instance's group in AWS.
			AwsEc2InstanceGroupName *[]string `json:"aws_ec2_instance_group_name,omitempty"`

			// The unique identifier of the Linux instance in Amazon EC2. For more information, see the Amazon Elastic Compute Cloud Documentation.
			AwsEc2InstanceId *[]string `json:"aws_ec2_instance_id,omitempty"`

			// The state of the virtual machine instance in AWS at the time of the scan. For more information on instance states, see the AWS documentation.
			AwsEc2InstanceStateName *[]string `json:"aws_ec2_instance_state_name,omitempty"`

			// The type of instance in AWS EC2.
			AwsEc2InstanceType *[]string `json:"aws_ec2_instance_type,omitempty"`

			// The name of the virtual machine instance in AWS EC2.
			AwsEc2Name *[]string `json:"aws_ec2_name,omitempty"`

			// The product code associated with the AMI used to launch the virtual machine instance in AWS EC2.
			AwsEc2ProductCode *[]string `json:"aws_ec2_product_code,omitempty"`

			// The canonical user identifier for the AWS account associated with the virtual machine instance. For example, `79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be`. For more information, see AWS Account Identifiers in the AWS documentation.
			AwsOwnerId *[]string `json:"aws_owner_id,omitempty"`

			// The region where AWS hosts the virtual machine instance, for example, `us-east-1`. For more information, see Regions and Availability Zones in the AWS documentation.
			AwsRegion *[]string `json:"aws_region,omitempty"`

			// The unique identifier of the AWS subnet where the virtual machine instance was running at the time of the scan.
			AwsSubnetId *[]string `json:"aws_subnet_id,omitempty"`

			// The unique identifier for the public cloud that hosts the AWS virtual machine instance. For more information, see the Amazon Virtual Private Cloud User Guide.
			AwsVpcId *[]string `json:"aws_vpc_id,omitempty"`

			// The unique identifier of the resource in the Azure Resource Manager. For more information, see the Azure Resource Manager Documentation.
			AzureResourceId *[]string `json:"azure_resource_id,omitempty"`

			// The unique identifier of the Microsoft Azure virtual machine instance. For more information, see "Accessing and Using Azure VM Unique ID" in the Microsoft Azure documentation.
			AzureVmId *[]string `json:"azure_vm_id,omitempty"`

			// The BIOS UUID that scans have associated with the asset.
			BiosUuid *[]string `json:"bios_uuid,omitempty"`

			// Counts of vulnerabilities on the asset, as well as counts of audit checks performed on the asset. For more information about this object, see [Common Asset Attributes](doc:common-asset-attributes).
			Counts *map[string]interface{} `json:"counts,omitempty"`

			// The time and date when Tenable.io created the asset record.
			CreatedAt *string `json:"created_at,omitempty"`

			// The Asset Exposure Score (AES) for the asset. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
			//
			// This attribute is only present if you have a Lumin license.
			ExposureScore *int `json:"exposure_score,omitempty"`

			// The time and date when a scan first identified the asset.
			FirstSeen *string `json:"first_seen,omitempty"`

			// The fully-qualified domain names that scans have associated with the asset record.
			Fqdn *[]string `json:"fqdn,omitempty"`

			// The unique identifier of the virtual machine instance in GCP.
			GcpInstanceId *[]string `json:"gcp_instance_id,omitempty"`

			// The customized name of the project to which the virtual machine instance belongs in Google Cloud Platform (GCP). For more information, see "Creating and Managing Projects" in the GCP documentation.
			GcpProjectId *[]string `json:"gcp_project_id,omitempty"`

			// The zone where the virtual machine instance runs in GCP. For more information, see "Regions and Zones" in the GCP documentation.
			GcpZone *[]string `json:"gcp_zone,omitempty"`

			// A value specifying whether a Nessus agent scan detected the asset.
			HasAgent *bool `json:"has_agent,omitempty"`

			// The hostnames that scans have associated with the asset record.
			Hostname *[]string `json:"hostname,omitempty"`

			// The UUID of the asset.
			Id *string `json:"id,omitempty"`

			// A list of Common Platform Enumeration (CPE) values that represent software applications a scan identified as present on an asset. This attribute supports the CPE 2.2 format. For more information, see the "Component Syntax" section of the [CPE Specification, Version 2.2](https://cpe.mitre.org/files/cpe-specification_2.2.pdf). For assets identified in Tenable scans, this attribute contains data only if a scan using [Nessus Plugin ID 45590](https://www.tenable.com/plugins/nessus/45590) has evaluated the asset.
			//
			// **Note:** If no scan detects an application within 30 days of the scan that originally detected the application, Tenable.io considers the detection of that application expired. As a result, the next time a scan evaluates the asset, Tenable.io removes the expired application from the installed_software attribute. This activity is logged as a `remove` type of `attribute_change` update in the asset activity log.
			InstalledSoftware *[]string `json:"installed_software,omitempty"`

			// The IPv4 addresses that scans have associated with the asset record.
			Ipv4 *[]string `json:"ipv4,omitempty"`

			// The IPv6 addresses that scans have associated with the asset record.
			Ipv6 *[]string `json:"ipv6,omitempty"`

			// The time and date of the last credentialed scan run on the asset.
			LastAuthenticatedScanDate *string `json:"last_authenticated_scan_date,omitempty"`

			// The time and date of the last scan that identified the asset as licensed. Tenable.io categorizes an asset as licensed if a scan of that asset has returned results from a non-discovery plugin within the last 90 days.
			LastLicensedScanDate *string `json:"last_licensed_scan_date,omitempty"`

			// The IPv4 address, IPv6 address, or FQDN that the scanner last used to evaluate the asset.
			LastScanTarget *string `json:"last_scan_target,omitempty"`

			// The time and date of the scan that most recently identified the asset.
			LastSeen *string `json:"last_seen,omitempty"`

			// The MAC addresses that scans have associated with the asset record.
			MacAddress *[]string `json:"mac_address,omitempty"`

			// The unique identifier of the McAfee ePO agent that identified the asset. For more information, see the McAfee documentation.
			McafeeEpoAgentGuid *[]string `json:"mcafee_epo_agent_guid,omitempty"`

			// The unique identifier of the asset in McAfee ePolicy Orchestrator (ePO). For more information, see the McAfee documentation.
			McafeeEpoGuid *[]string `json:"mcafee_epo_guid,omitempty"`

			// The NetBIOS names that scans have associated with the asset record.
			NetbiosName *[]string `json:"netbios_name,omitempty"`

			// The operating systems that scans have associated with the asset record.
			OperatingSystem *[]string `json:"operating_system,omitempty"`

			// The Asset ID of the asset in Qualys. For more information, see the Qualys documentation.
			QualysAssetId *[]string `json:"qualys_asset_id,omitempty"`

			// The Host ID of the asset in Qualys. For more information, see the Qualys documentation.
			QualysHostId *[]string `json:"qualys_host_id,omitempty"`

			// Information about how often scans ran against the asset during specified intervals. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
			//
			// This attribute is only present if you have a Lumin license.
			ScanFrequency *[]struct {
				// The number of times that a scan ran against the asset during the specified interval.
				Frequency *int `json:"frequency,omitempty"`

				// The number of days over which Tenable searches for scans involving the asset.
				Interval *int `json:"interval,omitempty"`

				// Indicates whether the asset was licensed at the time of the identified scans.
				Licensed *bool `json:"licensed,omitempty"`
			} `json:"scan_frequency,omitempty"`

			// The unique record identifier of the asset in ServiceNow. For more information, see the ServiceNow documentation.
			ServicenowSysid *[]string `json:"servicenow_sysid,omitempty"`

			// The sources of the scans that identified the asset.
			Sources *[]struct {
				// The ISO timestamp when the source first reported the asset.
				FirstSeen *string `json:"first_seen,omitempty"`

				// The ISO timestamp when the source last reported the asset.
				LastSeen *string `json:"last_seen,omitempty"`

				// The name of the entity that reported the asset details. Sources can include sensors, connectors, and API imports. Source names can be customized by your organization (for example, you specify a name when you import asset records). If your organization does not customize source names, system-generated names include:
				//  - AWS—You obtained the asset data from an Amazon Web Services connector.
				//  - NESSUS_AGENT—You obtained the asset data obtained from a Nessus agent scan.
				//  - PVS—You obtained the asset data from a Nessus Network Monitor (NNM) scan.
				//  - NESSUS_SCAN—You obtained the asset data from a Nessus scan.
				//  - WAS—You obtained the asset data from a  Web Application Scanning scan.
				Name *string `json:"name,omitempty"`
			} `json:"sources,omitempty"`

			// The SSH key fingerprints that scans have associated with the asset record.
			SshFingerprint *[]string `json:"ssh_fingerprint,omitempty"`

			// The system types as reported by Plugin ID 54615. Possible values include `router`, `general-purpose`, `scan-host`, and `embedded`.
			SystemType *[]string `json:"system_type,omitempty"`

			// Category tags assigned to the asset in Tenable.io.
			Tags *[]struct {
				// The ISO timestamp when the tag was assigned to the asset.
				AddedAt *string `json:"added_at,omitempty"`

				// The UUID of the user who assigned the tag to the asset.
				AddedBy *string `json:"added_by,omitempty"`

				// The tag type:
				//  - static—A user manually applied the tag to an asset. You can use the Tenable.io API to create and assign static tags to assets.
				//  - dynamic—Tenable.io automatically applies the tag based on asset attribute rules. For more information, see [Apply Dynamic Tags](doc:apply-dynamic-tags).
				Source *string `json:"source,omitempty"`

				// The tag category (the first half of the category:value pair).
				TagKey *string `json:"tag_key,omitempty"`

				// The UUID of the tag.
				TagUuid *string `json:"tag_uuid,omitempty"`

				// The tag value (the second half of the category:value pair).
				TagValue *string `json:"tag_value,omitempty"`
			} `json:"tags,omitempty"`

			// The UUID of the agent if an agent is present on the asset. If no agent is present on the asset, then the UUID is a unique identifier assigned by Tenable.io during a credentialed scan when the [Create unique identifier on hosts scanned with credentials](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Scans/Classic/AdvancedSettings.htm) option is enabled. Note that no UUID is set for uncredentialed, non-agent scans.
			TenableUuid *[]string `json:"tenable_uuid,omitempty"`

			// The scan end timestamp, in ISO-8601 format, when the asset was first detected.
			TimeEnd *string `json:"time_end,omitempty"`

			// The scan start timestamp, in ISO-8601 format, when the asset was first detected.
			TimeStart *string `json:"time_start,omitempty"`

			// The time and date when the asset record was last updated.
			UpdatedAt *string `json:"updated_at,omitempty"`

			// The UUID of the asset. Use this value as the unique key for the asset.
			Uuid *string `json:"uuid,omitempty"`
		} `json:"info,omitempty"`
	}
}

func ParseWorkbenchesAssetInfoResponse

func ParseWorkbenchesAssetInfoResponse(rsp *http.Response) (*WorkbenchesAssetInfoResponse, error)

ParseWorkbenchesAssetInfoResponse parses an HTTP response from a WorkbenchesAssetInfoWithResponse call

func (WorkbenchesAssetInfoResponse) Status

Status returns HTTPResponse.Status

func (WorkbenchesAssetInfoResponse) StatusCode

func (r WorkbenchesAssetInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkbenchesAssetVulnerabilitiesParams

type WorkbenchesAssetVulnerabilitiesParams struct {
	// The number of days of data prior to and including today that should be returned.
	DateRange *int32 `json:"date_range,omitempty"`

	// The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Filter *string `json:"filter.0.filter,omitempty"`

	// The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Quality *string `json:"filter.0.quality,omitempty"`

	// The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Value *string `json:"filter.0.value,omitempty"`

	// For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](doc:workbench-filters).
	FilterSearchType *WorkbenchesAssetVulnerabilitiesParamsFilterSearchType `json:"filter.search_type,omitempty"`
}

WorkbenchesAssetVulnerabilitiesParams defines parameters for WorkbenchesAssetVulnerabilities.

type WorkbenchesAssetVulnerabilitiesParamsFilterSearchType

type WorkbenchesAssetVulnerabilitiesParamsFilterSearchType string

WorkbenchesAssetVulnerabilitiesParamsFilterSearchType defines parameters for WorkbenchesAssetVulnerabilities.

type WorkbenchesAssetVulnerabilitiesResponse

type WorkbenchesAssetVulnerabilitiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The total number of assets.
		TotalAssetCount *int `json:"total_asset_count,omitempty"`

		// The total number of discovered vulnerabilities.
		TotalVulnerabilityCount *int `json:"total_vulnerability_count,omitempty"`

		// A list of discovered vulnerabilities.
		Vulnerabilities *[]struct {
			// The number of times that a user in the user interface created an accept rule for this vulnerability. For more information, see <a href="https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Settings/AboutRecastRules.htm" target="_blank">Recast Rules</a> in the <i>Tenable.io Vulnerability Management User Guide</i>.
			AcceptedCount *int32 `json:"accepted_count,omitempty"`

			// The number of times that a scan detected the vulnerability on an asset.
			Count *int `json:"count,omitempty"`

			// The number of times that a scan detected the vulnerability on an asset, grouped by severity level.
			CountsBySeverity *[]struct {
				// The number of times that a scan detected the vulnerability on an asset while the vulnerability was assigned the specified severity level.
				Count *int32 `json:"count,omitempty"`

				// The severity level of the vulnerabilities in the group.
				Value *int `json:"value,omitempty"`
			} `json:"counts by severity,omitempty"`

			// The plugin's family.
			PluginFamily *string `json:"plugin_family,omitempty"`

			// The unique plugin ID.
			PluginId *int `json:"plugin_id,omitempty"`

			// The name of the plugin that detected the vulnerability.
			PluginName *string `json:"plugin_name,omitempty"`

			// The number of times that a user in the user interface created a recast rule for this vulnerability. For more information, see <a href="https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Settings/AboutRecastRules.htm" target="_blank">Recast Rules</a> in the <i>Tenable.io Vulnerability Management User Guide</i>.
			RecastedCount *int32 `json:"recasted_count,omitempty"`

			// The severity level of the vulnerability, as defined using the Common Vulnerability Scoring System (CVSS) base score. Possible values include:
			//  - 0—The vulnerability has a CVSS score of 0, which corresponds to the "info" severity level.
			//  - 1—The vulnerability has a CVSS score between 0.1 and 3.9, which corresponds to the "low" severity level.
			//  - 2—The vulnerability has a CVSS score between 4.0 and 6.9, which corresponds to the "medium" severity level.
			//  - 3—The vulnerability has a CVSS score between 7.0 and 9.9, which corresponds to the "high" severity level.
			//  - 4—The vulnerability has a CVSS score of 10.0, which corresponds to the "critical" severity level.
			Severity *int32 `json:"severity,omitempty"`

			// The Vulnerability Priority Rating (VPR) for the vulnerability. If a plugin is designed to detect multiple vulnerabilities, the VPR represents the highest value calculated for a vulnerability associated with the plugin. For more information, see <a href="https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/RiskMetrics.htm" target="_blank">Severity vs. VPR</a> in the <i>Tenable.io Vulnerability Management User Guide</i>.
			VprScore *float32 `json:"vpr_score,omitempty"`

			// The current state of the reported plugin. Possible states include:
			//  - Active—The vulnerability is currently present on an asset.
			//  - New—The vulnerability is active on an asset, and was first detected within the last 14 days.
			//  - Fixed—A subsequent scan detected that the formerly-active vulnerability is no longer present on an asset.
			//  - Resurfaced—The vulnerability was previously marked as fixed on an asset, but a subsequent scan detected the vulnerability on the asset again.
			VulnerabilityState *string `json:"vulnerability_state,omitempty"`
		} `json:"vulnerabilities,omitempty"`
	}
}

func ParseWorkbenchesAssetVulnerabilitiesResponse

func ParseWorkbenchesAssetVulnerabilitiesResponse(rsp *http.Response) (*WorkbenchesAssetVulnerabilitiesResponse, error)

ParseWorkbenchesAssetVulnerabilitiesResponse parses an HTTP response from a WorkbenchesAssetVulnerabilitiesWithResponse call

func (WorkbenchesAssetVulnerabilitiesResponse) Status

Status returns HTTPResponse.Status

func (WorkbenchesAssetVulnerabilitiesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkbenchesAssetVulnerabilityInfoParams

type WorkbenchesAssetVulnerabilityInfoParams struct {
	// The number of days of data prior to and including today that should be returned.
	DateRange *int32 `json:"date_range,omitempty"`

	// The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Filter *string `json:"filter.0.filter,omitempty"`

	// The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Quality *string `json:"filter.0.quality,omitempty"`

	// The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Value *string `json:"filter.0.value,omitempty"`

	// For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](doc:workbench-filters).
	FilterSearchType *WorkbenchesAssetVulnerabilityInfoParamsFilterSearchType `json:"filter.search_type,omitempty"`
}

WorkbenchesAssetVulnerabilityInfoParams defines parameters for WorkbenchesAssetVulnerabilityInfo.

type WorkbenchesAssetVulnerabilityInfoParamsFilterSearchType

type WorkbenchesAssetVulnerabilityInfoParamsFilterSearchType string

WorkbenchesAssetVulnerabilityInfoParamsFilterSearchType defines parameters for WorkbenchesAssetVulnerabilityInfo.

type WorkbenchesAssetVulnerabilityInfoResponse

type WorkbenchesAssetVulnerabilityInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Info *struct {
			// A count of the vulnerability occurrences.
			Count *int32 `json:"count,omitempty"`

			// The description of the vulnerability.
			Description *string `json:"description,omitempty"`
			Discovery   *struct {
				// The Unix timestamp of the scan that first detected the vulnerability on an asset.
				SeenFirst *string `json:"seen_first,omitempty"`

				// The Unix timestamp of the scan that most recently detected the vulnerability on an asset.
				SeenLast *string `json:"seen_last,omitempty"`
			} `json:"discovery,omitempty"`
			PluginDetails *struct {
				// The plugin family.
				Family *string `json:"family,omitempty"`

				// The ISO timestamp when Tenable last updated the plugin definition.
				ModificationDate *string `json:"modification_date,omitempty"`

				// The name of the plugin.
				Name *string `json:"name,omitempty"`

				// The ISO timestamp when Tenable first published the plugin definition.
				PublicationDate *string `json:"publication_date,omitempty"`

				// The severity level of the plugin.
				Severity *int32 `json:"severity,omitempty"`

				// The type of scan that uses the plugin, either a network scan (`remote`) or a credentialed scan (`local`).
				Type *string `json:"type,omitempty"`

				// The plugin version.
				Version *string `json:"version,omitempty"`
			} `json:"plugin_details,omitempty"`
			ReferenceInformation *[]struct {
				// The source of the reference information about the vulnerability. Possible values include:
				//  - bid—Bugtraq (Symantec Connect)
				//  - cert—CERT/CC Vulnerability Notes Database
				//  - cve—NIST National Vulnerability Database (NVD)
				//  - edb-id—The Exploit Database
				//  - iava—information assurance vulnerability alert
				//  - osvdb—Open Sourced Vulnerability Database
				Name *string `json:"name,omitempty"`

				// The URL of the source site, if available.
				Url *string `json:"url,omitempty"`

				// The unique identifier(s) for the vulnerability at the source.
				Values *[]string `json:"values,omitempty"`
			} `json:"reference_information,omitempty"`
			RiskInformation *struct {
				// The CVSSv3 base score (intrinsic and fundamental characteristics of a vulnerability that are constant over time and user environments).
				Cvss3BaseScore *string `json:"cvss3_base_score,omitempty"`

				// The CVSSv3 temporal score (characteristics of a vulnerability that change over time but not among user environments).
				Cvss3TemporalScore *string `json:"cvss3_temporal_score,omitempty"`

				// CVSSv3 temporal metrics for the vulnerability.
				Cvss3TemporalVector *string `json:"cvss3_temporal_vector,omitempty"`

				// The raw CVSSv3 metrics for the vulnerability. For more information, see CVSSv3 documentation.
				Cvss3Vector *string `json:"cvss3_vector,omitempty"`

				// The CVSSv2 base score (intrinsic and fundamental characteristics of a vulnerability that are constant over time and user environments).
				CvssBaseScore *string `json:"cvss_base_score,omitempty"`

				// The CVSSv2 temporal score (characteristics of a vulnerability that change over time but not among user environments).
				CvssTemporalScore *string `json:"cvss_temporal_score,omitempty"`

				// The raw CVSSv2 temporal metrics for the vulnerability.
				CvssTemporalVector *string `json:"cvss_temporal_vector,omitempty"`

				// The raw CVSSv2 metrics for the vulnerability. For more information, see CVSSv2 documentation.
				CvssVector *string `json:"cvss_vector,omitempty"`

				// The risk factor associated with the plugin. Possible values are: `Low`, `Medium`, `High`, or `Critical`. See the `risk_factor` attribute in [Tenable Plugin Attributes](doc:tenable-plugin-attributes).
				RiskFactor *string `json:"risk_factor,omitempty"`

				// Security Technical Implementation Guide (STIG) severity code for the vulnerability.
				StigSeverity *string `json:"stig_severity,omitempty"`
			} `json:"risk_information,omitempty"`

			// Links to external websites that contain helpful information about the vulnerability.
			SeeAlso *[]string `json:"see_also,omitempty"`

			// The severity level of the vulnerability.
			Severity *int `json:"severity,omitempty"`

			// Information on how to fix the vulnerability.
			Solution *string `json:"solution,omitempty"`

			// A brief summary of the vulnerability.
			Synopsis *string `json:"synopsis,omitempty"`

			// Information about the Vulnerability Priority Rating (VPR) for the vulnerability.
			Vpr *struct {
				// The key drivers Tenable uses to calculate a vulnerability's VPR. For more information, see <[Vulnerability Priority Rating Drivers](doc:vpr-drivers-tio).
				Drivers *map[string]interface{} `json:"drivers,omitempty"`

				// The Vulnerability Priority Rating (VPR) for the vulnerability. If a plugin is designed to detect multiple vulnerabilities, the VPR represents the highest value calculated for a vulnerability associated with the plugin. For more information, see <a href="https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/RiskMetrics.htm" target="_blank">Severity vs. VPR</a> in the <i>Tenable.io Vulnerability Management User Guide</i>.
				Score *float32 `json:"score,omitempty"`

				// The ISO timestamp when Tenable.io last imported the VPR for this vulnerability. Tenable.io imports a VPR value the first time you scan a vulnerability on your network. Then, Tenable.io automatically re-imports new and updated VPR values daily.
				Updated *string `json:"updated,omitempty"`
			} `json:"vpr,omitempty"`
			VulnCount                *int32 `json:"vuln_count,omitempty"`
			VulnerabilityInformation *struct {
				AssetInventory *string `json:"asset_inventory,omitempty"`

				// The Common Platform Enumeration (CPE) number for the plugin.
				Cpe            *string `json:"cpe,omitempty"`
				DefaultAccount *string `json:"default_account,omitempty"`

				// A value specifying whether a public exploit exists for the vulnerability.
				ExploitAvailable *bool `json:"exploit_available,omitempty"`

				// A list of exploit frameworks that have identified the vulnerability.
				ExploitFrameworks *[]struct {
					// A list of exploits associated with the vulnerability in the specified exploit framework.
					Exploits *[]struct {
						// The name of the identified exploit.
						Name *string `json:"name,omitempty"`

						// The URL for the exploit in the framework.
						Url *string `json:"url,omitempty"`
					} `json:"exploits,omitempty"`

					// The name of the exploit framework.
					Name *string `json:"name,omitempty"`
				} `json:"exploit_frameworks,omitempty"`

				// Description of how easy it is to exploit the issue.
				ExploitabilityEase *string `json:"exploitability_ease,omitempty"`

				// The vulnerability discovered by this plugin is known to be exploited by malware.
				ExploitedByMalware *bool `json:"exploited_by_malware,omitempty"`

				// A value specifying whether Nessus exploited the vulnerability during the process of identification.
				ExploitedByNessus *bool `json:"exploited_by_nessus,omitempty"`

				// A value specifying whether this plugin has received media attention (for example, ShellShock, Meltdown).
				InTheNews *bool   `json:"in_the_news,omitempty"`
				Malware   *string `json:"malware,omitempty"`

				// The ISO timestamp for date on which the vendor published a patch for the vulnerability.
				PatchPublicationDate *string `json:"patch_publication_date,omitempty"`

				// Software found by this plugin is unsupported by the software's vendor (for example, Windows 95 or Firefox 3).
				UnsupportedByVendor *bool `json:"unsupported_by_vendor,omitempty"`

				// The ISO timestamp for the first publication date of the plugin.
				VulnerabilityPublicationDate *string `json:"vulnerability_publication_date,omitempty"`
			} `json:"vulnerability_information,omitempty"`
		} `json:"info,omitempty"`
	}
}

func ParseWorkbenchesAssetVulnerabilityInfoResponse

func ParseWorkbenchesAssetVulnerabilityInfoResponse(rsp *http.Response) (*WorkbenchesAssetVulnerabilityInfoResponse, error)

ParseWorkbenchesAssetVulnerabilityInfoResponse parses an HTTP response from a WorkbenchesAssetVulnerabilityInfoWithResponse call

func (WorkbenchesAssetVulnerabilityInfoResponse) Status

Status returns HTTPResponse.Status

func (WorkbenchesAssetVulnerabilityInfoResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkbenchesAssetVulnerabilityOutputParams

type WorkbenchesAssetVulnerabilityOutputParams struct {
	// The number of days of data prior to and including today that should be returned.
	DateRange *int32 `json:"date_range,omitempty"`

	// The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Filter *string `json:"filter.0.filter,omitempty"`

	// The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Quality *string `json:"filter.0.quality,omitempty"`

	// The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Value *string `json:"filter.0.value,omitempty"`

	// For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](doc:workbench-filters).
	FilterSearchType *WorkbenchesAssetVulnerabilityOutputParamsFilterSearchType `json:"filter.search_type,omitempty"`
}

WorkbenchesAssetVulnerabilityOutputParams defines parameters for WorkbenchesAssetVulnerabilityOutput.

type WorkbenchesAssetVulnerabilityOutputParamsFilterSearchType

type WorkbenchesAssetVulnerabilityOutputParamsFilterSearchType string

WorkbenchesAssetVulnerabilityOutputParamsFilterSearchType defines parameters for WorkbenchesAssetVulnerabilityOutput.

type WorkbenchesAssetVulnerabilityOutputResponse

type WorkbenchesAssetVulnerabilityOutputResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A list of vulnerabilities discovered by the plugin.
		Outputs *[]struct {
			// The plugin's output about the vulnerability. May be an empty string.
			PluginOutput *string `json:"plugin_output,omitempty"`

			// Vulnerability state items.
			States *[]struct {
				// The current state of the reported plugin (Active, Fixed, New, etc.)
				Name    *string `json:"name,omitempty"`
				Results *[]struct {
					// The application protocol where this vulnerability was found.
					ApplicationProtocol *string `json:"application_protocol,omitempty"`

					// A list of assets where this output was found.
					Assets *[]struct {
						// Indicates when the asset was discovered by a scan.
						FirstSeen *time.Time `json:"first_seen,omitempty"`

						// The FQDN of the asset.
						Fqdn *string `json:"fqdn,omitempty"`

						// The host name of the asset.
						Hostname *string `json:"hostname,omitempty"`

						// The ID of the asset.
						Id *string `json:"id,omitempty"`

						// The IPV4 of the asset.
						Ipv4 *string `json:"ipv4,omitempty"`

						// Indicates when the asset was last observed by a scan.
						LastSeen *time.Time `json:"last_seen,omitempty"`

						// The NetBios name of the asset.
						NetbiosName *string `json:"netbios_name,omitempty"`

						// The UUID of the asset. Use this value as the unique key for the asset.
						Uuid *string `json:"uuid,omitempty"`
					} `json:"assets,omitempty"`

					// The port number where this vulnerability was found.
					Port *int `json:"port,omitempty"`

					// Integer [0-4] indicating how severe the vulnerability is, where 0 is info only.
					Severity *int `json:"severity,omitempty"`

					// The transportation protocol (TCP or UDP) where this vulnerability was found.
					TransportProtocol *string `json:"transport_protocol,omitempty"`
				} `json:"results,omitempty"`
			} `json:"states,omitempty"`
		} `json:"outputs,omitempty"`
	}
}

func ParseWorkbenchesAssetVulnerabilityOutputResponse

func ParseWorkbenchesAssetVulnerabilityOutputResponse(rsp *http.Response) (*WorkbenchesAssetVulnerabilityOutputResponse, error)

ParseWorkbenchesAssetVulnerabilityOutputResponse parses an HTTP response from a WorkbenchesAssetVulnerabilityOutputWithResponse call

func (WorkbenchesAssetVulnerabilityOutputResponse) Status

Status returns HTTPResponse.Status

func (WorkbenchesAssetVulnerabilityOutputResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkbenchesAssetsActivityResponse

type WorkbenchesAssetsActivityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Details *struct {
			// The UUID of the asset.
			AssetId *string `json:"assetId,omitempty"`

			// The UUID of your Tenable.io instance.
			ContainerId *string `json:"containerId,omitempty"`

			// The timestamp of the asset creation. The timestamp is reported in ISO 8601 format in UTC time.
			CreatedAt *int `json:"createdAt,omitempty"`

			// If deleted, the timestamp of asset deletion. The timestamp is reported in ISO 8601 format in UTC time.
			DeletedAt *int `json:"deletedAt,omitempty"`

			// The UUID of the user that deleted the asset.
			DeletedBy *string `json:"deletedBy,omitempty"`

			// The timestamp of the completion of the scan that discovered or observed the asset for the first time. The timestamp is reported in ISO 8601 format in UTC time.
			FirstScanTime *int `json:"firstScanTime,omitempty"`

			// Specifies whether the asset has an agent installed.
			HasAgent *bool `json:"hasAgent,omitempty"`

			// Specifies whether or not any plugin results match this asset.
			HasPluginResults *bool `json:"hasPluginResults,omitempty"`

			// The timestamp of the completion of the last authenticated scan of the asset. The timestamp is reported in ISO 8601 format in UTC time.
			LastAuthenticatedScanTime *int `json:"lastAuthenticatedScanTime,omitempty"`

			// The timestamp of the scan completion time when asset was last scanned and matched license v1 requirements. The timestamp is reported in ISO 8601 format in UTC time.
			LastLicensedScanTime *int `json:"lastLicensedScanTime,omitempty"`

			// The timestamp of the scan completion time when asset was last scanned and matched license v2 requirements. The timestamp is reported in ISO 8601 format in UTC time.
			LastLicensedScanTimeV2 *int `json:"lastLicensedScanTimeV2,omitempty"`

			// The timestamp of the completion of the last asset scan. The timestamp is reported in ISO 8601 format in UTC time.
			LastScanTime *int `json:"lastScanTime,omitempty"`

			// Additional asset attributes. For attribute definitions, see [Common Asset Attributes](doc:common-asset-attributes).
			Properties *map[string]interface{} `json:"properties,omitempty"`

			// An array of source objects representing the entity that logged the event.
			Sources *[]struct {
				// The ISO timestamp when the source first reported the asset.
				FirstSeen *string `json:"firstSeen,omitempty"`

				// The ISO timestamp when the source last reported the asset.
				LastSeen *string `json:"lastSeen,omitempty"`

				// The name of the entity that reported the asset details. Sources can include sensors, connectors, and API imports. Source names can be customized by your organization (for example, you specify a name when you import asset records). If your organization does not customize source names, system-generated names include:
				//  - AWS—You obtained the asset data from an Amazon Web Services connector.
				//  - NESSUS_AGENT—You obtained the asset data obtained from a Nessus agent scan.
				//  - PVS—You obtained the asset data from a Nessus Network Monitor (NNM) scan.
				//  - NESSUS_SCAN—You obtained the asset data from a Nessus scan.
				//  - WAS—You obtained the asset data from a  Web Application Scanning scan.
				Name *string `json:"name,omitempty"`
			} `json:"sources,omitempty"`

			// If terminated, the timestamp of asset termination. The timestamp is reported in ISO 8601 format in UTC time.
			TerminatedAt *int `json:"terminatedAt,omitempty"`

			// The UUID of the user that terminated the asset.
			TerminatedBy *string `json:"terminatedBy,omitempty"`

			// The timestamp of the asset update time. The timestamp is reported in ISO 8601 format in UTC time.
			UpdatedAt *int `json:"updatedAt,omitempty"`
		} `json:"details,omitempty"`

		// The UUID of the scan that logged the event.
		ScanId *string `json:"scan_id,omitempty"`

		// The ID of the scheduled scan associated with the event.
		ScheduleId *string `json:"schedule_id,omitempty"`

		// The entity that logged the event, for example, NESSUS_AGENT, NESSUS_AGENT, PVS, or WAS.
		Source *string `json:"source,omitempty"`

		// The timestamp of the event. The timestamp is reported in ISO 8601 format in UTC time.
		Timestamp *int `json:"timestamp,omitempty"`

		// Event type:
		//  - discovered—Asset created (for example, by a network scan or import).
		//  - seen—Asset observed by a network scan without any changes to its attributes.
		//  - tagging—Tag added to or removed from asset.
		//  - attribute_change—A scan identified new or changed attributes for the asset (for example, new software applications installed on the asset).
		//  - updated—Asset updated either manually by a user or automatically by a new scan.
		Type *string `json:"type,omitempty"`

		// (attribute_change entries only) A list of updates to the asset's attributes.
		Updates *[]struct {
			// The update method. Possible values include:
			//  - add—A scan identified a new software application installed on the asset.
			//  - remove—Tenable.io identified the specified application as expired and removed it from the installed_software attribute of the asset. Tenable.io considers an application detection expired if no scan detects the application within 30 days of the scan that originally detected the application.
			Method *string `json:"method,omitempty"`

			// The name of the updated attribute.
			Property *string `json:"property,omitempty"`

			// The updated value of the attribute.
			Value *string `json:"value,omitempty"`
		} `json:"updates,omitempty"`
	}
}

func ParseWorkbenchesAssetsActivityResponse

func ParseWorkbenchesAssetsActivityResponse(rsp *http.Response) (*WorkbenchesAssetsActivityResponse, error)

ParseWorkbenchesAssetsActivityResponse parses an HTTP response from a WorkbenchesAssetsActivityWithResponse call

func (WorkbenchesAssetsActivityResponse) Status

Status returns HTTPResponse.Status

func (WorkbenchesAssetsActivityResponse) StatusCode

func (r WorkbenchesAssetsActivityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkbenchesAssetsDeleteResponse

type WorkbenchesAssetsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *interface{}
}

func ParseWorkbenchesAssetsDeleteResponse

func ParseWorkbenchesAssetsDeleteResponse(rsp *http.Response) (*WorkbenchesAssetsDeleteResponse, error)

ParseWorkbenchesAssetsDeleteResponse parses an HTTP response from a WorkbenchesAssetsDeleteWithResponse call

func (WorkbenchesAssetsDeleteResponse) Status

Status returns HTTPResponse.Status

func (WorkbenchesAssetsDeleteResponse) StatusCode

func (r WorkbenchesAssetsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkbenchesAssetsParams

type WorkbenchesAssetsParams struct {
	// The number of days of data prior to and including today that should be returned.
	DateRange *int32 `json:"date_range,omitempty"`

	// The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. If you specify the name of the filter, you must specify the operator as the filter.0.quality parameter and the value as the filter.0.value parameter. To use multiple filters, increment the `<INDEX>` portion of `filter.<INDEX>.filter`, for example, `filter.0.filter`. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Filter *string `json:"filter.0.filter,omitempty"`

	// The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Quality *string `json:"filter.0.quality,omitempty"`

	// The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	//
	//  **Note:** The value is case sensitive when used with the `match` (contains) or `nmatch` (does not contain) operators.
	Filter0Value *string `json:"filter.0.value,omitempty"`

	// For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](doc:workbench-filters).
	FilterSearchType *WorkbenchesAssetsParamsFilterSearchType `json:"filter.search_type,omitempty"`

	// A value specifying whether you want the returned data to include all fields (`full`) or only the default fields (`default`). The schema for this endpoint defines the `default` fields only. For a definition of the `full` fields, see [Common Asset Attributes](doc:common-asset-attributes).
	AllFields *string `json:"all_fields,omitempty"`
}

WorkbenchesAssetsParams defines parameters for WorkbenchesAssets.

type WorkbenchesAssetsParamsFilterSearchType

type WorkbenchesAssetsParamsFilterSearchType string

WorkbenchesAssetsParamsFilterSearchType defines parameters for WorkbenchesAssets.

type WorkbenchesAssetsResponse

type WorkbenchesAssetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// An array of asset objects.
		Assets *[]struct {
			// The key drivers that Tenable uses to calculate an asset's Tenable-provided ACR. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
			//
			// This attribute is only present if you have a Lumin license.
			AcrDrivers *[]struct {
				// The type of characteristic.
				DriverName *string `json:"driver_name,omitempty"`

				// The characteristic value.
				DriverValue *[]string `json:"driver_value,omitempty"`
			} `json:"acr_drivers,omitempty"`

			// The Asset Criticality Rating (ACR) for the asset. Tenable assigns an ACR to each asset on your network to represent the asset's relative risk as an integer from 1 to 10. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
			//
			// This attribute is only present if you have a Lumin license.
			AcrScore *int `json:"acr_score,omitempty"`

			// The names of any Nessus agents that scanned and identified the asset.
			AgentName *[]string `json:"agent_name,omitempty"`

			// The name of the virtual machine instance in AWS EC2.
			AwsEc2Name *[]string `json:"aws_ec2_name,omitempty"`

			// The unique identifier of the asset in HCL BigFix. For more information, see the HCL BigFix documentation.
			BigfixAssetId *[]string `json:"bigfix_asset_id,omitempty"`

			// The Asset Exposure Score (AES) for the asset. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
			//
			// This attribute is only present if you have a Lumin license.
			ExposureScore *int `json:"exposure_score,omitempty"`

			// A list of fully-qualified domain names (FQDNs) for the asset.
			Fqdn *[]string `json:"fqdn,omitempty"`

			// A value specifying whether a Nessus agent scan detected the asset (`true`).
			HasAgent *bool `json:"has_agent,omitempty"`

			// The UUID of the asset.
			Id *string `json:"id,omitempty"`

			// A list of ipv4 addresses for the asset.
			Ipv4 *[]string `json:"ipv4,omitempty"`

			// A list of ipv6 addresses for the asset.
			Ipv6 *[]string `json:"ipv6,omitempty"`

			// The IPv4 address, IPv6 address, or FQDN that the scanner last used to evaluate the asset.
			LastScanTarget *string `json:"last_scan_target,omitempty"`

			// The ISO timestamp of the scan that most recently detected the asset.
			LastSeen *string `json:"last_seen,omitempty"`

			// A list of MAC addresses for the asset.
			MacAddress *[]string `json:"mac_address,omitempty"`

			// The NetBIOS name for the asset.
			NetbiosName *[]string `json:"netbios_name,omitempty"`

			// The operating system installed on the asset.
			OperatingSystem *[]string `json:"operating_system,omitempty"`

			// Information about how often scans ran against the asset during specified intervals. For more information, see [Lumin Metrics](https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.
			//
			// This attribute is only present if you have a Lumin license.
			ScanFrequency *[]struct {
				// The number of times that a scan ran against the asset during the specified interval.
				Frequency *int `json:"frequency,omitempty"`

				// The number of days over which Tenable searches for scans involving the asset.
				Interval *int `json:"interval,omitempty"`

				// Indicates whether the asset was licensed at the time of the identified scans.
				Licensed *bool `json:"licensed,omitempty"`
			} `json:"scan_frequency,omitempty"`

			// A list of sources for the asset record.
			Sources *[]struct {
				// The ISO timestamp when the source first reported the asset.
				FirstSeen *string `json:"first_seen,omitempty"`

				// The ISO timestamp when the source last reported the asset.
				LastSeen *string `json:"last_seen,omitempty"`

				// The name of the entity that reported the asset details. Sources can include sensors, connectors, and API imports. Source names can be customized by your organization (for example, you specify a name when you import asset records). If your organization does not customize source names, system-generated names include:
				//  - AWS—You obtained the asset data from an Amazon Web Services connector.
				//  - NESSUS_AGENT—You obtained the asset data obtained from a Nessus agent scan.
				//  - PVS—You obtained the asset data from a Nessus Network Monitor (NNM) scan.
				//  - NESSUS_SCAN—You obtained the asset data from a Nessus scan.
				//  - WAS—You obtained the asset data from a  Web Application Scanning scan.
				Name *string `json:"name,omitempty"`
			} `json:"sources,omitempty"`
		} `json:"assets,omitempty"`

		// The total count of returned assets.
		Total *int `json:"total,omitempty"`
	}
}

func ParseWorkbenchesAssetsResponse

func ParseWorkbenchesAssetsResponse(rsp *http.Response) (*WorkbenchesAssetsResponse, error)

ParseWorkbenchesAssetsResponse parses an HTTP response from a WorkbenchesAssetsWithResponse call

func (WorkbenchesAssetsResponse) Status

func (r WorkbenchesAssetsResponse) Status() string

Status returns HTTPResponse.Status

func (WorkbenchesAssetsResponse) StatusCode

func (r WorkbenchesAssetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkbenchesAssetsVulnerabilitiesParams

type WorkbenchesAssetsVulnerabilitiesParams struct {
	// The number of days of data prior to and including today that should be returned.
	DateRange *int32 `json:"date_range,omitempty"`

	// The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Filter *string `json:"filter.0.filter,omitempty"`

	// The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint.For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Quality *string `json:"filter.0.quality,omitempty"`

	// The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Value *string `json:"filter.0.value,omitempty"`

	// For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](doc:workbench-filters).
	FilterSearchType *WorkbenchesAssetsVulnerabilitiesParamsFilterSearchType `json:"filter.search_type,omitempty"`
}

WorkbenchesAssetsVulnerabilitiesParams defines parameters for WorkbenchesAssetsVulnerabilities.

type WorkbenchesAssetsVulnerabilitiesParamsFilterSearchType

type WorkbenchesAssetsVulnerabilitiesParamsFilterSearchType string

WorkbenchesAssetsVulnerabilitiesParamsFilterSearchType defines parameters for WorkbenchesAssetsVulnerabilities.

type WorkbenchesAssetsVulnerabilitiesResponse

type WorkbenchesAssetsVulnerabilitiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// The names of any Nessus agents that scanned and identified the asset.
		AgentName *[]string `json:"agent_name,omitempty"`

		// A list of fully-qualified domain names (FQDNs) for the asset.
		Fqdn *[]string `json:"fqdn,omitempty"`

		// The UUID of the asset.
		Id *string `json:"id,omitempty"`

		// A list of ipv4 addresses for the asset.
		Ipv4 *[]string `json:"ipv4,omitempty"`

		// A list of ipv6 addresses for the asset.
		Ipv6 *[]string `json:"ipv6,omitempty"`

		// The ISO timestamp of the scan that most recently detected the asset.
		LastSeen *string `json:"last_seen,omitempty"`

		// The NetBIOS name for the asset.
		NetbiosName *[]string `json:"netbios_name,omitempty"`

		// A count of vulnerabilities by severity.
		Severities *[]struct {
			// The number of vulnerabilities with the specified severity.
			Count *int `json:"count,omitempty"`

			// The code for the severity. Possible values include:
			//  - 0—The vulnerability has a CVSS score of 0, which corresponds to the "info" severity level.
			//  - 1—The vulnerability has a CVSS score between 0.1 and 3.9, which corresponds to the "low" severity level.
			//  - 2—The vulnerability has a CVSS score between 4.0 and 6.9, which corresponds to the "medium" severity level.
			//  - 3—The vulnerability has a CVSS score between 7.0 and 9.9, which corresponds to the "high" severity level.
			//  - 4—The vulnerability has a CVSS score of 10.0, which corresponds to the "critical" severity level.
			Level *int `json:"level,omitempty"`

			// The severity of the vulnerability as defined using the Common Vulnerability Scoring System (CVSS) base score. Possible values include `info` (CVSS score of 0), `low` (CVSS score between 0.1 and 3.9), `medium` (CVSS score between 4.0 and 6.9), `high` (CVSS score between 7.0 and 9.9), and `critical` (CVSS score of 10.0).
			Name *string `json:"name,omitempty"`
		} `json:"severities,omitempty"`

		// The total number of vulnerabilities detected on the asset.
		Total *int `json:"total,omitempty"`
	}
}

func ParseWorkbenchesAssetsVulnerabilitiesResponse

func ParseWorkbenchesAssetsVulnerabilitiesResponse(rsp *http.Response) (*WorkbenchesAssetsVulnerabilitiesResponse, error)

ParseWorkbenchesAssetsVulnerabilitiesResponse parses an HTTP response from a WorkbenchesAssetsVulnerabilitiesWithResponse call

func (WorkbenchesAssetsVulnerabilitiesResponse) Status

Status returns HTTPResponse.Status

func (WorkbenchesAssetsVulnerabilitiesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkbenchesExportDownloadResponse

type WorkbenchesExportDownloadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseWorkbenchesExportDownloadResponse

func ParseWorkbenchesExportDownloadResponse(rsp *http.Response) (*WorkbenchesExportDownloadResponse, error)

ParseWorkbenchesExportDownloadResponse parses an HTTP response from a WorkbenchesExportDownloadWithResponse call

func (WorkbenchesExportDownloadResponse) Status

Status returns HTTPResponse.Status

func (WorkbenchesExportDownloadResponse) StatusCode

func (r WorkbenchesExportDownloadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkbenchesExportRequestParams

type WorkbenchesExportRequestParams struct {
	// The file format to use (Nessus, HTML, PDF, or CSV).
	//
	// **Note:** Tag-based filters are supported for the `CSV` file format type only.
	Format WorkbenchesExportRequestParamsFormat `json:"format"`

	// The type of workbench report to be exported
	Report WorkbenchesExportRequestParamsReport `json:"report"`

	// The date (in unixtime) at which the exported results should begin to be included. Defaults to today.
	StartDate *int32 `json:"start_date,omitempty"`

	// Semicolon-separated list of chapters to include for vulnerabilities/hosts reports (vuln\_by\_plugin, vuln\_by\_asset, vuln\_hosts\_summary) or a single chapter for Executive Summary (exec\_summary). Currently, only vuln\_by\_asset is supported for .nessus workbench exports.
	Chapter string `json:"chapter"`

	// The number of days of data prior to and including start\_date that should be returned. If not specified, data for all dates is returned.
	DateRange *int32 `json:"date_range,omitempty"`

	// The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Filter *string `json:"filter.0.filter,omitempty"`

	// The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Quality *string `json:"filter.0.quality,omitempty"`

	// The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/assets](ref:io-filters-assets-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Value *string `json:"filter.0.value,omitempty"`

	// For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](doc:workbench-filters).
	FilterSearchType *WorkbenchesExportRequestParamsFilterSearchType `json:"filter.search_type,omitempty"`

	// When `true`, Tenable.io returns only a minimal subset of scan details for each result, excluding plugin attributes. In this case, only plugin\_output and vulnerability\_state fields are always returned; first\_found, last\_found and last\_fixed are also returned if possible.
	MinimumVulnInfo *WorkbenchesExportRequestParamsMinimumVulnInfo `json:"minimum_vuln_info,omitempty"`

	// A plugin ID. Restricts the export data to vulnerabilities that only the specified plugin detects.
	PluginId *int32 `json:"plugin_id,omitempty"`

	// The UUID of an asset. Restricts the export data to findings on the specified asset only.
	AssetId *string `json:"asset_id,omitempty"`
}

WorkbenchesExportRequestParams defines parameters for WorkbenchesExportRequest.

type WorkbenchesExportRequestParamsFilterSearchType

type WorkbenchesExportRequestParamsFilterSearchType string

WorkbenchesExportRequestParamsFilterSearchType defines parameters for WorkbenchesExportRequest.

type WorkbenchesExportRequestParamsFormat

type WorkbenchesExportRequestParamsFormat string

WorkbenchesExportRequestParamsFormat defines parameters for WorkbenchesExportRequest.

type WorkbenchesExportRequestParamsMinimumVulnInfo

type WorkbenchesExportRequestParamsMinimumVulnInfo bool

WorkbenchesExportRequestParamsMinimumVulnInfo defines parameters for WorkbenchesExportRequest.

type WorkbenchesExportRequestParamsReport

type WorkbenchesExportRequestParamsReport string

WorkbenchesExportRequestParamsReport defines parameters for WorkbenchesExportRequest.

type WorkbenchesExportRequestResponse

type WorkbenchesExportRequestResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The ID of the generated file.
		File *int `json:"file,omitempty"`
	}
	JSON400 *struct {
		// Standard HTTP error name, or a brief message about the cause of the error.
		Error *string `json:"error,omitempty"`
	}
}

func ParseWorkbenchesExportRequestResponse

func ParseWorkbenchesExportRequestResponse(rsp *http.Response) (*WorkbenchesExportRequestResponse, error)

ParseWorkbenchesExportRequestResponse parses an HTTP response from a WorkbenchesExportRequestWithResponse call

func (WorkbenchesExportRequestResponse) Status

Status returns HTTPResponse.Status

func (WorkbenchesExportRequestResponse) StatusCode

func (r WorkbenchesExportRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkbenchesExportStatusResponse

type WorkbenchesExportStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The number of already processed items.
		Progress *string `json:"progress,omitempty"`

		// The total number of items included in export.
		ProgressTotal *string `json:"progress_total,omitempty"`

		// The export processing status, for example, READY or LOADING.
		Status *string `json:"status,omitempty"`
	}
}

func ParseWorkbenchesExportStatusResponse

func ParseWorkbenchesExportStatusResponse(rsp *http.Response) (*WorkbenchesExportStatusResponse, error)

ParseWorkbenchesExportStatusResponse parses an HTTP response from a WorkbenchesExportStatusWithResponse call

func (WorkbenchesExportStatusResponse) Status

Status returns HTTPResponse.Status

func (WorkbenchesExportStatusResponse) StatusCode

func (r WorkbenchesExportStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkbenchesInterface

type WorkbenchesInterface interface {
	AssetInfo(arg1 string, params *WorkbenchesAssetInfoParams, reqEditors ...RequestEditorFn) (*struct {
		Info *struct {
			AcrDrivers *[]struct {
				DriverName  *string   "json:\"driver_name,omitempty\""
				DriverValue *[]string "json:\"driver_value,omitempty\""
			} "json:\"acr_drivers,omitempty\""
			AcrScore                  *int                    "json:\"acr_score,omitempty\""
			AgentName                 *[]string               "json:\"agent_name,omitempty\""
			AwsAvailabilityZone       *[]string               "json:\"aws_availability_zone,omitempty\""
			AwsEc2InstanceAmiId       *[]string               "json:\"aws_ec2_instance_ami_id,omitempty\""
			AwsEc2InstanceGroupName   *[]string               "json:\"aws_ec2_instance_group_name,omitempty\""
			AwsEc2InstanceId          *[]string               "json:\"aws_ec2_instance_id,omitempty\""
			AwsEc2InstanceStateName   *[]string               "json:\"aws_ec2_instance_state_name,omitempty\""
			AwsEc2InstanceType        *[]string               "json:\"aws_ec2_instance_type,omitempty\""
			AwsEc2Name                *[]string               "json:\"aws_ec2_name,omitempty\""
			AwsEc2ProductCode         *[]string               "json:\"aws_ec2_product_code,omitempty\""
			AwsOwnerId                *[]string               "json:\"aws_owner_id,omitempty\""
			AwsRegion                 *[]string               "json:\"aws_region,omitempty\""
			AwsSubnetId               *[]string               "json:\"aws_subnet_id,omitempty\""
			AwsVpcId                  *[]string               "json:\"aws_vpc_id,omitempty\""
			AzureResourceId           *[]string               "json:\"azure_resource_id,omitempty\""
			AzureVmId                 *[]string               "json:\"azure_vm_id,omitempty\""
			BiosUuid                  *[]string               "json:\"bios_uuid,omitempty\""
			Counts                    *map[string]interface{} "json:\"counts,omitempty\""
			CreatedAt                 *string                 "json:\"created_at,omitempty\""
			ExposureScore             *int                    "json:\"exposure_score,omitempty\""
			FirstSeen                 *string                 "json:\"first_seen,omitempty\""
			Fqdn                      *[]string               "json:\"fqdn,omitempty\""
			GcpInstanceId             *[]string               "json:\"gcp_instance_id,omitempty\""
			GcpProjectId              *[]string               "json:\"gcp_project_id,omitempty\""
			GcpZone                   *[]string               "json:\"gcp_zone,omitempty\""
			HasAgent                  *bool                   "json:\"has_agent,omitempty\""
			Hostname                  *[]string               "json:\"hostname,omitempty\""
			Id                        *string                 "json:\"id,omitempty\""
			InstalledSoftware         *[]string               "json:\"installed_software,omitempty\""
			Ipv4                      *[]string               "json:\"ipv4,omitempty\""
			Ipv6                      *[]string               "json:\"ipv6,omitempty\""
			LastAuthenticatedScanDate *string                 "json:\"last_authenticated_scan_date,omitempty\""
			LastLicensedScanDate      *string                 "json:\"last_licensed_scan_date,omitempty\""
			LastScanTarget            *string                 "json:\"last_scan_target,omitempty\""
			LastSeen                  *string                 "json:\"last_seen,omitempty\""
			MacAddress                *[]string               "json:\"mac_address,omitempty\""
			McafeeEpoAgentGuid        *[]string               "json:\"mcafee_epo_agent_guid,omitempty\""
			McafeeEpoGuid             *[]string               "json:\"mcafee_epo_guid,omitempty\""
			NetbiosName               *[]string               "json:\"netbios_name,omitempty\""
			OperatingSystem           *[]string               "json:\"operating_system,omitempty\""
			QualysAssetId             *[]string               "json:\"qualys_asset_id,omitempty\""
			QualysHostId              *[]string               "json:\"qualys_host_id,omitempty\""
			ScanFrequency             *[]struct {
				Frequency *int  "json:\"frequency,omitempty\""
				Interval  *int  "json:\"interval,omitempty\""
				Licensed  *bool "json:\"licensed,omitempty\""
			} "json:\"scan_frequency,omitempty\""
			ServicenowSysid *[]string "json:\"servicenow_sysid,omitempty\""
			Sources         *[]struct {
				FirstSeen *string "json:\"first_seen,omitempty\""
				LastSeen  *string "json:\"last_seen,omitempty\""
				Name      *string "json:\"name,omitempty\""
			} "json:\"sources,omitempty\""
			SshFingerprint *[]string "json:\"ssh_fingerprint,omitempty\""
			SystemType     *[]string "json:\"system_type,omitempty\""
			Tags           *[]struct {
				AddedAt  *string "json:\"added_at,omitempty\""
				AddedBy  *string "json:\"added_by,omitempty\""
				Source   *string "json:\"source,omitempty\""
				TagKey   *string "json:\"tag_key,omitempty\""
				TagUuid  *string "json:\"tag_uuid,omitempty\""
				TagValue *string "json:\"tag_value,omitempty\""
			} "json:\"tags,omitempty\""
			TenableUuid *[]string "json:\"tenable_uuid,omitempty\""
			TimeEnd     *string   "json:\"time_end,omitempty\""
			TimeStart   *string   "json:\"time_start,omitempty\""
			UpdatedAt   *string   "json:\"updated_at,omitempty\""
			Uuid        *string   "json:\"uuid,omitempty\""
		} "json:\"info,omitempty\""
	}, error)
	AssetVulnerabilities(arg1 string, params *WorkbenchesAssetVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*struct {
		TotalAssetCount         *int "json:\"total_asset_count,omitempty\""
		TotalVulnerabilityCount *int "json:\"total_vulnerability_count,omitempty\""
		Vulnerabilities         *[]struct {
			AcceptedCount    *int32 "json:\"accepted_count,omitempty\""
			Count            *int   "json:\"count,omitempty\""
			CountsBySeverity *[]struct {
				Count *int32 "json:\"count,omitempty\""
				Value *int   "json:\"value,omitempty\""
			} "json:\"counts by severity,omitempty\""
			PluginFamily       *string  "json:\"plugin_family,omitempty\""
			PluginId           *int     "json:\"plugin_id,omitempty\""
			PluginName         *string  "json:\"plugin_name,omitempty\""
			RecastedCount      *int32   "json:\"recasted_count,omitempty\""
			Severity           *int32   "json:\"severity,omitempty\""
			VprScore           *float32 "json:\"vpr_score,omitempty\""
			VulnerabilityState *string  "json:\"vulnerability_state,omitempty\""
		} "json:\"vulnerabilities,omitempty\""
	}, error)
	AssetVulnerabilityInfo(arg1 string, arg2 int32, params *WorkbenchesAssetVulnerabilityInfoParams, reqEditors ...RequestEditorFn) (*struct {
		Info *struct {
			Count       *int32  "json:\"count,omitempty\""
			Description *string "json:\"description,omitempty\""
			Discovery   *struct {
				SeenFirst *string "json:\"seen_first,omitempty\""
				SeenLast  *string "json:\"seen_last,omitempty\""
			} "json:\"discovery,omitempty\""
			PluginDetails *struct {
				Family           *string "json:\"family,omitempty\""
				ModificationDate *string "json:\"modification_date,omitempty\""
				Name             *string "json:\"name,omitempty\""
				PublicationDate  *string "json:\"publication_date,omitempty\""
				Severity         *int32  "json:\"severity,omitempty\""
				Type             *string "json:\"type,omitempty\""
				Version          *string "json:\"version,omitempty\""
			} "json:\"plugin_details,omitempty\""
			ReferenceInformation *[]struct {
				Name   *string   "json:\"name,omitempty\""
				Url    *string   "json:\"url,omitempty\""
				Values *[]string "json:\"values,omitempty\""
			} "json:\"reference_information,omitempty\""
			RiskInformation *struct {
				Cvss3BaseScore      *string "json:\"cvss3_base_score,omitempty\""
				Cvss3TemporalScore  *string "json:\"cvss3_temporal_score,omitempty\""
				Cvss3TemporalVector *string "json:\"cvss3_temporal_vector,omitempty\""
				Cvss3Vector         *string "json:\"cvss3_vector,omitempty\""
				CvssBaseScore       *string "json:\"cvss_base_score,omitempty\""
				CvssTemporalScore   *string "json:\"cvss_temporal_score,omitempty\""
				CvssTemporalVector  *string "json:\"cvss_temporal_vector,omitempty\""
				CvssVector          *string "json:\"cvss_vector,omitempty\""
				RiskFactor          *string "json:\"risk_factor,omitempty\""
				StigSeverity        *string "json:\"stig_severity,omitempty\""
			} "json:\"risk_information,omitempty\""
			SeeAlso  *[]string "json:\"see_also,omitempty\""
			Severity *int      "json:\"severity,omitempty\""
			Solution *string   "json:\"solution,omitempty\""
			Synopsis *string   "json:\"synopsis,omitempty\""
			Vpr      *struct {
				Drivers *map[string]interface{} "json:\"drivers,omitempty\""
				Score   *float32                "json:\"score,omitempty\""
				Updated *string                 "json:\"updated,omitempty\""
			} "json:\"vpr,omitempty\""
			VulnCount                *int32 "json:\"vuln_count,omitempty\""
			VulnerabilityInformation *struct {
				AssetInventory    *string "json:\"asset_inventory,omitempty\""
				Cpe               *string "json:\"cpe,omitempty\""
				DefaultAccount    *string "json:\"default_account,omitempty\""
				ExploitAvailable  *bool   "json:\"exploit_available,omitempty\""
				ExploitFrameworks *[]struct {
					Exploits *[]struct {
						Name *string "json:\"name,omitempty\""
						Url  *string "json:\"url,omitempty\""
					} "json:\"exploits,omitempty\""
					Name *string "json:\"name,omitempty\""
				} "json:\"exploit_frameworks,omitempty\""
				ExploitabilityEase           *string "json:\"exploitability_ease,omitempty\""
				ExploitedByMalware           *bool   "json:\"exploited_by_malware,omitempty\""
				ExploitedByNessus            *bool   "json:\"exploited_by_nessus,omitempty\""
				InTheNews                    *bool   "json:\"in_the_news,omitempty\""
				Malware                      *string "json:\"malware,omitempty\""
				PatchPublicationDate         *string "json:\"patch_publication_date,omitempty\""
				UnsupportedByVendor          *bool   "json:\"unsupported_by_vendor,omitempty\""
				VulnerabilityPublicationDate *string "json:\"vulnerability_publication_date,omitempty\""
			} "json:\"vulnerability_information,omitempty\""
		} "json:\"info,omitempty\""
	}, error)
	AssetVulnerabilityOutput(arg1 string, arg2 int32, params *WorkbenchesAssetVulnerabilityOutputParams, reqEditors ...RequestEditorFn) (*struct {
		Outputs *[]struct {
			PluginOutput *string "json:\"plugin_output,omitempty\""
			States       *[]struct {
				Name    *string "json:\"name,omitempty\""
				Results *[]struct {
					ApplicationProtocol *string "json:\"application_protocol,omitempty\""
					Assets              *[]struct {
						FirstSeen   *time.Time "json:\"first_seen,omitempty\""
						Fqdn        *string    "json:\"fqdn,omitempty\""
						Hostname    *string    "json:\"hostname,omitempty\""
						Id          *string    "json:\"id,omitempty\""
						Ipv4        *string    "json:\"ipv4,omitempty\""
						LastSeen    *time.Time "json:\"last_seen,omitempty\""
						NetbiosName *string    "json:\"netbios_name,omitempty\""
						Uuid        *string    "json:\"uuid,omitempty\""
					} "json:\"assets,omitempty\""
					Port              *int    "json:\"port,omitempty\""
					Severity          *int    "json:\"severity,omitempty\""
					TransportProtocol *string "json:\"transport_protocol,omitempty\""
				} "json:\"results,omitempty\""
			} "json:\"states,omitempty\""
		} "json:\"outputs,omitempty\""
	}, error)
	AssetsActivity(contentType string, reqEditors ...RequestEditorFn) (*[]struct {
		Details *struct {
			AssetId                   *string                 "json:\"assetId,omitempty\""
			ContainerId               *string                 "json:\"containerId,omitempty\""
			CreatedAt                 *int                    "json:\"createdAt,omitempty\""
			DeletedAt                 *int                    "json:\"deletedAt,omitempty\""
			DeletedBy                 *string                 "json:\"deletedBy,omitempty\""
			FirstScanTime             *int                    "json:\"firstScanTime,omitempty\""
			HasAgent                  *bool                   "json:\"hasAgent,omitempty\""
			HasPluginResults          *bool                   "json:\"hasPluginResults,omitempty\""
			LastAuthenticatedScanTime *int                    "json:\"lastAuthenticatedScanTime,omitempty\""
			LastLicensedScanTime      *int                    "json:\"lastLicensedScanTime,omitempty\""
			LastLicensedScanTimeV2    *int                    "json:\"lastLicensedScanTimeV2,omitempty\""
			LastScanTime              *int                    "json:\"lastScanTime,omitempty\""
			Properties                *map[string]interface{} "json:\"properties,omitempty\""
			Sources                   *[]struct {
				FirstSeen *string "json:\"firstSeen,omitempty\""
				LastSeen  *string "json:\"lastSeen,omitempty\""
				Name      *string "json:\"name,omitempty\""
			} "json:\"sources,omitempty\""
			TerminatedAt *int    "json:\"terminatedAt,omitempty\""
			TerminatedBy *string "json:\"terminatedBy,omitempty\""
			UpdatedAt    *int    "json:\"updatedAt,omitempty\""
		} "json:\"details,omitempty\""
		ScanId     *string "json:\"scan_id,omitempty\""
		ScheduleId *string "json:\"schedule_id,omitempty\""
		Source     *string "json:\"source,omitempty\""
		Timestamp  *int    "json:\"timestamp,omitempty\""
		Type       *string "json:\"type,omitempty\""
		Updates    *[]struct {
			Method   *string "json:\"method,omitempty\""
			Property *string "json:\"property,omitempty\""
			Value    *string "json:\"value,omitempty\""
		} "json:\"updates,omitempty\""
	}, error)
	AssetsDelete(contentType string, reqEditors ...RequestEditorFn) (*WorkbenchesAssetsDeleteResponse, error)
	AssetsVulnerabilities(params *WorkbenchesAssetsVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*[]struct {
		AgentName   *[]string "json:\"agent_name,omitempty\""
		Fqdn        *[]string "json:\"fqdn,omitempty\""
		Id          *string   "json:\"id,omitempty\""
		Ipv4        *[]string "json:\"ipv4,omitempty\""
		Ipv6        *[]string "json:\"ipv6,omitempty\""
		LastSeen    *string   "json:\"last_seen,omitempty\""
		NetbiosName *[]string "json:\"netbios_name,omitempty\""
		Severities  *[]struct {
			Count *int    "json:\"count,omitempty\""
			Level *int    "json:\"level,omitempty\""
			Name  *string "json:\"name,omitempty\""
		} "json:\"severities,omitempty\""
		Total *int "json:\"total,omitempty\""
	}, error)
	Assets(params *WorkbenchesAssetsParams, reqEditors ...RequestEditorFn) (*struct {
		Assets *[]struct {
			AcrDrivers *[]struct {
				DriverName  *string   "json:\"driver_name,omitempty\""
				DriverValue *[]string "json:\"driver_value,omitempty\""
			} "json:\"acr_drivers,omitempty\""
			AcrScore        *int      "json:\"acr_score,omitempty\""
			AgentName       *[]string "json:\"agent_name,omitempty\""
			AwsEc2Name      *[]string "json:\"aws_ec2_name,omitempty\""
			BigfixAssetId   *[]string "json:\"bigfix_asset_id,omitempty\""
			ExposureScore   *int      "json:\"exposure_score,omitempty\""
			Fqdn            *[]string "json:\"fqdn,omitempty\""
			HasAgent        *bool     "json:\"has_agent,omitempty\""
			Id              *string   "json:\"id,omitempty\""
			Ipv4            *[]string "json:\"ipv4,omitempty\""
			Ipv6            *[]string "json:\"ipv6,omitempty\""
			LastScanTarget  *string   "json:\"last_scan_target,omitempty\""
			LastSeen        *string   "json:\"last_seen,omitempty\""
			MacAddress      *[]string "json:\"mac_address,omitempty\""
			NetbiosName     *[]string "json:\"netbios_name,omitempty\""
			OperatingSystem *[]string "json:\"operating_system,omitempty\""
			ScanFrequency   *[]struct {
				Frequency *int  "json:\"frequency,omitempty\""
				Interval  *int  "json:\"interval,omitempty\""
				Licensed  *bool "json:\"licensed,omitempty\""
			} "json:\"scan_frequency,omitempty\""
			Sources *[]struct {
				FirstSeen *string "json:\"first_seen,omitempty\""
				LastSeen  *string "json:\"last_seen,omitempty\""
				Name      *string "json:\"name,omitempty\""
			} "json:\"sources,omitempty\""
		} "json:\"assets,omitempty\""
		Total *int "json:\"total,omitempty\""
	}, error)
	ExportDownload(arg1 int32, reqEditors ...RequestEditorFn) (*WorkbenchesExportDownloadResponse, error)
	ExportRequest(params *WorkbenchesExportRequestParams, reqEditors ...RequestEditorFn) (*struct {
		File *int "json:\"file,omitempty\""
	}, error)
	ExportStatus(arg1 int32, reqEditors ...RequestEditorFn) (*struct {
		Progress      *string "json:\"progress,omitempty\""
		ProgressTotal *string "json:\"progress_total,omitempty\""
		Status        *string "json:\"status,omitempty\""
	}, error)
	Vulnerabilities(params *WorkbenchesVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*struct {
		TotalAssetCount         *int "json:\"total_asset_count,omitempty\""
		TotalVulnerabilityCount *int "json:\"total_vulnerability_count,omitempty\""
		Vulnerabilities         *[]struct {
			AcceptedCount    *int32 "json:\"accepted_count,omitempty\""
			Count            *int   "json:\"count,omitempty\""
			CountsBySeverity *[]struct {
				Count *int32 "json:\"count,omitempty\""
				Value *int   "json:\"value,omitempty\""
			} "json:\"counts by severity,omitempty\""
			PluginFamily       *string  "json:\"plugin_family,omitempty\""
			PluginId           *int     "json:\"plugin_id,omitempty\""
			PluginName         *string  "json:\"plugin_name,omitempty\""
			RecastedCount      *int32   "json:\"recasted_count,omitempty\""
			Severity           *int32   "json:\"severity,omitempty\""
			VprScore           *float32 "json:\"vpr_score,omitempty\""
			VulnerabilityState *string  "json:\"vulnerability_state,omitempty\""
		} "json:\"vulnerabilities,omitempty\""
	}, error)
	VulnerabilityInfo(arg1 int32, params *WorkbenchesVulnerabilityInfoParams, reqEditors ...RequestEditorFn) (*struct {
		Count       *int32  "json:\"count,omitempty\""
		Description *string "json:\"description,omitempty\""
		Discovery   *struct {
			SeenFirst *string "json:\"seen_first,omitempty\""
			SeenLast  *string "json:\"seen_last,omitempty\""
		} "json:\"discovery,omitempty\""
		PluginDetails *struct {
			Family           *string "json:\"family,omitempty\""
			ModificationDate *string "json:\"modification_date,omitempty\""
			Name             *string "json:\"name,omitempty\""
			PublicationDate  *string "json:\"publication_date,omitempty\""
			Severity         *int32  "json:\"severity,omitempty\""
			Type             *string "json:\"type,omitempty\""
			Version          *string "json:\"version,omitempty\""
		} "json:\"plugin_details,omitempty\""
		ReferenceInformation *[]struct {
			Name   *string   "json:\"name,omitempty\""
			Url    *string   "json:\"url,omitempty\""
			Values *[]string "json:\"values,omitempty\""
		} "json:\"reference_information,omitempty\""
		RiskInformation *struct {
			Cvss3BaseScore      *string "json:\"cvss3_base_score,omitempty\""
			Cvss3TemporalScore  *string "json:\"cvss3_temporal_score,omitempty\""
			Cvss3TemporalVector *string "json:\"cvss3_temporal_vector,omitempty\""
			Cvss3Vector         *string "json:\"cvss3_vector,omitempty\""
			CvssBaseScore       *string "json:\"cvss_base_score,omitempty\""
			CvssTemporalScore   *string "json:\"cvss_temporal_score,omitempty\""
			CvssTemporalVector  *string "json:\"cvss_temporal_vector,omitempty\""
			CvssVector          *string "json:\"cvss_vector,omitempty\""
			RiskFactor          *string "json:\"risk_factor,omitempty\""
			StigSeverity        *string "json:\"stig_severity,omitempty\""
		} "json:\"risk_information,omitempty\""
		SeeAlso  *[]string "json:\"see_also,omitempty\""
		Severity *int      "json:\"severity,omitempty\""
		Solution *string   "json:\"solution,omitempty\""
		Synopsis *string   "json:\"synopsis,omitempty\""
		Vpr      *struct {
			Drivers *map[string]interface{} "json:\"drivers,omitempty\""
			Score   *float32                "json:\"score,omitempty\""
			Updated *string                 "json:\"updated,omitempty\""
		} "json:\"vpr,omitempty\""
		VulnCount                *int32 "json:\"vuln_count,omitempty\""
		VulnerabilityInformation *struct {
			AssetInventory    *string "json:\"asset_inventory,omitempty\""
			Cpe               *string "json:\"cpe,omitempty\""
			DefaultAccount    *string "json:\"default_account,omitempty\""
			ExploitAvailable  *bool   "json:\"exploit_available,omitempty\""
			ExploitFrameworks *[]struct {
				Exploits *[]struct {
					Name *string "json:\"name,omitempty\""
					Url  *string "json:\"url,omitempty\""
				} "json:\"exploits,omitempty\""
				Name *string "json:\"name,omitempty\""
			} "json:\"exploit_frameworks,omitempty\""
			ExploitabilityEase           *string "json:\"exploitability_ease,omitempty\""
			ExploitedByMalware           *bool   "json:\"exploited_by_malware,omitempty\""
			ExploitedByNessus            *bool   "json:\"exploited_by_nessus,omitempty\""
			InTheNews                    *bool   "json:\"in_the_news,omitempty\""
			Malware                      *string "json:\"malware,omitempty\""
			PatchPublicationDate         *string "json:\"patch_publication_date,omitempty\""
			UnsupportedByVendor          *bool   "json:\"unsupported_by_vendor,omitempty\""
			VulnerabilityPublicationDate *string "json:\"vulnerability_publication_date,omitempty\""
		} "json:\"vulnerability_information,omitempty\""
	}, error)
	VulnerabilityOutput(arg1 int32, params *WorkbenchesVulnerabilityOutputParams, reqEditors ...RequestEditorFn) (*[]struct {
		PluginOutput *string "json:\"plugin_output,omitempty\""
		States       *[]struct {
			Name    *string "json:\"name,omitempty\""
			Results *[]struct {
				ApplicationProtocol *string "json:\"application_protocol,omitempty\""
				Assets              *[]struct {
					FirstSeen   *time.Time "json:\"first_seen,omitempty\""
					Fqdn        *string    "json:\"fqdn,omitempty\""
					Hostname    *string    "json:\"hostname,omitempty\""
					Id          *string    "json:\"id,omitempty\""
					Ipv4        *string    "json:\"ipv4,omitempty\""
					LastSeen    *time.Time "json:\"last_seen,omitempty\""
					NetbiosName *string    "json:\"netbios_name,omitempty\""
					Uuid        *string    "json:\"uuid,omitempty\""
				} "json:\"assets,omitempty\""
				Port              *int    "json:\"port,omitempty\""
				Severity          *int    "json:\"severity,omitempty\""
				TransportProtocol *string "json:\"transport_protocol,omitempty\""
			} "json:\"results,omitempty\""
		} "json:\"states,omitempty\""
	}, error)
}

WorkbenchesInterface contains all methods for the nessus api

type WorkbenchesVulnerabilitiesParams

type WorkbenchesVulnerabilitiesParams struct {
	// Lists only those vulnerabilities older than a certain number of days.
	Age *int32 `json:"age,omitempty"`

	// Lists only authenticated vulnerabilities.
	Authenticated *bool `json:"authenticated,omitempty"`

	// The number of days of data prior to and including today that should be returned.
	DateRange *int32 `json:"date_range,omitempty"`

	// Lists only exploitable vulnerabilities.
	Exploitable *bool `json:"exploitable,omitempty"`

	// The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/vulnerabilities](ref:io-filters-vulnerabilities-workbench-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	//
	// **Note:** There is a limit of 10 filters. A `400 Bad Request` error is returned if you exceed this limit.
	Filter0Filter *string `json:"filter.0.filter,omitempty"`

	// The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/vulnerabilities](ref:io-filters-vulnerabilities-workbench-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Quality *string `json:"filter.0.quality,omitempty"`

	// The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/vulnerabilities](ref:io-filters-vulnerabilities-workbench-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	//
	// **Note:** There is a limit of 10 filter values per filter. A `400 Bad Request` error is returned if you exceed this limit.
	Filter0Value *string `json:"filter.0.value,omitempty"`

	// For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](doc:workbench-filters).
	FilterSearchType *WorkbenchesVulnerabilitiesParamsFilterSearchType `json:"filter.search_type,omitempty"`

	// Lists only those vulnerabilities with a remediation path.
	Resolvable *bool `json:"resolvable,omitempty"`

	// Lists only vulnerabilities of a specific severity (critical, high, medium or low)
	Severity *WorkbenchesVulnerabilitiesParamsSeverity `json:"severity,omitempty"`
}

WorkbenchesVulnerabilitiesParams defines parameters for WorkbenchesVulnerabilities.

type WorkbenchesVulnerabilitiesParamsFilterSearchType

type WorkbenchesVulnerabilitiesParamsFilterSearchType string

WorkbenchesVulnerabilitiesParamsFilterSearchType defines parameters for WorkbenchesVulnerabilities.

type WorkbenchesVulnerabilitiesParamsSeverity

type WorkbenchesVulnerabilitiesParamsSeverity string

WorkbenchesVulnerabilitiesParamsSeverity defines parameters for WorkbenchesVulnerabilities.

type WorkbenchesVulnerabilitiesResponse

type WorkbenchesVulnerabilitiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The total number of assets.
		TotalAssetCount *int `json:"total_asset_count,omitempty"`

		// The total number of discovered vulnerabilities.
		TotalVulnerabilityCount *int `json:"total_vulnerability_count,omitempty"`

		// A list of discovered vulnerabilities.
		Vulnerabilities *[]struct {
			// The number of times that a user in the user interface created an accept rule for this vulnerability. For more information, see <a href="https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Settings/AboutRecastRules.htm" target="_blank">Recast Rules</a> in the <i>Tenable.io Vulnerability Management User Guide</i>.
			AcceptedCount *int32 `json:"accepted_count,omitempty"`

			// The number of times that a scan detected the vulnerability on an asset.
			Count *int `json:"count,omitempty"`

			// The number of times that a scan detected the vulnerability on an asset, grouped by severity level.
			CountsBySeverity *[]struct {
				// The number of times that a scan detected the vulnerability on an asset while the vulnerability was assigned the specified severity level.
				Count *int32 `json:"count,omitempty"`

				// The severity level of the vulnerabilities in the group.
				Value *int `json:"value,omitempty"`
			} `json:"counts by severity,omitempty"`

			// The plugin's family.
			PluginFamily *string `json:"plugin_family,omitempty"`

			// The unique plugin ID.
			PluginId *int `json:"plugin_id,omitempty"`

			// The name of the plugin that detected the vulnerability.
			PluginName *string `json:"plugin_name,omitempty"`

			// The number of times that a user in the user interface created a recast rule for this vulnerability. For more information, see <a href="https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Settings/AboutRecastRules.htm" target="_blank">Recast Rules</a> in the <i>Tenable.io Vulnerability Management User Guide</i>.
			RecastedCount *int32 `json:"recasted_count,omitempty"`

			// The severity level of the vulnerability, as defined using the Common Vulnerability Scoring System (CVSS) base score. Possible values include:
			//  - 0—The vulnerability has a CVSS score of 0, which corresponds to the "info" severity level.
			//  - 1—The vulnerability has a CVSS score between 0.1 and 3.9, which corresponds to the "low" severity level.
			//  - 2—The vulnerability has a CVSS score between 4.0 and 6.9, which corresponds to the "medium" severity level.
			//  - 3—The vulnerability has a CVSS score between 7.0 and 9.9, which corresponds to the "high" severity level.
			//  - 4—The vulnerability has a CVSS score of 10.0, which corresponds to the "critical" severity level.
			Severity *int32 `json:"severity,omitempty"`

			// The Vulnerability Priority Rating (VPR) for the vulnerability. If a plugin is designed to detect multiple vulnerabilities, the VPR represents the highest value calculated for a vulnerability associated with the plugin. For more information, see <a href="https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/RiskMetrics.htm" target="_blank">Severity vs. VPR</a> in the <i>Tenable.io Vulnerability Management User Guide</i>.
			VprScore *float32 `json:"vpr_score,omitempty"`

			// The current state of the reported plugin. Possible states include:
			//  - Active—The vulnerability is currently present on an asset.
			//  - New—The vulnerability is active on an asset, and was first detected within the last 14 days.
			//  - Fixed—A subsequent scan detected that the formerly-active vulnerability is no longer present on an asset.
			//  - Resurfaced—The vulnerability was previously marked as fixed on an asset, but a subsequent scan detected the vulnerability on the asset again.
			VulnerabilityState *string `json:"vulnerability_state,omitempty"`
		} `json:"vulnerabilities,omitempty"`
	}
}

func ParseWorkbenchesVulnerabilitiesResponse

func ParseWorkbenchesVulnerabilitiesResponse(rsp *http.Response) (*WorkbenchesVulnerabilitiesResponse, error)

ParseWorkbenchesVulnerabilitiesResponse parses an HTTP response from a WorkbenchesVulnerabilitiesWithResponse call

func (WorkbenchesVulnerabilitiesResponse) Status

Status returns HTTPResponse.Status

func (WorkbenchesVulnerabilitiesResponse) StatusCode

func (r WorkbenchesVulnerabilitiesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkbenchesVulnerabilityInfoParams

type WorkbenchesVulnerabilityInfoParams struct {
	// The number of days of data prior to and including today that should be returned.
	DateRange *int32 `json:"date_range,omitempty"`

	// The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/vulnerabilities](ref:io-filters-vulnerabilities-workbench-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Filter *string `json:"filter.0.filter,omitempty"`

	// The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/vulnerabilities](ref:io-filters-vulnerabilities-workbench-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Quality *string `json:"filter.0.quality,omitempty"`

	// The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/vulnerabilities](ref:io-filters-vulnerabilities-workbench-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Value *string `json:"filter.0.value,omitempty"`

	// For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](doc:workbench-filters).
	FilterSearchType *WorkbenchesVulnerabilityInfoParamsFilterSearchType `json:"filter.search_type,omitempty"`
}

WorkbenchesVulnerabilityInfoParams defines parameters for WorkbenchesVulnerabilityInfo.

type WorkbenchesVulnerabilityInfoParamsFilterSearchType

type WorkbenchesVulnerabilityInfoParamsFilterSearchType string

WorkbenchesVulnerabilityInfoParamsFilterSearchType defines parameters for WorkbenchesVulnerabilityInfo.

type WorkbenchesVulnerabilityInfoResponse

type WorkbenchesVulnerabilityInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A count of the vulnerability occurrences.
		Count *int32 `json:"count,omitempty"`

		// The description of the vulnerability.
		Description *string `json:"description,omitempty"`
		Discovery   *struct {
			// The Unix timestamp of the scan that first detected the vulnerability on an asset.
			SeenFirst *string `json:"seen_first,omitempty"`

			// The Unix timestamp of the scan that most recently detected the vulnerability on an asset.
			SeenLast *string `json:"seen_last,omitempty"`
		} `json:"discovery,omitempty"`
		PluginDetails *struct {
			// The plugin family.
			Family *string `json:"family,omitempty"`

			// The ISO timestamp when Tenable last updated the plugin definition.
			ModificationDate *string `json:"modification_date,omitempty"`

			// The name of the plugin.
			Name *string `json:"name,omitempty"`

			// The ISO timestamp when Tenable first published the plugin definition.
			PublicationDate *string `json:"publication_date,omitempty"`

			// The severity level of the plugin.
			Severity *int32 `json:"severity,omitempty"`

			// The type of scan that uses the plugin, either a network scan (`remote`) or a credentialed scan (`local`).
			Type *string `json:"type,omitempty"`

			// The plugin version.
			Version *string `json:"version,omitempty"`
		} `json:"plugin_details,omitempty"`
		ReferenceInformation *[]struct {
			// The source of the reference information about the vulnerability. Possible values include:
			//  - bid—Bugtraq (Symantec Connect)
			//  - cert—CERT/CC Vulnerability Notes Database
			//  - cve—NIST National Vulnerability Database (NVD)
			//  - edb-id—The Exploit Database
			//  - iava—information assurance vulnerability alert
			//  - osvdb—Open Sourced Vulnerability Database
			Name *string `json:"name,omitempty"`

			// The URL of the source site, if available.
			Url *string `json:"url,omitempty"`

			// The unique identifier(s) for the vulnerability at the source.
			Values *[]string `json:"values,omitempty"`
		} `json:"reference_information,omitempty"`
		RiskInformation *struct {
			// The CVSSv3 base score (intrinsic and fundamental characteristics of a vulnerability that are constant over time and user environments).
			Cvss3BaseScore *string `json:"cvss3_base_score,omitempty"`

			// The CVSSv3 temporal score (characteristics of a vulnerability that change over time but not among user environments).
			Cvss3TemporalScore *string `json:"cvss3_temporal_score,omitempty"`

			// CVSSv3 temporal metrics for the vulnerability.
			Cvss3TemporalVector *string `json:"cvss3_temporal_vector,omitempty"`

			// The raw CVSSv3 metrics for the vulnerability. For more information, see CVSSv3 documentation.
			Cvss3Vector *string `json:"cvss3_vector,omitempty"`

			// The CVSSv2 base score (intrinsic and fundamental characteristics of a vulnerability that are constant over time and user environments).
			CvssBaseScore *string `json:"cvss_base_score,omitempty"`

			// The CVSSv2 temporal score (characteristics of a vulnerability that change over time but not among user environments).
			CvssTemporalScore *string `json:"cvss_temporal_score,omitempty"`

			// The raw CVSSv2 temporal metrics for the vulnerability.
			CvssTemporalVector *string `json:"cvss_temporal_vector,omitempty"`

			// The raw CVSSv2 metrics for the vulnerability. For more information, see CVSSv2 documentation.
			CvssVector *string `json:"cvss_vector,omitempty"`

			// The risk factor associated with the plugin. Possible values are: `Low`, `Medium`, `High`, or `Critical`. See the `risk_factor` attribute in [Tenable Plugin Attributes](doc:tenable-plugin-attributes).
			RiskFactor *string `json:"risk_factor,omitempty"`

			// Security Technical Implementation Guide (STIG) severity code for the vulnerability.
			StigSeverity *string `json:"stig_severity,omitempty"`
		} `json:"risk_information,omitempty"`

		// Links to external websites that contain helpful information about the vulnerability.
		SeeAlso *[]string `json:"see_also,omitempty"`

		// The severity level of the vulnerability.
		Severity *int `json:"severity,omitempty"`

		// Information on how to fix the vulnerability.
		Solution *string `json:"solution,omitempty"`

		// A brief summary of the vulnerability.
		Synopsis *string `json:"synopsis,omitempty"`

		// Information about the Vulnerability Priority Rating (VPR) for the vulnerability.
		Vpr *struct {
			// The key drivers Tenable uses to calculate a vulnerability's VPR. For more information, see <[Vulnerability Priority Rating Drivers](doc:vpr-drivers-tio).
			Drivers *map[string]interface{} `json:"drivers,omitempty"`

			// The Vulnerability Priority Rating (VPR) for the vulnerability. If a plugin is designed to detect multiple vulnerabilities, the VPR represents the highest value calculated for a vulnerability associated with the plugin. For more information, see <a href="https://docs.tenable.com/tenableio/vulnerabilitymanagement/Content/Analysis/RiskMetrics.htm" target="_blank">Severity vs. VPR</a> in the <i>Tenable.io Vulnerability Management User Guide</i>.
			Score *float32 `json:"score,omitempty"`

			// The ISO timestamp when Tenable.io last imported the VPR for this vulnerability. Tenable.io imports a VPR value the first time you scan a vulnerability on your network. Then, Tenable.io automatically re-imports new and updated VPR values daily.
			Updated *string `json:"updated,omitempty"`
		} `json:"vpr,omitempty"`
		VulnCount                *int32 `json:"vuln_count,omitempty"`
		VulnerabilityInformation *struct {
			AssetInventory *string `json:"asset_inventory,omitempty"`

			// The Common Platform Enumeration (CPE) number for the plugin.
			Cpe            *string `json:"cpe,omitempty"`
			DefaultAccount *string `json:"default_account,omitempty"`

			// A value specifying whether a public exploit exists for the vulnerability.
			ExploitAvailable *bool `json:"exploit_available,omitempty"`

			// A list of exploit frameworks that have identified the vulnerability.
			ExploitFrameworks *[]struct {
				// A list of exploits associated with the vulnerability in the specified exploit framework.
				Exploits *[]struct {
					// The name of the identified exploit.
					Name *string `json:"name,omitempty"`

					// The URL for the exploit in the framework.
					Url *string `json:"url,omitempty"`
				} `json:"exploits,omitempty"`

				// The name of the exploit framework.
				Name *string `json:"name,omitempty"`
			} `json:"exploit_frameworks,omitempty"`

			// Description of how easy it is to exploit the issue.
			ExploitabilityEase *string `json:"exploitability_ease,omitempty"`

			// The vulnerability discovered by this plugin is known to be exploited by malware.
			ExploitedByMalware *bool `json:"exploited_by_malware,omitempty"`

			// A value specifying whether Nessus exploited the vulnerability during the process of identification.
			ExploitedByNessus *bool `json:"exploited_by_nessus,omitempty"`

			// A value specifying whether this plugin has received media attention (for example, ShellShock, Meltdown).
			InTheNews *bool   `json:"in_the_news,omitempty"`
			Malware   *string `json:"malware,omitempty"`

			// The ISO timestamp for date on which the vendor published a patch for the vulnerability.
			PatchPublicationDate *string `json:"patch_publication_date,omitempty"`

			// Software found by this plugin is unsupported by the software's vendor (for example, Windows 95 or Firefox 3).
			UnsupportedByVendor *bool `json:"unsupported_by_vendor,omitempty"`

			// The ISO timestamp for the first publication date of the plugin.
			VulnerabilityPublicationDate *string `json:"vulnerability_publication_date,omitempty"`
		} `json:"vulnerability_information,omitempty"`
	}
}

func ParseWorkbenchesVulnerabilityInfoResponse

func ParseWorkbenchesVulnerabilityInfoResponse(rsp *http.Response) (*WorkbenchesVulnerabilityInfoResponse, error)

ParseWorkbenchesVulnerabilityInfoResponse parses an HTTP response from a WorkbenchesVulnerabilityInfoWithResponse call

func (WorkbenchesVulnerabilityInfoResponse) Status

Status returns HTTPResponse.Status

func (WorkbenchesVulnerabilityInfoResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkbenchesVulnerabilityOutputParams

type WorkbenchesVulnerabilityOutputParams struct {
	// The number of days of data prior to and including today that should be returned.
	DateRange *int32 `json:"date_range,omitempty"`

	// The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/vulnerabilities](ref:io-filters-vulnerabilities-workbench-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Filter *string `json:"filter.0.filter,omitempty"`

	// The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/vulnerabilities](ref:io-filters-vulnerabilities-workbench-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Quality *string `json:"filter.0.quality,omitempty"`

	// The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/vulnerabilities](ref:io-filters-vulnerabilities-workbench-list) endpoint. For more information about the format of this parameter, see [Workbench Filters](doc:workbench-filters).
	Filter0Value *string `json:"filter.0.value,omitempty"`

	// For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](doc:workbench-filters).
	FilterSearchType *WorkbenchesVulnerabilityOutputParamsFilterSearchType `json:"filter.search_type,omitempty"`
}

WorkbenchesVulnerabilityOutputParams defines parameters for WorkbenchesVulnerabilityOutput.

type WorkbenchesVulnerabilityOutputParamsFilterSearchType

type WorkbenchesVulnerabilityOutputParamsFilterSearchType string

WorkbenchesVulnerabilityOutputParamsFilterSearchType defines parameters for WorkbenchesVulnerabilityOutput.

type WorkbenchesVulnerabilityOutputResponse

type WorkbenchesVulnerabilityOutputResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// The plugin's output about the vulnerability. May be an empty string.
		PluginOutput *string `json:"plugin_output,omitempty"`

		// Vulnerability state items.
		States *[]struct {
			// The current state of the reported plugin (Active, Fixed, New, etc.)
			Name    *string `json:"name,omitempty"`
			Results *[]struct {
				// The application protocol where this vulnerability was found.
				ApplicationProtocol *string `json:"application_protocol,omitempty"`

				// A list of assets where this output was found.
				Assets *[]struct {
					// Indicates when the asset was discovered by a scan.
					FirstSeen *time.Time `json:"first_seen,omitempty"`

					// The FQDN of the asset.
					Fqdn *string `json:"fqdn,omitempty"`

					// The host name of the asset.
					Hostname *string `json:"hostname,omitempty"`

					// The ID of the asset.
					Id *string `json:"id,omitempty"`

					// The IPV4 of the asset.
					Ipv4 *string `json:"ipv4,omitempty"`

					// Indicates when the asset was last observed by a scan.
					LastSeen *time.Time `json:"last_seen,omitempty"`

					// The NetBios name of the asset.
					NetbiosName *string `json:"netbios_name,omitempty"`

					// The UUID of the asset. Use this value as the unique key for the asset.
					Uuid *string `json:"uuid,omitempty"`
				} `json:"assets,omitempty"`

				// The port number where this vulnerability was found.
				Port *int `json:"port,omitempty"`

				// Integer [0-4] indicating how severe the vulnerability is, where 0 is info only.
				Severity *int `json:"severity,omitempty"`

				// The transportation protocol (TCP or UDP) where this vulnerability was found.
				TransportProtocol *string `json:"transport_protocol,omitempty"`
			} `json:"results,omitempty"`
		} `json:"states,omitempty"`
	}
}

func ParseWorkbenchesVulnerabilityOutputResponse

func ParseWorkbenchesVulnerabilityOutputResponse(rsp *http.Response) (*WorkbenchesVulnerabilityOutputResponse, error)

ParseWorkbenchesVulnerabilityOutputResponse parses an HTTP response from a WorkbenchesVulnerabilityOutputWithResponse call

func (WorkbenchesVulnerabilityOutputResponse) Status

Status returns HTTPResponse.Status

func (WorkbenchesVulnerabilityOutputResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

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