Insecure preprod HTTPS with bearer auth
28-https-insecure-bearer.yaml
HTTP(S)
What this example does
This example demonstrates insecure preprod https with bearer auth.
Checks and behavior
- Sends an GET request to https://preprod.example.invalid/api.
- Checks allowed/denied HTTP status codes.
Adapt example domains, addresses, credentials and thresholds to your environment before use.
YAML configuration
name: Insecure preprod HTTPS with bearer auth
url: https://preprod.example.invalid/api
request:
method: GET
auth:
type: bearer
token_env: HTTPTEST_API_TOKEN
tls:
verify: false
tests:
status:
allow: [200]