Documentation
¶
Overview ¶
nolint:cyclop
Index ¶
- type AssetConflictError
- type AssetFindingConflictError
- type AssetScanConflictError
- type AssetScanEstimationConflictError
- type Client
- func (c *Client) DeleteAssetScanEstimation(ctx context.Context, assetScanEstimationID types.AssetScanEstimationID) error
- func (c *Client) DeleteScanEstimation(ctx context.Context, scanEstimationID types.ScanEstimationID) error
- func (c *Client) GetAsset(ctx context.Context, assetID string, params types.GetAssetsAssetIDParams) (types.Asset, error)
- func (c *Client) GetAssetFindings(ctx context.Context, params types.GetAssetFindingsParams) (*types.AssetFindings, error)
- func (c *Client) GetAssetScan(ctx context.Context, assetScanID string, ...) (types.AssetScan, error)
- func (c *Client) GetAssetScanEstimation(ctx context.Context, assetScanEstimationID string, ...) (types.AssetScanEstimation, error)
- func (c *Client) GetAssetScanEstimations(ctx context.Context, params types.GetAssetScanEstimationsParams) (types.AssetScanEstimations, error)
- func (c *Client) GetAssetScanStatus(ctx context.Context, assetScanID string) (*types.AssetScanStatus, error)
- func (c *Client) GetAssetScanSummary(ctx context.Context, assetScanID string) (*types.ScanFindingsSummary, error)
- func (c *Client) GetAssetScans(ctx context.Context, params types.GetAssetScansParams) (types.AssetScans, error)
- func (c *Client) GetAssets(ctx context.Context, params types.GetAssetsParams) (*types.Assets, error)
- func (c *Client) GetFinding(ctx context.Context, findingID types.FindingID, ...) (*types.Finding, error)
- func (c *Client) GetFindings(ctx context.Context, params types.GetFindingsParams) (*types.Findings, error)
- func (c *Client) GetProvider(ctx context.Context, providerID string, ...) (types.Provider, error)
- func (c *Client) GetProviders(ctx context.Context, params types.GetProvidersParams) (*types.Providers, error)
- func (c *Client) GetScan(ctx context.Context, scanID string, params types.GetScansScanIDParams) (*types.Scan, error)
- func (c *Client) GetScanConfig(ctx context.Context, scanConfigID string, ...) (*types.ScanConfig, error)
- func (c *Client) GetScanConfigs(ctx context.Context, params types.GetScanConfigsParams) (*types.ScanConfigs, error)
- func (c *Client) GetScanEstimation(ctx context.Context, scanEstimationID string, ...) (*types.ScanEstimation, error)
- func (c *Client) GetScanEstimations(ctx context.Context, params types.GetScanEstimationsParams) (*types.ScanEstimations, error)
- func (c *Client) GetScans(ctx context.Context, params types.GetScansParams) (*types.Scans, error)
- func (c *Client) PatchAsset(ctx context.Context, asset types.Asset, assetID string) error
- func (c *Client) PatchAssetFinding(ctx context.Context, assetFindingID types.AssetFindingID, ...) error
- func (c *Client) PatchAssetScan(ctx context.Context, assetScan types.AssetScan, assetScanID string) error
- func (c *Client) PatchAssetScanEstimation(ctx context.Context, assetScanEstimation types.AssetScanEstimation, ...) error
- func (c *Client) PatchAssetScanStatus(ctx context.Context, assetScanID string, status *types.AssetScanStatus) error
- func (c *Client) PatchFinding(ctx context.Context, findingID types.FindingID, finding types.Finding) error
- func (c *Client) PatchProvider(ctx context.Context, provider types.Provider, providerID string) error
- func (c *Client) PatchScan(ctx context.Context, scanID types.ScanID, scan *types.Scan) error
- func (c *Client) PatchScanConfig(ctx context.Context, scanConfigID string, scanConfig *types.ScanConfig) error
- func (c *Client) PatchScanEstimation(ctx context.Context, scanEstimationID types.ScanEstimationID, ...) error
- func (c *Client) PostAsset(ctx context.Context, asset types.Asset) (*types.Asset, error)
- func (c *Client) PostAssetFinding(ctx context.Context, assetFinding types.AssetFinding) (*types.AssetFinding, error)
- func (c *Client) PostAssetScan(ctx context.Context, assetScan types.AssetScan) (*types.AssetScan, error)
- func (c *Client) PostAssetScanEstimation(ctx context.Context, assetScanEstimation types.AssetScanEstimation) (*types.AssetScanEstimation, error)
- func (c *Client) PostFinding(ctx context.Context, finding types.Finding) (*types.Finding, error)
- func (c *Client) PostProvider(ctx context.Context, provider types.Provider) (*types.Provider, error)
- func (c *Client) PostScan(ctx context.Context, scan types.Scan) (*types.Scan, error)
- func (c *Client) PostScanConfig(ctx context.Context, scanConfig types.ScanConfig) (*types.ScanConfig, error)
- type FindingConflictError
- type ProviderConflictError
- type ScanConfigConflictError
- type ScanConflictError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetConflictError ¶
func (AssetConflictError) Error ¶
func (t AssetConflictError) Error() string
type AssetFindingConflictError ¶ added in v0.7.2
type AssetFindingConflictError struct {
ConflictingAssetFinding *types.AssetFinding
Message string
}
func (AssetFindingConflictError) Error ¶ added in v0.7.2
func (t AssetFindingConflictError) Error() string
type AssetScanConflictError ¶
func (AssetScanConflictError) Error ¶
func (t AssetScanConflictError) Error() string
type AssetScanEstimationConflictError ¶
type AssetScanEstimationConflictError struct {
ConflictingAssetScanEstimation *types.AssetScanEstimation
Message string
}
func (AssetScanEstimationConflictError) Error ¶
func (t AssetScanEstimationConflictError) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteAssetScanEstimation ¶
func (*Client) DeleteScanEstimation ¶
func (*Client) GetAsset ¶
func (c *Client) GetAsset(ctx context.Context, assetID string, params types.GetAssetsAssetIDParams) (types.Asset, error)
nolint:cyclop
func (*Client) GetAssetFindings ¶ added in v0.7.2
func (c *Client) GetAssetFindings(ctx context.Context, params types.GetAssetFindingsParams) (*types.AssetFindings, error)
func (*Client) GetAssetScan ¶
func (*Client) GetAssetScanEstimation ¶
func (c *Client) GetAssetScanEstimation(ctx context.Context, assetScanEstimationID string, params types.GetAssetScanEstimationsAssetScanEstimationIDParams) (types.AssetScanEstimation, error)
func (*Client) GetAssetScanEstimations ¶
func (c *Client) GetAssetScanEstimations(ctx context.Context, params types.GetAssetScanEstimationsParams) (types.AssetScanEstimations, error)
func (*Client) GetAssetScanStatus ¶
func (*Client) GetAssetScanSummary ¶
func (*Client) GetAssetScans ¶
func (c *Client) GetAssetScans(ctx context.Context, params types.GetAssetScansParams) (types.AssetScans, error)
func (*Client) GetFinding ¶ added in v0.7.2
func (*Client) GetFindings ¶
func (*Client) GetProvider ¶
func (c *Client) GetProvider(ctx context.Context, providerID string, params types.GetProvidersProviderIDParams) (types.Provider, error)
nolint:cyclop
func (*Client) GetProviders ¶
func (*Client) GetScanConfig ¶
func (c *Client) GetScanConfig(ctx context.Context, scanConfigID string, params types.GetScanConfigsScanConfigIDParams) (*types.ScanConfig, error)
func (*Client) GetScanConfigs ¶
func (c *Client) GetScanConfigs(ctx context.Context, params types.GetScanConfigsParams) (*types.ScanConfigs, error)
func (*Client) GetScanEstimation ¶
func (c *Client) GetScanEstimation(ctx context.Context, scanEstimationID string, params types.GetScanEstimationsScanEstimationIDParams) (*types.ScanEstimation, error)
func (*Client) GetScanEstimations ¶
func (c *Client) GetScanEstimations(ctx context.Context, params types.GetScanEstimationsParams) (*types.ScanEstimations, error)
func (*Client) PatchAsset ¶
func (*Client) PatchAssetFinding ¶ added in v0.7.2
func (c *Client) PatchAssetFinding(ctx context.Context, assetFindingID types.AssetFindingID, assetFinding types.AssetFinding) error
func (*Client) PatchAssetScan ¶
func (*Client) PatchAssetScanEstimation ¶
func (*Client) PatchAssetScanStatus ¶
func (*Client) PatchFinding ¶
func (*Client) PatchProvider ¶
func (*Client) PatchScanConfig ¶
func (*Client) PatchScanEstimation ¶
func (c *Client) PatchScanEstimation(ctx context.Context, scanEstimationID types.ScanEstimationID, scanEstimation *types.ScanEstimation) error
func (*Client) PostAssetFinding ¶ added in v0.7.2
func (c *Client) PostAssetFinding(ctx context.Context, assetFinding types.AssetFinding) (*types.AssetFinding, error)
func (*Client) PostAssetScan ¶
func (*Client) PostAssetScanEstimation ¶
func (c *Client) PostAssetScanEstimation(ctx context.Context, assetScanEstimation types.AssetScanEstimation) (*types.AssetScanEstimation, error)
func (*Client) PostFinding ¶
func (*Client) PostProvider ¶
func (*Client) PostScanConfig ¶
func (c *Client) PostScanConfig(ctx context.Context, scanConfig types.ScanConfig) (*types.ScanConfig, error)
type FindingConflictError ¶
func (FindingConflictError) Error ¶
func (t FindingConflictError) Error() string
type ProviderConflictError ¶
func (ProviderConflictError) Error ¶
func (t ProviderConflictError) Error() string
type ScanConfigConflictError ¶
type ScanConfigConflictError struct {
ConflictingScanConfig *types.ScanConfig
Message string
}
func (ScanConfigConflictError) Error ¶
func (t ScanConfigConflictError) Error() string
type ScanConflictError ¶
func (ScanConflictError) Error ¶
func (t ScanConflictError) Error() string
Click to show internal directories.
Click to hide internal directories.