IBM MaaS360

IBM MaaS360

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
  • 1.  Web Service - Create Device Groups

    Posted Thu November 23, 2023 01:12 PM
    Edited by Erick Kunz Thu November 23, 2023 01:13 PM

    Greetings,

    I am conducting tests with the intention of creating device groups in the future using the "Create Device Group" Web Service; however, I am facing challenges. I am attempting to create them based on a custom attribute named "Store" in the devices, where the value of this attribute is "019."

    After providing the Token and Billing ID, I configured the JSON as follows:

    {
         "groupName" : "Store 019",
         "groupDescription" : "Something here...",
         "lastReported" : "180",
         "conditions" : [
     {
         "category" : "Custom Attributes",
         "attribute" : "Store",
         "criteria" : "Equal To",
         "value1" : "019"
     }
    

    Upon execution, no errors occur, and the group is not created; nothing happens. Could you assist me in identifying where the issue might be?

    Thank you very much!

    Sincerely,

    Erick



    ------------------------------
    Erick Kunz
    ------------------------------



  • 2.  RE: Web Service - Create Device Groups

    Posted Fri November 24, 2023 04:17 AM

    Hi Erick

    There are some assumptions here that I want to validate. 

    • The custom attribute field on devices already exists
    • The field format accepts the type of data you want to enter
    • You have already been able to populate several devices with such data. 

    Can you please confirm that these assumptions are correct? 

    Thanks in advance



    ------------------------------
    Eamonn O'Mahony
    Technical Client Success Manager
    IBM Security
    Dublin, Ireland
    ------------------------------



  • 3.  RE: Web Service - Create Device Groups

    Posted Fri November 24, 2023 07:13 AM

    Hi Eamonn,

    Responding to your questions:

    • Yes, it already exists on devices.
    • Yes, I can manually add this data.
    • Yes, it's possible to add these attributes manually to several devices.

    However, when I attempt to use the API for that purpose, nothing happens. I've spent some time reading and testing, but I can't make it work.



    ------------------------------
    Erick Kunz
    ------------------------------



  • 4.  RE: Web Service - Create Device Groups

    Posted Fri November 24, 2023 07:38 AM

    Hi Erick

    Thanks for coming back. Based on the information you have given it seems is it is not working as designed. 

    Please raise a Support ticket for investigation so that the team can escalate to Development/Engineering if appropriate. 

    Please include this information. '

    Best regards



    ------------------------------
    Eamonn O'Mahony
    Technical Client Success Manager
    IBM Security
    Dublin, Ireland
    ------------------------------