AddToBlocklistInput is an input datatype for adding a query to a blocklist It's used by the addToBlocklist() mutation field.

Table: AddToBlocklistInput

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
clusterWideBoolean    Whether to apply the pattern globally. Requires the ManageCluster permission.
patternStringyes   The pattern to match
typeBlockedQueryMatcherTypeyes   Whether the pattern should be matched exactly or interpreted as a regex pattern
viewNameString    Limits the scope of the pattern to a specific view preventing matching queries from execution in that context only.