@@ -84,15 +103,24 @@
{% endif %}
{% if diff_apps_1 or diff_apps_2 %}
- applications |
+ applications
{{ diff_apps_1 | length }}
+ vs {{ diff_apps_2 | length }} |
{% for item in diff_apps_1 %}
{{ item['name'] }}@{{ item['version'] }}
{% for key, value in item|items %}
- {% if value != "" and key not in ["properties","evidence","hashes","licenses"] %}
+ {% if value != "" and key not in ["properties","evidence","hashes","licenses","externalReferences"] %}
- {{ key }}: {{ value }}
{% endif %}
+ {% if key in ["properties","hashes","licenses","externalReferences"] and value|length > 0 %}
+ - {{ key }}:
+
+ {% for i in value %}
+ - {{ i }}
+ {% endfor %}
+
+ {% endif %}
{% endfor %}
@@ -102,9 +130,17 @@
{{ item['name'] }}@{{ item['version'] }}
{% for key, value in item|items %}
- {% if value != "" and key not in ["properties","evidence","hashes","licenses"] %}
+ {% if value != "" and key not in ["properties","evidence","hashes","licenses","externalReferences"] %}
- {{ key }}: {{ value }}
{% endif %}
+ {% if key in ["properties","hashes","licenses","externalReferences"] and value|length > 0 %}
+ - {{ key }}:
+
+ {% for i in value %}
+ - {{ i }}
+ {% endfor %}
+
+ {% endif %}
{% endfor %}
@@ -113,15 +149,28 @@
{% endif %}
{% if diff_frameworks_1 or diff_frameworks_2 %}
|
- frameworks |
+ frameworks
{{ diff_frameworks_1 | length }}
+ vs {{ diff_frameworks_2 | length }} |
{% for item in diff_frameworks_1 %}
{{ item['name'] }}@{{ item['version'] }}
{% for key, value in item|items %}
- {% if value != "" and key not in ["properties","evidence","hashes","licenses"] %}
+ {% if value != "" and key not in ["properties","evidence","hashes","licenses","externalReferences"] %}
- {{ key }}: {{ value }}
{% endif %}
+ {% if key in ["properties","hashes","licenses","externalReferences"] and value|length > 0 %}
+ -
+
+ {{ key }}:
+
+ {% for i in value %}
+ - {{ i }}
+ {% endfor %}
+
+
+
+ {% endif %}
{% endfor %}
@@ -131,9 +180,21 @@
{{ item['name'] }}@{{ item['version'] }}
{% for key, value in item|items %}
- {% if value != "" and key not in ["properties","evidence","hashes","licenses"] %}
+ {% if value != "" and key not in ["properties","evidence","hashes","licenses","externalReferences"] %}
- {{ key }}: {{ value }}
{% endif %}
+ {% if key in ["properties","hashes","licenses","externalReferences"] and value|length > 0 %}
+ -
+
+ {{ key }}:
+
+ {% for i in value %}
+ - {{ i }}
+ {% endfor %}
+
+
+
+ {% endif %}
{% endfor %}
@@ -142,7 +203,8 @@
{% endif %}
{% if diff_lib_1 or diff_lib_2 %}
|
- libraries |
+ libraries
{{ diff_lib_1 | length }} vs {{ diff_lib_2 | length }}
+ |
{% for item in diff_lib_1 %}
{{ item['name'] }}@{{ item['version'] }}
@@ -151,7 +213,18 @@
{% if value != "" and key not in ["hashes", "licenses", "properties", "evidence"] %}
{{ key }}: {{ value }}
{% endif %}
-
+ {% if key in ["properties","hashes","licenses","externalReferences"] and value|length > 0 %}
+
+
+ {{ key }}:
+
+ {% for i in value %}
+ - {{ i }}
+ {% endfor %}
+
+
+
+ {% endif %}
{% endfor %}
@@ -161,9 +234,21 @@
{{ item['name'] }}@{{ item['version'] }}
{% for key, value in item|items %}
- {% if value != "" and key not in ["properties","evidence","hashes","licenses"] %}
+ {% if value != "" and key not in ["properties","evidence","hashes","licenses","externalReferences"] %}
- {{ key }}: {{ value }}
{% endif %}
+ {% if key in ["properties","hashes","licenses","externalReferences"] and value|length > 0 %}
+ -
+
+ {{ key }}:
+
+ {% for i in value %}
+ - {{ i }}
+ {% endfor %}
+
+
+
+ {% endif %}
{% endfor %}
@@ -172,15 +257,28 @@
{% endif %}
{% if diff_other_1 or diff_other_2 %}
|
- other types |
+ other components
{{ diff_other_1 | length }}
+ vs {{ diff_other_2 | length }} |
{% for item in diff_other_1 %}
{{ item['name'] }}@{{ item['version'] }}
{% for key, value in item|items %}
- {% if value != "" and key not in ["properties","evidence","hashes","licenses"] %}
+ {% if value != "" and key not in ["properties","evidence","hashes","licenses","externalReferences"] %}
- {{ key }}: {{ value }}
{% endif %}
+ {% if key in ["properties","hashes","licenses","externalReferences"] and value|length > 0 %}
+ -
+
+ {{ key }}:
+
+ {% for i in value %}
+ - {{ i }}
+ {% endfor %}
+
+
+
+ {% endif %}
{% endfor %}
@@ -190,9 +288,21 @@
{{ item['name'] }}@{{ item['version'] }}
{% for key, value in item|items %}
- {% if value != "" and key not in ["properties","evidence","hashes","licenses"] %}
+ {% if value != "" and key not in ["properties","evidence","hashes","licenses","externalReferences"] %}
- {{ key }}: {{ value }}
{% endif %}
+ {% if key in ["properties","hashes","licenses","externalReferences"] and value|length > 0 %}
+ -
+
+ {{ key }}:
+
+ {% for i in value %}
+ - {{ i }}
+ {% endfor %}
+
+
+
+ {% endif %}
{% endfor %}
@@ -202,13 +312,14 @@
{% if not comp_only %}
{% if diff_services_1 or diff_services_2 %}
|
- services |
+ services
{{ diff_services_1 | length }}
+ vs {{ diff_services_2 | length }} |
{% for item in diff_services_1 %}
{{ item['name'] }}
{% for key, value in item|items %}
- {% if value != "" and key not in ["properties","evidence","hashes","licenses"] %}
+ {% if value != "" %}
- {{ key }}: {{ value }}
{% endif %}
{% endfor %}
@@ -220,7 +331,7 @@
{{ item['name'] }}
{% for key, value in item|items %}
- {% if value != "" and key not in ["properties","evidence","hashes","licenses"] %}
+ {% if value != "" %}
- {{ key }}: {{ value }}
{% endif %}
{% endfor %}
@@ -231,7 +342,8 @@
{% endif %}
{% if diff_deps_1 or diff_deps_2 %}
- dependencies |
+ dependencies
{{ diff_deps_1 | length }}
+ vs {{ diff_deps_2 | length }} |
{% for item in diff_deps_1 %}
{{ item['short_ref'] }}
@@ -278,7 +390,7 @@
-
+
@@ -303,9 +415,21 @@
{{ item['name'] }}@{{ item['version'] }}
{% for key, value in item|items %}
- {% if value != "" and key not in ["properties","evidence","hashes","licenses"] %}
+ {% if value != "" and key not in ["properties","evidence","hashes","licenses","externalReferences"] %}
- {{ key }}: {{ value }}
{% endif %}
+ {% if key in ["properties","hashes","licenses","externalReferences"] and value|length > 0 %}
+ -
+
+ {{ key }}:
+
+ {% for i in value %}
+ - {{ i }}
+ {% endfor %}
+
+
+
+ {% endif %}
{% endfor %}
@@ -320,9 +444,21 @@
{{ item['name'] }}@{{ item['version'] }}
{% for key, value in item|items %}
- {% if value != "" and key not in ["properties","evidence","hashes","licenses"] %}
+ {% if value != "" and key not in ["properties","evidence","hashes","licenses","externalReferences"] %}
- {{ key }}: {{ value }}
{% endif %}
+ {% if key in ["properties","hashes","licenses","externalReferences"] and value|length > 0 %}
+ -
+
+ {{ key }}:
+
+ {% for i in value %}
+ - {{ i }}
+ {% endfor %}
+
+
+
+ {% endif %}
{% endfor %}
@@ -337,9 +473,21 @@
{{ item['name'] }}@{{ item['version'] }}
{% for key, value in item|items %}
- {% if value != "" and key not in ["properties","evidence","hashes","licenses"] %}
+ {% if value != "" and key not in ["properties","evidence","hashes","licenses","externalReferences"] %}
- {{ key }}: {{ value }}
{% endif %}
+ {% if key in ["properties","hashes","licenses","externalReferences"] and value|length > 0 %}
+ -
+
+ {{ key }}:
+
+ {% for i in value %}
+ - {{ i }}
+ {% endfor %}
+
+
+
+ {% endif %}
{% endfor %}
@@ -355,9 +503,21 @@
{{ item['name'] }}@{{ item['version'] }}
{% for key, value in item|items %}
- {% if value != "" and key not in ["properties","evidence","hashes","licenses"] %}
+ {% if value != "" and key not in ["properties","evidence","hashes","licenses","externalReferences"] %}
- {{ key }}: {{ value }}
{% endif %}
+ {% if key in ["properties","hashes","licenses","externalReferences"] and value|length > 0 %}
+ -
+
+ {{ key }}:
+
+ {% for i in value %}
+ - {{ i }}
+ {% endfor %}
+
+
+
+ {% endif %}
{% endfor %}
@@ -373,7 +533,7 @@
{{ item['name'] }}
{% for key, value in item|items %}
- {% if value != "" and key not in ["properties","evidence","hashes","licenses"] %}
+ {% if value != "" %}
- {{ key }}: {{ value }}
{% endif %}
{% endfor %}
@@ -413,36 +573,6 @@
-
-
-
-
-
-
-
- Matched Components Breakdown
- |
-
-
- |
- {{ bom_1 }} |
- {{ bom_2 }} |
-
- {% for key, value in stats["breakdown"]|items %}
-
- {{ key }} |
- {{ value[0] }} |
- {{ value[1] }} |
-
- {% endfor %}
-
-
-
-
-
-
-
-
+
| |