inspec/examples/profile-sensitive
Miah Johnson 2a1b1d8e88 Remove all leading newlines.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-31 11:43:44 -07:00
..
controls Remove all leading newlines. 2019-05-31 11:43:44 -07:00
inspec.yml Add sensitive flag to resources to restrict logging output (#2017) 2017-08-25 16:21:49 -04:00
README.md Fix typo in some docs (#2841) 2018-03-20 08:43:30 -04:00

Example InSpec Profile with Sensitive failures

This profile demonstrates resources flagged as sensitive

Usage

$ inspec exec examples/profile-sensitive
....

  bob should
   ∅  eq "billy"

   expected: "billy"
        got: "bob"

   (compared using ==)

  sensitivepassword should
     ∅  eq "secret"
     *** sensitive output suppressed ***
  bob should
     ✔  eq "bob"
  sensitivepassword should
     ✔  eq "sensitivepassword"

Test Summary: 2 successful, 2 failures, 0 skipped