# US 2021/0084048 A1 · Cognitive Access Control Policy Management in a Multi-Cluster Container Orchestration Environment

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

- Number: US 2021/0084048 A1
- Document ID: US20210084048A1
- Status: Published application
- Kind: A1
- Application number: 16/574,357
- Filed: 2019-09-18
- Published: 2021-03-18
- Earliest claimed: 2019-09-18
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Priya Kannan; Shajeer K. Mohammed; Kavitha Subramaniam
- Web page: https://patentgrep.com/patent/US20210084048A1

## CPC

- H04L 63/104: {Grouping of entities}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06N 20/00: Machine learning
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- G06F 2009/45587: {Isolation or security of virtual machine instances}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Dynamically enforcing access control policies unique to respective users in a multi-cluster container orchestration environment is provided. Resource-permission-role mappings are generated for users in the multi-cluster container orchestration environment based on preset access control criteria. Dynamic access control criteria are learned from the multi-cluster container orchestration environment over time. The resource-permission-role mappings for the users in the multi-cluster container orchestration environment are updated based on the dynamic access control criteria learned from the multi-cluster container orchestration environment over time. The resource-permission-role mappings are enforced to respective users in the multi-cluster container orchestration environment in response to receiving corresponding user resource access requests.

## Claims

### Claim 1

A computer-implemented method for dynamically enforcing access control policies unique to respective users in a multi-cluster container orchestration environment, the computer-implemented method comprising:
generating, by a computer, resource-permission-role mappings for users in the multi-cluster container orchestration environment based on preset access control criteria;
learning, by the computer, dynamic access control criteria from the multi-cluster container orchestration environment over time;
updating, by the computer, the resource-permission-role mappings for the users in the multi-cluster container orchestration environment based on the dynamic access control criteria learned from the multi-cluster container orchestration environment over time; and
enforcing, by the computer, the resource-permission-role mappings to respective users in the multi-cluster container orchestration environment in response to receiving corresponding user resource access requests.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1 further comprising:
defining, by the computer, an access control policy comprised of a resource-permission-role mapping in a resource-permission-role markup language.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the resource-permission-role mapping is specific to business domain, service type, application, geography, and user.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1 further comprising:
sharing, by the computer, the dynamic access control criteria learned from the multi-cluster container orchestration environment over time with multiple multi-cluster container orchestration environment deployments.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1 further comprising:
receiving, by the computer, a login of a user from a client device;
determining, by the computer, whether the login is a first-time login for the user;
responsive to the computer determining that the login is not a first-time login for the user, retrieving, by the computer, a resource-permission-role mapping for the user based on information corresponding to the login of the user;
analyzing, by the computer, the resource-permission-role mapping for the user to determine changes in role, permission, and resource type corresponding to the user;
updating, by the computer, the resource-permission-role mapping for the user based on any determined changes in the role, permission, and resource type corresponding to the user; and
assigning, by the computer, the role to the user.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5 further comprising:
responsive to the computer determining that the login is a first-time login for the user, performing, by the computer, a look up of preset resource types, permissions, and roles;
identifying, by the computer, attributes and context of the user based on the information corresponding to the login;
generating, by the computer, a new resource-permission-role mapping for the user based on the preset resource types, permissions, and roles and the attributes and context of the user; and
assigning, by the computer, a new role to the user based on analyzing the new resource-permission-role mapping for the user.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1 further comprising:
receiving, by the computer, a request to access a resource from a user;
performing, by the computer, a look up of a resource-permission-role mapping corresponding to the user; and
identifying, by the computer, any changes in attributes and context of the user based on information corresponding to a successful login by the user.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7 further comprising:
determining, by the computer, whether there are any changes identified in the attributes and context of the user;
responsive to the computer determining that there are no changes identified in the attributes and context of the user, determining, by the computer, whether the user is authorized to access the resource based on the resource-permission-role mapping corresponding to the user;
responsive to the computer determining that the user is authorized to access the resource based on the resource-permission-role mapping corresponding to the user, allowing, by the computer, the access to the resource by the user; and
responsive to the computer determining that the user is not authorized to access the resource based on the resource-permission-role mapping corresponding to the user, denying, by the computer, the access to the resource by the user.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8 further comprising:
responsive to the computer determining that there are changes identified in the attributes and context of the user, applying, by the computer, identified changes in the attributes and context of the user to the resource-permission-role mapping corresponding to the user to form a new resource-permission-role mapping corresponding to the user;
determining, by the computer, whether the user is authorized to access the resource based on the new resource-permission-role mapping corresponding to the user;
responsive to the computer determining that the user is not authorized to access the resource based on the new resource-permission-role mapping corresponding to the user, denying, by the computer, the access to the resource by the user; and
responsive to the computer determining that the user is authorized to access the resource based on the new resource-permission-role mapping corresponding to the user, allowing, by the computer, the access to the resource by the user.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the resource-permission-role mappings are unique to each respective user and unique across logins of a same user.

