From d036eec6b59334c174d26864b69fed306ebf9a74 Mon Sep 17 00:00:00 2001 From: Volha Mardvilka Date: Mon, 23 Sep 2024 11:06:45 +0000 Subject: [PATCH 01/14] 365978129: (feat) add PDF report templates --- resources/report/pilot-icon.png | Bin 0 -> 536 bytes resources/report/pilot-report-example.html | 982 ++++++++++++++++++ resources/report/qualification-icon.png | Bin 0 -> 428 bytes .../report/qualification-report-example.html | 898 ++++++++++++++++ resources/report/risk_report_styles.css | 2 +- resources/report/risk_report_template.html | 1 - resources/report/test_report_styles.css | 171 ++- resources/report/test_report_template.html | 185 +++- 8 files changed, 2217 insertions(+), 22 deletions(-) create mode 100644 resources/report/pilot-icon.png create mode 100644 resources/report/pilot-report-example.html create mode 100644 resources/report/qualification-icon.png create mode 100644 resources/report/qualification-report-example.html diff --git a/resources/report/pilot-icon.png b/resources/report/pilot-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..8f9f9d0f83de46c5e3c1885044ee50d9a2db20ef GIT binary patch literal 536 zcmV+z0_XjSP) z4)EM>$ZVEHB46_IX6C*5`DSKGd7uU1x?}1O2IM%7C%dF+8buaybetbD%{OYcS{y_W zjYf&oKd9ABwXwOSR#w;4QNEzs?T)f-Tb0VUY>R|T>{u3Qu^8#PPKNP9buY87uhY}x z1K)zNM*(^ySZ4mXz;_U5rzez1>~mn0tZ6Z}_xl4%93&{m3w}J zjFU`dm{z0NV!hqA6p1qo!{L`73`c@X0NBFs^jtNjKIC!*mhn;0XtdOM@q!Z+y&Lbn zUVjomvfz_cBBh2=zPaP~s+UwSGe)VX?Dau_1X5WkUo+%?D7_Ve!Tme=mWgMT!VoAS7x6=t!DBkG;SW| aIRn2q^;07Y2BMk(0000 + + + + + + Testrun Report + + + + +
+
+
+ + +

+ + Pilot Assessment +

+ + + + + +

Testrun report

+
+

+ dell + wyse +

+ + Testrun +
+ +
+
+
+

Manufacturer

+
dell
+
+

Model

+
wyse
+
+

Firmware

+
123
+
+

MAC Address

+
f0:d4:e2:f2:f5:41
+
+
+
+
+

Device Configuration

+
+ +
+ + + + Protocol +
+ +
+ + + + Connection +
+ +
+ + + + TLS +
+ +
+ + + + DNS +
+ +
+ + + + Services +
+ +
+ + + + NTP +
+ +
+ +
+ +
Test Status
+
Complete
+
Test Result
+
Non-Compliant
+
Started
+
2024-09-17 15:16:21
+
Duration
+
0:11:08
+
+
+ + + + + +
+

Results List (35/41)

+
+
Name
+
Description
+
Result
+
+ +
+
protocol.valid_bacnet
+
BACnet device could not be discovered
+ +
+ + Feature Not Detected
+
+ +
+
protocol.bacnet.version
+
Device did not respond to BACnet discovery
+ +
+ + Feature Not Detected
+
+ +
+
protocol.valid_modbus
+
Device did not respond to Modbus connection
+ +
+ + Feature Not Detected
+
+ +
+
connection.port_link
+
Port stats not available
+ +
+ + Error
+
+ +
+
connection.port_speed
+
Interface not configured for auto-negotiation
+ +
+ + Non-Compliant
+
+ +
+
connection.port_duplex
+
Interface not configured for auto-negotiation
+ +
+ + Non-Compliant
+
+ +
+
connection.switch.arp_inspection
+
Device uses ARP
+ +
+ + Compliant
+
+ +
+
connection.switch.dhcp_snooping
+
Device does not act as a DHCP server
+ +
+ + Compliant
+
+ +
+
connection.dhcp_address
+
Device responded to leased ip address
+ +
+ + Compliant
+
+ +
+
connection.mac_address
+
MAC address found: f0:d4:e2:f2:f5:41
+ +
+ + Compliant
+
+ +
+
connection.mac_oui
+
OUI Manufacturer found: Dell Inc.
+ +
+ + Compliant
+
+ +
+ +
+
+ + +
+ +
+
+ + +

+ + Pilot Assessment +

+ + + + + +

Testrun report

+
+

+ dell + wyse +

+ + Testrun +
+ + + + + +
+

Results List (35/41)

+
+
Name
+
Description
+
Result
+
+ +
+
connection.private_address
+
All subnets are supported
+ +
+ + Compliant
+
+ +
+
connection.shared_address
+
All subnets are supported
+ +
+ + Compliant
+
+ +
+
connection.dhcp_disconnect
+
Device received a DHCP lease after disconnect
+ +
+ + Compliant
+
+ +
+
connection.dhcp_disconnect_ip_change
+
Device received expected IP address after disconnect
+ +
+ + Compliant
+
+ +
+
connection.single_ip
+
Device is using a single IP address
+ +
+ + Compliant
+
+ +
+
connection.target_ping
+
Device responds to ping
+ +
+ + Compliant
+
+ +
+
connection.ipaddr.ip_change
+
Device has accepted an IP address change
+ +
+ + Compliant
+
+ +
+
connection.ipaddr.dhcp_failover
+
Device has no current DHCP lease
+ +
+ + Error
+
+ +
+
connection.ipv6_slaac
+
Device has formed SLAAC address fd10:77be:4186:0:f2d4:e2ff:fef2:f541
+ +
+ + Compliant
+
+ +
+
connection.ipv6_ping
+
Device responds to IPv6 ping on fd10:77be:4186:0:f2d4:e2ff:fef2:f541
+ +
+ + Compliant
+
+ +
+
security.tls.v1_2_server
+
Could not resolve device IP address
+ +
+ + Error
+
+ +
+
security.tls.v1_2_client
+
Could not resolve device IP address
+ +
+ + Error
+
+ +
+
security.tls.v1_3_server
+
Could not resolve device IP address
+ +
+ + Error
+
+ +
+
security.tls.v1_3_client
+
Could not resolve device IP address
+ +
+ + Error
+
+ +
+
dns.network.hostname_resolution
+
No DNS traffic detected from the device
+ +
+ + Non-Compliant
+
+ +
+
dns.network.from_dhcp
+
No DNS traffic detected from the device
+ +
+ + Informational
+
+ +
+
dns.mdns
+
No MDNS traffic detected from the device
+ +
+ + Informational
+
+ +
+
security.services.ftp
+
No FTP server found
+ +
+ + Compliant
+
+ +
+
security.ssh.version
+
No SSH server found
+ +
+ + Compliant
+
+ +
+
security.services.telnet
+
No telnet server found
+ +
+ + Compliant
+
+ +
+ +
+
+ + +
+ +
+
+ + +

+ + Pilot Assessment +

+ + + + + +

Testrun report

+
+

+ dell + wyse +

+ + Testrun +
+ + + + + +
+

Results List (35/41)

+
+
Name
+
Description
+
Result
+
+ +
+
security.services.smtp
+
No SMTP server found
+ +
+ + Compliant
+
+ +
+
security.services.http
+
No HTTP server found
+ +
+ + Compliant
+
+ +
+
security.services.pop
+
No POP server found
+ +
+ + Compliant
+
+ +
+
security.services.imap
+
No IMAP server found
+ +
+ + Compliant
+
+ +
+
security.services.snmpv3
+
No SNMP server found
+ +
+ + Compliant
+
+ +
+
security.services.vnc
+
No VNC server found
+ +
+ + Compliant
+
+ +
+
security.services.tftp
+
No TFTP server found
+ +
+ + Compliant
+
+ +
+
ntp.network.ntp_server
+
No NTP server found
+ +
+ + Compliant
+
+ +
+
ntp.network.ntp_support
+
Device has not sent any NTP requests
+ +
+ + Non-Compliant
+
+ +
+
ntp.network.ntp_dhcp
+
Device has not sent any NTP requests
+ +
+ + Feature Not Detected
+
+ +
+ +
+
+ + + + +
+
+
+ + +

+ + Pilot Assessment +

+ + + + + +

Testrun report

+
+

+ dell + wyse +

+ Testrun +
+

Steps to Resolve

+ +
+
+ 1. +
+ Name
dns.network.hostname_resolution +
+
+ Description
No DNS traffic detected from the device +
+
+
+ Steps to resolve + +
1. Install a supported DNS client + +
2. Ensure DNS servers have been set correctly + +
3. Ensure the gateway IP has been set and the device has internet access + +
+
+ +
+
+ 2. +
+ Name
ntp.network.ntp_support +
+
+ Description
Device has not sent any NTP requests +
+
+
+ Steps to resolve + +
1. Set the NTP version to v4 in the NTP client + +
2. Install an NTP client that supports NTPv4 + +
+
+ + +
+ + + + +
+
+
+ + +

+ + Pilot Assessment +

+ + + + + +

Testrun report

+
+

+ dell + wyse +

+ Testrun +
+
+

DNS Module

+ + + + + + + + + + + + + + + + +
Requests to local DNS serverRequests to external DNS serversTotal DNS requestsTotal DNS responses
0000
+ +
+
+ No DNS traffic detected from the device +
+ +
+ +
+
+ + +
+
+
+ + +

+ + Pilot Assessment +

+ + + + + +

Testrun report

+
+

+ dell + wyse +

+ Testrun +
+
+

Services Module

+ + + + + + + + + + + + + + +
TCP ports openUDP ports openTotal ports open
000
+ +
+
+ No open ports detected +
+ +
+ +
+
+ + +
+
+
+ + +

+ + Pilot Assessment +

+ + + + + +

Testrun report

+
+

+ dell + wyse +

+ Testrun +
+
+

NTP Module

+ + + + + + + + + + + + + + + + + +
Requests to local NTP serverRequests to external NTP serversTotal NTP requestsTotal NTP responses
0000
+ +
+
+ No NTP traffic detected from the device +
+ +
+ +
+
+ + +
+
+
+ + +

+ + Pilot Assessment +

+ + + + + +

Device profile

+
+

+ dell + wyse +

+ Testrun +
+
+
+
Question
+
Answer
+
+ +
+
1.
+
What type of device do you need reviewed?
+
+ + Robotic arm for loading and unloading dishwashers +
+
+
+
2.
+
What features does the device have?
+
+ +
    + +
  • Wi-Fi
  • +
  • ZigBee / Z-Wave / Thread / Matter
  • +
+
+
+
+ +
+
+ + + + +
+
+
+ + +

+ + Pilot Assessment +

+ + + + + +

Testrun report

+
+

+ dell + wyse +

+ Testrun +
+ +
+

Attention

+

+ The following recommendations are required solely for full device qualification. + They are optional for the pilot assessment. + But you may find it valuable to understand what will be required in the future + and our recommendations for your device. +

+
+ +
+
+ 1. +
+ Name
security.services.ftp +
+
+ Description
FTP Server Security Error +
+
+
+ Steps to resolve + +
1. Install a supported DNS client + +
2. Ensure DNS servers have been set correctly + +
3. Ensure the gateway IP has been set and the device has internet access + +
+
+ +
+
+ 2. +
+ Name
ntp.network.ntp_support +
+
+ Description
Device has not sent any NTP requests +
+
+
+ Steps to resolve + +
1. Set the NTP version to v4 in the NTP client + +
2. Install an NTP client that supports NTPv4 + +
+
+ +
+
+ + + \ No newline at end of file diff --git a/resources/report/qualification-icon.png b/resources/report/qualification-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..7e7448ce372966cfae5eb4e540d2a15c2eb6cc77 GIT binary patch literal 428 zcmV;d0aN~oP)5?`VC(=ph$UD7u><_APOgL$z_9M!UeJ)3A#WygAKCYA z-|ZeT^9)Eb06Ja^an5}gewKiey^ePn1p;#lFOo!Z4WTEDgR=}wv3BmWxQ1nxgWcM% zCm4Z1_LeEB^z6+jfiu}GAAsYoSAY$(L9!h0wG3Sgo(Y=z6!(qD5V<3uKO6+_A=pHC zh}>&IYnwsjHHuW1WajyjZ_-NpAl`w9)6Q!7jv_B%At>7?6UQ&CeILB(mjlz4j>R7l zU#1N@kcT)aqlJl)2;1O!0DQa1HEv~Z;mZWH0}qxig$n#9!fE=baXU+b*3CYh1N@~B z<+e)&PV!+sMau}E_R`3*ZeC(bz(f`q=(M#+Jhf{ W?v;VYPHlbw0000 + + + + + + Testrun Report + + + + +
+ +
+
+ + + + + + + +

+ + Device Qualification +

+

Testrun report

+
+

+ dell + wyse +

+ + Testrun +
+ +
+
+
+

Manufacturer

+
dell
+
+

Model

+
wyse
+
+

Firmware

+
123
+
+

MAC Address

+
f0:d4:e2:f2:f5:41
+
+
+
+
+

Device Configuration

+
+ +
+ + + + Protocol +
+ +
+ + + + Connection +
+ +
+ + + + TLS +
+ +
+ + + + DNS +
+ +
+ + + + Services +
+ +
+ + + + NTP +
+ +
+ +
+ +
Test Status
+
Complete
+
Test Result
+
Non-Compliant
+
Started
+
2024-09-17 15:16:21
+
Duration
+
0:11:08
+
+
+ + + + + +
+

Results List (35/41)

+
+
Name
+
Description
+
Result
+
+ +
+
protocol.valid_bacnet
+
BACnet device could not be discovered
+ +
+ + Feature Not Detected
+
+ +
+
protocol.bacnet.version
+
Device did not respond to BACnet discovery
+ +
+ + Feature Not Detected
+
+ +
+
protocol.valid_modbus
+
Device did not respond to Modbus connection
+ +
+ + Feature Not Detected
+
+ +
+
connection.port_link
+
Port stats not available
+ +
+ + Error
+
+ +
+
connection.port_speed
+
Interface not configured for auto-negotiation
+ +
+ + Non-Compliant
+
+ +
+
connection.port_duplex
+
Interface not configured for auto-negotiation
+ +
+ + Non-Compliant
+
+ +
+
connection.switch.arp_inspection
+
Device uses ARP
+ +
+ + Compliant
+
+ +
+
connection.switch.dhcp_snooping
+
Device does not act as a DHCP server
+ +
+ + Compliant
+
+ +
+
connection.dhcp_address
+
Device responded to leased ip address
+ +
+ + Compliant
+
+ +
+
connection.mac_address
+
MAC address found: f0:d4:e2:f2:f5:41
+ +
+ + Compliant
+
+ +
+
connection.mac_oui
+
OUI Manufacturer found: Dell Inc.
+ +
+ + Compliant
+
+ +
+ +
+
+ + +
+ +
+
+ + + + + + + +

+ + Device Qualification +

+

Testrun report

+
+

+ dell + wyse +

+ + Testrun +
+ + + + + +
+

Results List (35/41)

+
+
Name
+
Description
+
Result
+
+ +
+
connection.private_address
+
All subnets are supported
+ +
+ + Compliant
+
+ +
+
connection.shared_address
+
All subnets are supported
+ +
+ + Compliant
+
+ +
+
connection.dhcp_disconnect
+
Device received a DHCP lease after disconnect
+ +
+ + Compliant
+
+ +
+
connection.dhcp_disconnect_ip_change
+
Device received expected IP address after disconnect
+ +
+ + Compliant
+
+ +
+
connection.single_ip
+
Device is using a single IP address
+ +
+ + Compliant
+
+ +
+
connection.target_ping
+
Device responds to ping
+ +
+ + Compliant
+
+ +
+
connection.ipaddr.ip_change
+
Device has accepted an IP address change
+ +
+ + Compliant
+
+ +
+
connection.ipaddr.dhcp_failover
+
Device has no current DHCP lease
+ +
+ + Error
+
+ +
+
connection.ipv6_slaac
+
Device has formed SLAAC address fd10:77be:4186:0:f2d4:e2ff:fef2:f541
+ +
+ + Compliant
+
+ +
+
connection.ipv6_ping
+
Device responds to IPv6 ping on fd10:77be:4186:0:f2d4:e2ff:fef2:f541
+ +
+ + Compliant
+
+ +
+
security.tls.v1_2_server
+
Could not resolve device IP address
+ +
+ + Error
+
+ +
+
security.tls.v1_2_client
+
Could not resolve device IP address
+ +
+ + Error
+
+ +
+
security.tls.v1_3_server
+
Could not resolve device IP address
+ +
+ + Error
+
+ +
+
security.tls.v1_3_client
+
Could not resolve device IP address
+ +
+ + Error
+
+ +
+
dns.network.hostname_resolution
+
No DNS traffic detected from the device
+ +
+ + Non-Compliant
+
+ +
+
dns.network.from_dhcp
+
No DNS traffic detected from the device
+ +
+ + Informational
+
+ +
+
dns.mdns
+
No MDNS traffic detected from the device
+ +
+ + Informational
+
+ +
+
security.services.ftp
+
No FTP server found
+ +
+ + Compliant
+
+ +
+
security.ssh.version
+
No SSH server found
+ +
+ + Compliant
+
+ +
+
security.services.telnet
+
No telnet server found
+ +
+ + Compliant
+
+ +
+ +
+
+ + +
+ +
+
+ + + + + + + +

+ + Device Qualification +

+

Testrun report

+
+

+ dell + wyse +

+ + Testrun +
+ + + + + +
+

Results List (35/41)

+
+
Name
+
Description
+
Result
+
+ +
+
security.services.smtp
+
No SMTP server found
+ +
+ + Compliant
+
+ +
+
security.services.http
+
No HTTP server found
+ +
+ + Compliant
+
+ +
+
security.services.pop
+
No POP server found
+ +
+ + Compliant
+
+ +
+
security.services.imap
+
No IMAP server found
+ +
+ + Compliant
+
+ +
+
security.services.snmpv3
+
No SNMP server found
+ +
+ + Compliant
+
+ +
+
security.services.vnc
+
No VNC server found
+ +
+ + Compliant
+
+ +
+
security.services.tftp
+
No TFTP server found
+ +
+ + Compliant
+
+ +
+
ntp.network.ntp_server
+
No NTP server found
+ +
+ + Compliant
+
+ +
+
ntp.network.ntp_support
+
Device has not sent any NTP requests
+ +
+ + Non-Compliant
+
+ +
+
ntp.network.ntp_dhcp
+
Device has not sent any NTP requests
+ +
+ + Feature Not Detected
+
+ +
+ +
+
+ + + + +
+
+
+ + + + + + + +

+ + Device Qualification +

+

Testrun report

+
+

+ dell + wyse +

+ Testrun +
+

Steps to Resolve

+ +
+
+ 1. +
+ Name
dns.network.hostname_resolution +
+
+ Description
No DNS traffic detected from the device +
+
+
+ Steps to resolve + +
1. Install a supported DNS client + +
2. Ensure DNS servers have been set correctly + +
3. Ensure the gateway IP has been set and the device has internet access + +
+
+ +
+
+ 2. +
+ Name
ntp.network.ntp_support +
+
+ Description
Device has not sent any NTP requests +
+
+
+ Steps to resolve + +
1. Set the NTP version to v4 in the NTP client + +
2. Install an NTP client that supports NTPv4 + +
+
+ + +
+ + + + +
+
+
+ + + + + + + +

+ + Device Qualification +

+

Testrun report

+
+

+ dell + wyse +

+ Testrun +
+
+

DNS Module

+ + + + + + + + + + + + + + + + +
Requests to local DNS serverRequests to external DNS serversTotal DNS requestsTotal DNS responses
0000
+ +
+
+ No DNS traffic detected from the device +
+ +
+ +
+
+ + +
+
+
+ + + + + + + +

+ + Device Qualification +

+

Testrun report

+
+

+ dell + wyse +

+ Testrun +
+
+

Services Module

+ + + + + + + + + + + + + + +
TCP ports openUDP ports openTotal ports open
000
+ +
+
+ No open ports detected +
+ +
+ +
+
+ + +
+
+
+ + + + + + + +

+ + Device Qualification +

+

Testrun report

+
+

+ dell + wyse +

+ Testrun +
+
+

NTP Module

+ + + + + + + + + + + + + + + + + +
Requests to local NTP serverRequests to external NTP serversTotal NTP requestsTotal NTP responses
0000
+ +
+
+ No NTP traffic detected from the device +
+ +
+ +
+
+ + +
+
+
+ + + + + + + +

+ + Device Qualification +

+

Device profile

+
+

+ dell + wyse +

+ Testrun +
+
+
+
Question
+
Answer
+
+ +
+
1.
+
What type of device do you need reviewed?
+
+ + Robotic arm for loading and unloading dishwashers +
+
+
+
2.
+
What features does the device have?
+
+ +
    + +
  • Wi-Fi
  • +
  • ZigBee / Z-Wave / Thread / Matter
  • +
+
+
+
+ +
+
+ + \ No newline at end of file diff --git a/resources/report/risk_report_styles.css b/resources/report/risk_report_styles.css index 05bb67878..2575fe378 100644 --- a/resources/report/risk_report_styles.css +++ b/resources/report/risk_report_styles.css @@ -1,4 +1,4 @@ -* Set some global variables */ +/* Set some global variables */ :root { --header-height: .75in; --header-width: 8.5in; diff --git a/resources/report/risk_report_template.html b/resources/report/risk_report_template.html index 685070031..05752e066 100644 --- a/resources/report/risk_report_template.html +++ b/resources/report/risk_report_template.html @@ -60,7 +60,6 @@

{{ risk.lower() }} Risk

{% endif %} - {% endfor %}