Documentation ¶
Index ¶
- type OperationScan
- type Scan
- func NewGraphQLScan(url string, header http.Header, cookies []http.Cookie, ...) (*Scan, error)
- func NewOpenAPIScan(doc *openapi3.T, validToken *string, reporter *report.Reporter) (*Scan, error)
- func NewScan(operations request.Operations, reporter *report.Reporter) (*Scan, error)
- func NewURLScan(method string, url string, header http.Header, cookies []http.Cookie, ...) (*Scan, error)
- func (s *Scan) AddOperationScanHandler(handler ScanHandler) *Scan
- func (s *Scan) AddScanHandler(handler ScanHandler) *Scan
- func (s *Scan) Execute(scanCallback func(operationScan *OperationScan)) (*report.Reporter, []error, error)
- func (s *Scan) GetOperationsScans() []OperationScan
- func (s *Scan) WithAcceptUnauthenticatedScan() *Scan
- func (s *Scan) WithAlgNoneJwtScan() *Scan
- func (s *Scan) WithAllBestPracticesScans() *Scan
- func (s *Scan) WithAllDiscoverScans() *Scan
- func (s *Scan) WithAllGraphQLScans() *Scan
- func (s *Scan) WithAllOpenAPIDiscoverScans() *Scan
- func (s *Scan) WithAllScans() *Scan
- func (s *Scan) WithAllVulnsScans() *Scan
- func (s *Scan) WithDiscoverableGraphQLPathScan() *Scan
- func (s *Scan) WithDiscoverableOpenAPIScan() *Scan
- func (s *Scan) WithGraphQLIntrospectionScan() *Scan
- func (s *Scan) WithHTTPCookiesBestPracticesScan() *Scan
- func (s *Scan) WithHTTPHeadersBestPracticesScan() *Scan
- func (s *Scan) WithHTTPTraceMethodBestPracticesScan() *Scan
- func (s *Scan) WithJWTNullSignatureScan() *Scan
- func (s *Scan) WithNoAuthOperationScan() *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 OperationScan ¶ added in v0.4.6
type OperationScan struct { Operation *request.Operation Handler ScanHandler }
type Scan ¶
type Scan struct { Operations request.Operations Reporter *report.Reporter OperationsScans []OperationScan }
func NewGraphQLScan ¶ added in v0.4.6
func NewOpenAPIScan ¶ added in v0.3.0
func NewURLScan ¶ added in v0.3.0
func (*Scan) AddOperationScanHandler ¶ added in v0.4.0
func (s *Scan) AddOperationScanHandler(handler ScanHandler) *Scan
func (*Scan) AddScanHandler ¶ added in v0.3.0
func (s *Scan) AddScanHandler(handler ScanHandler) *Scan
func (*Scan) GetOperationsScans ¶ added in v0.4.6
func (s *Scan) GetOperationsScans() []OperationScan
func (*Scan) WithAcceptUnauthenticatedScan ¶ added in v0.4.6
func (*Scan) WithAlgNoneJwtScan ¶
func (*Scan) WithAllBestPracticesScans ¶ added in v0.3.0
func (*Scan) WithAllDiscoverScans ¶ added in v0.4.0
func (*Scan) WithAllGraphQLScans ¶ added in v0.4.6
func (*Scan) WithAllOpenAPIDiscoverScans ¶ added in v0.4.6
func (*Scan) WithAllScans ¶ added in v0.2.0
func (*Scan) WithAllVulnsScans ¶ added in v0.3.0
func (*Scan) WithDiscoverableGraphQLPathScan ¶ added in v0.4.2
func (*Scan) WithDiscoverableOpenAPIScan ¶ added in v0.4.0
func (*Scan) WithGraphQLIntrospectionScan ¶ added in v0.4.0
func (*Scan) WithHTTPCookiesBestPracticesScan ¶ added in v0.4.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) WithNoAuthOperationScan ¶ added in v0.5.0
func (*Scan) WithNotVerifiedJwtScan ¶
func (*Scan) WithServerSignatureScan ¶ added in v0.3.1
func (*Scan) WithWeakJwtSecretScan ¶
type ScanHandler ¶
type ScanHandler func(operation *request.Operation, ss auth.SecurityScheme) (*report.ScanReport, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.