A.1.18 LOGOUT

M-CNCC IAM UI- User logout

Figure -25 Sign out


Sign out

M-CNCC IAM Kc Logs:
{"timestamp":"2025-12-03T11:14:38.59666781Z","sequence":2360,"loggerClassName":"org.jboss.logging.Logger","loggerName":"org.keycloak.events","level":"DEBUG","message":"type=\"LOGOUT\", realmId=\"master\", realmName=\"master\", clientId=\"security-admin-console\", userId=\"acc21615-964a-4055-8c20-fb2705bd641b\", sessionId=\"a5248089-a1b7-60b5-3ec2-afda614c3a3e\", ipAddress=\"10.75.213.184\", redirect_uri=\"http://10.75.213.184:30085/cncc/auth/admin/master/console/#/cncc/users/59f0ab2b-7187-4bc7-b13c-bcd09800c7ba/sessions\", authSessionParentId=\"91c78dbe-163c-47b9-a3fa-7118358acebc\", authSessionTabId=\"ua4Xc90Gtzw\"","threadName":"executor-thread-11","threadId":67,"mdc":{},"ndc":"","hostName":"cncc-iam","processName":"/opt/java/jre/bin/java","processId":539}

M-CNCC IAM Ingress Gateway logs

SECURITY- Request log:
{
  "instant": {
    "epochSecond": 1764758724,
    "nanoOfSecond": 42944766
  },
  "thread": "igw-app-thread3",
  "level": "INFO",
  "loggerName": "ocpm.cne.gateway.cncc.filters.CnccLoggingFilter",
  "message": {
    "logType": "SECURITY",
    "type": "REQUEST",
    "operationType": "GET",
    "userId": "1",
    "username": "admin",
    "remoteAddress": "xxx.xxx.xxx.xxx:23302",
    "localAddress": "xxx.xxx.xxx.xxx:8081",
    "resourcePath": "/cncc/auth/realms/master/protocol/openid-connect/logout",
    "scheme": "http",
    "queryParams": {
      "client_id": "security-admin-console",
      "post_logout_redirect_uri": "http://xxx.xxx.xxx.xxx:30085/cncc/auth/admin/master/console/#/cncc/users/59f0ab2b-7187-4bc7-b13c-bcd09800c7ba/sessions",
      "id_token_hint": "{masked}"
    },
    "headers": {
      "Cookie": "{masked}",
      "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
      "Priority": "u=0, i",
      "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0.1 Safari/605.1.15",
      "Connection": "keep-alive",
      "uuidToken": "ca4fa695-5606-476b-a8f3-25b4e39302e9",
      "Host": "xxx.xxx.xxx.xxx:30085",
      "Accept-Encoding": "gzip, deflate",
      "svcName": "cncc-iam-kc-http.cncc.svc.cluster.local",
      "ocLogId": "-",
      "sbi-timer-publish-headers": "false",
      "Upgrade-Insecure-Requests": "1",
      "Accept-Language": "en-IN,en-GB;q=0.9,en;q=0.8",
      "sbi-timer-feature": "false"
    },
    "payload": "Either the payload is empty or too large",
    "authenticationType": "UNKNOWN"
  },
  "endOfBatch": false,
  "loggerFqcn": "org.apache.logging.log4j.internal.DefaultLogBuilder",
  "threadId": 112,
  "threadPriority": 5,
  "messageTimestamp": "2025-12-03T10:45:24.042+0000",
  "processId": "1",
  "ingressTxId": "-",
  "pod": "cncc-iam-ingress-gateway-cfb45b754-6qr8n",
  "instanceType": "prod",
  "xRequestId": "-"
}
SECURITY- Response log:
{
  "instant": {
    "epochSecond": 1764758724,
    "nanoOfSecond": 87390750
  },
  "thread": "igw-app-thread4",
  "level": "INFO",
  "loggerName": "ocpm.cne.gateway.cncc.filters.CnccLoggingFilter",
  "message": {
    "logType": "SECURITY",
    "type": "RESPONSE",
    "operationType": "GET",
    "userId": "1",
    "username": "admin",
    "resourcePath": "/cncc/auth/realms/master/protocol/openid-connect/logout",
    "scheme": "http",
    "headers": {
      "Referrer-Policy": "no-referrer",
      "content-length": "0",
      "Strict-Transport-Security": "max-age=31536000; includeSubDomains",
      "transfer-encoding": "chunked",
      "Cache-Control": "no-cache",
      "X-Content-Type-Options": "nosniff",
      "RequestMethod": "GET",
      "NettyLatency": "1764758724040",
      "Set-Cookie": "{masked}",
      "Location": "http://xxx.xxx.xxx.xxx:30085/cncc/auth/admin/master/console/#/cncc/users/59f0ab2b-7187-4bc7-b13c-bcd09800c7ba/sessions"
    },
    "payload": {},
    "authenticationType": "UNKNOWN",
    "status": "302 FOUND"
  },
  "endOfBatch": false,
  "loggerFqcn": "org.apache.logging.log4j.internal.DefaultLogBuilder",
  "threadId": 127,
  "threadPriority": 5,
  "processId": "1",
  "ingressTxId": "-",
  "pod": "cncc-iam-ingress-gateway-cfb45b754-6qr8n",
  "ocLogId": "-",
  "instanceType": "prod",
  "xRequestId": "-"
}

M-CNCC Core UI- User logout

Figure -26 Sign Out


Sign Out

Figure -27 Confirm Sign Out


Confirm Sign Out

