@@ -81,6 +81,10 @@ relationships:
8181 version : " 1"
8282 origins :
8383 - OpenTelemetry
84+ entitlements :
85+ matching : anyOf
86+ values :
87+ - advanced_ccu
8488 conditions :
8589 - attribute : entity.type
8690 anyOf : [ "PIXIE_DNS" ]
@@ -173,6 +177,45 @@ One rule can be applied to multiple sources, as shown in the example. These orig
173177to filter which rules to evaluate and which ones to ignore.
174178The mapping of origins to sources allows for performance improvements when evaluating rules via the matching system.
175179
180+ # ## Entitlements
181+
182+ Optionally, you can create a rule that will only match if the account of the telemetry has the required entitlements.
183+
184+
185+ ` ` ` yaml
186+ entitlements:
187+ matching: anyOf
188+ values:
189+ - advanced_ccu
190+ ` ` `
191+
192+ # ### Matching
193+
194+ Defines how the entitlements will be matched.
195+ Only `anyOf` is allowed.
196+
197+ # ### Values
198+
199+ Defines the names of the entitlements to match.
200+ The account producing the telemetry must contain the entitlements in order for the rule to match.
201+
202+
203+ The entitlements to use is a closed list defined below :
204+
205+ | **Entitlement** | **Description** |
206+ |-----------------|-----------------|
207+ | advanced_ccu | Controls whether certain advanced capabilities are accessible in the product |
208+ | catalog_ccu | Controls whether customers can use Catalogs in the product |
209+ | catalogs_discount_usage | Trial version of the above |
210+ | auto_discovery_entities_ccu | Controls whether customers can enable and use Auto Discovery |
211+ | auto_discovery_entities_ccu_discount_usage | Trial version of the previous one |
212+ | advanced_maps_ccu | Controls whether customers can use advanced maps (infrastructure maps and Dynamic Flow Maps) |
213+ | advanced_maps_discount_usage | Trial version of the previous one |
214+ | ngep_nrql_access_layer_ccu | No definition provided |
215+
216+ If you need an entitlement not in the list reach us.
217+
218+
176219# ## Conditions
177220
178221` Conditions` are used to determine if a rule should be applied to a given data point.
0 commit comments