mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
14 lines
449 B
Bash
14 lines
449 B
Bash
#!/usr/bin/env bash
|
|
|
|
CHECK_ID[check11]="1.1,1.01"
|
|
CHECK_TITLE[check11]="Avoid the use of the root account (Scored)."
|
|
CHECK_SCORED[check11]="SCORED"
|
|
CHECK_TYPE[check11]="LEVEL1"
|
|
CHECK_ALTERNATE[check101]="check11"
|
|
|
|
check11() {
|
|
# "Avoid the use of the root account (Scored)."
|
|
COMMAND11=$(cat $TEMP_REPORT_FILE| grep '<root_account>' | cut -d, -f5,11,16 | sed 's/,/\ /g')
|
|
textNotice "Root account last accessed (password key_1 key_2): $COMMAND11"
|
|
}
|