M-CNCC IAM Kc Logs:
{"timestamp":"2025-12-03T11:18:12.243977387Z","sequence":2379,"loggerClassName":"org.jboss.logging.Logger","loggerName":"org.keycloak.events","level":"DEBUG","message":"type=\"LOGOUT\", realmId=\"cncc\", realmName=\"cncc\", clientId=\"cncc\", userId=\"59f0ab2b-7187-4bc7-b13c-bcd09800c7ba\", sessionId=\"edadd61c-e355-f0fa-5835-5f120e82814c\", ipAddress=\"10.75.213.184\", redirect_uri=\"http://10.75.213.184:30030/\", authSessionParentId=\"5ec8ad14-81c1-4099-aacc-17935619108c\", authSessionTabId=\"-G2VzQXPCzI\"","threadName":"executor-thread-16","threadId":74,"mdc":{},"ndc":"","hostName":"cncc-iam","processName":"/opt/java/jre/bin/java","processId":539}

M-CNCC IAM Ingress Gateway logs

SECURITY- Request log:
{
  "instant": {
    "epochSecond": 1764762269,
    "nanoOfSecond": 743520669
  },
  "thread": "igw-app-thread14",
  "level": "INFO",
  "loggerName": "ocpm.cne.gateway.cncc.filters.CnccLoggingFilter",
  "message": {
    "logType": "SECURITY",
    "type": "REQUEST",
    "operationType": "GET",
    "userId": "1",
    "username": "admin",
    "remoteAddress": "xxx.xxx.xxx.xxx:5383",
    "localAddress": "xxx.xxx.xxx.xxx:8081",
    "resourcePath": "/cncc/auth/realms/cncc/protocol/openid-connect/logout",
    "scheme": "http",
    "queryParams": {
      "id_token_hint": "{masked}",
      "post_logout_redirect_uri": "http://xxx.xxx.xxx.xxx:30030/"
    },
    "headers": {
      "Cookie": "{masked}",
      "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
      "Connection": "keep-alive",
      "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36",
      "uuidToken": "{masked}",
      "Host": "xxx.xxx.xxx.xxx:30085",
      "Accept-Encoding": "gzip, deflate",
      "svcName": "cncc-iam-kc-http.cncc.svc.cluster.local",
      "ocLogId": "-",
      "sbi-timer-publish-headers": "false",
      "Cache-Control": "max-age=0",
      "Upgrade-Insecure-Requests": "1",
      "Accept-Language": "en-GB,en-US;q=0.9,en;q=0.8",
      "sbi-timer-feature": "false"
    },
    "payload": "Either the payload is empty or too large",
    "authenticationType": "UNKNOWN"
  },
  "endOfBatch": false,
  "loggerFqcn": "org.apache.logging.log4j.internal.DefaultLogBuilder",
  "threadId": 132,
  "threadPriority": 5,
  "processId": "1",
  "ingressTxId": "-",
  "pod": "cncc-iam-ingress-gateway-64df8866f7-c7g66",
  "ocLogId": "-",
  "instanceType": "prod",
  "xRequestId": "-"
}
SECURITY- Response log:
{
  "instant": {
    "epochSecond": 1764762273,
    "nanoOfSecond": 846088868
  },
  "thread": "igw-app-thread16",
  "level": "INFO",
  "loggerName": "ocpm.cne.gateway.cncc.filters.CnccLoggingFilter",
  "message": {
    "logType": "SECURITY",
    "type": "RESPONSE",
    "operationType": "GET",
    "userId": "1",
    "username": "admin",
    "resourcePath": "/cncc/auth/realms/cncc/protocol/openid-connect/logout",
    "scheme": "http",
    "headers": {
      "Referrer-Policy": "no-referrer",
      "content-length": "0",
      "Strict-Transport-Security": "max-age=31536000; includeSubDomains",
      "transfer-encoding": "chunked",
      "Cache-Control": "no-cache",
      "X-Content-Type-Options": "nosniff",
      "RequestMethod": "GET",
      "NettyLatency": "1764762269738",
      "Set-Cookie": "{masked}",
      "Location": "http://xxx.xxx.xxx.xxx:30030/"
    },
    "payload": {},
    "authenticationType": "UNKNOWN",
    "status": "302 FOUND"
  },
  "endOfBatch": false,
  "loggerFqcn": "org.apache.logging.log4j.internal.DefaultLogBuilder",
  "threadId": 134,
  "threadPriority": 5,
  "processId": "1",
  "ingressTxId": "-",
  "pod": "cncc-iam-ingress-gateway-64df8866f7-c7g66",
  "ocLogId": "-",
  "instanceType": "prod",
  "xRequestId": "-"
}

M-CNCC Core Ingress Gateway Logs

AUDIT Log:
{
  "instant": {
    "epochSecond": 1764827399,
    "nanoOfSecond": 803217797
  },
  "thread": "ingress-h2c-nio-3",
  "level": "INFO",
  "loggerName": "ocpm.cne.gateway.cncc.config.CustomServerLogoutSuccessHandler",
  "message": {
    "logType": "AUDIT",
    "type": "LOGOUT",
    "resourceType": "CNCC",
    "userId": "59f0ab2b-7187-4bc7-b13c-bcd09800c7ba",
    "username": "mansimrs",
    "operationType": "POST",
    "remoteAddress": "/xxx.xxx.xxx.xxx:47209",
    "localAddress": "/xxx.xxx.xxx.xxx:8081",
    "resourcePath": "/logout",
    "authenticationType": "OAUTH"
  },
  "endOfBatch": false,
  "loggerFqcn": "org.apache.logging.log4j.spi.AbstractLogger",
  "threadId": 146,
  "threadPriority": 5,
  "processId": "1",
  "ingressTxId": "-",
  "pod": "-",
  "ocLogId": "1764827399799_146_cncc-mcore-ingress-gateway-5f576d7f69-q4wj7",
  "instanceType": "prod",
  "xRequestId": "-"
}