Load balancing rule audit: Preview audit rules

Note: LOCKED.
This API is extremely reliable and will not be broken unless absolutely necessary.

Method

POST

Path

/qrs/systemrule/sync/audit/preview

Description

Get a preview of the load balancing rules associated with the action specified in the body.

Body

{ "resourceType": "App", "resourceFilter" : "name eq 'myApp'", "actions":2 }

The value for the actions property is an integer that indicates what the user is allowed to do.

Return value

Note: The audit results for all objects are returned, not just for the objects that the auditor has access to. For each object, the name and GUID are returned.

{ "nodes": { "6467646f-ad6f-4546-bbb2-9efb2795a740": { "id": "6467646f-ad6f-4546-bbb2-9efb2795a740", "name": "Central", "schemaPath": "SyncAuditNode" } }, "resources": { "c8026130-37cd-46c9-b128-3ec3474c7bc6": { "id": "c8026130-37cd-46c9-b128-3ec3474c7bc6", "name": "myApp", "schemaPath": "AuditResource" } }, "rules": { "a58c7915-a818-4a6d-96d7-8630f4b026bc": { "id": "a58c7915-a818-4a6d-96d7-8630f4b026bc", "createdDate": "1753-01-01T00:00:00.000Z", "modifiedDate": "1753-01-01T00:00:00.000Z", "modifiedByUserName": "", "category": "Sync", "type": "Custom", "name": "", "rule": "", "resourceFilter": "", "actions": 2, "comment": "", "disabled": false, "ruleContext": 0, "seedId": "00000000-0000-0000-0000-000000000000", "version": 0, "tags": [], "privileges": null, "impactSecurityAccess": false, "schemaPath": "SystemRule" } }, "ruleApplication": [ { "nodeID": "6467646f-ad6f-4546-bbb2-9efb2795a740", "resourceID": "c8026130-37cd-46c9-b128-3ec3474c7bc6", "ruleID": "a58c7915-a818-4a6d-96d7-8630f4b026bc", "allowed": true, "errorAt": 0, "errorMessage": null, "evaluationState": 0, "schemaPath": "SyncRuleApplicationItem" } ], "schemaPath": "SyncAuditPreview" }

Optional parameters

-

Did this information help you?

Can you tell us why it did not help you and how we can improve it?