aboutsummaryrefslogtreecommitdiffstats
path: root/robot/testsuites/security.robot
AgeCommit message (Collapse)AuthorFilesLines
2020-01-30Import missing library to security testsPawel Wieczorek1-0/+1
Keyword "Get File" is a part of "OperatingSystem" Library [1]. Credit to Morgan Richomme <morgan.richomme@orange.com> for detecting this bug. [1] https://robotframework.org/robotframework/latest/libraries/OperatingSystem.html#Get%20File Issue-ID: SECCOM-261 Change-Id: I5a3dc93d06f9727c67549b11ebdc509c1192fd69 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-12Add security checksPawel Wieczorek1-0/+14
This patch adds initial security validation check. It includes JSON file containing dictionary of acknowledged NodePorts with corresponding services [1]. Data required to perform added security check cannot be easily obtained from within "robot" pod (without granting it access to "kubectl" tool and as a side effect - cluster modifications). That is why it should be collected beforehand by the test operator and stored as a JSON file. Added suite expects having "${ACTUAL_NODEPORTS_FILE}" variable defined. It will attempt parsing data stored in the file pointed by the said variable and compare it against expected NodePorts. [1] https://docs.onap.org/en/elalto/guides/onap-developer/settingup/index.html#nodeports Issue-ID: SECCOM-261 Change-Id: Ib8078c50e943125f8452120368891c3e3a7056bc Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>