Admin Settings

Managing Authentication

Adding additional Authentication sources

Mangle supports using Active Directory as an additional authentication source.

Steps to follow:

  1. Login as an admin user to Mangle.
  2. Navigate to Admin Settings - 图1 ——-> Auth Management ——-> Auth Source .
  3. Click on Admin Settings - 图2.
  4. Enter URL, Domain and click on Submit.
  5. A success message is displayed and the table for Auth sources will be updated with the new entry.
  6. Click on Admin Settings - 图3 against a table entry to see the supported operations.

{% hint style=”info” %}
Relevant API List

For access to Swagger documentation, please traverse to link Admin Settings - 图4 ——-> API Documentation from the Mangle UI or access https://<Mangle IP or Hostname>/mangle-services/swagger-ui.html#/auth-provider-controller

Admin Settings - 图5
{% endhint %}

Adding/Importing Users

Mangle supports adding new local user or importing users from Active Directory sources added as additional authentication sources.

Steps to follow:

  1. Login as an admin user to Mangle.
  2. Navigate to Admin Settings - 图6 ——-> Auth Management ——-> Users .
  3. Click on Admin Settings - 图7.
  4. Enter User Name, Auth Source, Password if the Auth Source selected is “mangle.local”, an appropriate role and click on Submit.
  5. A success message is displayed and the table for Users will be updated with the new entry.
  6. Click on Admin Settings - 图8 against a table entry to see the supported operations.

{% hint style=”info” %}
Relevant API List

For access to Swagger documentation, please traverse to link Admin Settings - 图9 ——-> API Documentation from the Mangle UI or access https://<Mangle IP or Hostname>/mangle-services/swagger-ui.html#/user-management-controller

Admin Settings - 图10
{% endhint %}

Default and Custom Roles

Mangle has the following default Roles and Privileges.

Default Role Default Privileges Allowed Operations
ROLE_READONLY READONLY
ROLE_ADMIN ADMIN_READ_WRITE, USER_READ_WRITE
ROLE_USER ADMIN_READ, USER_READ_WRITE

{% hint style=”warning” %}
Edit and Delete operations are supported only for custom roles. It is forbidden for default roles.
{% endhint %}

Mangle supports creation of custom roles from the default privileges that are available.

Steps to follow:

  1. Login as an admin user to Mangle.
  2. Navigate to Admin Settings - 图11 ——-> Auth Management ——-> Roles.
  3. Click on Admin Settings - 图12.
  4. Enter Role Name, Privileges and click on Submit.
  5. A success message is displayed and the table for Roles will be updated with the new entry.
  6. Click on Admin Settings - 图13 against a table entry to see the supported operations.

{% hint style=”info” %}
Relevant API List

For access to Swagger documentation, please traverse to link Admin Settings - 图14 ——-> API Documentation from the Mangle UI or access https://<Mangle IP or Hostname>/mangle-services/swagger-ui.html#/role-controller

Admin Settings - 图15
{% endhint %}

Loggers

Log Levels

Mangle supports modifying log levels for the application.

Steps to follow:

  1. Login as an admin user to Mangle.
  2. Navigate to Admin Settings - 图16 ——-> Loggers ——-> Log Levels .
  3. Click on Admin Settings - 图17.
  4. Enter Logger name, Configured Level, Effective Level and click on Submit.
  5. A success message is displayed and the table for Log levels will be updated with the new entry.
  6. Click on Admin Settings - 图18 against a table entry to see the supported operations.

{% hint style=”info” %}
Relevant API List

For access to Swagger documentation, please traverse to link Admin Settings - 图19 ——-> API Documentation from the Mangle UI or access https://<Mangle IP or Hostname>/mangle-services/swagger-ui.html#/operation-handler

Admin Settings - 图20
{% endhint %}

Integrations

Metric Providers

Mangle supports addition of either Wavefront or Datadog as metric providers. This enables the information about fault injection and remediation to be published to these tools as events thus making it easier to monitor them.

Steps to follow:

  1. Login as an admin user to Mangle.
  2. Navigate to Admin Settings - 图21 ——-> Integrations ——-> Metric Providers .
  3. Click on Admin Settings - 图22.
  4. Choose Wavefront or Datadog, provide credentials and click on Submit.
  5. A success message is displayed and the table for Monitoring tools will be updated with the new entry.
  6. Click on Admin Settings - 图23 against a table entry to see the supported operations.

On adding a metric provider, Mangle will send events automatically to the enabled provider for every fault injected and remediated. If the requirement is to monitor Mangle as an application by looking at its metrics, then click on the Admin Settings - 图24 button to enable sending of Mangle application metrics to the corresponding metric provider.

{% hint style=”info” %}
Relevant API List

For access to Swagger documentation, please traverse to link Admin Settings - 图25 ——-> API Documentation from the Mangle UI or access https://<Mangle IP or Hostname>/mangle-services/swagger-ui.html#/operation-handler

Admin Settings - 图26
{% endhint %}