mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
parent
ba51e17670
commit
c7b9c56a34
1 changed files with 8 additions and 2 deletions
|
@ -8,7 +8,7 @@ Use the `http` InSpec audit resource to test an http endpoint.
|
|||
|
||||
<p class="warning">In InSpec 1.40 and earlier, this resource always executes on the host on which <code>inspec exec</code> is run, even if you use the <code>--target</code> option to remotely scan a different host.<br>
|
||||
<br>
|
||||
Beginning with InSpec 1.41, you can enable the ability to have the HTTP test execute on the remote target, provided <code>curl</code> is available. See the "Local vs. Remote" section below.<br>
|
||||
Beginning with InSpec 1.41, you can enable remote targeting for the HTTP test, provided <code>curl</code> is available. See the "Local vs. Remote" section below.<br>
|
||||
<br>
|
||||
Executing the HTTP test on the remote target will be the default behavior in InSpec 2.0.
|
||||
</p>
|
||||
|
@ -48,7 +48,13 @@ Beginning with InSpec 1.41, you can enable the ability to have the HTTP test exe
|
|||
|
||||
In InSpec 2.0, the HTTP test will automatically execute remotely whenever InSpec is testing a remote node.
|
||||
|
||||
## Examples
|
||||
<br>
|
||||
## Supported Resource Properties
|
||||
|
||||
body, headers, http_method, status,
|
||||
|
||||
<br>
|
||||
## Property Examples
|
||||
|
||||
The following examples show how to use this InSpec audit resource.
|
||||
|
||||
|
|
Loading…
Reference in a new issue