diff options
author | mboelen <michael@cisofy.com> | 2016-03-17 18:36:52 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2016-03-17 18:36:52 +0300 |
commit | 7adf2425a68240f5d9cccb9167c1ef578b7e3afa (patch) | |
tree | e1a7b15458c40ed190c39f6d57549e21253d1073 /include/tests_storage | |
parent | a4a0f8ff5bac5a921c35e70ba139111b372cbeb0 (diff) |
Added STRG-1842 to check for authorized USB devices
Diffstat (limited to 'include/tests_storage')
-rw-r--r-- | include/tests_storage | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/tests_storage b/include/tests_storage index d6bbdccd..88a13297 100644 --- a/include/tests_storage +++ b/include/tests_storage @@ -64,7 +64,13 @@ Display --indent 2 --text "- Checking usb-storage driver (modprobe config)" --result "DISABLED" --color GREEN AddHP 3 3 fi - +# +################################################################################# +# + # Test : STRG-1842 + # Description : Check USB authorizations + Register --test-no STRG-1842 --os Linux --weight L --network NO --description "Check USB authorizations" + if [ ${SKIPTEST} -eq 0 ]; then LogText "Test: Checking USB devices authorization to connect to the system" FOUND=0 USBDEVICESPATH="/sys/bus/usb/devices/usb" @@ -84,7 +90,7 @@ if [ ${FOUND} -eq 1 ]; then LogText "Result: Some USB devices are authorized by default (or temporary) to connect to the system" - Display --indent 2 --text "- Checking USB devices authorization" --result "ENABLED" --color RED + Display --indent 2 --text "- Checking USB devices authorization" --result "ENABLED" --color YELLOW # To-Be-Added: create documentation and enable the suggestion #ReportSuggestion ${TEST_NO} "Disable USB devices authorization, to prevent unauthorized storage or data theft" AddHP 0 3 |