Skip to content

Commit

Permalink
corrected mispelling on OWASP object score
Browse files Browse the repository at this point in the history
  • Loading branch information
josehelps authored and sethvargo committed May 1, 2018
1 parent 572ae53 commit cf4b60f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastly/waf.go
Expand Up @@ -246,7 +246,7 @@ type OWASP struct {
TotalArgLength int `jsonapi:"attr,total_arg_length"`
UpdatedAt string `jsonapi:"attr,updated_at"`
WarningAnomalyScore int `jsonapi:"attr,warning_anomaly_score"`
XDDScoreThreshold int `jsonapi:"attr,xss_score_threshold"`
XSSScoreThreshold int `jsonapi:"attr,xss_score_threshold"`
}

// GetOWASPInput is used as input to the GetOWASP function.
Expand Down Expand Up @@ -351,7 +351,7 @@ type UpdateOWASPInput struct {
TotalArgLength int `jsonapi:"attr,total_arg_length,omitempty"`
UpdatedAt string `jsonapi:"attr,updated_at,omitempty"`
WarningAnomalyScore int `jsonapi:"attr,warning_anomaly_score,omitempty"`
XDDScoreThreshold int `jsonapi:"attr,xss_score_threshold,omitempty"`
XSSScoreThreshold int `jsonapi:"attr,xss_score_threshold,omitempty"`
}

// CreateOWASP creates an OWASP settings object for a service firewall object.
Expand Down

0 comments on commit cf4b60f

Please sign in to comment.