### Claim 11

A computer system for dynamically enforcing access control policies unique to respective users in a multi-cluster container orchestration environment, the computer system comprising:
a bus system;
a storage device connected to the bus system, wherein the storage device stores program instructions; and
a processor connected to the bus system, wherein the processor executes the program instructions to:
generate resource-permission-role mappings for users in the multi-cluster container orchestration environment based on preset access control criteria;
learn dynamic access control criteria from the multi-cluster container orchestration environment over time;
update the resource-permission-role mappings for the users in the multi-cluster container orchestration environment based on the dynamic access control criteria learned from the multi-cluster container orchestration environment over time; and
enforce the resource-permission-role mappings to respective users in the multi-cluster container orchestration environment in response to receiving corresponding user resource access requests.

### Claim 12 (depends on 11)

The computer system of claim 11, wherein the processor further executes the program instructions to:
define an access control policy comprised of a resource-permission-role mapping in a resource-permission-role markup language.

### Claim 13 (depends on 12)

The computer system of claim 12, wherein the resource-permission-role mapping is specific to business domain, service type, application, geography, and user.

### Claim 14 (depends on 11)

The computer system of claim 11, wherein the processor further executes the program instructions to:
share the dynamic access control criteria learned from the multi-cluster container orchestration environment over time with multiple multi-cluster container orchestration environment deployments.

### Claim 15 (depends on 11)

The computer system of claim 11, wherein the processor further executes the program instructions to:
receive a login of a user from a client device;
determine whether the login is a first-time login for the user;
retrieve a resource-permission-role mapping for the user based on information corresponding to the login of the user in response to determining that the login is not a first-time login for the user;
analyze the resource-permission-role mapping for the user to determine changes in role, permission, and resource type corresponding to the user;
update the resource-permission-role mapping for the user based on any determined changes in the role, permission, and resource type corresponding to the user; and
assign the role to the user.

### Claim 16

A computer program product for dynamically enforcing access control policies unique to respective users in a multi-cluster container orchestration environment, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising:
generating, by the computer, resource-permission-role mappings for users in the multi-cluster container orchestration environment based on preset access control criteria;
learning, by the computer, dynamic access control criteria from the multi-cluster container orchestration environment over time;
updating, by the computer, the resource-permission-role mappings for the users in the multi-cluster container orchestration environment based on the dynamic access control criteria learned from the multi-cluster container orchestration environment over time; and
enforcing, by the computer, the resource-permission-role mappings to respective users in the multi-cluster container orchestration environment in response to receiving corresponding user resource access requests.

### Claim 17 (depends on 16)

The computer program product of claim 16 further comprising:
defining, by the computer, an access control policy comprised of a resource-permission-role mapping in a resource-permission-role markup language.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the resource-permission-role mapping is specific to business domain, service type, application, geography, and user.

### Claim 19 (depends on 16)

The computer program product of claim 16 further comprising:
sharing, by the computer, the dynamic access control criteria learned from the multi-cluster container orchestration environment over time with multiple multi-cluster container orchestration environment deployments.

### Claim 20 (depends on 16)

The computer program product of claim 16 further comprising:
receiving, by the computer, a login of a user from a client device;
determining, by the computer, whether the login is a first-time login for the user;
responsive to the computer determining that the login is not a first-time login for the user, retrieving, by the computer, a resource-permission-role mapping for the user based on information corresponding to the login of the user;
analyzing, by the computer, the resource-permission-role mapping for the user to determine changes in role, permission, and resource type corresponding to the user;
updating, by the computer, the resource-permission-role mapping for the user based on any determined changes in the role, permission, and resource type corresponding to the user; and
assigning, by the computer, the role to the user.
