# US 2023/0155984 A1 · Trusted execution environment for service mesh

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0155984 A1
- Document ID: US20230155984A1
- Status: Published application
- Kind: A1
- Application number: 17/530,185
- Filed: 2021-11-18
- Published: 2023-05-18
- Earliest claimed: 2021-11-18
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Constantin Mircea Adam; Nerla Jean-Louis; Hubertus Franke; Edward Charles Snible; Abdulhamid Adebowale Adebayo
- Web page: https://patentgrep.com/patent/US20230155984A1

## CPC

- H04L 63/0281: {Proxies}
- H04L 63/105: {Multiple levels of security}
- H04L 41/0866: Checking the configuration
- H04L 41/0894: Policy-based network configuration management
- H04L 41/0895: Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L 67/56: Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54)
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques for managing and processing of configuration changes associated with a service container associated with a service mesh are presented. An application management component can determine immutable configuration data (ICD) relating to configuration change processing for the service container based on policies received from an application owner. A message processing component (MMC) of a service proxy associated with the service container can receive, via a control plane, a message associated with an untrusted entity. MMC can determine whether the message comprises a configuration change request relating to interaction between the application and the service mesh, and, if so, can determine whether to allow the service proxy to process the configuration change based on analysis of the configuration change and ICD. If ICD indicates the configuration change is not allowed, service proxy can discard the request. If ICD indicates the configuration change is allowed, service proxy can implement the configuration change.

## Claims

### Claim 1

A computer-implemented method, comprising:
determining, by a system operatively coupled to a processor, immutable configuration data relating to configuration change processing for a service container; and
based on the immutable configuration data, determining, by the system, whether to allow a service proxy associated with the service container to process a configuration change associated with the service container and contained in a message associated with an untrusted entity identity.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the message is a second message, wherein a first message, comprising information relating to a set of configuration changes, comprising the configuration change, is received by a control plane from a device associated with the untrusted entity identity, wherein the control plane is associated with a service mesh that comprises the service container and the service proxy, wherein the service proxy is associated with a data plane and receives the second message from the control plane, and wherein the second message comprises the information relating to the set of configuration changes.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the determining of the immutable configuration data comprises determining the immutable configuration data relating to the configuration change processing for the service container of a service mesh based on configuration definition information associated with an application, wherein the configuration definition information is associated with an application owner or manager entity identity associated with the application, and wherein the immutable configuration data is representative of and facilitates implementation of a group of policies that facilitates preventing, by the untrusted entity identity or a device associated with the untrusted entity identity, an unauthorized configuration change relating to an interaction between the application and the service mesh.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising:
in response to receiving the message, analyzing, by the system, message information contained in the message, wherein the message information comprises configuration change information relating to the configuration change associated with the service container; and
based on the analyzing of the message information, determining, by the system, whether the message is attempting or requesting the configuration change relating to an interaction between an application associated with an application owner or manager entity identity and a service mesh that comprises the service container and the service proxy, wherein the service mesh is associated with the application.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, further comprising:
in response to determining that the message is attempting or requesting the configuration change relating to the interaction between the application and the service mesh, analyzing, by the system, the immutable configuration data associated with the service container and the application; and
based on the analyzing of the immutable configuration data, determining, by the system, whether the configuration change is authorized.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, further comprising:
in response to determining that the configuration change is not authorized based on the analyzing of the immutable configuration data indicating that the configuration change is not authorized, determining, by the system, that the configuration change information relating to the configuration change is not allowed to be processed by the service proxy; and
controlling, by the system, the service proxy to prevent the service proxy from processing the configuration change information, wherein the preventing the service proxy from processing the configuration change information prevents the configuration change from being implemented.

### Claim 7 (depends on 5)

The computer-implemented method of claim 5, further comprising:
in response to determining that the configuration change is authorized based on the analyzing of the immutable configuration data indicating that the configuration change is authorized, determining, by the system, that the configuration change information is allowed to be processed by the service proxy; and
controlling, by the system, the service proxy to allow the service proxy to process the configuration change information, wherein the allowing the service proxy to process the configuration change information enables the configuration change to be performed.

### Claim 8 (depends on 5)

The computer-implemented method of claim 5, further comprising:
based on the analyzing of the immutable configuration data, determining, by the system, whether a verified signature approving the configuration change is in the immutable configuration data;
in response to determining that the immutable configuration data comprises the verified signature approving the configuration change, determining, by the system, that the configuration change information is allowed to be processed by the service proxy, wherein the verified signature is associated with an application owner or manager entity identity associated with the application; or
in response to determining that the immutable configuration data does not contain the verified signature approving the configuration change, determining, by the system, that the configuration change information is not allowed to be processed by the service proxy.

### Claim 9 (depends on 4)

