Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetValidInsertionPoints ¶
func GetValidInsertionPoints() []string
func GetValidScanModes ¶
func GetValidScanModes() []string
func IsValidScanMode ¶
Types ¶
type AuditCategories ¶
type FullScanOptions ¶
type FullScanOptions struct { Title string `json:"title" validate:"omitempty,min=1,max=255"` StartURLs []string `json:"start_urls" validate:"required,dive,url"` MaxDepth int `json:"max_depth" validate:"min=0"` MaxPagesToCrawl int `json:"max_pages_to_crawl" validate:"min=0"` ExcludePatterns []string `json:"exclude_patterns"` WorkspaceID uint `json:"workspace_id" validate:"required,min=0"` PagesPoolSize int `json:"pages_pool_size" validate:"min=1,max=100"` Headers map[string][]string `json:"headers" validate:"omitempty"` InsertionPoints []string `json:"insertion_points" validate:"omitempty,dive,oneof=parameters urlpath body headers cookies json xml"` Mode ScanMode `json:"mode" validate:"omitempty,oneof=fast smart fuzz"` ExperimentalAudits bool `json:"experimental_audits"` AuditCategories AuditCategories `json:"audit_categories" validate:"required"` }
type HistoryItemScanOptions ¶
type HistoryItemScanOptions struct { WorkspaceID uint `json:"workspace_id" validate:"required,min=0"` TaskID uint `json:"task_id" validate:"required,min=0"` TaskJobID uint `json:"task_job_id" validate:"required,min=0"` Mode ScanMode `json:"mode" validate:"omitempty,oneof=fast smart fuzz"` InsertionPoints []string `json:"insertion_points" validate:"omitempty,dive,oneof=parameters urlpath body headers cookies json xml"` FingerprintTags []string `json:"fingerprint_tags" validate:"omitempty,dive"` Fingerprints []lib.Fingerprint `json:"fingerprints" validate:"omitempty,dive"` ExperimentalAudits bool `json:"experimental_audits"` AuditCategories AuditCategories `json:"audit_categories" validate:"required"` }
func (HistoryItemScanOptions) IsScopedInsertionPoint ¶
func (o HistoryItemScanOptions) IsScopedInsertionPoint(insertionPoint string) bool
type ScanMode ¶
type ScanMode string
func GetScanMode ¶
func (ScanMode) IsHigherOrEqual ¶
func (ScanMode) IsLowerOrEqual ¶
func (ScanMode) MaxDiscoveryPathsPerModule ¶
Click to show internal directories.
Click to hide internal directories.