Documentation ¶
Index ¶
- Constants
- type CreateWebApplicationPracticeInput
- type IDs
- type UpdateWebApplicationPracticeAdvancedSettingInput
- type UpdateWebApplicationPracticeIPSInput
- type UpdateWebApplicationPracticeInput
- type UpdateWebApplicationPracticeWebAttacksInput
- type UpdateWebApplicationPracticeWebBotInput
- type WebApplicationAdvancedSetting
- type WebApplicationIPS
- type WebApplicationPractcieIPSInput
- type WebApplicationPractice
- type WebApplicationPracticeAdvancedSettingInput
- type WebApplicationPracticeAdvancedSettingSchema
- type WebApplicationPracticeIPSSchema
- type WebApplicationPracticeWebAttacksInput
- type WebApplicationPracticeWebAttacksSchema
- type WebApplicationPracticeWebBotInput
- type WebApplicationPracticeWebBotSchema
- type WebApplicationURI
- type WebApplicationWebAttacks
- type WebApplicationWebBot
Constants ¶
View Source
const (
WebApplicationURIIDSeparator = ";;;"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateWebApplicationPracticeInput ¶
type CreateWebApplicationPracticeInput struct { Name string `json:"name"` Visibility string `json:"visibility"` IPS WebApplicationPractcieIPSInput `json:"IPS,omitempty"` WebBot WebApplicationPracticeWebBotInput `json:"WebBot,omitempty"` WebAttacks WebApplicationPracticeWebAttacksInput `json:"WebAttacks,omitempty"` }
type UpdateWebApplicationPracticeAdvancedSettingInput ¶
type UpdateWebApplicationPracticeAdvancedSettingInput struct { ID string `json:"id"` CSRFProtection string `json:"CSRFProtection,omitempty"` OpenRedirect string `json:"openRedirect,omitempty"` ErrorDisclosure string `json:"errorDisclosure,omitempty"` BodySize int `json:"bodySize,omitempty"` URLSize int `json:"urlSize,omitempty"` HeaderSize int `json:"headerSize,omitempty"` MaxObjectDepth int `json:"maxObjectDepth,omitempty"` IllegalHttpMethods string `json:"illegalHttpMethods,omitempty"` }
type UpdateWebApplicationPracticeIPSInput ¶
type UpdateWebApplicationPracticeIPSInput struct { ID string `json:"id"` PerformanceImpact string `json:"performanceImpact,omitempty"` SeverityLevel string `json:"severityLevel,omitempty"` ProtectionsFromYear string `json:"protectionsFromYear,omitempty"` HighConfidence string `json:"highConfidence,omitempty"` MediumConfidence string `json:"mediumConfidence,omitempty"` LowConfidence string `json:"lowConfidence,omitempty"` }
type UpdateWebApplicationPracticeInput ¶
type UpdateWebApplicationPracticeInput struct { Name string `json:"name,omitempty"` IPS UpdateWebApplicationPracticeIPSInput `json:"IPS,omitempty"` WebAttacks UpdateWebApplicationPracticeWebAttacksInput `json:"WebAttacks,omitempty"` WebBot UpdateWebApplicationPracticeWebBotInput `json:"WebBot,omitempty"` }
type UpdateWebApplicationPracticeWebAttacksInput ¶
type UpdateWebApplicationPracticeWebAttacksInput struct { ID string `json:"id"` MinimumSeverity string `json:"minimumSeverity,omitempty"` AdvancedSetting UpdateWebApplicationPracticeAdvancedSettingInput `json:"advancedSetting,omitempty"` }
type UpdateWebApplicationPracticeWebBotInput ¶
type UpdateWebApplicationPracticeWebBotInput struct { ID string `json:"id"` AddInjectURIs []string `json:"addInjectURIs,omitempty"` RemoveInjectURIsIDs []string `json:"removeInjectURIs,omitempty"` AddValidURIs []string `json:"addValidURIs,omitempty"` RemoveValidURIsIDs []string `json:"removeValidURIs,omitempty"` }
type WebApplicationAdvancedSetting ¶
type WebApplicationAdvancedSetting struct { ID string `json:"id"` CSRFProtection string `json:"CSRFProtection,omitempty"` OpenRedirect string `json:"openRedirect,omitempty"` ErrorDisclosure string `json:"errorDisclosure,omitempty"` IllegalHttpMethods string `json:"illegalHttpMethods,omitempty"` BodySize int `json:"bodySize,omitempty"` URLSize int `json:"urlSize,omitempty"` HeaderSize int `json:"headerSize,omitempty"` MaxObjectDepth int `json:"maxObjectDepth,omitempty"` }
type WebApplicationIPS ¶
type WebApplicationIPS struct { ID string `json:"id"` PerformanceImpact string `json:"performanceImpact"` SeverityLevel string `json:"severityLevel"` ProtectionsFromYear string `json:"protectionsFromYear"` HighConfidence string `json:"highConfidence"` MediumConfidence string `json:"mediumConfidence"` LowConfidence string `json:"lowConfidence"` }
type WebApplicationPractcieIPSInput ¶
type WebApplicationPractcieIPSInput struct { ID string `json:"id,omitempty"` PerformanceImpact string `json:"performanceImpact,omitempty"` SeverityLevel string `json:"severityLevel,omitempty"` ProtectionsFromYear string `json:"protectionsFromYear,omitempty"` HighConfidence string `json:"highConfidence,omitempty"` MediumConfidence string `json:"mediumConfidence,omitempty"` LowConfidence string `json:"lowConfidence,omitempty"` }
type WebApplicationPractice ¶
type WebApplicationPractice struct { ID string `json:"id"` Name string `json:"name"` Category string `json:"category"` PracticeType string `json:"practiceType"` IPS WebApplicationIPS `json:"IPS"` WebBot WebApplicationWebBot `json:"WebBot"` WebAttacks WebApplicationWebAttacks `json:"WebAttacks"` Default bool `json:"default"` }
type WebApplicationPracticeAdvancedSettingInput ¶
type WebApplicationPracticeAdvancedSettingInput struct { ID string `json:"id,omitempty"` CSRFProtection string `json:"CSRFProtection,omitempty"` OpenRedirect string `json:"openRedirect,omitempty"` ErrorDisclosure string `json:"errorDisclosure,omitempty"` IllegalHttpMethods string `json:"illegalHttpMethods,omitempty"` BodySize int `json:"bodySize,omitempty"` URLSize int `json:"urlSize,omitempty"` HeaderSize int `json:"headerSize,omitempty"` MaxObjectDepth int `json:"maxObjectDepth,omitempty"` }
type WebApplicationPracticeAdvancedSettingSchema ¶
type WebApplicationPracticeAdvancedSettingSchema struct { ID string `json:"id"` CSRFProtection string `json:"csrf_protection,omitempty"` OpenRedirect string `json:"open_redirect,omitempty"` ErrorDisclosure string `json:"error_disclosure,omitempty"` IllegalHttpMethods bool `json:"illegal_http_methods,omitempty"` BodySize int `json:"body_size,omitempty"` URLSize int `json:"url_size,omitempty"` HeaderSize int `json:"header_size,omitempty"` MaxObjectDepth int `json:"max_object_depth,omitempty"` }
type WebApplicationPracticeIPSSchema ¶
type WebApplicationPracticeIPSSchema struct { ID string `json:"id"` PerformanceImpact string `json:"performance_impact,omitempty"` SeverityLevel string `json:"severity_level,omitempty"` ProtectionsFromYear string `json:"protections_from_year,omitempty"` HighConfidence string `json:"high_confidence,omitempty"` MediumConfidence string `json:"medium_confidence,omitempty"` LowConfidence string `json:"low_confidence,omitempty"` }
type WebApplicationPracticeWebAttacksInput ¶
type WebApplicationPracticeWebAttacksInput struct { ID string `json:"id,omitempty"` MinimumSeverity string `json:"minimumSeverity,omitempty"` AdvancedSetting WebApplicationPracticeAdvancedSettingInput `json:"advancedSetting,omitempty"` }
type WebApplicationPracticeWebAttacksSchema ¶
type WebApplicationPracticeWebAttacksSchema struct { ID string `json:"id"` MinimumSeverity string `json:"minimum_severity,omitempty"` AdvancedSetting []WebApplicationPracticeAdvancedSettingSchema `json:"advanced_setting,omitempty"` }
type WebApplicationURI ¶
func (*WebApplicationURI) CreateSchemaID ¶
func (uri *WebApplicationURI) CreateSchemaID() string
type WebApplicationWebAttacks ¶
type WebApplicationWebAttacks struct { ID string `json:"id"` MinimumSeverity string `json:"minimumSeverity"` AdvancedSetting WebApplicationAdvancedSetting `json:"advancedSetting"` }
type WebApplicationWebBot ¶
type WebApplicationWebBot struct { ID string `json:"id"` InjectURIs []WebApplicationURI `json:"injectURIs"` ValidURIs []WebApplicationURI `json:"validURIs"` }
Click to show internal directories.
Click to hide internal directories.