Saltstack Official Syslog-NG Formula
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # InSpec Profile: `default`
  2. This shows the implementation of the `default` InSpec [profile](https://github.com/inspec/inspec/blob/master/docs/profiles.md).
  3. ## Verify a profile
  4. InSpec ships with built-in features to verify a profile structure.
  5. ```bash
  6. $ inspec check default
  7. Summary
  8. -------
  9. Location: default
  10. Profile: profile
  11. Controls: 4
  12. Timestamp: 2019-06-24T23:09:01+00:00
  13. Valid: true
  14. Errors
  15. ------
  16. Warnings
  17. --------
  18. ```
  19. ## Execute a profile
  20. To run all **supported** controls on a local machine use `inspec exec /path/to/profile`.
  21. ```bash
  22. $ inspec exec default
  23. ..
  24. Finished in 0.0025 seconds (files took 0.12449 seconds to load)
  25. 8 examples, 0 failures
  26. ```
  27. ## Execute a specific control from a profile
  28. To run one control from the profile use `inspec exec /path/to/profile --controls name`.
  29. ```bash
  30. $ inspec exec default --controls package
  31. .
  32. Finished in 0.0025 seconds (files took 0.12449 seconds to load)
  33. 1 examples, 0 failures
  34. ```
  35. See an [example control here](https://github.com/inspec/inspec/blob/master/examples/profile/controls/example.rb).