Skip to content
Start here

Groups

List WAF rule groups
Deprecated
client.Firewall.WAF.Packages.Groups.List(ctx, packageID, params) (*V4PagePaginationArray[Group], error)
GET/zones/{zone_id}/firewall/waf/packages/{package_id}/groups
Get a WAF rule group
Deprecated
client.Firewall.WAF.Packages.Groups.Get(ctx, packageID, groupID, query) (*unknown, error)
GET/zones/{zone_id}/firewall/waf/packages/{package_id}/groups/{group_id}
Update a WAF rule group
Deprecated
client.Firewall.WAF.Packages.Groups.Edit(ctx, packageID, groupID, params) (*unknown, error)
PATCH/zones/{zone_id}/firewall/waf/packages/{package_id}/groups/{group_id}
ModelsExpand Collapse
type Group struct{…}
ID string

Defines the unique identifier of the rule group.

maxLength32
Description string

Defines an informative summary of what the rule group does.

Mode GroupMode

Defines the state of the rules contained in the rule group. When on, the rules in the group are configurable/usable.

One of the following:
const GroupModeOn GroupMode = "on"
const GroupModeOff GroupMode = "off"
Name string

Defines the name of the rule group.

RulesCount float64

Defines the number of rules in the current rule group.

AllowedModes []GroupAllowedModeOptional

Defines the available states for the rule group.

One of the following:
const GroupAllowedModeOn GroupAllowedMode = "on"
const GroupAllowedModeOff GroupAllowedMode = "off"
ModifiedRulesCount float64Optional

Defines the number of rules within the group that have been modified from their default configuration.

PackageID stringOptional

Defines the unique identifier of a WAF package.

maxLength32