2016-09-19 08:32:23 +00:00
|
|
|
{
|
|
|
|
"inspec": {
|
|
|
|
"key": "inspec.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec help": {
|
|
|
|
"key": "inspec_help.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec help version": {
|
|
|
|
"key": "inspec_help_version.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec help detect": {
|
|
|
|
"key": "inspec_help_detect.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec help exec": {
|
|
|
|
"key": "inspec_help_exec.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec check examples/profile": {
|
|
|
|
"key": "inspec_check_examples_profile.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec exec examples/profile": {
|
|
|
|
"key": "inspec_exec_examples_profile.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec exec examples/profile -t ssh://bob@host.node -i bob.rsa": {
|
|
|
|
"key": "inspec_exec_examples_profile_t_ssh_bob_host_node_i_bob_rsa.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec exec examples/profile -b ssh --host host.node --user bob -i bob.rsa": {
|
|
|
|
"key": "inspec_exec_examples_profile_b_ssh_host_host_node_user_bob_i_bob_rsa.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec exec examples/profile -t winrm://alice:pass@windows.node": {
|
|
|
|
"key": "inspec_exec_examples_profile_t_winrm_alice_pass_windows_node.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec exec examples/profile -t winrm://alice:pass@windows.node --ssl --self-signed": {
|
|
|
|
"key": "inspec_exec_examples_profile_t_winrm_alice_pass_windows_node_ssl_self_signed.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec exec examples/profile -t docker://abcdef123": {
|
|
|
|
"key": "inspec_exec_examples_profile_t_docker_abcdef123.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec detect": {
|
|
|
|
"key": "inspec_detect.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec detect -t ssh://bob@host.node -i bob.rsa": {
|
|
|
|
"key": "inspec_detect_t_ssh_bob_host_node_i_bob_rsa.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec shell -c 'os.params'": {
|
|
|
|
"key": "inspec_shell_c_os_params_.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec shell -c 'sshd_config.Protocol'": {
|
|
|
|
"key": "inspec_shell_c_sshd_config_Protocol_.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec shell -c 'sshd_config.Protocol' -t ssh://bob@host.node -i bob.rsa": {
|
|
|
|
"key": "inspec_shell_c_sshd_config_Protocol_t_ssh_bob_host_node_i_bob_rsa.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec shell -c 'os.params' -t docker://abcdef123": {
|
|
|
|
"key": "inspec_shell_c_os_params_t_docker_abcdef123.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"ls": {
|
|
|
|
"key": "ls.txt",
|
|
|
|
"extra": true,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"cat README.md": {
|
|
|
|
"key": "cat_README_md.txt",
|
|
|
|
"extra": true,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec help supermarket": {
|
|
|
|
"key": "inspec_help_supermarket.txt",
|
|
|
|
"extra": true,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec help compliance": {
|
|
|
|
"key": "inspec_help_compliance.txt",
|
|
|
|
"extra": true,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec version": {
|
|
|
|
"key": "inspec_version.txt",
|
|
|
|
"extra": true,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec detect --format json": {
|
|
|
|
"key": "inspec_detect_format_json.txt",
|
|
|
|
"extra": true,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec exec examples/profile --format json": {
|
|
|
|
"key": "inspec_exec_examples_profile_format_json.txt",
|
|
|
|
"extra": true,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec exec examples/profile --format json | jq": {
|
|
|
|
"key": "inspec_exec_examples_profile_format_json_jq.txt",
|
|
|
|
"extra": true,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec json examples/profile": {
|
|
|
|
"key": "inspec_json_examples_profile.txt",
|
|
|
|
"extra": true,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec archive examples/profile": {
|
|
|
|
"key": "inspec_archive_examples_profile.txt",
|
|
|
|
"extra": true,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec env": {
|
|
|
|
"key": "inspec_env.txt",
|
|
|
|
"extra": true,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"inspec exec examples/inheritance": {
|
|
|
|
"key": "inspec_exec_examples_inheritance.txt",
|
|
|
|
"extra": true
|
|
|
|
},
|
|
|
|
"inspec exec test/unit/mock/profiles/failures": {
|
|
|
|
"key": "inspec_exec_test_unit_mock_profiles_failures.txt",
|
|
|
|
"extra": true,
|
|
|
|
"shell" : "sh"
|
|
|
|
},
|
|
|
|
"help": {
|
|
|
|
"key": "echo_help_inspec_shell.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "inspec"
|
|
|
|
},
|
|
|
|
"help resources": {
|
|
|
|
"key": "echo_help_resources_inspec_shell.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "inspec"
|
|
|
|
},
|
|
|
|
"help file": {
|
|
|
|
"key": "echo_help_file_inspec_shell.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "inspec"
|
|
|
|
},
|
|
|
|
"help command": {
|
|
|
|
"key": "echo_help_command_inspec_shell.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "inspec"
|
|
|
|
},
|
|
|
|
"help os": {
|
|
|
|
"key": "echo_help_os_inspec_shell.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "inspec"
|
|
|
|
},
|
|
|
|
"command('uname -a').stdout": {
|
|
|
|
"key": "echo_command_uname_a_stdout_inspec_shell.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "inspec"
|
|
|
|
},
|
|
|
|
"file('/proc/cpuinfo').owner": {
|
|
|
|
"key": "echo_file_proc_cpuinfo_owner_inspec_shell.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "inspec"
|
|
|
|
},
|
|
|
|
"sshd_config.params": {
|
|
|
|
"key": "echo_sshd_config_params_inspec_shell.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "inspec"
|
|
|
|
},
|
|
|
|
"describe\\ file\\(\\'/root\\'\\)\\ do'\n'\\ \\ it\\ \\{\\ should\\ exist\\ \\}'\n'\\ \\ its\\(\\'mode\\'\\)\\ \\{\\ should\\ cmp\\ \\'0750\\'\\}'\n'end": {
|
|
|
|
"key": "echo_describe_file_root_do_it_should_exist_its_mode_should_cmp_0750_end_inspec_shell.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "inspec"
|
|
|
|
},
|
|
|
|
"control\\ \\\"id\\\"\\ do'\n'\\ \\ title\\ \\\"Check\\ permissions\\ on\\ /root\\!\\\"'\n'\\ \\ impact\\ 0.5'\n'\\ \\ describe\\ file\\(\\'/root\\'\\)\\ do'\n'\\ \\ \\ \\ its\\(\\'mode\\'\\)\\ \\{\\ should\\ cmp\\ \\'0750\\'\\}'\n'\\ \\ end'\n'end": {
|
|
|
|
"key": "echo_control_id_do_title_Check_permissions_on_root_impact_0_5_describe_file_root_do_its_mode_should_cmp_0750_end_end_inspec_shell.txt",
|
|
|
|
"extra": false,
|
|
|
|
"shell" : "inspec"
|
|
|
|
}
|
|
|
|
}
|