inspec/test/unit/mock/profiles/profile-sensitive
devoptimist 94d80f6c8f Decoupling test profiles from example profiles
Signed-off-by: devoptimist <sbrown@chef.io>
2019-03-14 00:32:13 +00:00
..
controls Decoupling test profiles from example profiles 2019-03-14 00:32:13 +00:00
inspec.yml Decoupling test profiles from example profiles 2019-03-14 00:32:13 +00:00
README.md Decoupling test profiles from example profiles 2019-03-14 00:32:13 +00: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