inspec/www/tutorial/app/responses/commands.json
2016-09-21 22:14:38 +02:00

1 line
No EOL
7 KiB
JSON

[{"key":"inspec.txt","command":"inspec","simulator_cmd":"inspec","extra":false,"shell":"sh"},{"key":"inspec_help.txt","command":"inspec help","simulator_cmd":"inspec help","extra":false,"shell":"sh"},{"key":"inspec_help_version.txt","command":"inspec help version","simulator_cmd":"inspec help version","extra":false,"shell":"sh"},{"key":"inspec_help_detect.txt","command":"inspec help detect","simulator_cmd":"inspec help detect","extra":false,"shell":"sh"},{"key":"inspec_help_exec.txt","command":"inspec help exec","simulator_cmd":"inspec help exec","extra":false,"shell":"sh"},{"key":"inspec_check_examples_profile.txt","command":"inspec check examples/profile","simulator_cmd":"inspec check examples/profile","extra":false,"shell":"sh"},{"key":"inspec_exec_examples_profile.txt","command":"inspec exec examples/profile","simulator_cmd":"inspec exec examples/profile","extra":false,"shell":"sh"},{"key":"inspec_exec_examples_profile_t_ssh_bob_host_node_i_bob_rsa.txt","command":"inspec exec examples/profile -t ssh://bob@host.node -i bob.rsa","simulator_cmd":"inspec exec examples/profile -t ssh://bob@host.node -i bob.rsa","extra":false,"shell":"sh"},{"key":"inspec_exec_examples_profile_b_ssh_host_host_node_user_bob_i_bob_rsa.txt","command":"inspec exec examples/profile -b ssh --host host.node --user bob -i bob.rsa","simulator_cmd":"inspec exec examples/profile -b ssh --host host.node --user bob -i bob.rsa","extra":false,"shell":"sh"},{"key":"inspec_help_exec.txt","command":"inspec help exec","simulator_cmd":"inspec help exec","extra":false,"shell":"sh"},{"key":"inspec_exec_examples_profile_t_winrm_alice_pass_windows_node.txt","command":"inspec exec examples/profile -t winrm://alice:pass@windows.node","simulator_cmd":"inspec exec examples/profile -t winrm://alice:pass@windows.node","extra":false,"shell":"sh"},{"key":"inspec_exec_examples_profile_t_winrm_alice_pass_windows_node_ssl_self_signed.txt","command":"inspec exec examples/profile -t winrm://alice:pass@windows.node --ssl --self-signed","simulator_cmd":"inspec exec examples/profile -t winrm://alice:pass@windows.node --ssl --self-signed","extra":false,"shell":"sh"},{"key":"inspec_exec_examples_profile_t_docker_abcdef123.txt","command":"inspec exec examples/profile -t docker://abcdef123","simulator_cmd":"inspec exec examples/profile -t docker://abcdef123","extra":false,"shell":"sh"},{"key":"inspec_detect.txt","command":"inspec detect","simulator_cmd":"inspec detect","extra":false,"shell":"sh"},{"key":"inspec_detect_t_ssh_bob_host_node_i_bob_rsa.txt","command":"inspec detect -t ssh://bob@host.node -i bob.rsa","simulator_cmd":"inspec detect -t ssh://bob@host.node -i bob.rsa","extra":false,"shell":"sh"},{"key":"inspec_shell_c_os_params_.txt","command":"inspec shell -c 'os.params'","simulator_cmd":"inspec shell -c 'os.params'","extra":false,"shell":"sh"},{"key":"inspec_shell_c_sshd_config_Protocol_.txt","command":"inspec shell -c 'sshd_config.Protocol'","simulator_cmd":"inspec shell -c 'sshd_config.Protocol'","extra":false,"shell":"sh"},{"key":"inspec_shell_c_sshd_config_Protocol_t_ssh_bob_host_node_i_bob_rsa.txt","command":"inspec shell -c 'sshd_config.Protocol' -t ssh://bob@host.node -i bob.rsa","simulator_cmd":"inspec shell -c 'sshd_config.Protocol' -t ssh://bob@host.node -i bob.rsa","extra":false,"shell":"sh"},{"key":"inspec_shell_c_os_params_t_docker_abcdef123.txt","command":"inspec shell -c 'os.params' -t docker://abcdef123","simulator_cmd":"inspec shell -c 'os.params' -t docker://abcdef123","extra":false,"shell":"sh"},{"key":"echo_help_inspec_shell.txt","command":"help","simulator_cmd":"echo help | inspec shell","extra":false,"shell":"inspec"},{"key":"echo_help_resources_inspec_shell.txt","command":"help resources","simulator_cmd":"echo help\\ resources | inspec shell","extra":false,"shell":"inspec"},{"key":"echo_help_file_inspec_shell.txt","command":"help file","simulator_cmd":"echo help\\ file | inspec shell","extra":false,"shell":"inspec"},{"key":"echo_help_command_inspec_shell.txt","command":"help command","simulator_cmd":"echo help\\ command | inspec shell","extra":false,"shell":"inspec"},{"key":"echo_help_os_inspec_shell.txt","command":"help os","simulator_cmd":"echo help\\ os | inspec shell","extra":false,"shell":"inspec"},{"key":"echo_command_uname_a_stdout_inspec_shell.txt","command":"command('uname -a').stdout","simulator_cmd":"echo command\\(\\'uname\\ -a\\'\\).stdout | inspec shell","extra":false,"shell":"inspec"},{"key":"echo_file_proc_cpuinfo_owner_inspec_shell.txt","command":"file('/proc/cpuinfo').owner","simulator_cmd":"echo file\\(\\'/proc/cpuinfo\\'\\).owner | inspec shell","extra":false,"shell":"inspec"},{"key":"echo_sshd_config_params_inspec_shell.txt","command":"sshd_config.params","simulator_cmd":"echo sshd_config.params | inspec shell","extra":false,"shell":"inspec"},{"key":"echo_describe_file_root_do_it_should_exist_its_mode_should_cmp_0750_end_inspec_shell.txt","command":"describe file('/root') do\n it { should exist }\n its('mode') { should cmp '0750'}\nend","simulator_cmd":"echo describe\\ file\\(\\'/root\\'\\)\\ do'\n'\\ \\ it\\ \\{\\ should\\ exist\\ \\}'\n'\\ \\ its\\(\\'mode\\'\\)\\ \\{\\ should\\ cmp\\ \\'0750\\'\\}'\n'end | inspec shell","extra":false,"shell":"inspec"},{"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","command":"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\nend","simulator_cmd":"echo 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 | inspec shell","extra":false,"shell":"inspec"},{"key":"ls.txt","command":"ls","simulator_cmd":"ls","extra":true,"shell":"sh"},{"key":"cat_README_md.txt","command":"cat README.md","simulator_cmd":"cat README.md","extra":true,"shell":"sh"},{"key":"inspec_help_compliance.txt","command":"inspec help compliance","simulator_cmd":"inspec help compliance","extra":true,"shell":"sh"},{"key":"inspec_version.txt","command":"inspec version","simulator_cmd":"inspec version","extra":true,"shell":"sh"},{"key":"inspec_detect_format_json.txt","command":"inspec detect --format json","simulator_cmd":"inspec detect --format json","extra":true,"shell":"sh"},{"key":"inspec_exec_examples_profile_format_json.txt","command":"inspec exec examples/profile --format json","simulator_cmd":"inspec exec examples/profile --format json","extra":true,"shell":"sh"},{"key":"inspec_exec_examples_profile_format_json_jq.txt","command":"inspec exec examples/profile --format json | jq","simulator_cmd":"inspec exec examples/profile --format json | jq","extra":true,"shell":"sh"},{"key":"inspec_json_examples_profile.txt","command":"inspec json examples/profile","simulator_cmd":"inspec json examples/profile","extra":true,"shell":"sh"},{"key":"inspec_archive_examples_profile.txt","command":"inspec archive examples/profile","simulator_cmd":"inspec archive examples/profile","extra":true,"shell":"sh"}]