Documentation
¶
Index ¶
- type Scan
- func NewOpenAPIScan(openAPIUrlOrPath string, validToken *string, reporter *report.Reporter) (*Scan, error)
- func NewScan(operations request.Operations, reporter *report.Reporter) (*Scan, error)
- func NewURLScan(method string, url string, headers *http.Header, cookies []http.Cookie, ...) (*Scan, error)
- func (s *Scan) AddScanHandler(sh ScanHandler) *Scan
- func (s *Scan) Execute() (*report.Reporter, []error, error)
- func (s *Scan) ExecuteOperation(operation *request.Operation) ([]error, error)
- func (s *Scan) ValidateOperation(operation *request.Operation) error
- func (s *Scan) WithAlgNoneJwtScan() *Scan
- func (s *Scan) WithAllBestPracticesScans() *Scan
- func (s *Scan) WithAllVulnsScans() *Scan
- func (s *Scan) WithHTTPHeadersBestPracticesScan() *Scan
- func (s *Scan) WithHTTPTraceMethodBestPracticesScan() *Scan
- func (s *Scan) WithJWTNullSignatureScan() *Scan
- func (s *Scan) WithNotVerifiedJwtScan() *Scan
- func (s *Scan) WithServerSignatureScan() *Scan
- func (s *Scan) WithWeakJwtSecretScan() *Scan
- type ScanHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scan ¶
type Scan struct {
Operations request.Operations
Handlers []ScanHandler
Reporter *report.Reporter
}
func NewOpenAPIScan ¶ added in v0.3.0
func NewURLScan ¶ added in v0.3.0
func (*Scan) AddScanHandler ¶ added in v0.3.0
func (s *Scan) AddScanHandler(sh ScanHandler) *Scan
func (*Scan) ExecuteOperation ¶ added in v0.3.0
func (*Scan) ValidateOperation ¶ added in v0.3.0
func (*Scan) WithAlgNoneJwtScan ¶
func (*Scan) WithAllBestPracticesScans ¶ added in v0.3.0
func (*Scan) WithAllVulnsScans ¶ added in v0.3.0
func (*Scan) WithHTTPHeadersBestPracticesScan ¶ added in v0.3.0
func (*Scan) WithHTTPTraceMethodBestPracticesScan ¶ added in v0.3.0
func (*Scan) WithJWTNullSignatureScan ¶ added in v0.2.0
func (*Scan) WithNotVerifiedJwtScan ¶
func (*Scan) WithServerSignatureScan ¶ added in v0.3.1
func (*Scan) WithWeakJwtSecretScan ¶
type ScanHandler ¶
type ScanHandler func(o *request.Operation, ss auth.SecurityScheme) (*report.ScanReport, error)
Click to show internal directories.
Click to hide internal directories.