How this template works
APIs Selection
The API selection filters in this template specify the criteria for selecting the APIs to be tested. In this case, the filters include checking the response code to be between 200 and 299 and extracting the URL from the response.
Execute request
The execute section defines the type of request to be executed. In this template, a single request is made to the modified URL obtained from the API selection filters. The request modifies the URL by appending "/metrics" to it.
Validation
The validation section specifies the expected response code and payload. In this template, the response code is expected to be 200, indicating a successful request. The response payload is validated to contain at least one of the specified metrics, such as "cpu_seconds_total" or "http_request_duration_seconds".
Frequently asked questions
Explore other tests
eSMTP - Config Discovery
Nginx - Git Configuration Exposure
Laravel - Sensitive Information Disclosure
Docker Container - Misconfiguration Exposure
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