First I executed “cat ccg.log | grep PREFIX_NOME_PERMISSAO” into sandbox-va
then I got this error:
{"stack":"ccg","pod":"stg08-useast1","connector-logging":"148","clusterId":"157","buildNumber":"917","apiUsername":"10fa11fa-a8a6-45c2-aad6-b4c4b885999c","orgType":"","file":"CloudPersistenceManager.java","encryption":"1266","messageType":"aggregate","connector-bundle-identityiq":"206","line_number":177,"@version":1,"CB_version":"1015","logger_name":"com.sailpoint.ccg.persistence.CloudPersistenceManager","mantis-client":"1266","class":"com.sailpoint.ccg.persistence.CloudPersistenceManager","atlas-api":"1752","va-gateway-client":"45","clientId":"481","request_milliseconds":"874","source_host":"6ff2c3afdf46","method":"logCacheWarning","org":"americanas-sb","level":"WARN","IdentityIQ":"8.3p4 Build 1527a593753-20230805-223436","message":"CCG CACHE [Rule] OBJECT NOT IN CACHE: nameOrId - After Rule - PREFIX_NOME_PERMISSAO_TESTE_UM","pipeline":"1266","@timestamp":"2023-09-21T16:17:20.504Z","thread_name":"pool-7-thread-89","atlas-util":"1752","metrics":"1266","region":"us-east-1","AppType":"Web Services","Application":"TESTE_UM [source]","request_id":"7b073764b4da48d5b921d80ee701231b","CB_Type":"connector-bundle-webservices","queue":"stg08-useast1-americanas-sb-cluster-157","SCIM Common":"8.0 Build 00b1f252d1b-20200225-190809"}
I created a simple after rule to just log payloads… and check what is the values that transit… my next step is add the prefix…
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
import connector.common.JsonUtil;
import connector.common.Util;
import sailpoint.connector.webservices.EndPoint;
import sailpoint.connector.webservices.WebServicesClient;
import sailpoint.object.Application;
import sailpoint.object.ProvisioningPlan;
import sailpoint.object.ProvisioningPlan.AccountRequest;
log.info("TEST_UM_SRC - rawResponseObject = " + rawResponseObject);
log.info("TEST_UM_SRC - processedResponseObject = " + processedResponseObject);
return processedResponseObject;