You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Troubleshoot has a YAML redactor that is used to redact values in a YAML file selected using this yamlPath selector syntax. Since we collect JSON files in support bundles, having a similar redactor that behaves the same as the YAML redactor would be beneficial
Using the current set of redactors such as the regex redactor to craft complex redactors for extracting values
Additional context
This redactor will behave the same as the YAML redactor. The implementation will be quite similar, the deference being conversions from JSON to Go objects and back. Some of the code such a redactYaml which is used to search for elements in the extracted Go structure should be reused.
The text was updated successfully, but these errors were encountered:
Describe the rationale for the suggested feature.
Troubleshoot has a YAML redactor that is used to redact values in a YAML file selected using this yamlPath selector syntax. Since we collect JSON files in support bundles, having a similar redactor that behaves the same as the YAML redactor would be beneficial
Describe the feature
Given the below input
A redactor of
abc.*.charlie
would remove the values forabc.a.charlie
andabc.c.charlie
, yieldingDescribe alternatives you've considered
Using the current set of redactors such as the regex redactor to craft complex redactors for extracting values
Additional context
This redactor will behave the same as the YAML redactor. The implementation will be quite similar, the deference being conversions from JSON to Go objects and back. Some of the code such a redactYaml which is used to search for elements in the extracted Go structure should be reused.
The text was updated successfully, but these errors were encountered: