*appending the list with the needed number of empty lists*

for i in range(len(self.KPI)):

self.KPI.append([])

#filling the lists with the secure KPIs data for the concrete organization

for kpi in self.KPI:

number=0

for i in self.KPI[kpi]:

d=input("the desired data for your organization") self.data[number].append(d)

number=number+1

#*checking security KPIs with the defined formulas*

def check(self):

for kpi in self.KPI:

for i in self.KPI[kpi]:

Calculate the corresponding security kpi according to the formulas in Table 2.

If security kpi > corresponding element in data list:

alert(self.kpi)

#*taking the security measures to mitigate the corresponding vulnerability, it will be defined in future works*

def alert(self, problematic\_kpi):

taking the corresponding measures #*creating the object of the concrete organization* organization\_x=Secure\_KPI() #*inputting the data of the organization* organization\_x.input\_data() #*calculating and checking security KPI* organization.check()

The pseudocode offered is divided into 5 stages. The class is named Secure\_KPI, designed to manage and assess key performance indicators (KPIs) related to security for a specific organization.

1. Initialization (Constructor):

The \_\_init\_\_ method is the constructor that initializes the class. Inside it, a dictionary called KPI is defined. This dictionary stores security KPIs as keys and lists the desired parameters for those KPIs as values.
