# Load balancing rule audit: Get audit rules matrix

Information note**LOCKED.**   
  
This API is extremely reliable and will not be broken unless absolutely necessary.

## Method

POST

## Path

/qrs/systemrule/sync/audit/matrix

## Description

Perform an audit of the load balancing rules. Use the body to pass audit properties to the Qlik Sense Repository Service (QRS). The audit results are returned in a matrix.

## Body

```
{
    "resourceType" : "App",
    "resourceRef" : {
        "resourceFilter" : "name eq 'myApp'",
    },
    "actions" : 1, 
    "environmentAttributes" : "",
    "resourceProperties" : ["name"], 
    "subjectProperties" : ["name", "userid", "userdirectory"], 
    "auditLimit" : 1000,
    "outputObjectsPrivileges" : 4 
}
```

## Return value

```
{
    "matrix": [
        {
            "subjectId": "6467646f-ad6f-4546-bbb2-9efb2795a740",
            "resourceId": "c8026130-37cd-46c9-b128-3ec3474c7bc6",
            "audit": {
                "access": 1
            },
        "schemaPath": "AuditMatrixElement"
        }
    ],
    "resources": {
        "c8026130-37cd-46c9-b128-3ec3474c7bc6": {
            "resourceProperties": {
                "name": "myApp"
            },
            "privileges": [
                "update"
            ],
            "schemaPath": "AuditMatrix.Resource"
        }
    },
    "subjects": {
        "6467646f-ad6f-4546-bbb2-9efb2795a740": {
            "subjectProperties": {
                "name": "Central"
            },
            "privileges": [
                "update"
            ],
            "schemaPath": "AuditMatrix.Subject"
        }
    },
    "schemaPath": "AuditMatrix"
}
```

## Optional parameters

-