# US 2024/0004728 A1 · Method and apparatus to reduce the window for policy violations with minimal consistency assumptions

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

- Number: US 2024/0004728 A1
- Document ID: US20240004728A1
- Status: Published application
- Kind: A1
- Application number: 18/211,537
- Filed: 2023-06-19
- Published: 2024-01-04
- Earliest claimed: 2017-08-02
- Assignees: Styra, Inc.
- Applicants: Styra, Inc.
- Inventors: Timothy L. Hinrichs; Teemu Koponen; Torin Sandall
- Web page: https://patentgrep.com/patent/US20240004728A1

## CPC

- H04L 63/108: {when the policy decisions are valid for a limited amount of time}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- H04L 63/10: {for controlling access to devices or network resources}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06F 21/54: by adding security routines or objects to programs
- G06F 21/6281: {at program execution time, where the protection is within the operating system}
- 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)

## Abstract

Some embodiments provide a method for authorizing application programming interface (API) calls on a host computer in a local cluster of computers. The method is performed in some embodiments by an API-authorizing agent executing on the host computer in the local computer cluster. From a remote cluster of computers, the method receives (1) a set of API-authorizing policies to evaluate in order to determine whether API calls to an application executing on the host computer are authorized, and (2) a set of parameters needed for evaluating the policies. With the remote cluster of computers, the method registers for notifications regarding updates to the set of parameters. The method then receives notifications, from the remote cluster, regarding an update to the set of parameters, and modifies the set of parameters based on the update. In some embodiments, the notification includes the update, while in other embodiments the method directs the remote cluster to provide the update after receiving the notification regarding the update. In addition to the notifications, the method periodically polls the remote cluster to retrieve the set of parameters needed for the received set of policies, in order to supplement data received through the notifications.

## Claims

### Claim 1

A method of authorizing application programming interface (API) calls on a host computer in a local cluster of computers, the method comprising:
at an API-authorizing agent executing on the host computer in the local computer cluster,
receiving, from a remote cluster of computers, (i) a set of API-authorizing policies to evaluate in order to determine whether API calls to an application executing on the host computer are authorized, and (ii) a set of parameters needed for evaluating the policies;
registering, with the remote cluster of computers, for notifications regarding updates to the set of parameters;
receiving notifications, from the remote cluster, regarding an update to the set of parameters;
updating the set of parameters based on the update.

### Claim 2 (depends on 1)

The method of claim 1, wherein the notification includes the update.

### Claim 3 (depends on 1)

The method of claim 1 further comprising directing the remote cluster to provide the update after receiving the notification regarding the update.

### Claim 4 (depends on 1)

The method of claim 1, wherein the remote cluster comprises two or more computers that serve as a logically centralized set of servers for distributing policies and parameters needed for evaluating the policies.

### Claim 5 (depends on 4)

The method of claim 4, wherein the policies are policy opcodes for execution and the parameters are policy operands needed for the execution of the policy opcodes.

### Claim 6 (depends on 1)

The method of claim 1 further comprising periodically polling the remote cluster to retrieve the set of parameters needed for the received set of policies, said periodic polling supplementing the registered notifications to account for discrepancy between state of parameter set at the host computer and the state of parameter set at the remote cluster due to a loss of one or more notifications from the remote cluster.

### Claim at position 7

7-13. (canceled)

### Claim 14

A non-transitory machine readable medium storing an API (application programming interface) authorizing agent for a host computer in a local cluster of computers, the agent for execution by at least one processing unit and comprising sets of instructions for:
receiving, from a remote cluster of computers, (i) a set of API-authorizing policies to evaluate in order to determine whether API calls to an application executing on the host computer are authorized, and (ii) a set of parameters needed for evaluating the policies;
registering, with the remote cluster of computers, for notifications regarding updates to the set of parameters;
receiving notifications, from the remote cluster, regarding an update to the set of parameters;
updating the set of parameters based on the update.

### Claim 15 (depends on 14)

The non-transitory machine readable medium of claim 14, wherein the notification includes the update.

### Claim 16 (depends on 14)

The non-transitory machine readable medium of claim 14, wherein the agent further comprises a set of instructions for directing the remote cluster to provide the update after receiving the notification regarding the update.

### Claim 17 (depends on 14)

The non-transitory machine readable medium of claim 14, wherein the remote cluster comprises two or more computers that serve as a logically centralized set of servers for distributing policies and parameters needed for evaluating the policies.

### Claim 18 (depends on 17)

The non-transitory machine readable medium of claim 17, wherein the policies are policy opcodes for execution and the parameters are policy operands needed for the execution of the policy opcodes.

### Claim 19 (depends on 14)

The non-transitory machine readable medium of claim 14, wherein the agent further comprises a set of instructions for periodically polling the remote cluster to retrieve the set of parameters needed for the received set of policies, said periodic polling supplementing the registered notifications to account for discrepancy between state of parameter set at the host computer and the state of parameter set at the remote cluster due to a loss of one or more notifications from the remote cluster.

### Claim 20

(canceled)
