Extensible matching rule queries through the REST API

Tagged: , ,

This topic has 1 reply, 2 voices, and was last updated 6 years, 4 months ago by JnRouvignac.

  • Author
    Posts
  • #10885
     levistenz
    Participant

    Hello,
    Is it possible to include extensible matching rules in the REST API queries?
    As an example, is it possible to make a request against the REST Gateway to retrieve the list of users that changed their passwords in the last x days?
    Is it possible to convert
    ldapsearch '(pwdChangedtime:1.3.6.1.4.1.26027.1.4.5:=-5d)' uid pwdChangedtime

    to a REST API call?

    I tried
    curl 'http://localhost:8080/rest2ldap/users?queryFilter="pwdChangedtime:1.3.6.1.4.1.26027.1.4.5:"+eq+"-2d"'
    and a few variants to this but to no avail, as I get
    {"code":400,"reason":"Bad Request","message":"The resource collection cannot be read"}
    from the server.

    #10889
     JnRouvignac
    Participant
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?