# US 2023/0141524 A1 · Systems and methods for remediation of software configuration

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

- Number: US 2023/0141524 A1
- Document ID: US20230141524A1
- Status: Published application
- Kind: A1
- Application number: 17/520,574
- Filed: 2021-11-05
- Published: 2023-05-11
- Earliest claimed: 2021-11-05
- Assignees: Capital One Services, LLC
- Applicants: Capital One Services, LLC
- Inventors: William Giles
- Web page: https://patentgrep.com/patent/US20230141524A1

## CPC

- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 8/60: Software deployment
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3051: {Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs (verification or detection of system hardware configuration G06F11/2247)}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3692: {for test results analysis}
- G06F 2201/81: Threshold
- G06F 2201/865: Monitoring of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for remediation of software configurations are disclosed. The system may store a plurality of configuration policies in a compliance repository. The system may receive trigger data including at least one compliance error and indicating a software instance operating on a cloud service is out of compliance. The system may compare the at least one compliance error with the plurality of configuration policies. When at least one compliance error matches at least one configuration policy, the system may identify a software configuration file and apply the matching configuration policy to the software configuration file to remediate the software instance. When the at least one compliance error does not match at least one configuration policy, the system may generate a new configuration policy, validate the new configuration policy, and apply the new configuration policy to the software configuration file to remediate the software instance.

## Claims

### Claim 1

A system for remediating a computer software configuration comprising:
one or more processors; and
a memory in communication with the one or more processors comprising instructions that, when executed by the one or more processors, are configured to cause the system to:
store a plurality of configuration policies in a compliance repository, each configuration policy associated with a remediation of at least one compliance error of a plurality of compliance errors;
receive trigger data, the trigger data indicating a first software instance of a plurality of software instances operating on a cloud service that is out of compliance, the trigger data comprising a first software instance identifier, and at least one first compliance error of the plurality of compliance errors;
compare the at least one first compliance error with the plurality of configuration policies stored in the compliance repository;
responsive to the at least one first compliance error matching at least one configuration policy beyond a first predetermined threshold:
identify a first software configuration file based on the first software instance identifier; and
apply the at least one matching configuration policy to the first software configuration file to remediate the first software instance;
responsive to the at least one first compliance error not matching at least one configuration policy beyond the first predetermined threshold:
generate a new configuration policy based at least in part on the at least one first compliance error;
validate the new configuration policy; and
apply the new configuration policy to the first software configuration file to remediate the first software instance.

### Claim 2 (depends on 1)

The system of claim 1, wherein validating the new configuration policy comprises:
creating a test software configuration file based on the first software configuration file;
applying the new configuration policy to the test software configuration file;
initializing a test software instance based on the test software configuration file; and
verifying that the test software instance complies with the new configuration policy.

### Claim 3 (depends on 1)

The system of claim 1, wherein the first software configuration file is configured to provide instructions to the cloud service for initializing the first software instance.

### Claim 4 (depends on 1)

The system of claim 1, wherein generating a new configuration policy comprises modifying an existing configuration policy of the plurality of configuration policies.

### Claim 5 (depends on 1)

The system of claim 1, wherein the trigger data comprises an indication that a runtime associated with deploying the first software instance to the cloud service exceeds a second predetermined threshold and the at least one matching configuration policy comprises identifying one or more dependencies associated with the first software instance and storing the one or more identified dependencies in a local repository.

### Claim 6 (depends on 1)

The system of claim 1, wherein the at least one first compliance error comprises a datalog generated by the first software instance, the datalog comprising sensitive information.

### Claim 7 (depends on 1)

The system of claim 1, wherein the at least one first compliance error comprises an out of compliance Bogiefile configuration, an out of compliance Gearsfile configuration, an out of compliance Dockerfile configuration, or combinations thereof.

### Claim 8

