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
# Copyright (c) 2026 mati peterson. Maintainer: mati peterson <ipsonic@mailbox.org>. Project: https://ipsonic.com/probe/. Disclaimer: Provided AS IS, without warranty of any kind. Use at your own risk; validate checks and configurations before production use.
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]