1. FortiOS 7.0.0 Administration Guide - SD-WAN:
In the section on Performance SLA, the guide details the configuration of different health check modes. For the HTTP mode, it describes the http-match option, which is used to "Enter a text string that should be present in the HTTP response from the server." For the DNS mode, it describes the dns-match-ip option, which is used to "Enter an IP address that the DNS server should return." (See chapter on "Performance SLA", section "Health Check").
2. FortiOS 7.0.0 CLI Reference:
Under config system sdwan -> config health-check, the parameters for different modes are listed.
For set mode http, the option set http-match is available to "Response string to match."
For set mode dns, the option set dns-match-ip is available to "DNS match IP."
The ping (ICMP) and twamp modes do not have equivalent parameters for matching response content. (See config health-check in the CLI reference).