CRITICALITY DETECTION FOR AUTOMATION RISK MITIGATION
A planned action is evaluated to determine a risk of failure. Context information of a target application of the planned action is also evaluated to determine a context risk. Based on the context risk and the failure risk, an overall risk level is determined for the planned action. This overall risk level is compared to a threshold; if the risk level is higher than the threshold, a user may be prompted to approve the planned action.
1 . A method, comprising:
receiving a first planned action;
calculating, based on the first planned action, a first failure risk of the first planned action;
receiving first context information of a first target application;
calculating, based on the first context information, a first context risk of the first target application;
determining, based on the first failure risk and on the first context risk, a first risk level of the first planned action;
comparing the first risk level to a risk threshold; and
sending, based on the comparison, a prompt to a user for approval of execution of the first planned action.
2 . The method of claim 1 , further comprising:
receiving an approval in response to the prompt; and
executing, based on the approval, the planned action.
3 . The method of claim 1 , further comprising:
receiving a denial in response to the prompt; and
preventing, based on the denial, execution of the planned action.
4 . The method of claim 1 , further comprising:
detecting, prior to receiving a response to the prompt, that an elapsed time is greater than a timeout threshold; and
preventing, based on the detecting, execution of the planned action.
5 . The method of claim 1 , further comprising:
receiving a second planned action;
calculating, based on the second planned action, a second failure risk of the second planned action;
receiving second context information of a second target application;
calculating, based on the second context information, a second context risk of the second target application;
determining, based on the second failure risk and on the second context risk, a second risk level of the second planned action;
comparing the second risk level to the risk threshold; and
executing, based on the comparing, the second planned action.
6 . The method of claim 1 , further comprising:
receiving a second planned action;
calculating, based on the second planned action, a second failure risk of the second planned action;
receiving second context information of a second target application;
calculating, based on the second context information, a second context risk of the second target application;
determining, based on the second failure risk and on the second context risk, a second risk level of the second planned action;
determining an urgency of the second planned action;
determining, based on the urgency, a modified risk threshold;
comparing the second risk level to the modified risk threshold; and
executing, based on the comparing, the second planned action.
7 . The method of claim 1 , wherein the calculating the context risk includes determining that the target application is flagged with a change freeze.
8 . The method of claim 1 , wherein the context information includes an industry of the target application.
9 . The method of claim 1 , wherein the executing is performed by the target application.
10 . A system comprising:
a memory; and
a central processing unit (CPU) coupled to the memory, the CPU configured to:
receive a first planned action;
calculate, based on the first planned action, a first failure risk of the first planned action;
receive first context information of a first target application;
calculate, based on the first context information, a first context risk of the first target application;
determine, based on the first failure risk and on the first context risk, a first risk level of the first planned action;
compare the first risk level to a risk threshold; and
send, based on the comparison, a prompt to user for approval of execution of the first planned action.
11 . The system of claim 10 , wherein the CPU is further configured to:
receive an approval in response to the prompt; and
execute, based on the approval, the planned action.
12 . The system of claim 10 , wherein the CPU is further configured to:
receive a denial in response to the prompt; and
prevent, based on the denial, execution of the planned action.
13 . The system of claim 10 , wherein the CPU is further configured to:
detect a timeout without receiving a response to the prompt; and
prevent, based on the detecting, execution of the planned action.
14 . The system of claim 10 , wherein the CPU is further configured to:
receive a second planned action;
calculate, based on the second planned action, a second failure risk of the second planned action;
receive second context information of a second target application;
calculate, based on the second context information, a second context risk of the second target application;
determine, based on the second failure risk and on the second context risk, a second risk level of the second planned action;
compare the second risk level to the risk threshold; and
execute, based on the comparing, the second planned action.
15 . The system of claim 10 , wherein the CPU is further configured to:
receive a second planned action;
calculate, based on the second planned action, a second failure risk of the second planned action;
receive second context information of a second target application;
calculate, based on the second context information, a second context risk of the second target application;
determine, based on the second failure risk and on the second context risk, a second risk level of the second planned action;
determine an urgency of the second planned action;
determine, based on the urgency, a modified risk threshold;
compare the second risk level to the modified risk threshold; and
execute, based on the comparing, the second planned action.
16 . A computer program product, 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:
receive a first planned action;
calculate, based on the first planned action, a first failure risk of the first planned action;
receive first context information of a first target application;
calculate, based on the first context information, a first context risk of the first target application;
determine, based on the first failure risk and on the first context risk, a first risk level of the first planned action;
compare the first risk level to a risk threshold; and
send, based on the comparison, a prompt to a user for approval of execution of the first planned action.
17 . The computer program product of claim 16 , wherein the instructions further cause the computer to:
receive an approval in response to the prompt; and
execute, based on the approval, the planned action.
18 . The computer program product of claim 16 , wherein the instructions further cause the computer to:
detect a timeout without receiving a response to the prompt; and
prevent, based on the detecting, execution of the planned action.
19 . The computer program product of claim 16 , wherein the instructions further cause the computer to:
receive a second planned action;
calculate, based on the second planned action, a second failure risk of the second planned action;
receive second context information of a second target application;
calculate, based on the second context information, a second context risk of the second target application;
determine, based on the second failure risk and on the second context risk, a second risk level of the second planned action;
compare the second risk level to the risk threshold; and
execute, based on the comparing, the second planned action.
20 . The computer program product of claim 16 , wherein the instructions further cause the computer to:
receive a second planned action;
calculate, based on the second planned action, a second failure risk of the second planned action;
receive second context information of a second target application;
calculate, based on the second context information, a second context risk of the second target application;
determine, based on the second failure risk and on the second context risk, a second risk level of the second planned action;
determine an urgency of the second planned action;
determine, based on the urgency, a modified risk threshold;
compare the second risk level to the modified risk threshold; and
execute, based on the comparing, the second planned action.