A system for remediating a computer software configuration comprising:
one or more processors; and
a memory in communication with the one or more processors comprising instructions that, when executed by the one or more processors, are configured to cause the system to:
store a plurality of configuration policies in a compliance repository, each configuration policy associated with a remediation of at least one compliance error of a plurality of compliance errors;
collect trigger data, the trigger data indicating a first software instance of a plurality of software instances operating on a cloud service that is out of compliance, the trigger data comprising a first software instance identifier, and at least one first compliance error of the plurality of compliance errors;
compare the trigger data to the plurality of configuration policies stored in the compliance repository;
responsive to the trigger data matching at least one configuration policy beyond a first predetermined threshold:
identify a first software configuration file based on the first software instance identifier; and
apply the at least one matching configuration policy to the first software configuration file to remediate the first software instance.

### Claim 9 (depends on 8)

The system of claim 8, wherein the memory includes instructions, that when executed by the one or more processors, are configured to cause the system to:
responsive to the at least one first compliance error not matching at least one configuration policy beyond the first predetermined threshold:
generate a new configuration policy based at least in part on the collected trigger data;
validate the new configuration policy; and
apply the new configuration policy to the first software configuration file to remediate the first software instance.

### Claim 10 (depends on 9)

The system of claim 9, wherein validating the new configuration policy comprises:
creating a test software configuration file based on the first software configuration file;
applying the new configuration policy to the test software configuration file;
initializing a test software instance based on the test software configuration file; and
verifying that the test software instance complies with the plurality of configuration policies.

### Claim 11 (depends on 8)

The system of claim 8, wherein the first software configuration file is configured to provide instructions to the cloud service for initializing the first software instance.

### Claim 12 (depends on 8)

The system of claim 8, wherein generating a new configuration policy comprises modifying an existing configuration policy of the plurality of configuration policies.

### Claim 13 (depends on 8)

The system of claim 8, wherein the trigger data comprises an indication that a runtime associated with deploying the first software instance to the cloud service exceeds a second predetermined threshold and the at least one matching configuration policy comprises identifying one or more dependencies associated with the first software instance and storing the one or more identified dependencies in a local repository.

### Claim 14 (depends on 8)

The system of claim 8, wherein the at least one first compliance error comprises a datalog generated by the first software instance, the datalog comprising sensitive information.

### Claim 15 (depends on 8)

The system of claim 8, wherein the at least one first compliance error comprises an out of compliance Bogiefile configuration, an out of compliance Gearsfile configuration, an out of compliance Dockerfile configuration, or combinations thereof.

### Claim 16

A method for remediating a computer software configuration comprising:
storing a plurality of configuration policies in a compliance repository, each configuration policy associated with a remediation of at least one compliance error of a plurality of compliance errors;
collecting trigger data, the trigger data indicating a first software instance of a plurality of software instances operating on a cloud service that is out of compliance, the trigger data comprising a first software instance identifier, and at least one first compliance error of the plurality of compliance errors;
comparing the trigger data to the plurality of configuration policies stored in the compliance repository;
responsive to the trigger data matching at least one configuration policy beyond a first predetermined threshold:
identifying a first software configuration file based on the first software instance identifier; and
applying the at least one matching configuration policy to the first software configuration file to remediate the first software instance.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
responsive to the at least one first compliance error not matching at least one configuration policy beyond the first predetermined threshold:
generating a new configuration policy based at least in part on the collected trigger data;
validating the new configuration policy; and
applying the new configuration policy to the first software configuration file to remediate the first software instance.

### Claim 18 (depends on 17)

The method of claim 17, wherein validating the new configuration policy comprises:
creating a test software configuration file based on the first software configuration file;
applying the new configuration policy to the test software configuration file;
initializing a test software instance based on the test software configuration file; and
verifying that the test software instance complies with the plurality of configuration policies.

### Claim 19 (depends on 16)

The method of claim 16, wherein the at least one first compliance error comprises an error selected from a datalog generated by the first software instance wherein the datalog comprises sensitive information, an out of compliance Bogiefile configuration, an out of compliance Gearsfile configuration, an out of compliance Dockerfile configuration, or combinations thereof.

### Claim 20 (depends on 16)

The method of claim 16, wherein the trigger data comprises an indication that a runtime associated with deploying the first software instance to the cloud service exceeds a second predetermined threshold and the at least one matching configuration policy comprises identifying one or more dependencies associated with the first software instance and storing the one or more identified dependencies in a local repository.