The computer-implemented method of claim 4, wherein the message is a first message, wherein the message information is first message information, and wherein the method further comprises:
in response to receiving a second message, analyzing, by the system, second message information contained in the second message; and
in response to determining, based on the analyzing of the second message information, that the message is not attempting or requesting a change in configuration relating to the interaction between the application and the service mesh, determining, by the system, that the second message information is allowed to be processed by the service proxy; and
controlling, by the system, the service proxy to allow the service proxy to process the second message information.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, further comprising:
communicating, by the system, the immutable configuration data, comprising a secret token and a group of policies relating to the message processing, to the service proxy during a secure boot-up phase of the service proxy, wherein the service proxy securely boots up an application component and the service container associated with an application based on the immutable configuration data;
subsequently receiving, by the system, a certificate signing request, comprising the secret token, from the service proxy; and
determining, by the system, whether to approve the certificate signing request based on a result of analyzing the certificate signing request.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, wherein the service container is associated with a service mesh associated with the application, and wherein the method further comprises:
based on the result of the analyzing indicating that the certificate signing request comprises the secret token that was issued to the service proxy:
authenticating, by the system, the service proxy;
approving, by the system, the certificate signing request;
generating, by the system, a signed certificate that indicates the service proxy is authorized to be part of the service mesh associated with the application and perform the operation with respect to the application, in accordance with the immutable configuration data; and
communicating, by the system, the signed certificate to the service proxy.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1, wherein the service proxy is a first service proxy that is associated with a service mesh associated with an application, and wherein the computer-implemented method further comprises:
in connection with a second service proxy requesting to be added in connection with the application, receiving, by the system, a certificate signing request from the second service proxy, wherein the certificate signing request does not contain a secret token;
determining, by the system, whether to approve the certificate signing request based on a result of analyzing the certificate signing request; and
based on the result of the analyzing indicating that the certificate signing request does not contain the secret token:
denying, by the system, authentication of the second service proxy, and
denying, by the system, the certificate signing request, wherein the denying of the certificate signing request prevents the second service proxy from being part of the service mesh associated with the application and prevents the second service proxy from performing the operation with respect to the application.

### Claim 13

A system, comprising:
a memory that stores computer-executable components; and
a processor, operatively coupled to the memory, that executes computer-executable components, the computer-executable components comprising:
a translator component that generates immutable configuration data relating to configuration change processing that is applicable to a service container; and
a message management component that, based on the immutable configuration data, determines whether to permit a service proxy associated with the service container to process a configuration change associated with the service container and contained in a message associated with an untrusted entity identity.

### Claim 14 (depends on 13)

The system of claim 13, wherein the message is a second message, wherein a first message, comprising message data relating to a set of configuration changes, comprising the configuration change, is received by a control plane from a device associated with the untrusted entity identity, wherein the service proxy is associated with a data plane and receives the message from a control plane associated with a service mesh that comprises the service proxy and the service container.

### Claim 15 (depends on 13)

The system of claim 13, wherein the translator component determines the immutable configuration data relating to the message processing that is applicable to the service container of a service mesh based on configuration specification information associated with an application, wherein the configuration specification information is associated with an entity identity associated with the application, and wherein the immutable configuration data relates to a group of policies that facilitates preventing, by the untrusted entity identity or a device associated with the untrusted entity identity, an unauthorized configuration change relating to an interaction between the application and the service mesh.

### Claim 16 (depends on 13)

The system of claim 13, wherein in response to receiving the message associated with the untrusted entity identity, the message management component analyzes message data of the message, and, based on the analysis of the message data, determines that the message is requesting the configuration change relating to an interaction between an application associated with an entity identity and a service mesh, wherein the service container is associated with the application, and wherein the service mesh comprises the service proxy and the service container.

### Claim 17 (depends on 15)

The system of claim 15, wherein, in response to determining that the message is requesting the configuration change, the message management component analyzes the immutable configuration data associated with the service container and the application, and, based on the analysis of the immutable configuration data, the message management component determines whether the configuration change is authorized.

### Claim 18 (depends on 17)

The system of claim 17, wherein, in response to determining that the configuration change is not authorized, the message management component determines that the configuration change is not permitted to be processed by the service proxy and manages the service proxy to prevent the service proxy from processing and implementing the configuration change; or
in response to determining that the configuration change is authorized, the message management component determines that the configuration change is permitted to be processed by the service proxy and manages the service proxy to permit the service proxy to process and implement the configuration change.

### Claim 19

A computer program product that facilitates secure configuration change processing associated with an application, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions are executable by a processor to cause the processor to:
determine fixed configuration data relating to the configuration change processing for a service container; and
based on the fixed configuration data, determine whether to allow a service proxy associated with the service container to process a configuration change associated with the service container and contained in a message associated with a third party entity identity.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the determining of the fixed configuration data comprises determine the fixed configuration data relating to the configuration change processing associated with the service container of a service mesh based on configuration definition information associated with the application, wherein the configuration definition information is associated with an application owner or manager identity associated with the application, and wherein the program instructions are executable by the processor to cause the processor to:
in response to receiving the message associated with the third party entity identity, analyze message data of the message and the fixed configuration data, wherein the message requests the configuration change relating to an interaction between the application and the service mesh; and
based on a result of the analysis of the message data and the fixed configuration data, determine whether to allow or disallow the service proxy to implement the configuration change, wherein the fixed configuration data indicates whether the configuration change is allowed.
