Skip to content

User Mode GUI

User Mode grants logged-in users full access to policy management functionalities.
Unlike Guest Mode, where only statistics are visible, users in this mode can view, filter, create, edit, activate/deactivate, and delete policies.

The main sections in User Mode include:

  • List of all policies – Displays all available policies with filtering options.
  • View details – Provides an in-depth view of a specific policy.
  • Create – Allows users to define new policies.
  • Delete – Enables users to remove policies.
  • Modify/Edit – Lets users update existing policies.
  • Activate/Deactivate – Controls the status of policies.

Policy List View

Once logged in, users are presented with the Policy List Table, which contains all existing policies.
This table provides a structured overview with the following columns:

  • Policy Type – Identifies whether the policy applies to a host or an app.
  • App Name / Host ID – Displays either the application name or the host ID.
  • Policy Name – A unique identifier for each policy.
  • Created – The date when the policy was created.
  • Phase – Represents the policy lifecycle phase.
  • Status – Shows if the policy is active or inactive.
  • Actions – A set of available operations for managing each policy.

Above the table, users have access to a dropdown filter, which allows filtering policies by App Name or Host ID.
Selecting an option updates the table dynamically, displaying only the relevant policies.

User Mode Policy Table


Managing Policies

The Actions column in the Policy List provides several management options, each represented by an icon button.
These buttons allow users to interact with policies directly from the table.

Action Buttons

  1. View Policy Details – Opens a detailed view of the selected policy.
  2. Activate/Deactivate Policy – Toggles the policy status between active and inactive.
  3. If the policy is active, the button appears red, indicating that clicking it will deactivate the policy.
  4. If the policy is inactive, the button appears green, indicating that clicking it will activate the policy.
  5. Edit Policy Variables – Allows modification of policy parameters.
  6. Delete Policy – Opens a confirmation modal before deleting the policy.

Tooltips on Hover

Each action button displays a tooltip when hovered over, providing a description of its function.
In the example below, the "Delete Policy" button is hovered, showing the corresponding tooltip.

Policy Actions

Policy Details View

When a user clicks on the View Policy Details button in the "Actions" column, a new page opens, displaying detailed information about the selected policy.

The Policy Details Page is structured into multiple grid cards, each containing specific policy-related information:

  • General Information → Displays key details such as Policy Name, Host ID, Agent ID.
  • Specification → Defines the policy type, expression, and threshold values (Warning & Critical).
  • Action → Specifies the webhook URL, HTTP method, and access token inclusion.
  • Subject → Identifies whether the policy applies to a host or app.
  • Variables → Lists parameters such as thresholdTimeSeconds and maxCpu.
  • Status → Shows whether the policy is active or inactive.
  • Events → Logs policy creation & processing timestamps.
  • Measurement Backends → Lists any available measurement backends (if none exist, displays "No measurement backends available").

Read-Only Information

The Policy Details Page is read-only, meaning users can view all details but cannot make changes directly.
To edit a policy, users must return to the Policy List and use the Edit Policy Variables option.

To exit the Policy Details page, users can:
- Click the Back button.
- Click the Home button in the sidebar.

Policy Details

Create a Policy

To create a new policy, users must be logged in.
If an unauthenticated user attempts to create a policy, they will receive a warning message:

Log-in to create a policy

Policy Creation Form

The policy creation process consists of several sections, each containing specific configuration options.

Basic Information

Users must provide key details about the policy: - Policy Name – A unique identifier for the policy. - Subject Type – Determines whether the policy applies to a host or an application. - If Host is selected → Users must enter Host ID and Agent ID. - If App is selected → Users must enter App Name, App Instance, and App Component.

Specification

Defines the policy logic, including: - Expression – The rule that determines when the policy is triggered. - Max CPU – Sets the maximum allowed CPU usage. - Thresholds
- Warning Threshold – The value at which a warning is issued. - Critical Threshold – The value at which a critical alert is issued.

Action & Webhook

Defines what happens when a policy is triggered: - Webhook URL – The endpoint that will receive the event. - HTTP Method – Defines the request type (POST or GET). - Include Access Token – Determines if an authentication token should be included.


Submitting the Policy

Once all required fields are filled out, users can click the "Create Policy" button.
If successful, they receive a confirmation message and are redirected to the homepage.

Create Policy Form

TO BE CONTINUED, ADD NOTIFICATION SCREENSHOTS, EXPLAIN DROPDOWN MENU FOR SUBJECT TYPE AND HTTP METHOD

AFTER CREATING A NEW POLICY THERE IS A REDIRECT TO THE TABLE OF POLICIES

delete

delete policy

The following pop-up is opened:

pop-up delete policy

modify/edit

edit policy

activate/deactivated

(de)activated policy