inspec/test/fixtures/profiles/old-examples/profile-sensitive
Ryan Davis db8e6e7415 Moved test/unit/mock/* to test/fixtures
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-08 16:29:03 -08:00
..
controls Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
inspec.yml Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
README.md Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08: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