How this template works
APIs Selection
The API selection filters in this template specify the criteria for selecting the API endpoint to be tested. In this case, the filters include checking the response code to be greater than or equal to 200 and less than 300, and extracting the URL from the response and storing it in the "urlVar" variable.
Execute request
The execute section defines the type of request to be executed. In this template, it is set to "single", indicating that a single request will be made. The request is specified under the "requests" field, where the URL is modified using the "modify_url" action and the value of the "urlVar" variable.
Validation
The validation section defines the expected response from the API endpoint. It includes checking that the response code is equal to 200 and that the response payload contains specific keywords such as "ParentId", "Container", and "Labels". If the validation criteria are not met, it indicates a potential misconfiguration in the Docker container.
Frequently asked questions
Explore other tests
eSMTP - Config Discovery
Nginx - Git Configuration Exposure
Laravel - Sensitive Information Disclosure
Msmtp - Config Exposure
Parameters.yml - File Discovery
Mongo Express - Unauthenticated Access
Apache Airflow Configuration Exposure
Dockerrun AWS Configuration Exposure
Apache Config file disclosure
Appspec Yml Disclosure
CGI script environment variable
circleci config.yml exposure