feat:(策略对象)1:策略对象删除;2:策略对象导入;3:策略对象导出
This commit is contained in:
@@ -556,4 +556,29 @@ Policy-log-v1-00028
|
||||
... conditions=common_server_port|int|in|${80}^${8080}
|
||||
... orderBy=common_server_ip|true
|
||||
... common_log_ids=162273027957354498
|
||||
${resData} QueryLogs ${params} batch
|
||||
${resData} QueryLogs ${params} batch
|
||||
Policy-Delete-v1-00029
|
||||
Comment 创建urls
|
||||
${objectDict1} Create Dictionary objectType=url isValid=${1} addItemList=*baidu.com,
|
||||
${objectDict2} Create Dictionary objectType=url isValid=${1} addItemList=*google.com
|
||||
${objectDict} Create List ${objectDict1} ${objectDict2}
|
||||
${rescode} ${objectIds} AddObjects ${1} ${objectDict}
|
||||
${objectIds} Evaluate list(map(int, re.split('[,]', '${objectIds}'))) re
|
||||
${rescode} DeleteObjects ${objectIds}
|
||||
${objectIds} Set Variable ${EMPTY}
|
||||
Policy-Import-v1-00030
|
||||
Comment 导入txt
|
||||
${objectIds} Set Variable ${EMPTY}
|
||||
${rescode} ImportObject uploadFiles url.txt url ${EMPTY} ${EMPTY}
|
||||
Policy-Import-v1-00031
|
||||
Comment 导入csv
|
||||
${objectIds} Set Variable ${EMPTY}
|
||||
${rescode} ImportObject uploadFiles url.csv url ${EMPTY} ${EMPTY}
|
||||
Policy-Import-v1-00032
|
||||
Comment 导入csv
|
||||
${objectIds} Set Variable ${EMPTY}
|
||||
${rescode} ImportObject uploadFiles IP.csv ip endpoint ${EMPTY}
|
||||
Policy-Export-v1-00032
|
||||
Comment 导 出json
|
||||
${objectIds} Set Variable ${EMPTY}
|
||||
${response} ExportObject ip endpoint ${EMPTY} ${EMPTY}
|
||||
Reference in New Issue
Block a user