diff --git a/data/schema/SSVC_Computed_v2.01.schema.json b/data/schema/SSVC_Computed_v2.01.schema.json deleted file mode 100644 index 0ccb1024..00000000 --- a/data/schema/SSVC_Computed_v2.01.schema.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "$id": "https://democert.org/ssvc/SVC_Computed_v2.01.schema.json", - "title": "Computed SSVC score representing the path in the decision tree", - "description": "This schema represents the full path in the decision tree taken by an analyst with a specific role. The representation of the full decision tree is optional", - "type": "object", - "properties": { - "choices": { - "type": "array", - "items": { - "type": "object", - "patternProperties": { - ".*": { - "type": ["array","string"], - "items": { - "type": "string" - } - } - } - }, - "minItems": 1, - "uniqueItems": true - }, - "timestamp" : { - "description": "Date and time in ISO format ISO 8601 format", - "type": "string", - "format": "date-time" - }, - "role": { - "type": "string", - "description": "Roles are defined in SSVC spec and optional in SSVC provision schema" - }, - "version": { - "type": "string", - "description":"Version of the SSVC that was used in this decision" - }, - "decision_tree": { - "description": "The full decision tree that was used for this SSVC computed score", - "$ref": "https://democert.org/ssvc/SSVC_Provision_v2.01.schema.json" - } - }, - "required": [ - "choices", - "timestamp", - "role", - "id", - "version" - ] -} diff --git a/data/schema/SSVC_Provision_v2.01.schema.json b/data/schema/SSVC_Provision_v2.01.schema.json deleted file mode 100644 index ef81dcc7..00000000 --- a/data/schema/SSVC_Provision_v2.01.schema.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "$id": "https://democert.org/ssvc/SSVC_Provision_v2.01.schema.json", - "title": "Decision tree schema definition for SSVC", - "description": "This provides a schema for a decision tree used to compute SSVC score for a vulnerability", - "type": "object", - "definitions": { - "decision_points": { - "description": "Decision points are represented an an array of Nodes (in the decision tree language) in the decision tree, including the Root Node. Each decision point has a \"label\" with two or more \"options\" for each decision point", - "type": "array", - "items": { - "type": "object", - "properties": { - "label": { - "description": "A short label that captures a short name of this Node", - "type": "string", - "maxLength": 255 - }, - "key": { - "description": "An optional short \"key\" that identified this \"descision_point\" in SSVC score vector form. This is one or two letter(s) used in short-form vector representation of the SSVC score.", - "maxLength": 2, - "type": "string" - }, - "options": { - "description": "This provides an array of choices that are relevant for leaving a Node in the decision tree to proceed to the next Node. ", - "type": "array", - "items": { - "type": "object", - "properties": { - "description": { - "description": "This should provide full information about this \"option\" ", - "maxLength": 65535, - "type": "string" - }, - "label": { - "description": "A short label of this \"option\" or choice.", - "maxLength": 255, - "type": "string" - }, - "key": { - "description": "An optional short \"key\" that identified this \"descision_point\" in SSVC score vector form. This is one or two letter(s) used in short-form vector representation of the SSVC score.", - "type": "string", - "maxLength": 2 - }, - "color": { - "description": "This is an optional color to represent the final edge node or final recommended action provided by the SSVC tree. This is preferably predefined color names, or with RGB, HEX, HSL, RGBA, or HSLA values.", - "type": "string", - "maxLength": 127 - } - }, - "required": [ - "label", - "description", - ] - }, - "minItems": 1, - "uniqueItems": true - }, - "decision_type": { - "type": "string", - "enum": [ - "child", - "complex", - "simple", - "final" - ], - "description": "Decision Type is used to identify if this is a \"simple\" decision or a \"complex\" decision. The \"complex\" decisions can have \"child\" decisions under them. The \"final\" decision basically is the last node on the decision tree" - }, - "children": { - "type": "array", - "items": { "$ref": "#/definitions/decision_points" }, - "minItems": 1 - } - }, - "anyOf": [ - { - "required": [ - "decision_type", - "label", - "children" - ] - }, - { - "required": [ - "decision_type", - "label", - "options" - ] - } - ] - }, - "minItems": 1 - } - }, - "properties": { - "decision_points": { "$ref": "#/definitions/decision_points" }, - "decisions_table": { - "type": "array", - "items": { - "type": "object" - }, - "minItems": 1, - "type": "array" - }, - "lang": { - "maxLength": 7, - "type": "string" - }, - "roles": { - "description": "Roles as described in SSVC as distinct array elements", - "type": "array", - "items": { - "type": "string" - }, - "minItems": 1, - "uniqueItems": true - }, - "title": { - "maxLength": 255, - "type": "string" - }, - "version": { - "enum": [ - "1.0", - "2.0" - ] - } - }, - "required": [ - "lang", - "version", - "decision_points", - "decisions_table" - ] -} - diff --git a/data/schema_examples/README.MD b/data/schema_examples/README.MD index 475cea48..fa6c9b9b 100644 --- a/data/schema_examples/README.MD +++ b/data/schema_examples/README.MD @@ -8,3 +8,4 @@ The JSON files here are 3. Computed SSVC score with the full decision tree embedded. + diff --git a/data/v1/csv/ssvc_1_applier.csv b/data/v1/csv/ssvc_1_applier.csv deleted file mode 100644 index e00f414c..00000000 --- a/data/v1/csv/ssvc_1_applier.csv +++ /dev/null @@ -1,226 +0,0 @@ -,Exploitation,Exposure,MissionImpact,SafetyImpact,Outcome -0,none,small,none,none,defer -1,none,small,none,minor,defer -2,none,small,none,major,defer -3,none,small,none,hazardous,scheduled -4,none,small,none,catastrophic,out-of-cycle -5,none,small,degraded,none,defer -6,none,small,degraded,minor,defer -7,none,small,degraded,major,scheduled -8,none,small,degraded,hazardous,scheduled -9,none,small,degraded,catastrophic,out-of-cycle -10,none,small,MEF crippled,none,defer -11,none,small,MEF crippled,minor,scheduled -12,none,small,MEF crippled,major,scheduled -13,none,small,MEF crippled,hazardous,scheduled -14,none,small,MEF crippled,catastrophic,out-of-cycle -15,none,small,MEF fail,none,scheduled -16,none,small,MEF fail,minor,scheduled -17,none,small,MEF fail,major,scheduled -18,none,small,MEF fail,hazardous,scheduled -19,none,small,MEF fail,catastrophic,out-of-cycle -20,none,small,mission fail,none,scheduled -21,none,small,mission fail,minor,scheduled -22,none,small,mission fail,major,scheduled -23,none,small,mission fail,hazardous,scheduled -24,none,small,mission fail,catastrophic,out-of-cycle -25,none,controlled,none,none,defer -26,none,controlled,none,minor,defer -27,none,controlled,none,major,scheduled -28,none,controlled,none,hazardous,out-of-cycle -29,none,controlled,none,catastrophic,out-of-cycle -30,none,controlled,degraded,none,defer -31,none,controlled,degraded,minor,defer -32,none,controlled,degraded,major,scheduled -33,none,controlled,degraded,hazardous,out-of-cycle -34,none,controlled,degraded,catastrophic,out-of-cycle -35,none,controlled,MEF crippled,none,defer -36,none,controlled,MEF crippled,minor,scheduled -37,none,controlled,MEF crippled,major,scheduled -38,none,controlled,MEF crippled,hazardous,out-of-cycle -39,none,controlled,MEF crippled,catastrophic,out-of-cycle -40,none,controlled,MEF fail,none,scheduled -41,none,controlled,MEF fail,minor,scheduled -42,none,controlled,MEF fail,major,scheduled -43,none,controlled,MEF fail,hazardous,out-of-cycle -44,none,controlled,MEF fail,catastrophic,out-of-cycle -45,none,controlled,mission fail,none,out-of-cycle -46,none,controlled,mission fail,minor,out-of-cycle -47,none,controlled,mission fail,major,out-of-cycle -48,none,controlled,mission fail,hazardous,out-of-cycle -49,none,controlled,mission fail,catastrophic,out-of-cycle -50,none,open,none,none,defer -51,none,open,none,minor,scheduled -52,none,open,none,major,scheduled -53,none,open,none,hazardous,out-of-cycle -54,none,open,none,catastrophic,immediate -55,none,open,degraded,none,defer -56,none,open,degraded,minor,scheduled -57,none,open,degraded,major,scheduled -58,none,open,degraded,hazardous,out-of-cycle -59,none,open,degraded,catastrophic,immediate -60,none,open,MEF crippled,none,scheduled -61,none,open,MEF crippled,minor,scheduled -62,none,open,MEF crippled,major,scheduled -63,none,open,MEF crippled,hazardous,out-of-cycle -64,none,open,MEF crippled,catastrophic,immediate -65,none,open,MEF fail,none,scheduled -66,none,open,MEF fail,minor,scheduled -67,none,open,MEF fail,major,out-of-cycle -68,none,open,MEF fail,hazardous,out-of-cycle -69,none,open,MEF fail,catastrophic,immediate -70,none,open,mission fail,none,out-of-cycle -71,none,open,mission fail,minor,out-of-cycle -72,none,open,mission fail,major,out-of-cycle -73,none,open,mission fail,hazardous,out-of-cycle -74,none,open,mission fail,catastrophic,immediate -75,poc,small,none,none,defer -76,poc,small,none,minor,defer -77,poc,small,none,major,scheduled -78,poc,small,none,hazardous,scheduled -79,poc,small,none,catastrophic,out-of-cycle -80,poc,small,degraded,none,defer -81,poc,small,degraded,minor,defer -82,poc,small,degraded,major,scheduled -83,poc,small,degraded,hazardous,scheduled -84,poc,small,degraded,catastrophic,out-of-cycle -85,poc,small,MEF crippled,none,scheduled -86,poc,small,MEF crippled,minor,scheduled -87,poc,small,MEF crippled,major,scheduled -88,poc,small,MEF crippled,hazardous,out-of-cycle -89,poc,small,MEF crippled,catastrophic,out-of-cycle -90,poc,small,MEF fail,none,scheduled -91,poc,small,MEF fail,minor,scheduled -92,poc,small,MEF fail,major,scheduled -93,poc,small,MEF fail,hazardous,out-of-cycle -94,poc,small,MEF fail,catastrophic,immediate -95,poc,small,mission fail,none,scheduled -96,poc,small,mission fail,minor,scheduled -97,poc,small,mission fail,major,out-of-cycle -98,poc,small,mission fail,hazardous,out-of-cycle -99,poc,small,mission fail,catastrophic,immediate -100,poc,controlled,none,none,defer -101,poc,controlled,none,minor,defer -102,poc,controlled,none,major,scheduled -103,poc,controlled,none,hazardous,out-of-cycle -104,poc,controlled,none,catastrophic,immediate -105,poc,controlled,degraded,none,defer -106,poc,controlled,degraded,minor,scheduled -107,poc,controlled,degraded,major,scheduled -108,poc,controlled,degraded,hazardous,out-of-cycle -109,poc,controlled,degraded,catastrophic,immediate -110,poc,controlled,MEF crippled,none,scheduled -111,poc,controlled,MEF crippled,minor,scheduled -112,poc,controlled,MEF crippled,major,scheduled -113,poc,controlled,MEF crippled,hazardous,out-of-cycle -114,poc,controlled,MEF crippled,catastrophic,immediate -115,poc,controlled,MEF fail,none,scheduled -116,poc,controlled,MEF fail,minor,scheduled -117,poc,controlled,MEF fail,major,out-of-cycle -118,poc,controlled,MEF fail,hazardous,out-of-cycle -119,poc,controlled,MEF fail,catastrophic,immediate -120,poc,controlled,mission fail,none,immediate -121,poc,controlled,mission fail,minor,immediate -122,poc,controlled,mission fail,major,immediate -123,poc,controlled,mission fail,hazardous,immediate -124,poc,controlled,mission fail,catastrophic,immediate -125,poc,open,none,none,defer -126,poc,open,none,minor,scheduled -127,poc,open,none,major,scheduled -128,poc,open,none,hazardous,out-of-cycle -129,poc,open,none,catastrophic,immediate -130,poc,open,degraded,none,scheduled -131,poc,open,degraded,minor,scheduled -132,poc,open,degraded,major,out-of-cycle -133,poc,open,degraded,hazardous,out-of-cycle -134,poc,open,degraded,catastrophic,immediate -135,poc,open,MEF crippled,none,scheduled -136,poc,open,MEF crippled,minor,scheduled -137,poc,open,MEF crippled,major,out-of-cycle -138,poc,open,MEF crippled,hazardous,out-of-cycle -139,poc,open,MEF crippled,catastrophic,immediate -140,poc,open,MEF fail,none,out-of-cycle -141,poc,open,MEF fail,minor,out-of-cycle -142,poc,open,MEF fail,major,out-of-cycle -143,poc,open,MEF fail,hazardous,out-of-cycle -144,poc,open,MEF fail,catastrophic,immediate -145,poc,open,mission fail,none,immediate -146,poc,open,mission fail,minor,immediate -147,poc,open,mission fail,major,immediate -148,poc,open,mission fail,hazardous,immediate -149,poc,open,mission fail,catastrophic,immediate -150,active,small,none,none,defer -151,active,small,none,minor,defer -152,active,small,none,major,scheduled -153,active,small,none,hazardous,out-of-cycle -154,active,small,none,catastrophic,immediate -155,active,small,degraded,none,defer -156,active,small,degraded,minor,scheduled -157,active,small,degraded,major,scheduled -158,active,small,degraded,hazardous,out-of-cycle -159,active,small,degraded,catastrophic,immediate -160,active,small,MEF crippled,none,scheduled -161,active,small,MEF crippled,minor,scheduled -162,active,small,MEF crippled,major,scheduled -163,active,small,MEF crippled,hazardous,out-of-cycle -164,active,small,MEF crippled,catastrophic,immediate -165,active,small,MEF fail,none,scheduled -166,active,small,MEF fail,minor,scheduled -167,active,small,MEF fail,major,out-of-cycle -168,active,small,MEF fail,hazardous,out-of-cycle -169,active,small,MEF fail,catastrophic,immediate -170,active,small,mission fail,none,out-of-cycle -171,active,small,mission fail,minor,out-of-cycle -172,active,small,mission fail,major,out-of-cycle -173,active,small,mission fail,hazardous,immediate -174,active,small,mission fail,catastrophic,immediate -175,active,controlled,none,none,defer -176,active,controlled,none,minor,scheduled -177,active,controlled,none,major,scheduled -178,active,controlled,none,hazardous,out-of-cycle -179,active,controlled,none,catastrophic,immediate -180,active,controlled,degraded,none,scheduled -181,active,controlled,degraded,minor,scheduled -182,active,controlled,degraded,major,out-of-cycle -183,active,controlled,degraded,hazardous,out-of-cycle -184,active,controlled,degraded,catastrophic,immediate -185,active,controlled,MEF crippled,none,scheduled -186,active,controlled,MEF crippled,minor,scheduled -187,active,controlled,MEF crippled,major,out-of-cycle -188,active,controlled,MEF crippled,hazardous,out-of-cycle -189,active,controlled,MEF crippled,catastrophic,immediate -190,active,controlled,MEF fail,none,out-of-cycle -191,active,controlled,MEF fail,minor,out-of-cycle -192,active,controlled,MEF fail,major,out-of-cycle -193,active,controlled,MEF fail,hazardous,immediate -194,active,controlled,MEF fail,catastrophic,immediate -195,active,controlled,mission fail,none,immediate -196,active,controlled,mission fail,minor,immediate -197,active,controlled,mission fail,major,immediate -198,active,controlled,mission fail,hazardous,immediate -199,active,controlled,mission fail,catastrophic,immediate -200,active,open,none,none,defer -201,active,open,none,minor,scheduled -202,active,open,none,major,out-of-cycle -203,active,open,none,hazardous,immediate -204,active,open,none,catastrophic,immediate -205,active,open,degraded,none,scheduled -206,active,open,degraded,minor,out-of-cycle -207,active,open,degraded,major,out-of-cycle -208,active,open,degraded,hazardous,immediate -209,active,open,degraded,catastrophic,immediate -210,active,open,MEF crippled,none,out-of-cycle -211,active,open,MEF crippled,minor,out-of-cycle -212,active,open,MEF crippled,major,out-of-cycle -213,active,open,MEF crippled,hazardous,immediate -214,active,open,MEF crippled,catastrophic,immediate -215,active,open,MEF fail,none,immediate -216,active,open,MEF fail,minor,immediate -217,active,open,MEF fail,major,immediate -218,active,open,MEF fail,hazardous,immediate -219,active,open,MEF fail,catastrophic,immediate -220,active,open,mission fail,none,immediate -221,active,open,mission fail,minor,immediate -222,active,open,mission fail,major,immediate -223,active,open,mission fail,hazardous,immediate -224,active,open,mission fail,catastrophic,immediate \ No newline at end of file diff --git a/data/v1/csv/ssvc_1_developer.csv b/data/v1/csv/ssvc_1_developer.csv deleted file mode 100644 index 1edcb3a1..00000000 --- a/data/v1/csv/ssvc_1_developer.csv +++ /dev/null @@ -1,91 +0,0 @@ -,Exploitation,Utility,TechnicalImpact,SafetyImpact,Outcome -0,none,laborious,partial,none,defer -1,none,laborious,partial,minor,defer -2,none,laborious,partial,major,scheduled -3,none,laborious,partial,hazardous,scheduled -4,none,laborious,partial,catastrophic,scheduled -5,none,laborious,total,none,defer -6,none,laborious,total,minor,defer -7,none,laborious,total,major,scheduled -8,none,laborious,total,hazardous,scheduled -9,none,laborious,total,catastrophic,out-of-cycle -10,none,efficient,partial,none,defer -11,none,efficient,partial,minor,scheduled -12,none,efficient,partial,major,scheduled -13,none,efficient,partial,hazardous,scheduled -14,none,efficient,partial,catastrophic,out-of-cycle -15,none,efficient,total,none,scheduled -16,none,efficient,total,minor,scheduled -17,none,efficient,total,major,scheduled -18,none,efficient,total,hazardous,out-of-cycle -19,none,efficient,total,catastrophic,out-of-cycle -20,none,super effective,partial,none,scheduled -21,none,super effective,partial,minor,scheduled -22,none,super effective,partial,major,scheduled -23,none,super effective,partial,hazardous,out-of-cycle -24,none,super effective,partial,catastrophic,out-of-cycle -25,none,super effective,total,none,scheduled -26,none,super effective,total,minor,scheduled -27,none,super effective,total,major,scheduled -28,none,super effective,total,hazardous,out-of-cycle -29,none,super effective,total,catastrophic,out-of-cycle -30,poc,laborious,partial,none,scheduled -31,poc,laborious,partial,minor,scheduled -32,poc,laborious,partial,major,out-of-cycle -33,poc,laborious,partial,hazardous,out-of-cycle -34,poc,laborious,partial,catastrophic,out-of-cycle -35,poc,laborious,total,none,scheduled -36,poc,laborious,total,minor,scheduled -37,poc,laborious,total,major,out-of-cycle -38,poc,laborious,total,hazardous,out-of-cycle -39,poc,laborious,total,catastrophic,immediate -40,poc,efficient,partial,none,scheduled -41,poc,efficient,partial,minor,scheduled -42,poc,efficient,partial,major,out-of-cycle -43,poc,efficient,partial,hazardous,immediate -44,poc,efficient,partial,catastrophic,immediate -45,poc,efficient,total,none,scheduled -46,poc,efficient,total,minor,out-of-cycle -47,poc,efficient,total,major,out-of-cycle -48,poc,efficient,total,hazardous,immediate -49,poc,efficient,total,catastrophic,immediate -50,poc,super effective,partial,none,scheduled -51,poc,super effective,partial,minor,out-of-cycle -52,poc,super effective,partial,major,out-of-cycle -53,poc,super effective,partial,hazardous,immediate -54,poc,super effective,partial,catastrophic,immediate -55,poc,super effective,total,none,out-of-cycle -56,poc,super effective,total,minor,out-of-cycle -57,poc,super effective,total,major,out-of-cycle -58,poc,super effective,total,hazardous,immediate -59,poc,super effective,total,catastrophic,immediate -60,active,laborious,partial,none,scheduled -61,active,laborious,partial,minor,out-of-cycle -62,active,laborious,partial,major,out-of-cycle -63,active,laborious,partial,hazardous,immediate -64,active,laborious,partial,catastrophic,immediate -65,active,laborious,total,none,out-of-cycle -66,active,laborious,total,minor,out-of-cycle -67,active,laborious,total,major,out-of-cycle -68,active,laborious,total,hazardous,immediate -69,active,laborious,total,catastrophic,immediate -70,active,efficient,partial,none,out-of-cycle -71,active,efficient,partial,minor,out-of-cycle -72,active,efficient,partial,major,immediate -73,active,efficient,partial,hazardous,immediate -74,active,efficient,partial,catastrophic,immediate -75,active,efficient,total,none,out-of-cycle -76,active,efficient,total,minor,out-of-cycle -77,active,efficient,total,major,immediate -78,active,efficient,total,hazardous,immediate -79,active,efficient,total,catastrophic,immediate -80,active,super effective,partial,none,out-of-cycle -81,active,super effective,partial,minor,immediate -82,active,super effective,partial,major,immediate -83,active,super effective,partial,hazardous,immediate -84,active,super effective,partial,catastrophic,immediate -85,active,super effective,total,none,immediate -86,active,super effective,total,minor,immediate -87,active,super effective,total,major,immediate -88,active,super effective,total,hazardous,immediate -89,active,super effective,total,catastrophic,immediate diff --git a/data/v2/README.md b/data/v2/README.md deleted file mode 100644 index ce67a146..00000000 --- a/data/v2/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# SSVC v2 CSV files - -Here is a list of files in the /data/v2/csv directory: - -* ssvc_2_coord-publish.csv - Coordinator Publication Priority -* ssvc_2_coord-triage.csv - Coordinator Case Priority -* ssvc_2_deployer.csv - Deployer Priority -* ssvc_2_supplier.csv - Supplier Priority diff --git a/data/v2/csv/ssvc_2_coord-publish.csv b/data/v2/csv/ssvc_2_coord-publish.csv deleted file mode 100644 index df25def7..00000000 --- a/data/v2/csv/ssvc_2_coord-publish.csv +++ /dev/null @@ -1,28 +0,0 @@ -Supplier involvement,Exploitation,Value added,Outcome -fix ready,none,precedence,publish -fix ready,PoC,precedence,publish -fix ready,active,precedence,publish -cooperative,none,precedence,publish -cooperative,PoC,precedence,publish -cooperative,active,precedence,publish -un-coop/responsive,none,precedence,publish -un-coop/responsive,PoC,precedence,publish -un-coop/responsive,active,precedence,publish -fix ready,none,ampliative,don't publish -fix ready,PoC,ampliative,don't publish -fix ready,active,ampliative,publish -cooperative,none,ampliative,don't publish -cooperative,PoC,ampliative,don't publish -cooperative,active,ampliative,publish -un-coop/responsive,none,ampliative,don't publish -un-coop/responsive,PoC,ampliative,publish -un-coop/responsive,active,ampliative,publish -fix ready,none,limited,don't publish -fix ready,PoC,limited,don't publish -fix ready,active,limited,don't publish -cooperative,none,limited,don't publish -cooperative,PoC,limited,don't publish -cooperative,active,limited,don't publish -un-coop/responsive,none,limited,don't publish -un-coop/responsive,PoC,limited,don't publish -un-coop/responsive,active,limited,don't publish diff --git a/data/v2/csv/ssvc_2_coord-triage.csv b/data/v2/csv/ssvc_2_coord-triage.csv deleted file mode 100644 index 9ca8fc6c..00000000 --- a/data/v2/csv/ssvc_2_coord-triage.csv +++ /dev/null @@ -1,49 +0,0 @@ -Public,Contacted,Credible,Cardinality,Engagement,Utility,PublicSafetyImpact,Outcome -No,Yes,Yes,one,active,laborious,minimal,decline -No,Yes,Yes,one,active,laborious,significant,decline -No,Yes,Yes,one,active,efficient,minimal,decline -No,Yes,Yes,one,active,efficient,significant,track -No,Yes,Yes,one,active,super-effective,minimal,decline -No,Yes,Yes,one,active,super-effective,significant,track -No,Yes,Yes,one,unresponsive,laborious,minimal,track -No,Yes,Yes,one,unresponsive,laborious,significant,coordinate -No,Yes,Yes,one,unresponsive,efficient,minimal,coordinate -No,Yes,Yes,one,unresponsive,efficient,significant,coordinate -No,Yes,Yes,one,unresponsive,super-effective,minimal,coordinate -No,Yes,Yes,one,unresponsive,super-effective,significant,coordinate -No,Yes,Yes,multiple,active,laborious,minimal,decline -No,Yes,Yes,multiple,active,laborious,significant,track -No,Yes,Yes,multiple,active,efficient,minimal,decline -No,Yes,Yes,multiple,active,efficient,significant,track -No,Yes,Yes,multiple,active,super-effective,minimal,coordinate -No,Yes,Yes,multiple,active,super-effective,significant,coordinate -No,Yes,Yes,multiple,unresponsive,laborious,minimal,coordinate -No,Yes,Yes,multiple,unresponsive,laborious,significant,coordinate -No,Yes,Yes,multiple,unresponsive,efficient,minimal,coordinate -No,Yes,Yes,multiple,unresponsive,efficient,significant,coordinate -No,Yes,Yes,multiple,unresponsive,super-effective,minimal,coordinate -No,Yes,Yes,multiple,unresponsive,super-effective,significant,coordinate -No,Yes,No,one,active,laborious,minimal,decline -No,Yes,No,one,active,laborious,significant,decline -No,Yes,No,one,active,efficient,minimal,decline -No,Yes,No,one,active,efficient,significant,track -No,Yes,No,one,active,super-effective,minimal,decline -No,Yes,No,one,active,super-effective,significant,track -No,Yes,No,one,unresponsive,laborious,minimal,decline -No,Yes,No,one,unresponsive,laborious,significant,decline -No,Yes,No,one,unresponsive,efficient,minimal,decline -No,Yes,No,one,unresponsive,efficient,significant,track -No,Yes,No,one,unresponsive,super-effective,minimal,decline -No,Yes,No,one,unresponsive,super-effective,significant,track -No,Yes,No,multiple,active,laborious,minimal,decline -No,Yes,No,multiple,active,laborious,significant,track -No,Yes,No,multiple,active,efficient,minimal,decline -No,Yes,No,multiple,active,efficient,significant,track -No,Yes,No,multiple,active,super-effective,minimal,track -No,Yes,No,multiple,active,super-effective,significant,coordinate -No,Yes,No,multiple,unresponsive,laborious,minimal,decline -No,Yes,No,multiple,unresponsive,laborious,significant,track -No,Yes,No,multiple,unresponsive,efficient,minimal,decline -No,Yes,No,multiple,unresponsive,efficient,significant,track -No,Yes,No,multiple,unresponsive,super-effective,minimal,track -No,Yes,No,multiple,unresponsive,super-effective,significant,coordinate diff --git a/data/v2/csv/ssvc_2_deployer.csv b/data/v2/csv/ssvc_2_deployer.csv deleted file mode 100644 index 67e0699e..00000000 --- a/data/v2/csv/ssvc_2_deployer.csv +++ /dev/null @@ -1,109 +0,0 @@ -Exploitation,Exposure,Utility,Well-being and Mission Impact,Outcome -none,small,laborious,low,defer -none,small,laborious,medium,defer -none,small,laborious,high,scheduled -none,small,laborious,very high,scheduled -none,small,efficient,low,defer -none,small,efficient,medium,scheduled -none,small,efficient,high,scheduled -none,small,efficient,very high,scheduled -none,small,super effective,low,defer -none,small,super effective,medium,scheduled -none,small,super effective,high,scheduled -none,small,super effective,very high,scheduled -none,controlled,laborious,low,defer -none,controlled,laborious,medium,scheduled -none,controlled,laborious,high,scheduled -none,controlled,laborious,very high,scheduled -none,controlled,efficient,low,defer -none,controlled,efficient,medium,scheduled -none,controlled,efficient,high,scheduled -none,controlled,efficient,very high,scheduled -none,controlled,super effective,low,scheduled -none,controlled,super effective,medium,scheduled -none,controlled,super effective,high,scheduled -none,controlled,super effective,very high,scheduled -none,open,laborious,low,defer -none,open,laborious,medium,scheduled -none,open,laborious,high,scheduled -none,open,laborious,very high,scheduled -none,open,efficient,low,scheduled -none,open,efficient,medium,scheduled -none,open,efficient,high,scheduled -none,open,efficient,very high,scheduled -none,open,super effective,low,scheduled -none,open,super effective,medium,scheduled -none,open,super effective,high,scheduled -none,open,super effective,very high,out-of-cycle -PoC,small,laborious,low,defer -PoC,small,laborious,medium,scheduled -PoC,small,laborious,high,scheduled -PoC,small,laborious,very high,scheduled -PoC,small,efficient,low,defer -PoC,small,efficient,medium,scheduled -PoC,small,efficient,high,scheduled -PoC,small,efficient,very high,scheduled -PoC,small,super effective,low,scheduled -PoC,small,super effective,medium,scheduled -PoC,small,super effective,high,scheduled -PoC,small,super effective,very high,scheduled -PoC,controlled,laborious,low,defer -PoC,controlled,laborious,medium,scheduled -PoC,controlled,laborious,high,scheduled -PoC,controlled,laborious,very high,scheduled -PoC,controlled,efficient,low,scheduled -PoC,controlled,efficient,medium,scheduled -PoC,controlled,efficient,high,scheduled -PoC,controlled,efficient,very high,scheduled -PoC,controlled,super effective,low,scheduled -PoC,controlled,super effective,medium,scheduled -PoC,controlled,super effective,high,scheduled -PoC,controlled,super effective,very high,out-of-cycle -PoC,open,laborious,low,defer -PoC,open,laborious,medium,scheduled -PoC,open,laborious,high,scheduled -PoC,open,laborious,very high,out-of-cycle -PoC,open,efficient,low,scheduled -PoC,open,efficient,medium,scheduled -PoC,open,efficient,high,scheduled -PoC,open,efficient,very high,out-of-cycle -PoC,open,super effective,low,scheduled -PoC,open,super effective,medium,scheduled -PoC,open,super effective,high,out-of-cycle -PoC,open,super effective,very high,out-of-cycle -active,small,laborious,low,scheduled -active,small,laborious,medium,scheduled -active,small,laborious,high,out-of-cycle -active,small,laborious,very high,out-of-cycle -active,small,efficient,low,scheduled -active,small,efficient,medium,scheduled -active,small,efficient,high,out-of-cycle -active,small,efficient,very high,out-of-cycle -active,small,super effective,low,scheduled -active,small,super effective,medium,scheduled -active,small,super effective,high,out-of-cycle -active,small,super effective,very high,out-of-cycle -active,controlled,laborious,low,scheduled -active,controlled,laborious,medium,scheduled -active,controlled,laborious,high,out-of-cycle -active,controlled,laborious,very high,out-of-cycle -active,controlled,efficient,low,scheduled -active,controlled,efficient,medium,scheduled -active,controlled,efficient,high,out-of-cycle -active,controlled,efficient,very high,out-of-cycle -active,controlled,super effective,low,scheduled -active,controlled,super effective,medium,out-of-cycle -active,controlled,super effective,high,out-of-cycle -active,controlled,super effective,very high,out-of-cycle -active,open,laborious,low,scheduled -active,open,laborious,medium,scheduled -active,open,laborious,high,out-of-cycle -active,open,laborious,very high,immediate -active,open,efficient,low,scheduled -active,open,efficient,medium,out-of-cycle -active,open,efficient,high,immediate -active,open,efficient,very high,immediate -active,open,super effective,low,out-of-cycle -active,open,super effective,medium,out-of-cycle -active,open,super effective,high,immediate -active,open,super effective,very high,immediate diff --git a/data/v2/csv/ssvc_2_supplier.csv b/data/v2/csv/ssvc_2_supplier.csv deleted file mode 100644 index e2fa9a49..00000000 --- a/data/v2/csv/ssvc_2_supplier.csv +++ /dev/null @@ -1,37 +0,0 @@ -Exploitation,Utility,TechnicalImpact,PublicSafetyImpact,Outcome -none,laborious,partial,minimal,defer -none,laborious,partial,significant,scheduled -none,laborious,total,minimal,defer -none,laborious,total,significant,out-of-cycle -none,efficient,partial,minimal,scheduled -none,efficient,partial,significant,out-of-cycle -none,efficient,total,minimal,scheduled -none,efficient,total,significant,out-of-cycle -none,super effective,partial,minimal,scheduled -none,super effective,partial,significant,out-of-cycle -none,super effective,total,minimal,scheduled -none,super effective,total,significant,out-of-cycle -poc,laborious,partial,minimal,scheduled -poc,laborious,partial,significant,out-of-cycle -poc,laborious,total,minimal,scheduled -poc,laborious,total,significant,immediate -poc,efficient,partial,minimal,scheduled -poc,efficient,partial,significant,immediate -poc,efficient,total,minimal,out-of-cycle -poc,efficient,total,significant,immediate -poc,super effective,partial,minimal,out-of-cycle -poc,super effective,partial,significant,immediate -poc,super effective,total,minimal,out-of-cycle -poc,super effective,total,significant,immediate -active,laborious,partial,minimal,out-of-cycle -active,laborious,partial,significant,immediate -active,laborious,total,minimal,out-of-cycle -active,laborious,total,significant,immediate -active,efficient,partial,minimal,out-of-cycle -active,efficient,partial,significant,immediate -active,efficient,total,minimal,out-of-cycle -active,efficient,total,significant,immediate -active,super effective,partial,minimal,immediate -active,super effective,partial,significant,immediate -active,super effective,total,minimal,immediate -active,super effective,total,significant,immediate diff --git a/ssvc-calc/README.md b/ssvc-calc/README.md index 70966e00..64feb4e8 100644 --- a/ssvc-calc/README.md +++ b/ssvc-calc/README.md @@ -12,7 +12,7 @@ defer, scheduled, out-of-cycle, and immediate. * There are also a number of sample CVE in a dropdown that will auto-select a number of steps in the decision tree * Use the "Start Decision" to navigate the tree for assesing your prioritization for a vulnerability. * You can also import custom decision trees and custom CVE samples for the current decision tree. -* Custom decision trees can be from JSON see example [sample-ssvc.json](./sample-ssvc.json) and the JSON schema file [SSVC_JSON_2.0_min.schema.json](./SSVC_JSON_2.0_min.schema.json) -* Customer decision tree can also be just a text file tab-delimited as in [ssvc.txt](./ssvc.txt) OR [ssvc.tsv](./ssvc.tsv) -* CVE samples files [sample-ssvc-scores.txt](./sample-ssvc-scores.txt) shows a tab-delimited +* There is a [data](../data/) folder where there is a number of examples both of schema and examples of schema outputs. +* You can install this directory as a folder in your public website directory. and expose it. All referenced url's are relative in the scripts and HTML files. + diff --git a/ssvc-calc/SSVC_JSON_2.0_min.schema.json b/ssvc-calc/SSVC_JSON_2.0_min.schema.json deleted file mode 100644 index ade7c119..00000000 --- a/ssvc-calc/SSVC_JSON_2.0_min.schema.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "_comment": "This file is moved to ../data/schema/" -} diff --git a/ssvc-calc/css.css b/ssvc-calc/css.css index 6948b391..1518016e 100644 --- a/ssvc-calc/css.css +++ b/ssvc-calc/css.css @@ -1,4 +1,19 @@ -/* css version 2.1 */ +/* css version 2.2 */ +.icon8 { + width:14px; + filter:invert(1); +} +.btn-group.show.primary-button .dropdown-menu, +.btn-group.show.primary-button a.dropdown-item { + color: #fff; + background-color: #0062cc; + border-color: #005cbf; +} +.btn-group.show a.dropdown-item:hover { + color: #eee; + background-color: #0062ff; + border-color: #005cff; +} @media screen and (max-width: 1000px) { .cert-tweet { display: none; } .tright a:nth-child(n+2) { display: none;} @@ -6,10 +21,28 @@ position: absolute; left: 0px; } - .mastfoot { display:none; } #mwb,.tescape { max-width: 450px; } .nomobile { display: none; } } +@media screen and (max-width: 601px) { + .mastfoot { display:none; } + .form-control { + font-size: 12px; + padding: 3px 0px 3px 0px; + font-weight: normal; + height: 20px; + } + .btn { + padding: 2px; + } + #mpopup { + font-size: smaller; + max-width: 400px; + } + #mgraph { + margin-left: 600px; + } +} .decisiontab { background: #222; border: 2px solid white; @@ -41,6 +74,8 @@ } #topalert { display: none; + position: fixed; + opacity: 0.9; } span.bold { font-weight: bold; @@ -83,6 +118,8 @@ span.bold { width:75%; padding:12px; border-radius:10px; + overflow-y: scroll; + overflow-x: scroll; } .top_blue { width: 50%; @@ -100,6 +137,21 @@ span.bold { text-align: center; text-decoration: underline; } +#mpopup h5 { + padding: 0px; + margin: 0px; +} +#mpopup p { + text-align: center; + font-style: italic; + margin: 0px; + padding: 0px; +} +#mpopup blockquote { + border-left: 1px dashed white; + margin-left: 12px; + font-size: 85%; +} #mpopup hr { margin: 2px; } @@ -196,9 +248,8 @@ html,.blackbody { border-radius: 5px; padding: 4px; text-align: left; - max-width: 400px; + max-width: 600px; } - .node { cursor: pointer; } diff --git a/ssvc-calc/index.html b/ssvc-calc/index.html index e589be56..3e854344 100644 --- a/ssvc-calc/index.html +++ b/ssvc-calc/index.html @@ -3,7 +3,7 @@
-