Switch branches/tags
1-stable ER-508/inspec_faraday_resource HM-FixFontIssue-020817 aaronlippold-al/kernel_module_blacklist adamleff/auditd_rules-deprecation adamleff/bump-train-0.28.0 adamleff/exceptions-in-filtertable adamleff/fix-changelog-version adamleff/fix-json-formatter adamleff/fix-linked-containers adamleff/formatter-refactor adamleff/ignore-simulator-gems adamleff/oracledb_session_refactor adding-vm-extension cdn/pin-net-ssh chris-rock/resource-inheritance chris-rock/skip-exception chris-rock/tutorial-response-filename-length cw/check-uniq-controls cw/doc-analysis cw/doc-resource-authoring-guide cw/docs_dsl_spike cw/ec2_tags cw/extended-aws_ec2_instances cw/filtertable-they-theirs cw/handle-unable cw/init-plugin cw/plugin-cli-option cw/plugins-attribute-provider-type cw/plugins-cli-diagnostics cw/resource-collision cw/silence-rspec-deprecation-warning dom/proto dom/user-compliance dr/acls-registry dr/archive-tests dr/check-tests dr/cmd-nil-fix dr/describe-os dr/docs-md dr/full_id dr/nginx dr/os-methods dr/package.list dr/release-docker dr/www/fix-tutorial-loading dwm-tb/azure-storage-account dwm-tb/inspec-azure-cleanup gh-pages hackday2018/versioned-docs hamburglar-patch-1 hannah-radish-patch-1 ja/add-exec-git-https ja/add-hab-svc ja/add-path-to-git-fetcher ja/add-ssh-gem ja/deprecate-shadow-methods ja/fix-1825 ja/fix-rack-vuln ja/pairing-branch ja/remove-hab-deps ja/update-entries-to-count jh/detect-freebsd-in-port jjh/apache_conf_subclass_file jq/add_windows_functional_tests jq/bump_release jq/bump_version jq/cli_help_commands jq/default_reporter_for_dynamic_runners jq/fix_audit_policy_supports jq/fix_inspec_ruby_2.5 jq/fix_legacy_reporter_output jq/fix_skip_include jq/fix_vendor_osx_test jq/formatter-refactor jq/help_mhackethal jq/inspec_2.0_reporter_changes jq/merge_inspec_azure jq/merge_json_cli_options jq/move_inspec_compliance_v2 jq/override_unf_ext jq/populate_code_for_merged_controls jq/supports_inspec_warn jq/test_builds jq/test_gcp_train jq/update_uuid_documentation jscott/addcomplianceapidoc kg/apache kg/auditd_conf kg/bond kg/clean-md kg/command kg/cran kg/docker_service kg/has-uses kg/instructions kg/key_rsa kg/limits_conf kg/login kg/matchers-blurb kg/normalize kg/resource-formatting kg/resource-packs kg/xml lcg/docfix2 master miah/filter-gems miah/override_unf_ext miah/uv miah/2720 miah/3034 miah/3315 mw/copy-edits mw/homepage nh/aws_iam_users_policies nh/aws_iam_users_pw_age nh/aws_organizations_member osenvparams require rk/cia-1176 rspec-core-dsl ruby250 shain/new_windows_toolchain shain/remove_www slim smaller sp/protect-file-nil sr/audit-mode sr/cli-tests sr/extras-compliance sr/fix-upload-profiles sr/inspec-mode sr/simplify-profile-ids sr/wip-cli-tests ssd/github-fetcher support-absolute-paths-in-apache_conf tb/heckraiser tb/2741-aws_route_table tduffield/build-without-bundler-groups tdufifeld/use-chefstyle test-keyvault-train train-plugin-doc-link-broken tvz/aws_eks_cluster ubergeekgirl-patch-1 update-control-block-website vj/try-paste
Nothing to show
Find file History
jerryaldrichiii and clintoncwolfe Change `Inspec ` to `InSpec ` where appropriate (#3494)
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
Latest commit 0b0a0a4 Oct 15, 2018
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
controls Change `Inspec ` to `InSpec ` where appropriate (#3494) Oct 15, 2018
libraries docs: Update example resource (#2904) Apr 5, 2018
README.md Fix broken link in README.md Oct 20, 2016
inspec.yml Add windows functional tests (#3385) Sep 12, 2018

README.md

Example InSpec Profile

This example shows the implementation of an InSpec profile.

Verify a profile

InSpec ships with built-in features to verify a profile structure.

$ inspec check examples/profile
Summary
-------
Location: examples/profile
Profile: profile
Controls: 4
Timestamp: 2016-03-24T16:20:21+00:00
Valid: true

Errors
------

Warnings
--------

Execute a profile

To run all supported controls on a local machine use inspec exec /path/to/profile.

$ inspec exec examples/profile
..

Finished in 0.0025 seconds (files took 0.12449 seconds to load)
8 examples, 0 failures

Execute a specific control from a profile

To run one control from the profile use inspec exec /path/to/profile --controls name.

$ inspec exec examples/profile --controls tmp-1.0
.

Finished in 0.0025 seconds (files took 0.12449 seconds to load)
1 examples, 0 failures