// IPSonic MONITORING TOOLKIT / DOCUMENTATION
ipsonic-probe rainbow unicorn

ipsonic-probe ✦

YAML-driven infrastructure validation. Platform-agnostic checks. Zero cloud dependencies.

DNSTCPHTTP / TLSYAML CONFIGCLI FIRSTKISSOFFLINE READY

Part of the ipsonic project ↗ Visit the main website

Redirect policy

34-redirect-policy.yaml

HTTP(S)

What this example does

This example demonstrates redirect policy.

Checks and behavior

  • Sends an GET request to https://api.example.invalid/start.
  • Validates redirect behavior and destination constraints.

Adapt example domains, addresses, credentials and thresholds to your environment before use.

YAML configuration

Download original YAML

name: Redirect policy
url: https://api.example.invalid/start
request:
  follow_redirects: true
tests:
  redirects:
    max_count: 2
    require_https: true
    allowed_hosts: [api.example.invalid]
    final_url: https://api.example.invalid/health