From 98b22c0bfa9c4fbd71d882544cf90dbbe782f5da Mon Sep 17 00:00:00 2001 From: Daniel Corbett Date: Tue, 26 Sep 2023 11:07:22 -0400 Subject: [PATCH] DOC: update comments with new comparison opers This commit updates the code comments to reflect the new comparison operators greaterEqual/lesserEqual as well as the new value type, valueInt. --- api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.go b/api.go index 3e737d6..f3ee6fe 100644 --- a/api.go +++ b/api.go @@ -2110,8 +2110,8 @@ func (sc *Client) DeleteSite(corpName, siteName string) error { type Condition struct { Type string `json:"type,omitempty"` //(group, single) GroupOperator string `json:"groupOperator,omitempty"` //type: group - Conditions that must be matched when evaluating the request (all, any) - Field string `json:"field,omitempty"` //type: single - (scheme, method, path, useragent, domain, ip, responseCode, agentname, paramname, paramvalue, country, name, valueString, valueIp, signalType) - Operator string `json:"operator,omitempty"` //type: single - (equals, doesNotEqual, contains, doesNotContain, like, notLike, exists, doesNotExist, inList, notInList) + Field string `json:"field,omitempty"` //type: single - (scheme, method, path, useragent, domain, ip, responseCode, agentname, paramname, paramvalue, country, name, valueString, valueInt, valueIp, signalType) + Operator string `json:"operator,omitempty"` //type: single - (equals, doesNotEqual, contains, doesNotContain, greaterEqual, lesserEqual, like, notLike, exists, doesNotExist, inList, notInList) Value string `json:"value,omitempty"` //type: single - See request fields (https://docs.signalsciences.net/using-signal-sciences/features/rules/#request-fields) Conditions []Condition `json:"conditions,omitempty"` }