Open paulchoi opened 3 years ago
@paulchoi The sensu rest client function used to retrieve a check doesn't provide this attribute.
The RestClient use the FetchCheck function, which return the corev2 CheckConfig type with no field Silenced.
The Silenced field is in type Check and it is not used by the rest client.
Add support for
silenced
top-level attribute.Description says: Silences that apply to the check.
https://docs.sensu.io/sensu-go/6.3/observability-pipeline/observe-schedule/checks/#top-level-attributes