# US 2022/0070279 A1 · Api key security posture scoring for microservices to determine microservice security risks

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

- Number: US 2022/0070279 A1
- Document ID: US20220070279A1
- Status: Published application
- Kind: A1
- Application number: 17/157,388
- Filed: 2021-01-25
- Published: 2022-03-03
- Earliest claimed: 2020-08-28
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Jackson Ngoc Ki Pang; Ashutosh Kulshreshtha; Preethi Narayan; Vishal Jaswant Thakkar; Aria Rahadian; Zhiwen Zhang
- Web page: https://patentgrep.com/patent/US20220070279A1

## CPC

- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- H04L 67/133: Protocols for remote procedure calls [RPC]
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/1433: {Vulnerability analysis}
- H04L 63/168: {above the transport layer}
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure provides systems, methods, and computer-readable media for determining an objective measure of breach exposure of Application Programming Interface (API) infrastructure for microservices. In one aspect, a method includes analyzing header information of Application Programming Interface (API) call stacks between microservices; determining, for each API call stack, corresponding security key information based on the header information; determining location information of each of the microservices; and determining a vulnerability score for each of the microservices based on the corresponding security key information and corresponding location information of each of the microservices.

## Claims

### Claim 1

A method comprising:
analyzing header information of Application Programming Interface (API) call stacks between microservices;
determining, for each API call stack, corresponding security key information based on the header information;
determining location information of each of the microservices; and
determining a vulnerability score for each of the microservices based on the corresponding security key information and corresponding location information of each of the microservices.

### Claim 2 (depends on 1)

The method of claim 1, wherein the header information includes:
at least one destination address associated with each API call stack,
resource locator information of each API call stack,
credential header information of each API call stack,
source information of at least one network address originating each API call stack, and
a timestamp of each API call stack.

### Claim 3 (depends on 1)

The method of claim 1, wherein the corresponding security key information includes at least a type of security keys used, a security key rotation schedule for API call stack authentication, and reused security keys across more than one group of the microservices.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining the corresponding security key information based on the header information further comprises:
indexing each of the microservices with a corresponding set of the API call stacks in a time series with security key information of the corresponding set of the API call stacks.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining the vulnerability score for each of the microservices further comprises:
identifying a set of violations based on the security key information and the location information; and
assigning a base score for each of the set of violations.

### Claim 6 (depends on 1)

The method of claim 1, wherein the location information of each of the microservices includes a location of each of the microservices and a distance between each of the microservices and an external network.

### Claim 7 (depends on 1)

The method of claim 1 further comprising:
applying security policies on an application node based on the vulnerability score, wherein the security policies include at least one of:
presenting a vulnerability score for each of the microservices;
generating an alert for a first microservice of the microservices if a first vulnerability score of the first microservice is below a first threshold score, and providing at least one solution based on the security key information; and
stopping an API call to a second microservice of the microservices with a second vulnerability score below a second threshold score.

### Claim 8

A system comprising:
one or more memories having computer-readable instructions stored therein; and
one or more processors configured to execute the computer-readable instructions to:
analyze header information of Application Programming Interface (API) call stacks between microservices;
determine, for each API call stack, corresponding security key information based on the header information;
determine location information of each of the microservices; and
determine a vulnerability score for each of the microservices based on the corresponding security key information and corresponding location information of each of the microservices.

### Claim 9 (depends on 8)

The system of claim 8, wherein the corresponding security key information includes at least a type of security keys used, a security key rotation schedule for API call stack authentication, and reused security keys across more than one group of the microservices.

### Claim 10 (depends on 8)

The system of claim 8, wherein the security key information includes types of security keys used for API call stacks, security key rotation schedule for API call stacks authentication, and reused security keys across more than one family of the microservices.

### Claim 11 (depends on 8)

The system of claim 8, wherein the one or more processors are configured to execute the computer-readable instructions to determine the corresponding security key information based on the header information by indexing each of the microservices with a corresponding set of the API call stacks in a time series with security key information of the corresponding set of the API call stacks.

### Claim 12 (depends on 8)

The system of claim 8, wherein the one or more processors are configured to execute the computer-readable instructions to determine the vulnerability score for each of the microservices by:
identifying a set of violations based on the security key information and the location information; and
assigning a base score for each of the set of violations.

### Claim 13 (depends on 8)

The system of claim 8, wherein the location information of each of the microservices includes a location of each of the microservices and a distance between each of the microservices and an external network.

### Claim 14 (depends on 8)

The system of claim 8, wherein the one or more processors are configured to execute the computer-readable instructions to:
applying security policies on an application node based on the vulnerability score, wherein the security policies include at least one of:
presenting a vulnerability score for each of the microservices;
generating an alert for a first microservice of the microservices if a first vulnerability score of the first microservice is below a first threshold score, and providing at least one solution based on the security key information; and
stopping an API call to a second microservice of the microservices with a second vulnerability score below a second threshold score.

### Claim 15

One or more non-transitory computer-readable storage media comprising computer-readable instructions which, when executed by one or more processors, cause the one or more processors to:
analyze header information of Application Programming Interface (API) call stacks between microservices;
determine, for each API call stack, corresponding security key information based on the header information;
determine location information of each of the microservices; and
determine a vulnerability score for each of the microservices based on the corresponding security key information and corresponding location information of each of the microservices.

### Claim 16 (depends on 15)

The one or more non-transitory computer-readable storage media of claim 15, wherein the header information includes:
at least one destination address associated with each API call stack,
resource locator information of each API call stack,
credential header information of each API call stack,
source information of at least one network address originating each API call stack, and
a timestamp of each API call stack.

### Claim 17 (depends on 15)

The one or more non-transitory computer-readable storage media of claim 15, wherein the corresponding security key information includes at least a type of security keys used, a security key rotation schedule for API call stack authentication, and reused security keys across more than one group of the microservices.

### Claim 18 (depends on 15)

The one or more non-transitory computer-readable storage media of claim 15, wherein execution of the computer-readable instructions by the one or more processors further cause the one or more processors to determine the corresponding security key information based on the header information by indexing each of the microservices with a corresponding set of the API call stacks in a time series with security key information of the corresponding set of the API call stacks.

### Claim 19 (depends on 15)

The one or more non-transitory computer-readable storage media of claim 15, wherein execution of the computer-readable instructions by the one or more processors further cause the one or more processors to determine the vulnerability score for each of the microservices by:
identifying a set of violations based on the security key information and the location information; and
assigning a base score for each of the set of violations.

### Claim 20 (depends on 15)

The one or more non-transitory computer-readable storage media of claim 15, wherein the location information of each of the microservices includes a location of each of the microservices and a distance between each of the microservices and an external network.
