From c7b9c56a340dcf58a9713668da4fcacab0e04354 Mon Sep 17 00:00:00 2001 From: Kimberly Garmoe Date: Thu, 8 Feb 2018 13:41:14 -0800 Subject: [PATCH] Refactors http doc (#2540) Signed-off-by: kagarmoe --- docs/resources/http.md.erb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/resources/http.md.erb b/docs/resources/http.md.erb index e05ddd033..0b7a95dd1 100644 --- a/docs/resources/http.md.erb +++ b/docs/resources/http.md.erb @@ -8,7 +8,7 @@ Use the `http` InSpec audit resource to test an http endpoint.

In InSpec 1.40 and earlier, this resource always executes on the host on which inspec exec is run, even if you use the --target option to remotely scan a different host.

-Beginning with InSpec 1.41, you can enable the ability to have the HTTP test execute on the remote target, provided curl is available. See the "Local vs. Remote" section below.
+Beginning with InSpec 1.41, you can enable remote targeting for the HTTP test, provided curl is available. See the "Local vs. Remote" section below.

Executing the HTTP test on the remote target will be the default behavior in InSpec 2.0.

@@ -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 +
+## Supported Resource Properties + +body, headers, http_method, status, + +
+## Property Examples The following examples show how to use this InSpec audit resource.