Hello All, I have a use case where in need to compare two json objects and highlight their key value differences. This is just to ensure that we can let OSC know only about the changes that has been made rather than sending both old and new json as as alert. Is that doable? I tried using foreach, spath, mvexpand but not able to figure out a proper working solution. Any help on this is much appreciated. Json1: { "id": "XXXXX", "displayName": "ANY DISPLAY NAME", "createdDateTime": "2021-10-05T07:01:58.275401+00:00", "modifiedDateTime": "2025-02-05T10:30:40.0351794+00:00", "state": "enabled", "conditions": { "applications": { "includeApplications": [ "YYYYY" ], "excludeApplications": [], "includeUserActions": [], "includeAuthenticationContextClassReferences": [], "applicationFilter": null }, "users": { "includeUsers": [], "excludeUsers": [], "includeGroups": [ "USERGROUP1", "USERGROUP2" ], "excludeGroups": [], "includeRoles": [], "excludeRoles": [] }, "userRiskLevels": [], "signInRiskLevels": [], "clientAppTypes": [ "all" ], "servicePrincipalRiskLevels": [] }, "grantControls": { "operator": "OR", "builtInControls": [ "mfa" ], "customAuthenticationFactors": [], "termsOfUse": [] }, "sessionControls": { "cloudAppSecurity": { "cloudAppSecurityType": "monitor", "isEnabled": true }, "signInFrequency": { "value": 1, "type": "hours", "authenticationType": "primaryAndSecondaryAuthentication", "frequencyInterval": "timeBased", "isEnabled": true } } } json2: { "id": "XXXXX", "displayName": "ANY DISPLAY NAME 1", "createdDateTime": "2021-10-05T07:01:58.275401+00:00", "modifiedDateTime": "2025-02-06T10:30:40.0351794+00:00", "state": "enabled", "conditions": { "applications": { "includeApplications": [ "YYYYY" ], "excludeApplications": [], "includeUserActions": [], "includeAuthenticationContextClassReferences": [], "applicationFilter": null }, "users": { "includeUsers": [], "excludeUsers": [], "includeGroups": [ "USERGROUP1", "USERGROUP2", "USERGROUP3" ], "excludeGroups": [ "USERGROUP4" ], "includeRoles": [], "excludeRoles": [] }, "userRiskLevels": [], "signInRiskLevels": [], "clientAppTypes": [ "all" ], "servicePrincipalRiskLevels": [] }, "grantControls": { "operator": "OR", "builtInControls": [ "mfa" ], "customAuthenticationFactors": [], "termsOfUse": [] }, "sessionControls": { "cloudAppSecurity": { "cloudAppSecurityType": "block", "isEnabled": true }, "signInFrequency": { "value": 2, "type": "hours", "authenticationType": "primaryAndSecondaryAuthentication", "frequencyInterval": "timeBased", "isEnabled": true } } } Output expected (Based on above sample jsons): KeyName , Old Value, New Value displayName, "ANY DISPLAY NAME", "ANY DISPLAY NAME 1" modifiedDateTime, "2025-02-05T10:30:40.0351794+00:00", "2025-02-06T10:30:40.0351794+00:00" users."includeGroups", ["USERGROUP1","USERGROUP2"], ["USERGROUP1","USERGROUP2", "USERGROUP3"] "excludeGroups",[],["USERGROUP4"] sessionControls."cloudAppSecurityType","moitor","block" signInFrequency."value",1,2 Thanks
... View more