-
Feature Request
-
Resolution: Unresolved
-
Normal
-
None
-
6.16.z, 6.17.z, 6.18.z
-
False
-
sat-proton
-
None
-
None
-
None
-
None
The request is rather simple. Please allow subscription_facet to be queried from a report and webhook template, and then allow printing the activation_key information stored in a subscription_facet of a host.
Scenario 1: To print it in report templates:
Something like this can do it in the rails console
host&.subscription_facet&.activation_key_names.join(',')
So this should be easy enough to have a macro created, like activation_keys(host) for report_templates.
Scenario 2: Webhook templates:
In the case of Webhook templates, suppose I wanted to create a template and use it with a webhook for the Host updated event. At that point, if subscription_facet is not allowed in safemode, then I cannot query it as well to get the name of activation_keys associated with the host.
Four main information one may need to fetch from subscription_facet of a host are:
- activation_key_names or activation_keys
- last_checkin
- registered_through
- registered_at
Please allow them in safemode so that we can query them as needed.
- relates to
-
SAT-38675 [RFE] Allow methods in Safemode to be executed
-
- New
-