securityibm-cloudlogdna

How could we resolve IBMid in IBM Cloud Activity Tracker?


We use activity tracker to track activities on IBM Cloud. how could we identify the user who initiated some action?


Solution

  • The deprecated service Activity Tracker has information about each field. The initiator.id would map to the userId within your account.

    You can see those IDs, e.g., on the command line like this:

    ibmcloud account users --output json
    

    It would produce a list with entries like:

       {
            "userId": "myemail@example.com",
            "firstname": "John",
            "lastname": "Doe",
            "state": "ACTIVE",
            "ibmUniqueId": "IBMid-5555013NNN",
            ...
       }
    

    BTW: For the new Activity Tracker with LogDNA the event fields are similar.