# US 2020/0404021 A1 · Controlling access to microservices within a multi-tenancy framework

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

- Number: US 2020/0404021 A1
- Document ID: US20200404021A1
- Status: Published application
- Kind: A1
- Application number: 16/447,733
- Filed: 2019-06-20
- Published: 2020-12-24
- Earliest claimed: 2019-06-20
- Assignees: Juniper Networks, Inc.
- Applicants: Juniper Networks, Inc.
- Inventors: Gurminder Singh; Pei-Yu Yang; Rong Xie
- Web page: https://patentgrep.com/patent/US20200404021A1

## CPC

- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L 63/10: {for controlling access to devices or network resources}
- H04L 63/104: {Grouping of entities}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In some examples, a system includes a network managed by a service provider and configured to provide access to one or more objects to a set of tenants each having one or more users, the service provider and the set of tenants being part of a set of entities that form a hierarchy, and a controller having access to the network. The controller is configured to obtain data indicative of a set of parameters, where the data indicative of the set of parameters is associated with an owner entity of the set of entities, generate a rule which incorporates the set of parameters, where the rule enables the controller to control access to an object of the one or more objects, and add the rule to a rules database, wherein the rules database is accessible to the controller.

## Claims

### Claim 1

A system comprising:
a network managed by a service provider and configured to provide access to one or more objects to a set of tenants each having one or more users, the service provider and the set of tenants being part of a set of entities that form a hierarchy, wherein each entity of the set of entities that form the hierarchy is associated with at least one of a parent entity of the set of entities and one or more child entities of the set of entities; and
a controller having access to the network, wherein the controller is configured to:
obtain data indicative of a set of parameters, wherein the data indicative of the set of parameters is associated with an owner entity of the set of entities;
generate a rule which incorporates the set of parameters, wherein the rule enables the controller to control access to an object of the one or more objects; and
add the rule to a rules database, wherein the rules database is accessible to the controller.

### Claim 2 (depends on 1)

The system of claim 1, wherein the controller is configured to:
receive, from a requesting entity of the set of entities, a token requesting access to the object, wherein the token includes data indicative of an identity of the requesting entity;
identify, based on information stored in the rules database, the rule corresponding to the object; and
determine, based on the set of parameters incorporated by the rule and based on the identity of the requesting entity, whether the requesting entity is granted access to the object.

### Claim 3 (depends on 2)

The system of claim 2, wherein the set of parameters includes an indication to share the object with at least one subset of entities of the set of entities, and wherein to determine whether the requesting entity is granted access to the object, the controller is configured to:
determine that the requesting entity is granted access to the object if the requesting entity is included by the at least one subset of entities; or
determine that the requesting entity is not granted access to the object if the requesting entity is not included by the at least one subset of entities.

### Claim 4 (depends on 2)

The system of claim 2, wherein the set of parameters comprises:
an indication of the owner entity associated with the rule;
an indication of a level of access to the object available to the owner entity;
an indication to share the object corresponding to the rule with at least one subset of entities of the set of entities; and
an indication of whether to share the object with all entities of the set of entities.

### Claim 5 (depends on 4)

The system of claim 4, wherein to determine whether the requesting entity is granted access to the object, the controller is configured to:
determine, if the requesting entity is not the owner entity, that the requesting entity is granted access to the object if the requesting entity is included by the at least one subset of entities or if the set of parameters comprises an indication to share the object with all entities of the set of entities; or
determine, if the requesting entity is not the owner entity, that the requesting entity is not granted access to the object if the requesting entity is not included by the at least one subset of entities and if the set of parameters comprises an indication not to share the object with all entities of the set of entities.

### Claim 6 (depends on 4)

The system of claim 4, wherein to determine whether the requesting entity is granted access to the object, the controller is configured to:
determine, if the requesting entity is the owner entity, whether the requesting entity is granted access to the object based on the indication of the level of access to the object available to the owner entity.

### Claim 7 (depends on 4)

The system of claim 4, wherein the indication of the level of access to the object available to the owner entity comprises:
an indication that the owner entity is permitted to read the object, wherein the indication that the owner entity is permitted to read the object enables the owner entity to view data associated with the object;
an indication that the owner entity is permitted to write the object, wherein the indication that the owner entity is permitted to write the object enables the owner entity to edit the data associated with the object;
an indication that the owner entity is permitted to execute the object, wherein the indication that the owner entity is permitted to execute the object enables the owner entity to receive a service associated with the object;
an indication that the owner entity is permitted to read the object and write the object;
an indication that the owner entity is permitted to read the object and execute the object;
an indication that the owner entity is permitted to write the object and execute the object;
an indication that the owner entity is permitted to read the object, write the object, and execute the object; or
an indication that the owner entity is not permitted to read the object, write the object, and execute the object.

### Claim 8 (depends on 4)

The system of claim 4, wherein the indication to share the object with the at least one subset of entities of the set of entities comprises at least one of:
an indication to share the object with a subset of entities including a direct parent entity associated with the owner entity;
an indication to share the object with a subset of entities including one or more direct child entities associated with the owner entity;
an indication to share the object with a subset of entities including entities of the set of entities that descend from the owner entity in the hierarchy; and
an indication to share the object with a subset of entities including all ancestor entities of the set of entities that precede the owner entity in the hierarchy.

### Claim 9 (depends on 4)

