inspec/examples/profile-sensitive
Miah Johnson 659b4b373a Remove # encoding: utf8 magic comments
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-07 16:06:23 -07:00
..
controls Remove # encoding: utf8 magic comments 2019-05-07 16:06:23 -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