# TEST: SECURITY-UM-31

## References

* [User Management](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/broken-reference)
* [TEST: SECURITY-UM-30](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-30)

## Discussion

A user's **Detailed Audit Log** may be filtered using 3 dropdowns to choose from static lists of a possible **Actions**, **Events**, or **Outcomes**.

## Pre-Conditions / Setup

1. User must be logged into an account with policies granted for creating users.
2. Follow the instructions from [TEST: SECURITY-UM-30](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-30) to navigate to the **Audit Trail** tab of a user's **Administration Panel / Security / Users / Edit User** page.

{% hint style="warning" %}
Entries in the table being filtered here are subject to change very frequently.
{% endhint %}

## Actions/Steps

1\. Select any option from the **Actions** dropdown.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me2wqHANp0155qNanUO%2F-Me3-Nu_uyEesqKTCK06%2Fimage.png?alt=media\&token=3af2eef7-4c46-4f5d-844a-0c9e7ed36057)

2\. Select any option from the **Events** dropdown.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me2wqHANp0155qNanUO%2F-Me30nSKYTge7BZELfS1%2Fimage.png?alt=media\&token=a7eb2deb-5490-4b6c-b339-e79757f51bef)

3\. Select any option from the **Outcomes** dropdown.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me2wqHANp0155qNanUO%2F-Me312RXLoMOQCzhtNRa%2Fimage.png?alt=media\&token=bc944653-7d56-4158-a8bd-412331a26882)

## Expected Behaviour

* The **Detailed Audit Log** table should be updated between each of steps 1, 2, and 3 to reflect the filter that has been applied.
* The final result should filter all 3 of the **Action**, **Event**, and **Outcome** columns.&#x20;

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me2wqHANp0155qNanUO%2F-Me31EkLsAvWuz4kEc8e%2Fimage.png?alt=media\&token=cd21fb28-7512-430a-baab-062ee89ada49)