The system of claim 4, wherein each entity of the set of entities is associated with a respective scope of a set of scopes, and wherein the indication to share the object with the at least one subset of entities of the set of entities comprises:
an indication to share the object with a subset of entities including all entities to the set of entities that are associated with a scope of the set of scopes.

### Claim 10 (depends on 1)

The system of claim 1, wherein the controller is further configured to:
receive, from a creating entity of the set of entities that form the hierarchy and via an application programming interface (API), a message indicative of a request to create a new entity;
create, based on the message, the new entity such that a parent entity of the new entity is the creating entity and a child entity of the creating entity is the new entity; and
output a message to the API which includes an indication of an identity of the new entity and an indication of an identity of the parent entity of the new entity.

### Claim 11 (depends on 10)

The system of claim 10, wherein the system further includes the API and a storage device, and wherein the API is configured to:
receive the message which includes the indication of the identity of the new entity and the indication of the identity of the parent entity of the new identity;
send, in response to receiving the message which includes the indication of the identity of the new entity and the indication of the identity of the parent entity of the new identity, a message instructing the storage device to save the new entity in a hierarchy database; and
receive, from the storage device, a confirmation that the new entity is saved to the hierarchy database.

### Claim 12

A method comprising:
obtaining, by a controller having access to a network, data indicative of a set of parameters, wherein the network is managed by a service provider and configured to provide access to one or more objects to a set of tenants each having one or more users, the service provider and the set of tenants being part of a set of entities that form a hierarchy, wherein each entity of the set of entities that form the hierarchy is associated with at least one of a parent entity of the set of entities and one or more child entities of the set of entities, and wherein the data indicative of the set of parameters is associated with an owner entity of the set of entities;
generating a rule which incorporates the set of parameters, wherein the rule enables the controller to control access to an object of the one or more objects; and
adding the rule to a rules database, wherein the rules database is accessible to the controller.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
receiving, from a requesting entity of the set of entities, a token requesting access to the object, wherein the token includes data indicative of an identity of the requesting entity;
identifying, based on information stored in the rules database, the rule corresponding to the object; and
determining, based on the set of parameters incorporated by the rule and based on the identity of the requesting entity, whether the requesting entity is granted access to the object.

### Claim 14 (depends on 13)

The system of claim 13, wherein the set of parameters includes an indication to share the object with at least one subset of entities of the set of entities, and wherein determining whether the requesting entity is granted access to the object comprises:
determining that the requesting entity is granted access to the object if the requesting entity is included by the at least one subset of entities; or
determining that the requesting entity is not granted access to the object if the requesting entity is not included by the at least one subset of entities.

### Claim 15 (depends on 13)

The method of claim 13, wherein the set of parameters comprises:
an indication of the owner entity associated with the rule;
an indication of a level of access to the object available to the owner entity;
an indication to share the object corresponding to the rule with at least one subset of entities of the set of entities; and
an indication of whether to share the object with all entities of the set of entities.

### Claim 16 (depends on 15)

The method of claim 15, wherein determining whether the requesting entity is granted access to the object comprises:
determining, if the requesting entity is not the owner entity, that the requesting entity is granted access to the object if the requesting entity is included by the at least one subset of entities or if the set of parameters comprises an indication to share the object with all entities of the set of entities; or
determining, if the requesting entity is not the owner entity, that the requesting entity is not granted access to the object if the requesting entity is not included by the at least one subset of entities and if the set of parameters comprises an indication not to share the object with all entities of the set of entities.

### Claim 17 (depends on 15)

The method of claim 15, wherein determining whether the requesting entity is granted access to the object comprises:
determining, if the requesting entity is the owner entity, whether the requesting entity is granted access to the object based on the indication of the level of access to the object available to the owner entity.

### Claim 18 (depends on 12)

The method of claim 12, further comprising:
receiving, from a creating entity of the set of entities that form the hierarchy and via an application programming interface (API), a message indicative of a request to create a new entity;
creating, based on the message, the new entity such that a parent entity of the new entity is the creating entity and a child entity of the creating entity is the new entity; and
outputting a message to the API which includes an indication of an identity of the new entity and an indication of an identity of the parent entity of the new entity.

### Claim 19 (depends on 18)

The method of claim 18, wherein the system further includes the API and a storage device, and wherein method further comprises:
receiving, by the API, the message which includes the indication of the identity of the new entity and the indication of the identity of the parent entity of the new identity;
sending, by the API and in response to receiving the message which includes the indication of the identity of the new entity and the indication of the identity of the parent entity of the new identity, a message instructing the storage device to save the new entity in a hierarchy database; and
receiving, by the API and from the storage device, a confirmation that the new entity, is saved to the hierarchy database.

### Claim 20

A non-transitory computer-readable medium comprising instructions for causing one or more processors to:
obtain data indicative of a set of parameters, wherein the network is managed by a service provider and configured to provide access to one or more objects to a set of tenants each having one or more users, the service provider and the set of tenants being part of a set of entities that form a hierarchy; wherein each entity of the set of entities that form the hierarchy is associated with at least one of a parent entity of the set of entities and one or more child entities of the set of entities, and wherein the data indicative of the set of parameters is associated with an owner entity of the set of entities;
generate a rule which incorporates the set of parameters, wherein the rule enables a controller to control access to an object of the one or more objects; and
add the rule to a rules database, wherein the rules database is accessible to the contoller.
