ClaimResolutionLuaScript

The path of a Lua script to use to resolve unrecognized claims in Access Control Lists (ACLs).

The script must include a function named resolve, that takes a single string argument (the unrecognized claim). It must return either a string (the resolved claim) or nil. For example:

function resolve(claim)
    if string.match(claim, "|some.well.known.claim.value") then
        return "Domain\\WellKnownGroupName"
    end

    return nil
end

The connector calls the function with each claim value that it does not recognize. If the script returns nil, the document is not ingested and an error is logged.

Type: String (file path)
Default:  
Required: No
Configuration Section: TaskName or FetchTasks
Example: ClaimResolutionLuaScript=ResolveClaims.Lua
See Also: