Documentation
¶
Index ¶
Constants ¶
View Source
const ( ScannerRestler string = "RESTler" ScannerZap string = "Zap" ScannerNuclei string = "Nuclei" )
View Source
const (
AppTypeREST string = "REST"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alerts ¶ added in v0.9.13
type Alerts struct { PluginID string `json:"pluginid"` AlertRef string `json:"alertRef"` Alert string `json:"alert"` Name string `json:"name"` Riskcode string `json:"riskcode"` Confidence string `json:"confidence"` Riskdesc string `json:"riskdesc"` Desc string `json:"desc"` Instances []Instances `json:"instances"` Count string `json:"count"` Solution string `json:"solution"` Otherinfo string `json:"otherinfo"` Reference string `json:"reference"` CWE string `json:"cweid"` Wascid string `json:"wascid"` Sourceid string `json:"sourceid"` Tags []Tags `json:"tags"` }
type AuthConfig ¶ added in v0.1.0
type AuthConfig struct { // Single user authentication fields Method AuthMethod `json:"method,omitempty"` Username string `json:"username,omitempty"` UserDescription string `json:"userDescription,omitempty"` Headers map[string]string `json:"headers,omitempty"` Password string `json:"password,omitempty"` Token string `json:"token,omitempty"` ClientID string `json:"clientId,omitempty"` ClientSecret string `json:"clientSecret,omitempty"` TokenURL string `json:"tokenUrl,omitempty"` Scope string `json:"scope,omitempty"` LoginURL string `json:"loginUrl,omitempty"` LoginBody interface{} `json:"loginBody,omitempty"` LoginSelector string `json:"loginSelector,omitempty"` CustomHeaders map[string]string `json:"customHeaders,omitempty"` CustomParams map[string]interface{} `json:"customParams,omitempty"` // Multi-user authentication fields AuthorizationModel bool `json:"authorizationModel,omitempty"` Users []UserAuth `json:"users,omitempty"` }
AuthConfig represents the authentication configuration for Nullify DAST
type AuthMethod ¶ added in v0.11.0
type AuthMethod string
const ( AuthMethodNone AuthMethod = "none" AuthMethodBasic AuthMethod = "basic" AuthMethodBearer AuthMethod = "bearer" AuthMethodSession AuthMethod = "session" AuthMethodOAuth AuthMethod = "oauth" AuthMethodSAML AuthMethod = "saml" AuthMethodJWT AuthMethod = "jwt" AuthMethodCustom AuthMethod = "custom" )
type AuthSources ¶
type DASTFinding ¶ added in v0.1.0
type Instances ¶ added in v0.9.13
type Instances struct { URI string `json:"uri"` Method string `json:"method"` Param string `json:"param"` Attack string `json:"attack"` Evidence string `json:"evidence"` Otherinfo string `json:"otherinfo"` RequestHeader string `json:"request-header"` RequestBody string `json:"request-body"` ResponseHeader string `json:"response-header"` ResponseBody string `json:"response-body"` }
type MultiUserAuthConfig ¶ added in v0.11.0
type MultiUserAuthConfig struct { Method AuthMethod `json:"method,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Token string `json:"token,omitempty"` ClientID string `json:"clientId,omitempty"` ClientSecret string `json:"clientSecret,omitempty"` TokenURL string `json:"tokenUrl,omitempty"` Scope string `json:"scope,omitempty"` LoginURL string `json:"loginUrl,omitempty"` LoginBody interface{} `json:"loginBody,omitempty"` LoginSelector string `json:"loginSelector,omitempty"` CustomHeaders map[string]string `json:"customHeaders,omitempty"` CustomParams map[string]interface{} `json:"customParams,omitempty"` }
type RESTFinding ¶ added in v0.1.0
type RESTFinding struct { AppName string `json:"appName"` Host string `json:"host"` HTTPVersion string `json:"httpVersion"` Method string `json:"method"` Path string `json:"path"` QueryParameters map[string]string `json:"queryParameters"` VulnerableParameterName string `json:"vulnerableParameterName"` VulnerableParameterValue string `json:"vulnerableParameterValue"` ErrorType string `json:"errorType"` ErrorDescription string `json:"errorDescription"` PreviousResponse string `json:"previousResponse"` URI string `json:"uri"` RequestHeader map[string]string `json:"requestHeader"` RequestBody string `json:"requestBody"` ResponseHeader map[string]string `json:"responseHeader"` ResponseBody string `json:"responseBody"` }
type RequestDashboardTarget ¶
type RequestDashboardTarget struct {
GitHubRepository string `query:"githubRepository,omitempty" json:"githubRepository,omitempty"`
}
type RequestProvider ¶
Click to show internal directories.
Click to hide internal directories.