IBM Verify

IBM Verify

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

IGI: Possibility to read / write custom role attributes via REST API?

  • 1.  IGI: Possibility to read / write custom role attributes via REST API?

    Posted Mon November 04, 2019 11:29 AM
    Hello, we're currently testing the IGI REST API. Given this test role:
    we're unable to see the custom attributes using the "Find Entitlement" resource.

    However, in the official XML documentation, there is this response example:

     200 OK  200 OK  { "schemas": [     "urn:ietf:params:scim:api:messages:2.0:ListResponse" ], "totalResults": 1, "page": 1, "itemsPerPage": 100, "resources": [     {         "schemas": [             "urn:ietf:params:scim:schemas:core:2.0:Entitlement",             "urn:ibm:params:scim:schemas:extension:bean:agc:2.0:Entitlement"         ],         "id": "47027",         "meta": {             "lastModified": 1504886406013,             "lastModUser": "Rule Engine IN"         },         "type": 1,         "urn:ibm:params:scim:schemas:extension:bean:agc:2.0:Entitlement": {             "code": "testEntitlement",             "application_id": 2,             "application_name": "ISIM",             "application_description": "Application for ISIM Target",             "attr4": "BATCH",             "externalRef": "West_Exe",             "incompHigh": false,             "incompMedium": false,             "incompLow": false,             "administrative": 0,             "published": 1,             "isFulFilled": true,             "creationDate": 1494942521631,             "name": "TestEntitlementName",             "description": "Test entitlement sample",             "permissionType_id": 113,             "permissionType_name": "S_Type"         }     } ]

    where "attr4" looks like a custom attribute. How can we retrieve them?

    Thanks for any hint!

    -Nicolai

    ------------------------------
    Nicolai Kilian
    ------------------------------