Skip to content

Add checks customization feature documentation #211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

EMaksy
Copy link
Collaborator

@EMaksy EMaksy commented Mar 26, 2025

Description

This Pr is a template for the upcoming checks customization feature for trento web.
The pr provides an adoc document which can be used in the main article.

@EMaksy EMaksy added the prj:Trento Related to Trento documentation label Mar 26, 2025
@EMaksy EMaksy self-assigned this Mar 26, 2025
Copy link
Collaborator Author

@EMaksy EMaksy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An overview of the current feature with a minor label change, see in comments


* Check description.

* Warning message that Trento & SUSE are not liable for system malfunctions due to custom check values.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


User input is validated to ensure that the input value matches the expected type before allowing to save the custom values in Wanda's database. If the input type is incorrect or mixed, the customization fails, triggering a toast notification, that checks customization failed and a warning message in the modal itself.

=== Disable Check Customization
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part is very optional, and less user relevant. Feel free to skip it, as discussed


By default, built-in checks are customizable, to disable customization for a specific check, the *customization_disabled: true* flag must be added to the corresponding check YAML file. This flag can be applied at the top level to disable customization entirely or at the value level to control which values remain customizable through the Web UI.

==== Disable Check customization for all values:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be removed as mentioned in the comment before, but good for the understanding

@EMaksy EMaksy requested a review from dmpop April 8, 2025 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prj:Trento Related to Trento documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant