Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FindingQuery ¶
type FindingStats ¶
type JobQueue ¶
type JobQueue interface { Push(ctx context.Context, job *types.Job) error Pop(ctx context.Context, workerID string) (*types.Job, error) Complete(ctx context.Context, jobID string) error Fail(ctx context.Context, jobID string, reason string) error Retry(ctx context.Context, jobID string) error GetStatus(ctx context.Context, jobID string) (*types.Job, error) GetPending(ctx context.Context) ([]*types.Job, error) Close() error }
type PluginManager ¶
type RateLimiter ¶
type ResultStore ¶
type ResultStore interface { SaveScan(ctx context.Context, scan *types.ScanRequest) error UpdateScan(ctx context.Context, scan *types.ScanRequest) error GetScan(ctx context.Context, scanID string) (*types.ScanRequest, error) ListScans(ctx context.Context, filter ScanFilter) ([]*types.ScanRequest, error) SaveFindings(ctx context.Context, findings []types.Finding) error GetFindings(ctx context.Context, scanID string) ([]types.Finding, error) GetFindingsBySeverity(ctx context.Context, severity types.Severity) ([]types.Finding, error) // Enhanced query methods QueryFindings(ctx context.Context, query FindingQuery) ([]types.Finding, error) GetFindingStats(ctx context.Context) (*FindingStats, error) GetRecentCriticalFindings(ctx context.Context, limit int) ([]types.Finding, error) SearchFindings(ctx context.Context, searchTerm string, limit int) ([]types.Finding, error) GetSummary(ctx context.Context, scanID string) (*types.Summary, error) Close() error }
type ScanFilter ¶
type ScopeValidator ¶
Click to show internal directories.
Click to hide internal directories.