Add Docker Bench for Security
[validation.git] / tests / security / docker / docker_bench.robot
1 ##############################################################################
2 # Copyright (c) 2019 AT&T Intellectual Property.                             #
3 # Copyright (c) 2019 Nokia.                                                  #
4 #                                                                            #
5 # Licensed under the Apache License, Version 2.0 (the "License");            #
6 # you maynot use this file except in compliance with the License.            #
7 #                                                                            #
8 # You may obtain a copy of the License at                                    #
9 #       http://www.apache.org/licenses/LICENSE-2.0                           #
10 #                                                                            #
11 # Unless required by applicable law or agreed to in writing, software        #
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT  #
13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.           #
14 # See the License for the specific language governing permissions and        #
15 # limitations under the License.                                             #
16 ##############################################################################
17
18
19 *** Settings ***
20 Documentation     Runs the Docker Bench for Security script which checks for
21 ...               dozens of common best-practices around deploying Docker
22 ...               containers in production.
23 Library           BuiltIn
24 Resource          docker_bench.resource
25 Suite Setup       Run Keywords  Open Connection And Log In
26 ...                             Download Docker Bench Software
27 Suite Teardown    Run Keywords  Remove Docker Bench Software
28 ...                             Close All Connections
29 Test Setup        Upload Test Software To Nodes
30 Test Teardown     Remove Test Software From Nodes
31
32
33 *** Test Cases ***
34 Security Check By Docker Bench
35     Run Test Software On Nodes