So for Normal sl4j logging they do provide options to add markers.
Map<String, Object> markers = new HashMap<>();
markers.put("name", "value");
log.info(markers,"Some value");
But due to security reasons the code base has used org.owasp.esapi.logging.slf4j.Slf4JLogFactory which is like
private static final Logger LOG = ESAPI.getLogger(Some.class);
LOG.info(Some event type, some string....)
I want to add a marker here so that without compromising the security provided by esapi. Any help would be great. There is not over internet about this.
I see multiple problems with this. Among them are:
So, I will say unequivocally, we will not consider this for any ESAPI 2.x release, but we might consider it for ESAPI 3 which we are currently planning. If you would like to see it there, add a GitHub issue to https://github.com/ESAPI/esapi-java/issues and note it as a feature request.(It may be plausible in ESAPI 3 because we likely will only support SLF4J there.)