diff --git a/ERFormatConstants.py b/ERFormatConstants.py index a4b1609bf7ca1863194fb7f24377dd9b9073b6d3..229bf92f42ca8ab5a175827a8768ba0801b59fee 100644 --- a/ERFormatConstants.py +++ b/ERFormatConstants.py @@ -71,12 +71,8 @@ AttackDescription = textArea6 # The description of the attack AttackDescriptionValue = textArea7 # Value #Dynamics -ThreatDynamic = "Threat Dynamics" # The dynamics - -ConsequenceDynamic = "Consequence Dynamics" # The dynamics - -AttackDynamic = "Attack Dynamics" # The dynamics - Dynamics = "Dynamics" # The dynamics - - +ThreatDynamic = "Threat" # The threat dynamics +ConsequenceDynamic = "Consequence" # The consequence dynamics +AttackDynamic = "Attack" # The attack dynamics +ERDynamic = "ER" # The ER dynamics diff --git a/diagramParser.py b/diagramParser.py index c3049e27834f85afadc6d10600c022b2446a43e8..8bcd1ab7170051e6544317be2191f580ba903d5d 100644 --- a/diagramParser.py +++ b/diagramParser.py @@ -10,20 +10,19 @@ def parseDiagramFile(csvFile): # List containing all threats and their descriptions threats = {} - threats = parseThreats(df, threats) - print(threats) - print(len(threats)) + #threats = parseThreats(df, threats) #List containing all consequences consequences = {} - consequences = parseConsequences(df, consequences) - print(consequences) + #consequences = parseConsequences(df, consequences) #List containing all metrics metrics = [] #List containing all attacks attacks = [] + parseDynamic(df) + def parseThreats(df, threatDict): for i in range(len(df)): @@ -69,7 +68,29 @@ def parseAttacks(df, attackDict): return attackDict #Parses metrics components and adds it to list -def parseDynamic(df, dynamicsDict): - for i in range(len(df)): - pass - \ No newline at end of file +def parseDynamic(df): + for i in range(len(df)): # Iterates through the dataframe + if df[const.textArea1][i] == const.Dynamics: # If the component is a dynamic component + + if df[const.textArea3][i] == const.ThreatDynamic: # If the dynamic component is a threat + print("Found threat dynamic") + elif df[const.textArea3][i] == const.ConsequenceDynamic: + print("Found consequence dynamic") + elif df[const.textArea3][i] == const.AttackDynamic: + print("Found attack dynamic") + + elif df[const.textArea3][i] == const.ERDynamic: + print("Found ER dynamic") + + for j in range(8, len(df.columns),2): # Parse all text areas to find metrics + metric = "Text Area "+str(j) + metricDescription = "Text Area "+str(j+1) + if pd.isnull(df[metric][i]) == False: # If the text area is not + print(df["Id"][i]) + print(f"Found Metric with type: {df[metric][i]}") + print(f"Metric description: {df[metricDescription][i]}") + else: + break # First empty field indicates no more metrics + + + diff --git a/diagrams/Thesis Bow-Tie and architecture - Bowtie.csv b/diagrams/Thesis Bow-Tie and architecture - Bowtie.csv deleted file mode 100644 index 5a963c1e89502caf240426fc85cb3d624b7c53c3..0000000000000000000000000000000000000000 --- a/diagrams/Thesis Bow-Tie and architecture - Bowtie.csv +++ /dev/null @@ -1,134 +0,0 @@ -Id,Name,Shape Library,Page ID,Contained By,Group,Line Source,Line Destination,Source Arrow,Destination Arrow,Status,Text Area 1,Text Area 2,Text Area 3,Text Area 4,Text Area 5,Text Area 6,Text Area 7,Text Area 8,Text Area 9,Text Area 10,Text Area 11,Text Area 12,Text Area 13,Text Area 14,Text Area 15,Text Area 16,Text Area 17,Text Area 18,Text Area 19,Text Area 20,Text Area 21,Text Area 22,Text Area 23,Text Area 24,Text Area 25,Text Area 26,Text Area 27,Text Area 28,Text Area 29,Text Area 30,Text Area 31,Text Area 32,Text Area 33,Text Area 34,Text Area 35,Text Area 36,Text Area 37,Text Area 38,Text Area 39,Text Area 40,Text Area 41,Text Area 42,Text Area 43,Text Area 44,Text Area 45,Text Area 46,Text Area 47,Text Area 48,Text Area 49,Text Area 50,Text Area 51,Text Area 52,Text Area 53,Text Area 54,Text Area 55,Text Area 56,Text Area 57,Text Area 58,Text Area 59,Text Area 60,Text Area 61,Text Area 62,Text Area 63,Text Area 64,Text Area 65,Text Area 66,Text Area 67,Text Area 68,Text Area 69,Text Area 70,Text Area 71,Text Area 72,Comments,property 1 -1,Document,,,,,,,,,Draft,Thesis Bow-Tie and architecture,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -48,Entity,Entity Relationship,2,,,,,,,,Incident,Backend API gets compromised ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -49,Entity,Entity Relationship,2,,,,,,,,Threat 2,Threat source,Static dependencies,Description,Developer uses static dependency ,Vulnerability,Legacy code exploit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -50,Entity,Entity Relationship,2,,,,,,,,Qonsequence,Database queries are monitored,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -51,Entity,Entity Relationship,2,,,,,,,,Qonsequence,Skyhiigh vendor drops application as it is vulnerable,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -52,Entity,Entity Relationship,2,,,,,,,,Barrier,Only update to stable versions,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -53,Entity,Entity Relationship,2,,,,,,,,Barrier,Use dependabot to alert new versions,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -54,Entity,Entity Relationship,2,,,,,,,,Barrier,Create dev policy enforcing updates,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -55,Entity,Entity Relationship,2,,,,,,,,Barrier,Have inclusion criteria for dependencies,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -56,Entity,Entity Relationship,2,,,,,,,,Barrier,Scan packages prior to install,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -57,Entity,Entity Relationship,2,,,,,,,,Barrier,Dont install dependencies via terminal,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -58,Entity,Entity Relationship,2,,,,,,,,Barrier,Research lbrary before install,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -59,Entity,Entity Relationship,2,,,,,,,,Barrier,Have backup database ready ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -60,Entity,Entity Relationship,2,,,,,,,,Barrier,Response plan to terminate database,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -61,Entity,Entity Relationship,2,,,,,,,,Barrier,Have backup vendor ready,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -62,Entity,Entity Relationship,2,,,,,,,,Barrier,Inform vendor of dependencies used (SBOM),,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -63,Entity,Entity Relationship,2,,,,,,,,Barrier,Monitor network and logs,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -64,Entity,Entity Relationship,2,,,,,,,,Barrier,Have response plan,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -65,Entity,Entity Relationship,2,,,,,,,,Barrier,Fork library,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -66,Table,Tables,2,,,,,,,,ID,Code sign attacks,ID,CS1,Dead account attack,H1,CS2,Phising attack,H2,CS3,Authentication exploit,H3,Build system attack,OS3,Package creation attack,,,,,OS4,Typosquat attack,,,,,OS5,Combosquat attack,,,,,,,Hijack attacks ,ID,Open source attacks,Centralized Network attack,OS1,Package injection attack,Software update attack,OS2,Legacy code attack,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -67,Table,Tables,2,,,,,,,,Metric,Process metrics,Metric,Largely subjective to case,,Policy updates,,,SLA update,,,List of vendors,Vendor may change their vendors etc ,Stars,Change in github rating,Change in req,Changes in requirements may impact the risk of the SC,,,,,Watching,"Change in number watching, fewer means better alternative might be available",,,,,,,Necessity,Is the lib necessary/can you use standard lib? ,,,,,,,Update,New update changing lib,,,,,,,Blast radius,How many components are affected? Amount of components importing/using lib,,,,,,,Sensitive data,Does the lib handle sensitive data? ,,,Vendor metrics,Metric,Open source metrics,Metric,Dev team metrics,Changes in policy may impact requirements,Scorecard score,OpenSSF scorecard score,Code standards ,Change in code standards may impact risk of development,Changes in SLA may impact uptime and availability,Snyk score,Snyk score,Team size,Team size may impact time to market and amount of code produced,, -69,Entity,Entity Relationship,2,,,,,,,,Standard dynamics event,Scorecard scores,"65, 48, 25, 13 ",Github metric,"4.6, 3.5, 5, 2.1",Updates ,Latest update,Necessity,Field,Size of SBOM,Field,Big actors using library,Field,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -70,Entity,Entity Relationship,2,,,,,,,,Relevant information,Files using dependency,Metric,Dependency update log,Metric,Vulnerability database,Metric,Package manager file,Metric,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -71,Entity,Entity Relationship,2,,,,,,,,Relevant information,Metric,Description,Development policy,Are devs updating continously?,Commit messages,Metric,Contributors in merge req,Field,SBOM changes,Field,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -72,Entity,Entity Relationship,2,,,,,,,,Relevant information,Functional requirements,Changes ,Proposed solution,,Relevant libraries,Metric,Documentation,Meeting minutes,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -73,Entity,Entity Relationship,2,,,,,,,,Associated dynamics,Search results for lib,More than one?,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -74,Entity,Entity Relationship,2,,,,,,,,Linked consequences,Css library injection,Http routing gets monitored,Database queries are monitored,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -75,Entity,Entity Relationship,2,,,,,,,,Linked threats,Static dependency,Vulnerable version,Malicious library,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -76,Entity,Entity Relationship,2,,,,,,,,Linked consequences,Css library injection,Http routing gets monitored,Database queries are monitored,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -77,Entity,Entity Relationship,2,,,,,,,,Linked consequences,Css library injection,Http routing gets monitored,Database queries are monitored,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -78,Entity,Entity Relationship,2,,,,,,,,Linked consequences,Css library injection,Http routing gets monitored,Database queries are monitored,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -79,Entity,Entity Relationship,2,,,,,,,,Risk,Using open source libraries for routing,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -80,Entity,Entity Relationship,2,,,,,,,,Threat,Threat source,New package,Description,Developer installs new package with malware,Vulnerability,Malicious package creation,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -81,Entity,Entity Relationship,2,,,,,,,,Threat,Threat source,Malicious package,Description,Developer installs package similar to the intended package,Vulnerability,Typosquat,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -82,Entity,Entity Relationship,2,,,,,,,,Consequence,Description,Type,Likelihood,Type,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -83,Entity,Entity Relationship,2,,,,,,,,Threat,Threat source,New version of library,Description,A new version of a library may be vulnerable,Vulnerability,Code injection attack,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -84,Entity,Entity Relationship,2,,,,,,,,Git Repository: Gitlab,"Hosts source code, runs pipeline, and provides code to SkyHiigh ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -85,Entity,Entity Relationship,2,,,,,,,,Internal component: Web application,Web pages,API communication,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -86,Entity,Entity Relationship,2,,,,,,,,Internal component: SQL Database,Stores information and handles info for web page and api,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -87,Entity,Entity Relationship,2,,,,,,,,Internal component Back end API,Receive from web pages,Send warnings to WR,Store data in database ,Importance points: 4 ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -88,Phone,Google Cloud Platform 2018,2,,,,,,,,Warning receiver,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -89,Desktop,Google Cloud Platform 2018,2,,,,,,,,System manager,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -90,Entity,Entity Relationship,2,,,,,,,,External vendor: Skyhiigh,"Hosts API, web page and database, provides logging",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -91,Users,Google Cloud Platform 2018,2,,,,,,,,Extenarl vendor,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -92,Entity,Entity Relationship,2,,,,,,,,Development environment,Development environment with assistive tools ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -93,Users,Google Cloud Platform 2018,2,,,,,,,,Users,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -94,Entity,Entity Relationship,2,,,,,,,,Package manager: NPM,Front end source code,Package_JSON,Fetches and compiles dependencies,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -95,Entity,Entity Relationship,2,,,,,,,,OS library: Express/Cors,Http Routing,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -96,Entity,Entity Relationship,2,,,,,,,,OS library: Material UI,Improved CSS ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -97,Entity,Entity Relationship,2,,,,,,,,OS library: Emotion,Improved CSS ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -98,Entity,Entity Relationship,2,,,,,,,,OS library: Bootstrap,Improved CSS ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -99,Entity,Entity Relationship,2,,,,,,,,OS library: Web Vitals,Reports on performance,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -100,Entity,Entity Relationship,2,,,,,,,,Package manager: Go packages,Backend source code,Go mod,Fetches and compiles dependencies,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -101,Entity,Entity Relationship,2,,,,,,,,OS library:Gorilla mux,Routing library,Serves front end,Serves database,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -102,Entity,Entity Relationship,2,,,,,,,,OS library: Go-sql-driver,Communication with database,Serves backend,Provides information for front end,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -103,Entity,Entity Relationship,2,,,,,,,,OS library: apitest,Securs API through unit testing,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -104,Entity,Entity Relationship,2,,,,,,,,Finished application,Web pages,API communication,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -105,Entity,Entity Relationship,2,,,,,,,,Start,Supply chain begins,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -106,Entity,Entity Relationship,2,,,,,,,,End,Application is finished,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -107,Table,Tables,2,,,,,,,,Relationship(s),Architecture dynamics,Link metric,2,Compliance with dev policy,Dev policy,2,Size of SBOM,Github SBOM,2,Security scan,OpenSSF Scorecard results,Safety of library,1,2,Github metrics,Num of commits by developer for update,Experience of contributors ,1,2,Github metrics,Github Update log,How often the library changes,1,,,,Reasoning of a library update,2,,,,Popularity of library internally,2,,,,The use of static dependencies ,2,,,,Score of library,"1,2",,,,Github metrics,"1,2",,,,,,Relevant information,Associated threat,Changes in dev policy,1,Changes in SBOM,1,,,,,,,,,,,,,, -109,Entity,Entity Relationship,2,,,,,,,,Dynamics,ID,1,Description,Source code uses build system to produce application,Std metric,Size of package json,Std metric,Build time,Metric,NPM security scan,Metric,Build logs,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -110,Entity,Entity Relationship,2,,,,,,,,Dynamics,ID,2,Description,Open source libraries leveraged for functionality,Std metric,Size of SBOM,Std metric,Github metrics,Std metric ,OpenSSF Scan results,Std metric,Compliance with dev policy,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -111,Entity,Entity Relationship,2,,,,,,,,Generative AI tool,ChatGPT,Field,,Field,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -112,Entity,Entity Relationship,2,,,,,,,,Generative AI tool,Github Copilot,Field,Key,Field,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -113,Entity,Entity Relationship,2,,,,,,,,Dynamics,ID,3,Description,Source code uses build system to produce application,Std metric,Size of package json,Std metric,Build time,Metric,NPM security scan,Metric,Build logs,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -114,Diamond,Geometric Shapes,2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -115,Entity,Entity Relationship,2,,,,,,,,Open source attack,Type,see table ,Component,Field,Description,Field,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -128,Line,,2,,,115,48,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -129,Line,,2,,,49,115,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -130,Line,,2,,,48,82,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -131,Line,,2,,,48,50,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -132,Line,,2,,,48,51,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -133,Line,,2,,,52,156,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -134,Line,,2,,,53,129,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -135,Line,,2,,,54,129,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -136,Line,,2,,,55,153,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -137,Line,,2,,,56,153,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -138,Line,,2,,,57,155,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -139,Line,,2,,,58,155,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -140,Line,,2,,,59,131,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -141,Line,,2,,,60,131,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -142,Line,,2,,,61,132,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -143,Line,,2,,,62,132,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -144,Line,,2,,,63,130,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -145,Line,,2,,,64,130,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -146,Line,,2,,,65,156,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -147,Line,,2,,,69,48,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -148,Line,,2,,,70,49,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -149,Line,,2,,,76,49,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -150,Line,,2,,,79,48,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -151,Line,,2,,,77,80,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -152,Line,,2,,,72,80,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -153,Line,,2,,,80,48,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -154,Line,,2,,,73,81,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -155,Line,,2,,,81,48,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -156,Line,,2,,,48,83,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -157,Line,,2,,,71,156,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -158,Line,,2,,,83,74,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -159,Line,,2,,,84,94,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -160,Line,,2,,,84,100,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -161,Line,,2,,,84,86,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -162,Line,,2,,,90,91,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -163,Line,,2,,,92,93,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -164,Line,,2,,,92,84,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -165,Line,,2,,,86,90,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -166,Line,,2,,,86,87,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -167,Line,,2,,,90,87,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -168,Line,,2,,,87,85,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -169,Line,,2,,,104,88,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -170,Line,,2,,,104,89,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -171,Line,,2,,,94,85,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -172,Line,,2,,,114,95,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -173,Line,,2,,,114,96,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -174,Line,,2,,,114,97,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -175,Line,,2,,,98,114,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -176,Line,,2,,,114,99,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -177,Line,,2,,,100,87,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -178,Line,,2,,,100,101,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -179,Line,,2,,,100,102,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -180,Line,,2,,,100,103,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -181,Line,,2,,,84,90,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -182,Line,,2,,,85,104,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -183,Line,,2,,,87,104,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -184,Line,,2,,,105,92,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -185,Line,,2,,,106,104,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -186,Line,,2,,,109,159,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -187,Line,,2,,,92,111,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -188,Line,,2,,,92,112,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -189,Line,,2,,,113,160,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -190,Line,,2,,,113,177,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -191,Line,,2,,,110,114,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -192,Line,,2,,,109,171,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -193,Line,,2,,,114,94,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, \ No newline at end of file diff --git a/diagrams/Thesis Bow-Tie and architecture - Meta model.csv b/diagrams/Thesis Bow-Tie and architecture - Meta model.csv new file mode 100644 index 0000000000000000000000000000000000000000..4b1148be26dc53ea05d402215ab6dc61a6347db0 --- /dev/null +++ b/diagrams/Thesis Bow-Tie and architecture - Meta model.csv @@ -0,0 +1,153 @@ +Id,Name,Shape Library,Page ID,Contained By,Group,Line Source,Line Destination,Source Arrow,Destination Arrow,Status,Text Area 1,Text Area 2,Text Area 3,Text Area 4,Text Area 5,Text Area 6,Text Area 7,Text Area 8,Text Area 9,Text Area 10,Text Area 11,Text Area 12,Text Area 13,Text Area 14,Text Area 15,Text Area 16,Text Area 17,Text Area 18,Text Area 19,Text Area 20,Text Area 21,Text Area 22,Text Area 23,Text Area 24,Text Area 25,Text Area 26,Text Area 27,Text Area 28,Text Area 29,Text Area 30,Text Area 31,Text Area 32,Text Area 33,Text Area 34,Text Area 35,Text Area 36,Text Area 37,Text Area 38,Text Area 39,Text Area 40,Text Area 41,Text Area 42,Text Area 43,Text Area 44,Text Area 45,Text Area 46,Text Area 47,Text Area 48,Text Area 49,Text Area 50,Text Area 51,Text Area 52,Text Area 53,Text Area 54,Text Area 55,Text Area 56,Text Area 57,Text Area 58,Text Area 59,Text Area 60,Text Area 61,Text Area 62,Text Area 63,Text Area 64,Text Area 65,Text Area 66,Text Area 67,Text Area 68,Text Area 69,Text Area 70,Text Area 71,Text Area 72,Comments,property 1 +1,Document,,,,,,,,,Draft,Thesis Bow-Tie and architecture,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +3,Entity,Entity Relationship,2,,,,,,,,Incident,Backend API gets compromised ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +4,Entity,Entity Relationship,2,,,,,,,,Threat,ID,Int,Threat source,"The actor or ""thing"" responsible for the threat",Description,Brief threat description,Vulnerability,Associated vulnerability,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +5,Entity,Entity Relationship,2,,,,,,,,Barrier,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +6,Entity,Entity Relationship,2,,,,,,,,Barrier,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +7,Entity,Entity Relationship,2,,,,,,,,Barrier,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +8,Entity,Entity Relationship,2,,,,,,,,Barrier,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +9,Entity,Entity Relationship,2,,,,,,,,Barrier,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +10,Entity,Entity Relationship,2,,,,,,,,Barrier,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +11,Entity,Entity Relationship,2,,,,,,,,Barrier,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +12,Entity,Entity Relationship,2,,,,,,,,Barrier,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +13,Entity,Entity Relationship,2,,,,,,,,Barrier,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +14,Entity,Entity Relationship,2,,,,,,,,Barrier,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +15,Entity,Entity Relationship,2,,,,,,,,Barrier,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +16,Entity,Entity Relationship,2,,,,,,,,Barrier,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +17,Entity,Entity Relationship,2,,,,,,,,Barrier,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +18,Entity,Entity Relationship,2,,,,,,,,Barrier,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +19,Entity,Entity Relationship,2,,,,,,,,Attack dynamics,Metric,Description,Metric,Description,Metric ,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +20,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,Threat,Metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +21,Entity,Entity Relationship,2,,,,,,,,Risk,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +22,Entity,Entity Relationship,2,,,,,,,,Threat,ID,Int,Threat source,"The actor or ""thing"" responsible for the threat",Description,Brief threat description,Vulnerability,Associated vulnerability,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +23,Entity,Entity Relationship,2,,,,,,,,Consequence,ID,Id for linkage,Description,Description of the consequence of the attack type occuring,Consequence,Consequence score,Affected components,The components affected by the consequence,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +24,Entity,Entity Relationship,2,,,,,,,,Open source attack,Type,Attack type -> See attack table,Component,Associated component types,Description,Brief attack description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +25,Entity,Entity Relationship,2,,,,,,,,Threat,ID,Int,Threat source,"The actor or ""thing"" responsible for the threat",Description,Brief threat description,Vulnerability,Associated vulnerability,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +26,Entity,Entity Relationship,2,,,,,,,,Threat,ID,Int,Description,Brief threat description,Threat source,"The actor or ""thing"" responsible for the threat",Likelihood,The likelihood of the threat being exploited,Vulnerability,Associated vulnerability,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +27,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,Threat,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +28,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,Consequence,Metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +29,Entity,Entity Relationship,2,,,,,,,,Linked Threats ,ID,Description,ID,Description,ID,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +30,Entity,Entity Relationship,2,,,,,,,,Consequence,ID,Id for linkage,Description,Description of the consequence of the attack type occuring,Consequence,Consequence score,Affected components,The components affected by the consequence,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +31,Entity,Entity Relationship,2,,,,,,,,Linked Threats ,ID,Description,ID,Description,ID,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +32,Entity,Entity Relationship,2,,,,,,,,Consequence,ID,Id for linkage,Description,Description of the consequence of the attack type occuring,Consequence,Consequence score,Affected components,The components affected by the consequence,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +33,Entity,Entity Relationship,2,,,,,,,,Linked Threats ,ID,Description,ID,Description,ID,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +34,Text,Standard,2,,,,,,,,Bowtie meta model,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +44,Entity,Entity Relationship,2,,,,,,,,Linked Consequences,ID,Description,ID,Description,ID,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +45,Entity,Entity Relationship,2,,,,,,,,Linked Consequences,ID,Description,ID,Description,ID,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +46,Entity,Entity Relationship,2,,,,,,,,Linked Consequences,ID,Description,ID,Description,ID,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +47,Entity,Entity Relationship,2,,,,,,,,Linked Consequences,ID,Description,ID,Description,ID,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +61,Entity,Entity Relationship,2,,,,,,,,Git Repository,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +62,Entity,Entity Relationship,2,,,,,,,,Internal component,Name,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +63,Entity,Entity Relationship,2,,,,,,,,Internal component,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +64,Entity,Entity Relationship,2,,,,,,,,Internal component,Name,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +65,Phone,Google Cloud Platform 2018,2,,,,,,,,Warning receiver,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +66,Desktop,Google Cloud Platform 2018,2,,,,,,,,System manager,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +67,Entity,Entity Relationship,2,,,,,,,,External vendor,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +68,Users,Google Cloud Platform 2018,2,,,,,,,,Extenarl vendor,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +69,Entity,Entity Relationship,2,,,,,,,,Development environment,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +70,Users,Google Cloud Platform 2018,2,,,,,,,,Users,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +71,Entity,Entity Relationship,2,,,,,,,,Package manager,Description,Usage,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +72,Entity,Entity Relationship,2,,,,,,,,OS library,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +73,Entity,Entity Relationship,2,,,,,,,,OS library,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +74,Entity,Entity Relationship,2,,,,,,,,OS library,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +75,Entity,Entity Relationship,2,,,,,,,,OS library,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +76,Entity,Entity Relationship,2,,,,,,,,OS library,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +77,Entity,Entity Relationship,2,,,,,,,,Package manager:,Description,Functions,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +78,Entity,Entity Relationship,2,,,,,,,,OS library,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +79,Entity,Entity Relationship,2,,,,,,,,OS library,Description ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +80,Entity,Entity Relationship,2,,,,,,,,OS library,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +81,Entity,Entity Relationship,2,,,,,,,,Finished application,Description,Name,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +82,Entity,Entity Relationship,2,,,,,,,,Start,Supply chain begins,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +83,Entity,Entity Relationship,2,,,,,,,,End,Application is finished,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +84,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,ER,ID,1,Description,Test,Std metric,Description,Std metric,Description,Metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +85,Entity,Entity Relationship,2,,,,,,,,Generative AI tool,ChatGPT,Field,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +86,Entity,Entity Relationship,2,,,,,,,,Generative AI tool,Github Copilot,Field,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +87,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,ER,ID,1,Description,Test,Std metric,Description,Std metric,Description,Metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +90,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,ER,ID,1,Description,Test,Std metric,Description,Std metric,Description,Metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +91,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,ER,ID,1,Description,Test,Std metric,Description,Std metric,Description,Metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +92,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,ER,ID,1,Description,Test,Std metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +93,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,ER,ID,1,Description,Test,Std metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +94,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,ER,ID,1,Description,Test,Std metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +95,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,ER,ID,1,Description,Test,Std metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +96,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,ER,ID,1,Description,Test,Std metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +97,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,ER,ID,1,Description,Test,Std metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +99,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,Threat,Metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +100,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,Threat,Metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +101,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,Consequence,Metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +102,Entity,Entity Relationship,2,,,,,,,,Dynamics,Type,Consequence,Metric,Description,Metric,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +104,Line,,2,,,4,24,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +105,Line,,2,,,24,3,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +106,Line,,2,,,3,23,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +107,Line,,2,,,3,32,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +108,Line,,2,,,3,30,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +109,Line,,2,,,5,127,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +110,Line,,2,,,6,104,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +111,Line,,2,,,7,104,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +112,Line,,2,,,8,125,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +113,Line,,2,,,9,125,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +114,Line,,2,,,10,126,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +115,Line,,2,,,11,126,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +116,Line,,2,,,12,107,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +117,Line,,2,,,13,107,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +118,Line,,2,,,14,108,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +119,Line,,2,,,15,108,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +120,Line,,2,,,16,106,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +121,Line,,2,,,17,106,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +122,Line,,2,,,18,127,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +123,Line,,2,,,19,3,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +124,Line,,2,,,21,3,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +125,Line,,2,,,25,24,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +126,Line,,2,,,22,3,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +127,Line,,2,,,3,26,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +128,Line,,2,,,20,127,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +129,Line,,2,,,27,126,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +130,Line,,2,,,28,106,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +131,Line,,2,,,29,23,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +132,Line,,2,,,31,30,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +133,Line,,2,,,33,32,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +134,Line,,2,,,45,4,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +135,Line,,2,,,46,25,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +136,Line,,2,,,47,22,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +137,Line,,2,,,61,96,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +138,Line,,2,,,67,68,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +139,Line,,2,,,69,70,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +140,Line,,2,,,69,61,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +141,Line,,2,,,63,67,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +142,Line,,2,,,63,97,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +143,Line,,2,,,67,64,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +144,Line,,2,,,81,65,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +145,Line,,2,,,81,66,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +146,Line,,2,,,87,72,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +147,Line,,2,,,87,73,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +148,Line,,2,,,87,74,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +149,Line,,2,,,75,87,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +150,Line,,2,,,87,76,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +151,Line,,2,,,92,78,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +152,Line,,2,,,92,79,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +153,Line,,2,,,92,80,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +154,Line,,2,,,61,95,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +155,Line,,2,,,62,81,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +156,Line,,2,,,64,81,None,Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +157,Line,,2,,,82,69,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +158,Line,,2,,,83,81,None,None,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +159,Line,,2,,,69,85,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +160,Line,,2,,,69,86,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +161,Line,,2,,,84,71,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +162,Line,,2,,,61,84,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +163,Line,,2,,,87,71,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +164,Line,,2,,,71,90,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +165,Line,,2,,,90,62,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +166,Line,,2,,,64,91,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +167,Line,,2,,,91,62,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +168,Line,,2,,,92,77,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +169,Line,,2,,,61,93,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +170,Line,,2,,,93,77,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +171,Line,,2,,,77,94,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +172,Line,,2,,,94,64,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +173,Line,,2,,,95,67,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +174,Line,,2,,,96,63,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +175,Line,,2,,,97,64,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +176,Line,,2,,,99,104,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +177,Line,,2,,,100,125,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +178,Line,,2,,,101,108,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +179,Line,,2,,,102,107,CFN ERD One Arrow,CFN ERD Many Arrow,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, \ No newline at end of file diff --git a/dynamics.py b/dynamics.py index c176358fe574a2a33e68ee6b2b8e8c02dc36f67d..851d688a76a67aaad01400541a66883cf3d54aa3 100644 --- a/dynamics.py +++ b/dynamics.py @@ -1,23 +1,23 @@ import logging as log -from enum import Enum -#Dynamics class parent class for all dynamic components in the diagram -class Dynamics: +# Dynamics class parent class for both the bowtie dynamics and the architecture dynamics +class DynamicComponent: - def __init__(self, componentID) -> None: + def __init__(self, componentID, type) -> None: self.componentID = componentID - self.metrics = [Metric] #List of metrics for the dynamic + self.metrics = [Metric] # List of metrics for the dynamic + self.DynamicsRow = None # The row in the dynamics table the dynamic is associated with #String only returns necessary info def __str__(self) -> str: - return f"ThreatDynamic: {self.id}, {self.metrics}" + return f"Dynamic Component: {self.componentID}, {len(self.metrics)}" #Simple contains function to check if metric already exists - def containsMetric(metrics, metric): - if len(metrics)==0: + def containsMetric(metricList, metric): + if len(metricList)==0: return False - for i in metrics: + for i in metricList: if i.name == metric: return True return False @@ -28,7 +28,7 @@ class Dynamics: metric = Metric(newMetric, description, metricType) #Check if metric is already in the global metrics list if it is the metric will not be added to the global list - if Dynamics.containsMetric(globalMetricList, newMetric) == False: + if DynamicComponent.containsMetric(globalMetricList, newMetric) == False: globalMetricList = globalMetricList.append(metric) log.info(f"Added metric {newMetric} to GLOBAL dynamics list with ID: {self.id}") else: @@ -36,24 +36,6 @@ class Dynamics: self.metrics.append(metric) log.info(f"Added metric {newMetric} to LOCAL dynamics list with ID: {self.id}") -#Threat dynamic entity, will be linked to the different threats and the dynamic matrix -class ThreatDynamics(Dynamics): - def __init__(self, id, threatID) -> None: - super().__init__(id) - self.threatID = threatID - - def __str__(self) -> str: - return f"ThreatDynamic: {self.id}, {self.threatID}" - -#Consequence dynamic will also be linked to the different consequences and the dynamic matrix -class ConsequenceDynamics(Dynamics): - def __init__(self, id, consequenceID) -> None: - super().__init__(id) - self.consequenceID = consequenceID - - - def __str__(self) -> str: - return f"ConsequenceDynamic: {self.id}, {self.consequenceID}" #Metric class, will be used for all dynamics class Metric: @@ -65,4 +47,20 @@ class Metric: def __str__(self) -> str: return f"Metric: {self.name}, {self.description}" +class BowtieDynamic(DynamicComponent): + def __init__(self, componentID, type) -> None: + super().__init__(componentID, type) + + self.associatedThreat = None # List of threats associated with the dynamic + self.associatedAttack = None # List of attacks associated with the dynamic + + +class ERDynamic(DynamicComponent): + def __init__(self, componentID, type, description) -> None: + super().__init__(componentID, type) + + self.description = description # Description of the dynamic + self.associatedComponent = None # Associated ER component + + \ No newline at end of file diff --git a/main.py b/main.py index d9dc44de65353c5ff9f1dc61155fe20df04ed31d..c0b34f9368de5c66898b3376795159d6d6a5495e 100644 --- a/main.py +++ b/main.py @@ -4,7 +4,7 @@ def main(): dynamicMetricsBowtie = [] # List of metrics for the bowtie model dynamicMetricsArchitecture = [] # List of metrics for the architecture - parse.parseDiagramFile('diagrams/Thesis Bow-Tie and architecture - Bowtie.csv') # Parse the diagram + parse.parseDiagramFile('diagrams/Thesis Bow-Tie and architecture - Meta model.csv') # Parse the diagram