修改功能验证
This commit is contained in:
@@ -14,7 +14,7 @@ ${objectids} ${EMPTY}
|
|||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
SecurityPolicy-Monitor-Ftp-00001
|
SecurityPolicy-Monitor-Ftp-00001
|
||||||
[Tags] Selfserver Ftp Monitor Account字串匹配
|
[Tags] selfserver monitor account字串匹配 ftp
|
||||||
Comment 创建Account
|
Comment 创建Account
|
||||||
${objectDict} Create Dictionary objectType=account isValid=${1} addItemList=ftp_user
|
${objectDict} Create Dictionary objectType=account isValid=${1} addItemList=ftp_user
|
||||||
${rescode} ${object_Account_Id} AddObject2 ${1} ${objectDict}
|
${rescode} ${object_Account_Id} AddObject2 ${1} ${objectDict}
|
||||||
@@ -27,7 +27,7 @@ SecurityPolicy-Monitor-Ftp-00001
|
|||||||
Comment 功能端验证
|
Comment 功能端验证
|
||||||
${starttime} Get Time
|
${starttime} Get Time
|
||||||
Sleep ${policyVerificationSleepSeconds}s
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
${FTP} FTP_login ftp://192.168.100.5/test.txt -u"ftp_user:qazXSW@edc" english
|
${FTP} FTP_login ftp://192.168.100.5/test.txt -u"ftp_user:qazXSW@edc" 中文test
|
||||||
should contain ${FTP} ftp_success
|
should contain ${FTP} ftp_success
|
||||||
Sleep ${policyLogVerificationSleepSeconds}s
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||||||
${endtime} Get Time
|
${endtime} Get Time
|
||||||
@@ -36,7 +36,7 @@ SecurityPolicy-Monitor-Ftp-00001
|
|||||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} ftp_account ftp_user
|
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} ftp_account ftp_user
|
||||||
|
|
||||||
SecurityPolicy-Monitor-Ftp-00002
|
SecurityPolicy-Monitor-Ftp-00002
|
||||||
[Tags] Selfserver Ftp Monitor Account右匹配
|
[Tags] selfserver ftp monitor account右匹配
|
||||||
Comment 创建Account
|
Comment 创建Account
|
||||||
${objectDict} Create Dictionary objectType=account isValid=${1} addItemList=*user
|
${objectDict} Create Dictionary objectType=account isValid=${1} addItemList=*user
|
||||||
${rescode} ${object_Account_Id} AddObject2 ${1} ${objectDict}
|
${rescode} ${object_Account_Id} AddObject2 ${1} ${objectDict}
|
||||||
@@ -49,7 +49,7 @@ SecurityPolicy-Monitor-Ftp-00002
|
|||||||
Comment 功能端验证
|
Comment 功能端验证
|
||||||
${starttime} Get Time
|
${starttime} Get Time
|
||||||
Sleep ${policyVerificationSleepSeconds}s
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
${FTP} FTP_login ftp://192.168.100.5/test.txt -u"ftp_user:qazXSW@edc" english
|
${FTP} FTP_login ftp://192.168.100.5/test.txt -u"ftp_user:qazXSW@edc" 中文test
|
||||||
should contain ${FTP} ftp_success
|
should contain ${FTP} ftp_success
|
||||||
Sleep ${policyLogVerificationSleepSeconds}s
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||||||
${endtime} Get Time
|
${endtime} Get Time
|
||||||
@@ -58,7 +58,7 @@ SecurityPolicy-Monitor-Ftp-00002
|
|||||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} ftp_account ftp_user
|
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} ftp_account ftp_user
|
||||||
|
|
||||||
SecurityPolicy-Monitor-Ftp-00003
|
SecurityPolicy-Monitor-Ftp-00003
|
||||||
[Tags] Selfserver Ftp Account完整匹配 Monitor
|
[Tags] selfserver ftp account完整匹配 monitor
|
||||||
Comment 创建Account
|
Comment 创建Account
|
||||||
${objectDict} Create Dictionary objectType=account isValid=${1} addItemList=$ftp_user
|
${objectDict} Create Dictionary objectType=account isValid=${1} addItemList=$ftp_user
|
||||||
${rescode} ${object_Account_Id} AddObject2 ${1} ${objectDict}
|
${rescode} ${object_Account_Id} AddObject2 ${1} ${objectDict}
|
||||||
@@ -71,7 +71,7 @@ SecurityPolicy-Monitor-Ftp-00003
|
|||||||
Comment 功能端验证
|
Comment 功能端验证
|
||||||
${starttime} Get Time
|
${starttime} Get Time
|
||||||
Sleep ${policyVerificationSleepSeconds}s
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
${FTP} FTP_login ftp://192.168.100.5/test.txt -u"ftp_user:qazXSW@edc" english
|
${FTP} FTP_login ftp://192.168.100.5/test.txt -u"ftp_user:qazXSW@edc" 中文test
|
||||||
should contain ${FTP} ftp_success
|
should contain ${FTP} ftp_success
|
||||||
Sleep ${policyLogVerificationSleepSeconds}s
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||||||
${endtime} Get Time
|
${endtime} Get Time
|
||||||
@@ -80,7 +80,7 @@ SecurityPolicy-Monitor-Ftp-00003
|
|||||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} ftp_account ftp_user
|
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} ftp_account ftp_user
|
||||||
|
|
||||||
SecurityPolicy-Monitor-Ftp-00004
|
SecurityPolicy-Monitor-Ftp-00004
|
||||||
[Tags] Selfserver Ftp Monitor Account左匹配
|
[Tags] selfserver ftp monitor account左匹配
|
||||||
Comment 创建Account
|
Comment 创建Account
|
||||||
${objectDict} Create Dictionary objectType=account isValid=${1} addItemList=ftp_u*
|
${objectDict} Create Dictionary objectType=account isValid=${1} addItemList=ftp_u*
|
||||||
${rescode} ${object_Account_Id} AddObject2 ${1} ${objectDict}
|
${rescode} ${object_Account_Id} AddObject2 ${1} ${objectDict}
|
||||||
@@ -93,7 +93,7 @@ SecurityPolicy-Monitor-Ftp-00004
|
|||||||
Comment 功能端验证
|
Comment 功能端验证
|
||||||
${starttime} Get Time
|
${starttime} Get Time
|
||||||
Sleep ${policyVerificationSleepSeconds}s
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
${FTP} FTP_login ftp://192.168.100.5/test.txt -u"ftp_user:qazXSW@edc" english
|
${FTP} FTP_login ftp://192.168.100.5/test.txt -u"ftp_user:qazXSW@edc" 中文test
|
||||||
should contain ${FTP} ftp_success
|
should contain ${FTP} ftp_success
|
||||||
Sleep ${policyLogVerificationSleepSeconds}s
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||||||
${endtime} Get Time
|
${endtime} Get Time
|
||||||
|
|||||||
Reference in New Issue
Block a user