public boolean requestContainsSensitiveInfo(Map<String, String> headers, String requestBody) {
    """
	Returns true if the request contains potentially sensitive information such as a vault:read EL.
	
	@return whether or not the request had sensitive information detected.
    """
    boolean sensitive = false;
    for (Map.Entry<String, String> header : headers.entrySet()) {
      if (header.getKey().contains(VAULT_EL_PREFIX) || header.getValue().contains(VAULT_EL_PREFIX)) {
        sensitive = true;
        break;
      }
    }

    if (requestBody != null && requestBody.contains(VAULT_EL_PREFIX)) {
      sensitive = true;
    }

    return sensitive;
  }
public boolean requestContainsSensitiveInfo(Map<String, String> headers, String requestBody) {
    boolean sensitive = false;
    for (Map.Entry<String, String> header : headers.entrySet()) {
      if (header.getKey().contains(VAULT_EL_PREFIX) || header.getValue().contains(VAULT_EL_PREFIX)) {
        sensitive = true;
        break;
      }
    }

    if (requestBody != null && requestBody.contains(VAULT_EL_PREFIX)) {
      sensitive = true;
    }

    return sensitive;
  }
public boolean requestContainsSensitiveInfo ( Map < String , String > headers , String requestBody ) { boolean sensitive = false ; for ( Map . Entry < String , String > header : headers . entrySet ( ) ) { if ( header . getKey ( ) . contains ( VAULT_EL_PREFIX ) || header . getValue ( ) . contains ( VAULT_EL_PREFIX ) ) { sensitive = true ; break ; } } if ( requestBody != null && requestBody . contains ( VAULT_EL_PREFIX ) ) { sensitive = true ; } return sensitive ; }
Returns true if the request contains potentially sensitive information such as a vault:read EL.

@return whether or not the request had sensitive information detected.
Returns true if the request contains potentially sensitive information such as a vault : read EL .