inspec 4.18.51 → 4.18.85
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/inspec.gemspec +15 -37
- data/lib/resource_support/aws/aws_resource_mixin.rb +1 -1
- metadata +22 -709
- data/Gemfile +0 -61
- data/LICENSE +0 -14
- data/README.md +0 -474
- data/etc/deprecations.json +0 -125
- data/etc/plugin_filters.json +0 -45
- data/lib/bundles/README.md +0 -3
- data/lib/bundles/inspec-compliance/api.rb +0 -7
- data/lib/bundles/inspec-compliance/configuration.rb +0 -7
- data/lib/bundles/inspec-compliance/http.rb +0 -7
- data/lib/bundles/inspec-compliance/support.rb +0 -7
- data/lib/bundles/inspec-compliance/target.rb +0 -7
- data/lib/bundles/inspec-supermarket.rb +0 -9
- data/lib/bundles/inspec-supermarket/README.md +0 -45
- data/lib/bundles/inspec-supermarket/api.rb +0 -87
- data/lib/bundles/inspec-supermarket/cli.rb +0 -71
- data/lib/bundles/inspec-supermarket/target.rb +0 -31
- data/lib/inspec.rb +0 -30
- data/lib/inspec/archive/tar.rb +0 -25
- data/lib/inspec/archive/zip.rb +0 -15
- data/lib/inspec/backend.rb +0 -101
- data/lib/inspec/base_cli.rb +0 -318
- data/lib/inspec/cached_fetcher.rb +0 -65
- data/lib/inspec/cli.rb +0 -469
- data/lib/inspec/completions/bash.sh.erb +0 -45
- data/lib/inspec/completions/fish.sh.erb +0 -34
- data/lib/inspec/completions/zsh.sh.erb +0 -61
- data/lib/inspec/config.rb +0 -511
- data/lib/inspec/control_eval_context.rb +0 -248
- data/lib/inspec/dependencies/cache.rb +0 -74
- data/lib/inspec/dependencies/dependency_set.rb +0 -93
- data/lib/inspec/dependencies/lockfile.rb +0 -115
- data/lib/inspec/dependencies/requirement.rb +0 -135
- data/lib/inspec/dependencies/resolver.rb +0 -86
- data/lib/inspec/describe_base.rb +0 -53
- data/lib/inspec/dist.rb +0 -20
- data/lib/inspec/dsl.rb +0 -115
- data/lib/inspec/dsl_shared.rb +0 -32
- data/lib/inspec/env_printer.rb +0 -156
- data/lib/inspec/errors.rb +0 -18
- data/lib/inspec/exceptions.rb +0 -11
- data/lib/inspec/expect.rb +0 -42
- data/lib/inspec/fetcher.rb +0 -48
- data/lib/inspec/fetcher/git.rb +0 -211
- data/lib/inspec/fetcher/local.rb +0 -116
- data/lib/inspec/fetcher/mock.rb +0 -34
- data/lib/inspec/fetcher/url.rb +0 -281
- data/lib/inspec/file_provider.rb +0 -318
- data/lib/inspec/formatters.rb +0 -3
- data/lib/inspec/formatters/base.rb +0 -269
- data/lib/inspec/formatters/json_rspec.rb +0 -20
- data/lib/inspec/formatters/show_progress.rb +0 -12
- data/lib/inspec/globals.rb +0 -9
- data/lib/inspec/impact.rb +0 -36
- data/lib/inspec/input.rb +0 -421
- data/lib/inspec/input_dsl_helpers.rb +0 -26
- data/lib/inspec/input_registry.rb +0 -315
- data/lib/inspec/library_eval_context.rb +0 -55
- data/lib/inspec/log.rb +0 -7
- data/lib/inspec/metadata.rb +0 -253
- data/lib/inspec/method_source.rb +0 -20
- data/lib/inspec/objects.rb +0 -14
- data/lib/inspec/objects/control.rb +0 -85
- data/lib/inspec/objects/describe.rb +0 -106
- data/lib/inspec/objects/each_loop.rb +0 -41
- data/lib/inspec/objects/input.rb +0 -49
- data/lib/inspec/objects/list.rb +0 -15
- data/lib/inspec/objects/or_test.rb +0 -45
- data/lib/inspec/objects/ruby_helper.rb +0 -13
- data/lib/inspec/objects/tag.rb +0 -32
- data/lib/inspec/objects/test.rb +0 -94
- data/lib/inspec/objects/value.rb +0 -32
- data/lib/inspec/plugin/v1.rb +0 -2
- data/lib/inspec/plugin/v1/plugin_types/cli.rb +0 -22
- data/lib/inspec/plugin/v1/plugin_types/fetcher.rb +0 -83
- data/lib/inspec/plugin/v1/plugin_types/resource.rb +0 -176
- data/lib/inspec/plugin/v1/plugin_types/secret.rb +0 -11
- data/lib/inspec/plugin/v1/plugin_types/source_reader.rb +0 -36
- data/lib/inspec/plugin/v1/plugins.rb +0 -59
- data/lib/inspec/plugin/v1/registry.rb +0 -90
- data/lib/inspec/plugin/v2.rb +0 -46
- data/lib/inspec/plugin/v2/activator.rb +0 -40
- data/lib/inspec/plugin/v2/config_file.rb +0 -151
- data/lib/inspec/plugin/v2/filter.rb +0 -96
- data/lib/inspec/plugin/v2/installer.rb +0 -512
- data/lib/inspec/plugin/v2/loader.rb +0 -321
- data/lib/inspec/plugin/v2/plugin_base.rb +0 -112
- data/lib/inspec/plugin/v2/plugin_types/cli.rb +0 -49
- data/lib/inspec/plugin/v2/plugin_types/dsl.rb +0 -11
- data/lib/inspec/plugin/v2/plugin_types/input.rb +0 -34
- data/lib/inspec/plugin/v2/plugin_types/mock.rb +0 -12
- data/lib/inspec/plugin/v2/registry.rb +0 -98
- data/lib/inspec/plugin/v2/status.rb +0 -29
- data/lib/inspec/profile.rb +0 -658
- data/lib/inspec/profile_context.rb +0 -203
- data/lib/inspec/profile_vendor.rb +0 -84
- data/lib/inspec/reporters.rb +0 -73
- data/lib/inspec/reporters/automate.rb +0 -78
- data/lib/inspec/reporters/base.rb +0 -25
- data/lib/inspec/reporters/cli.rb +0 -370
- data/lib/inspec/reporters/json.rb +0 -113
- data/lib/inspec/reporters/json_automate.rb +0 -80
- data/lib/inspec/reporters/json_min.rb +0 -48
- data/lib/inspec/reporters/junit.rb +0 -77
- data/lib/inspec/reporters/yaml.rb +0 -20
- data/lib/inspec/require_loader.rb +0 -29
- data/lib/inspec/resource.rb +0 -114
- data/lib/inspec/resources.rb +0 -130
- data/lib/inspec/resources/aide_conf.rb +0 -153
- data/lib/inspec/resources/apache.rb +0 -47
- data/lib/inspec/resources/apache_conf.rb +0 -156
- data/lib/inspec/resources/apt.rb +0 -151
- data/lib/inspec/resources/audit_policy.rb +0 -64
- data/lib/inspec/resources/auditd.rb +0 -251
- data/lib/inspec/resources/auditd_conf.rb +0 -45
- data/lib/inspec/resources/bash.rb +0 -33
- data/lib/inspec/resources/bond.rb +0 -70
- data/lib/inspec/resources/bridge.rb +0 -125
- data/lib/inspec/resources/bsd_service.rb +0 -2
- data/lib/inspec/resources/chocolatey_package.rb +0 -82
- data/lib/inspec/resources/command.rb +0 -91
- data/lib/inspec/resources/cpan.rb +0 -58
- data/lib/inspec/resources/cran.rb +0 -64
- data/lib/inspec/resources/crontab.rb +0 -173
- data/lib/inspec/resources/csv.rb +0 -56
- data/lib/inspec/resources/dh_params.rb +0 -83
- data/lib/inspec/resources/directory.rb +0 -23
- data/lib/inspec/resources/docker.rb +0 -274
- data/lib/inspec/resources/docker_container.rb +0 -91
- data/lib/inspec/resources/docker_image.rb +0 -84
- data/lib/inspec/resources/docker_object.rb +0 -52
- data/lib/inspec/resources/docker_plugin.rb +0 -64
- data/lib/inspec/resources/docker_service.rb +0 -91
- data/lib/inspec/resources/elasticsearch.rb +0 -165
- data/lib/inspec/resources/etc_fstab.rb +0 -96
- data/lib/inspec/resources/etc_group.rb +0 -157
- data/lib/inspec/resources/etc_hosts.rb +0 -68
- data/lib/inspec/resources/etc_hosts_allow.rb +0 -2
- data/lib/inspec/resources/etc_hosts_allow_deny.rb +0 -114
- data/lib/inspec/resources/etc_hosts_deny.rb +0 -2
- data/lib/inspec/resources/file.rb +0 -339
- data/lib/inspec/resources/filesystem.rb +0 -139
- data/lib/inspec/resources/firewalld.rb +0 -148
- data/lib/inspec/resources/gem.rb +0 -80
- data/lib/inspec/resources/group.rb +0 -2
- data/lib/inspec/resources/groups.rb +0 -241
- data/lib/inspec/resources/grub_conf.rb +0 -230
- data/lib/inspec/resources/host.rb +0 -310
- data/lib/inspec/resources/http.rb +0 -275
- data/lib/inspec/resources/iis_app.rb +0 -101
- data/lib/inspec/resources/iis_app_pool.rb +0 -127
- data/lib/inspec/resources/iis_site.rb +0 -148
- data/lib/inspec/resources/iis_website.rb +0 -2
- data/lib/inspec/resources/inetd_conf.rb +0 -53
- data/lib/inspec/resources/ini.rb +0 -28
- data/lib/inspec/resources/interface.rb +0 -204
- data/lib/inspec/resources/ip6tables.rb +0 -79
- data/lib/inspec/resources/iptables.rb +0 -80
- data/lib/inspec/resources/json.rb +0 -116
- data/lib/inspec/resources/kernel_module.rb +0 -106
- data/lib/inspec/resources/kernel_parameter.rb +0 -54
- data/lib/inspec/resources/key_rsa.rb +0 -66
- data/lib/inspec/resources/ksh.rb +0 -33
- data/lib/inspec/resources/launchd_service.rb +0 -2
- data/lib/inspec/resources/limits_conf.rb +0 -45
- data/lib/inspec/resources/linux_kernel_parameter.rb +0 -2
- data/lib/inspec/resources/login_defs.rb +0 -56
- data/lib/inspec/resources/mount.rb +0 -88
- data/lib/inspec/resources/mssql_session.rb +0 -117
- data/lib/inspec/resources/mysql.rb +0 -81
- data/lib/inspec/resources/mysql_conf.rb +0 -128
- data/lib/inspec/resources/mysql_session.rb +0 -88
- data/lib/inspec/resources/nginx.rb +0 -96
- data/lib/inspec/resources/nginx_conf.rb +0 -232
- data/lib/inspec/resources/noop.rb +0 -9
- data/lib/inspec/resources/npm.rb +0 -68
- data/lib/inspec/resources/ntp_conf.rb +0 -51
- data/lib/inspec/resources/oneget.rb +0 -71
- data/lib/inspec/resources/oracledb_session.rb +0 -149
- data/lib/inspec/resources/os.rb +0 -34
- data/lib/inspec/resources/os_env.rb +0 -86
- data/lib/inspec/resources/package.rb +0 -391
- data/lib/inspec/resources/packages.rb +0 -111
- data/lib/inspec/resources/parse_config.rb +0 -112
- data/lib/inspec/resources/parse_config_file.rb +0 -2
- data/lib/inspec/resources/passwd.rb +0 -73
- data/lib/inspec/resources/pip.rb +0 -132
- data/lib/inspec/resources/platform.rb +0 -112
- data/lib/inspec/resources/port.rb +0 -791
- data/lib/inspec/resources/postfix_conf.rb +0 -35
- data/lib/inspec/resources/postgres.rb +0 -152
- data/lib/inspec/resources/postgres_conf.rb +0 -116
- data/lib/inspec/resources/postgres_hba_conf.rb +0 -86
- data/lib/inspec/resources/postgres_ident_conf.rb +0 -75
- data/lib/inspec/resources/postgres_session.rb +0 -70
- data/lib/inspec/resources/powershell.rb +0 -67
- data/lib/inspec/resources/ppa.rb +0 -2
- data/lib/inspec/resources/processes.rb +0 -219
- data/lib/inspec/resources/rabbitmq_conf.rb +0 -2
- data/lib/inspec/resources/rabbitmq_config.rb +0 -52
- data/lib/inspec/resources/registry_key.rb +0 -296
- data/lib/inspec/resources/runit_service.rb +0 -2
- data/lib/inspec/resources/script.rb +0 -1
- data/lib/inspec/resources/security_identifier.rb +0 -91
- data/lib/inspec/resources/security_policy.rb +0 -182
- data/lib/inspec/resources/service.rb +0 -820
- data/lib/inspec/resources/shadow.rb +0 -150
- data/lib/inspec/resources/ssh_config.rb +0 -98
- data/lib/inspec/resources/sshd_config.rb +0 -2
- data/lib/inspec/resources/ssl.rb +0 -99
- data/lib/inspec/resources/sys_info.rb +0 -119
- data/lib/inspec/resources/systemd_service.rb +0 -2
- data/lib/inspec/resources/sysv_service.rb +0 -2
- data/lib/inspec/resources/toml.rb +0 -30
- data/lib/inspec/resources/upstart_service.rb +0 -2
- data/lib/inspec/resources/user.rb +0 -1
- data/lib/inspec/resources/users.rb +0 -742
- data/lib/inspec/resources/vbscript.rb +0 -67
- data/lib/inspec/resources/virtualization.rb +0 -255
- data/lib/inspec/resources/windows_feature.rb +0 -126
- data/lib/inspec/resources/windows_hotfix.rb +0 -37
- data/lib/inspec/resources/windows_registry_key.rb +0 -2
- data/lib/inspec/resources/windows_task.rb +0 -112
- data/lib/inspec/resources/wmi.rb +0 -109
- data/lib/inspec/resources/x509_certificate.rb +0 -143
- data/lib/inspec/resources/xinetd_conf.rb +0 -103
- data/lib/inspec/resources/xml.rb +0 -48
- data/lib/inspec/resources/yaml.rb +0 -42
- data/lib/inspec/resources/yum.rb +0 -162
- data/lib/inspec/resources/zfs_dataset.rb +0 -62
- data/lib/inspec/resources/zfs_pool.rb +0 -50
- data/lib/inspec/rspec_extensions.rb +0 -116
- data/lib/inspec/rule.rb +0 -389
- data/lib/inspec/runner.rb +0 -333
- data/lib/inspec/runner_mock.rb +0 -37
- data/lib/inspec/runner_rspec.rb +0 -184
- data/lib/inspec/runtime_profile.rb +0 -23
- data/lib/inspec/schema.rb +0 -245
- data/lib/inspec/secrets.rb +0 -15
- data/lib/inspec/secrets/yaml.rb +0 -29
- data/lib/inspec/shell.rb +0 -211
- data/lib/inspec/shell_detector.rb +0 -89
- data/lib/inspec/source_reader.rb +0 -26
- data/lib/inspec/ui.rb +0 -213
- data/lib/inspec/ui_table_helper.rb +0 -12
- data/lib/inspec/utils/command_wrapper.rb +0 -23
- data/lib/inspec/utils/convert.rb +0 -8
- data/lib/inspec/utils/database_helpers.rb +0 -75
- data/lib/inspec/utils/deprecation.rb +0 -6
- data/lib/inspec/utils/deprecation/config_file.rb +0 -109
- data/lib/inspec/utils/deprecation/deprecator.rb +0 -118
- data/lib/inspec/utils/deprecation/errors.rb +0 -14
- data/lib/inspec/utils/deprecation/global_method.rb +0 -9
- data/lib/inspec/utils/enumerable_delegation.rb +0 -7
- data/lib/inspec/utils/erlang_parser.rb +0 -190
- data/lib/inspec/utils/file_reader.rb +0 -24
- data/lib/inspec/utils/filter.rb +0 -461
- data/lib/inspec/utils/filter_array.rb +0 -25
- data/lib/inspec/utils/find_files.rb +0 -44
- data/lib/inspec/utils/hash.rb +0 -37
- data/lib/inspec/utils/json_log.rb +0 -15
- data/lib/inspec/utils/modulator.rb +0 -9
- data/lib/inspec/utils/nginx_parser.rb +0 -101
- data/lib/inspec/utils/object_traversal.rb +0 -47
- data/lib/inspec/utils/parser.rb +0 -277
- data/lib/inspec/utils/pkey_reader.rb +0 -17
- data/lib/inspec/utils/simpleconfig.rb +0 -121
- data/lib/inspec/utils/spdx.rb +0 -10
- data/lib/inspec/utils/spdx.txt +0 -383
- data/lib/inspec/utils/telemetry.rb +0 -3
- data/lib/inspec/utils/telemetry/collector.rb +0 -81
- data/lib/inspec/utils/telemetry/data_series.rb +0 -44
- data/lib/inspec/utils/telemetry/global_methods.rb +0 -22
- data/lib/inspec/version.rb +0 -3
- data/lib/matchers/matchers.rb +0 -341
- data/lib/plugins/README.md +0 -16
- data/lib/plugins/inspec-artifact/lib/inspec-artifact.rb +0 -12
- data/lib/plugins/inspec-artifact/lib/inspec-artifact/base.rb +0 -170
- data/lib/plugins/inspec-artifact/lib/inspec-artifact/cli.rb +0 -116
- data/lib/plugins/inspec-artifact/test/functional/inspec_artifact_test.rb +0 -50
- data/lib/plugins/inspec-compliance/README.md +0 -207
- data/lib/plugins/inspec-compliance/lib/inspec-compliance.rb +0 -12
- data/lib/plugins/inspec-compliance/lib/inspec-compliance/api.rb +0 -362
- data/lib/plugins/inspec-compliance/lib/inspec-compliance/api/login.rb +0 -198
- data/lib/plugins/inspec-compliance/lib/inspec-compliance/cli.rb +0 -269
- data/lib/plugins/inspec-compliance/lib/inspec-compliance/configuration.rb +0 -103
- data/lib/plugins/inspec-compliance/lib/inspec-compliance/http.rb +0 -117
- data/lib/plugins/inspec-compliance/lib/inspec-compliance/images/cc-token.png +0 -0
- data/lib/plugins/inspec-compliance/lib/inspec-compliance/support.rb +0 -34
- data/lib/plugins/inspec-compliance/lib/inspec-compliance/target.rb +0 -146
- data/lib/plugins/inspec-compliance/test/functional/inspec_compliance_test.rb +0 -53
- data/lib/plugins/inspec-compliance/test/integration/default/cli.rb +0 -91
- data/lib/plugins/inspec-compliance/test/unit/api/login_test.rb +0 -190
- data/lib/plugins/inspec-compliance/test/unit/api_test.rb +0 -386
- data/lib/plugins/inspec-compliance/test/unit/target_test.rb +0 -155
- data/lib/plugins/inspec-habitat/Berksfile +0 -5
- data/lib/plugins/inspec-habitat/README.md +0 -150
- data/lib/plugins/inspec-habitat/kitchen.yml +0 -28
- data/lib/plugins/inspec-habitat/lib/inspec-habitat.rb +0 -11
- data/lib/plugins/inspec-habitat/lib/inspec-habitat/cli.rb +0 -41
- data/lib/plugins/inspec-habitat/lib/inspec-habitat/profile.rb +0 -265
- data/lib/plugins/inspec-habitat/templates/habitat/plan.sh.erb +0 -6
- data/lib/plugins/inspec-habitat/test/cookbooks/inspec_habitat_fixture/Berksfile +0 -2
- data/lib/plugins/inspec-habitat/test/cookbooks/inspec_habitat_fixture/README.md +0 -3
- data/lib/plugins/inspec-habitat/test/cookbooks/inspec_habitat_fixture/files/hab_setup.exp +0 -28
- data/lib/plugins/inspec-habitat/test/cookbooks/inspec_habitat_fixture/metadata.rb +0 -9
- data/lib/plugins/inspec-habitat/test/cookbooks/inspec_habitat_fixture/recipes/default.rb +0 -61
- data/lib/plugins/inspec-habitat/test/functional/inspec_habitat_test.rb +0 -34
- data/lib/plugins/inspec-habitat/test/integration/default/inspec_habitat/README.md +0 -3
- data/lib/plugins/inspec-habitat/test/integration/default/inspec_habitat/controls/inspec_habitat.rb +0 -40
- data/lib/plugins/inspec-habitat/test/integration/default/inspec_habitat/inspec.yml +0 -10
- data/lib/plugins/inspec-habitat/test/support/example_profile/README.md +0 -3
- data/lib/plugins/inspec-habitat/test/support/example_profile/controls/example.rb +0 -7
- data/lib/plugins/inspec-habitat/test/support/example_profile/inspec.yml +0 -10
- data/lib/plugins/inspec-habitat/test/unit/profile_test.rb +0 -242
- data/lib/plugins/inspec-init/README.md +0 -31
- data/lib/plugins/inspec-init/lib/inspec-init.rb +0 -12
- data/lib/plugins/inspec-init/lib/inspec-init/cli.rb +0 -15
- data/lib/plugins/inspec-init/lib/inspec-init/cli_plugin.rb +0 -243
- data/lib/plugins/inspec-init/lib/inspec-init/cli_profile.rb +0 -47
- data/lib/plugins/inspec-init/lib/inspec-init/renderer.rb +0 -97
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/Gemfile +0 -11
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/LICENSE +0 -2
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/README.md +0 -28
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/Rakefile +0 -40
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/lib/inspec-plugin-template.rb +0 -14
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/lib/inspec-plugin-template/cli_command.rb +0 -62
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/lib/inspec-plugin-template/plugin.rb +0 -53
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/lib/inspec-plugin-template/version.rb +0 -8
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/test/fixtures/README.md +0 -24
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/test/functional/README.md +0 -12
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/test/functional/inspec_plugin_template_test.rb +0 -110
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/test/helper.rb +0 -24
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/test/unit/README.md +0 -17
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/test/unit/cli_args_test.rb +0 -67
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/test/unit/plugin_def_test.rb +0 -51
- data/lib/plugins/inspec-init/templates/profiles/aws/libraries/.gitkeep +0 -0
- data/lib/plugins/inspec-init/templates/profiles/azure/libraries/.gitkeep +0 -0
- data/lib/plugins/inspec-init/templates/profiles/gcp/libraries/.gitkeep +0 -0
- data/lib/plugins/inspec-init/templates/profiles/os/README.md +0 -3
- data/lib/plugins/inspec-init/templates/profiles/os/controls/example.rb +0 -18
- data/lib/plugins/inspec-init/templates/profiles/os/inspec.yml +0 -10
- data/lib/plugins/inspec-init/templates/profiles/os/libraries/.gitkeep +0 -0
- data/lib/plugins/inspec-init/test/functional/inspec_init_plugin_test.rb +0 -184
- data/lib/plugins/inspec-init/test/functional/inspec_init_profile_test.rb +0 -121
- data/lib/plugins/inspec-plugin-manager-cli/README.md +0 -6
- data/lib/plugins/inspec-plugin-manager-cli/lib/inspec-plugin-manager-cli.rb +0 -17
- data/lib/plugins/inspec-plugin-manager-cli/lib/inspec-plugin-manager-cli/cli_command.rb +0 -518
- data/lib/plugins/inspec-plugin-manager-cli/lib/inspec-plugin-manager-cli/plugin.rb +0 -12
- data/lib/plugins/inspec-plugin-manager-cli/test/fixtures/config_dirs/empty/.gitkeep +0 -0
- data/lib/plugins/inspec-plugin-manager-cli/test/fixtures/plugins/inspec-egg-white-omelette/lib/inspec-egg-white-omelette.rb +0 -2
- data/lib/plugins/inspec-plugin-manager-cli/test/fixtures/plugins/inspec-egg-white-omelette/lib/inspec-egg-white-omelette/.gitkeep +0 -0
- data/lib/plugins/inspec-plugin-manager-cli/test/fixtures/plugins/inspec-wrong-structure/.gitkeep +0 -0
- data/lib/plugins/inspec-plugin-manager-cli/test/fixtures/plugins/wrong-name/lib/wrong-name.rb +0 -1
- data/lib/plugins/inspec-plugin-manager-cli/test/fixtures/plugins/wrong-name/lib/wrong-name/.gitkeep +0 -0
- data/lib/plugins/inspec-plugin-manager-cli/test/functional/help_test.rb +0 -23
- data/lib/plugins/inspec-plugin-manager-cli/test/functional/helper.rb +0 -62
- data/lib/plugins/inspec-plugin-manager-cli/test/functional/install_test.rb +0 -368
- data/lib/plugins/inspec-plugin-manager-cli/test/functional/list_test.rb +0 -101
- data/lib/plugins/inspec-plugin-manager-cli/test/functional/search_test.rb +0 -129
- data/lib/plugins/inspec-plugin-manager-cli/test/functional/uninstall_test.rb +0 -63
- data/lib/plugins/inspec-plugin-manager-cli/test/functional/update_test.rb +0 -84
- data/lib/plugins/inspec-plugin-manager-cli/test/unit/cli_args_test.rb +0 -77
- data/lib/plugins/inspec-plugin-manager-cli/test/unit/plugin_def_test.rb +0 -39
- data/lib/plugins/shared/core_plugin_test_helper.rb +0 -153
- data/lib/plugins/things-for-train-integration.rb +0 -14
- data/lib/source_readers/flat.rb +0 -36
- data/lib/source_readers/inspec.rb +0 -66
@@ -1,88 +0,0 @@
|
|
1
|
-
# copyright: 2015, Vulcano Security GmbH
|
2
|
-
|
3
|
-
require "inspec/resources/command"
|
4
|
-
require "shellwords"
|
5
|
-
|
6
|
-
module Inspec::Resources
|
7
|
-
class MysqlSession < Inspec.resource(1)
|
8
|
-
name "mysql_session"
|
9
|
-
supports platform: "unix"
|
10
|
-
supports platform: "windows"
|
11
|
-
desc "Use the mysql_session InSpec audit resource to test SQL commands run against a MySQL database."
|
12
|
-
example <<~EXAMPLE
|
13
|
-
sql = mysql_session('my_user','password','host')
|
14
|
-
describe sql.query('show databases like \'test\';') do
|
15
|
-
its('stdout') { should_not match(/test/) }
|
16
|
-
end
|
17
|
-
EXAMPLE
|
18
|
-
|
19
|
-
def initialize(user = nil, pass = nil, host = "localhost", port = nil, socket = nil)
|
20
|
-
@user = user
|
21
|
-
@pass = pass
|
22
|
-
@host = host
|
23
|
-
@port = port
|
24
|
-
@socket = socket
|
25
|
-
init_fallback if user.nil? || pass.nil?
|
26
|
-
skip_resource("Can't run MySQL SQL checks without authentication") if @user.nil? || @pass.nil?
|
27
|
-
end
|
28
|
-
|
29
|
-
def query(q, db = "")
|
30
|
-
mysql_cmd = create_mysql_cmd(q, db)
|
31
|
-
cmd = inspec.command(mysql_cmd)
|
32
|
-
out = cmd.stdout + "\n" + cmd.stderr
|
33
|
-
if out =~ /Can't connect to .* MySQL server/ || out.downcase =~ /^error /
|
34
|
-
# skip this test if the server can't run the query
|
35
|
-
warn("Can't connect to MySQL instance for SQL checks.")
|
36
|
-
end
|
37
|
-
|
38
|
-
# return the raw command output
|
39
|
-
cmd
|
40
|
-
end
|
41
|
-
|
42
|
-
def to_s
|
43
|
-
"MySQL Session"
|
44
|
-
end
|
45
|
-
|
46
|
-
private
|
47
|
-
|
48
|
-
def escape_string(query)
|
49
|
-
Shellwords.escape(query)
|
50
|
-
end
|
51
|
-
|
52
|
-
def create_mysql_cmd(q, db = "")
|
53
|
-
# TODO: simple escape, must be handled by a library
|
54
|
-
# that does this securely
|
55
|
-
escaped_query = q.gsub(/\\/, '\\\\').gsub(/"/, '\\"').gsub(/\$/, '\\$')
|
56
|
-
|
57
|
-
# construct the query
|
58
|
-
command = "mysql"
|
59
|
-
command += " -u#{escape_string(@user)}" unless @user.nil?
|
60
|
-
command += " -p#{escape_string(@pass)}" unless @pass.nil?
|
61
|
-
|
62
|
-
if !@socket.nil?
|
63
|
-
command += " -S #{@socket}"
|
64
|
-
else
|
65
|
-
command += " -h #{@host}"
|
66
|
-
end
|
67
|
-
command += " --port #{@port}" unless @port.nil?
|
68
|
-
command += " #{db}" unless db.empty?
|
69
|
-
command += %{ -s -e "#{escaped_query}"}
|
70
|
-
command
|
71
|
-
end
|
72
|
-
|
73
|
-
def init_fallback
|
74
|
-
# support debian mysql administration login
|
75
|
-
return if inspec.platform.in_family?("windows")
|
76
|
-
|
77
|
-
debian = inspec.command("test -f /etc/mysql/debian.cnf && cat /etc/mysql/debian.cnf").stdout
|
78
|
-
return if debian.empty?
|
79
|
-
|
80
|
-
user = debian.match(/^\s*user\s*=\s*([^ ]*)\s*$/)
|
81
|
-
pass = debian.match(/^\s*password\s*=\s*([^ ]*)\s*$/)
|
82
|
-
return if user.nil? || pass.nil?
|
83
|
-
|
84
|
-
@user = user[1]
|
85
|
-
@pass = pass[1]
|
86
|
-
end
|
87
|
-
end
|
88
|
-
end
|
@@ -1,96 +0,0 @@
|
|
1
|
-
require "pathname"
|
2
|
-
require "hashie/mash"
|
3
|
-
require "inspec/resources/command"
|
4
|
-
|
5
|
-
module Inspec::Resources
|
6
|
-
class Nginx < Inspec.resource(1)
|
7
|
-
name "nginx"
|
8
|
-
supports platform: "unix"
|
9
|
-
desc "Use the nginx InSpec audit resource to test information about your NGINX instance."
|
10
|
-
example <<~EXAMPLE
|
11
|
-
describe nginx do
|
12
|
-
its('conf_path') { should cmp '/etc/nginx/nginx.conf' }
|
13
|
-
end
|
14
|
-
describe nginx('/etc/sbin/') do
|
15
|
-
its('version') { should be >= '1.0.0' }
|
16
|
-
end
|
17
|
-
describe nginx do
|
18
|
-
its('modules') { should include 'my_module' }
|
19
|
-
end
|
20
|
-
EXAMPLE
|
21
|
-
attr_reader :params, :bin_dir
|
22
|
-
|
23
|
-
def initialize(nginx_path = "/usr/sbin/nginx")
|
24
|
-
return skip_resource "The `nginx` resource is not yet available on your OS." if inspec.os.windows?
|
25
|
-
return skip_resource "The `nginx` binary not found in the path provided." unless inspec.command(nginx_path).exist?
|
26
|
-
|
27
|
-
cmd = inspec.command("#{nginx_path} -V 2>&1")
|
28
|
-
if cmd.exit_status != 0
|
29
|
-
return skip_resource "Error using the command nginx -V"
|
30
|
-
end
|
31
|
-
|
32
|
-
@data = cmd.stdout
|
33
|
-
@params = {}
|
34
|
-
read_content
|
35
|
-
end
|
36
|
-
|
37
|
-
%w{error_log_path http_client_body_temp_path http_fastcgi_temp_path http_log_path http_proxy_temp_path http_scgi_temp_path http_uwsgi_temp_path lock_path modules_path prefix sbin_path service version}.each do |property|
|
38
|
-
define_method(property.to_sym) do
|
39
|
-
@params[property.to_sym]
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
def openssl_version
|
44
|
-
result = @data.scan(/built with OpenSSL\s(\S+)\s(\d+\s\S+\s\d{4})/).flatten
|
45
|
-
Hashie::Mash.new({ "version" => result[0], "date" => result[1] })
|
46
|
-
end
|
47
|
-
|
48
|
-
def compiler_info
|
49
|
-
result = @data.scan(/built by (\S+)\s(\S+)\s(\S+)/).flatten
|
50
|
-
Hashie::Mash.new({ "compiler" => result[0], "version" => result[1], "date" => result[2] })
|
51
|
-
end
|
52
|
-
|
53
|
-
def support_info
|
54
|
-
support_info = @data.scan(/(.*\S+) support enabled/).flatten
|
55
|
-
support_info.empty? ? nil : support_info.join(" ")
|
56
|
-
end
|
57
|
-
|
58
|
-
def modules
|
59
|
-
@data.scan(/--with-(\S+)_module/).flatten
|
60
|
-
end
|
61
|
-
|
62
|
-
def to_s
|
63
|
-
"Nginx Environment"
|
64
|
-
end
|
65
|
-
|
66
|
-
private
|
67
|
-
|
68
|
-
def read_content
|
69
|
-
parse_config
|
70
|
-
parse_path
|
71
|
-
parse_http_path
|
72
|
-
end
|
73
|
-
|
74
|
-
def parse_config
|
75
|
-
@params[:prefix] = @data.scan(/--prefix=(\S+)\s/).flatten.first
|
76
|
-
@params[:service] = "nginx"
|
77
|
-
@params[:version] = @data.scan(%r{nginx version: nginx\/(\S+)\s}).flatten.first
|
78
|
-
end
|
79
|
-
|
80
|
-
def parse_path
|
81
|
-
@params[:sbin_path] = @data.scan(/--sbin-path=(\S+)\s/).flatten.first
|
82
|
-
@params[:modules_path] = @data.scan(/--modules-path=(\S+)\s/).flatten.first
|
83
|
-
@params[:error_log_path] = @data.scan(/--error-log-path=(\S+)\s/).flatten.first
|
84
|
-
@params[:http_log_path] = @data.scan(/--http-log-path=(\S+)\s/).flatten.first
|
85
|
-
@params[:lock_path] = @data.scan(/--lock-path=(\S+)\s/).flatten.first
|
86
|
-
end
|
87
|
-
|
88
|
-
def parse_http_path
|
89
|
-
@params[:http_client_body_temp_path] = @data.scan(/--http-client-body-temp-path=(\S+)\s/).flatten.first
|
90
|
-
@params[:http_proxy_temp_path] = @data.scan(/--http-proxy-temp-path=(\S+)\s/).flatten.first
|
91
|
-
@params[:http_fastcgi_temp_path] = @data.scan(/--http-fastcgi-temp-path=(\S+)\s/).flatten.first
|
92
|
-
@params[:http_uwsgi_temp_path] = @data.scan(/--http-uwsgi-temp-path=(\S+)\s/).flatten.first
|
93
|
-
@params[:http_scgi_temp_path] = @data.scan(/--http-scgi-temp-path=(\S+)\s/).flatten.first
|
94
|
-
end
|
95
|
-
end
|
96
|
-
end
|
@@ -1,232 +0,0 @@
|
|
1
|
-
require "inspec/utils/nginx_parser"
|
2
|
-
require "inspec/utils/find_files"
|
3
|
-
require "inspec/utils/file_reader"
|
4
|
-
require "forwardable"
|
5
|
-
|
6
|
-
# STABILITY: Experimental
|
7
|
-
# This resouce needs a proper interace to the underlying data, which is currently missing.
|
8
|
-
# Until it is added, we will keep it experimental.
|
9
|
-
#
|
10
|
-
# TODO: Support it on Windows. To do so, we need to recognize the base os and how
|
11
|
-
# it combines the file path. Calling `File.join` or similar methods may lead to errors
|
12
|
-
# when running remotely.
|
13
|
-
module Inspec::Resources
|
14
|
-
class NginxConf < Inspec.resource(1)
|
15
|
-
name "nginx_conf"
|
16
|
-
supports platform: "unix"
|
17
|
-
desc "Use the nginx_conf InSpec resource to test configuration data "\
|
18
|
-
"for the NginX web server located in /etc/nginx/nginx.conf on "\
|
19
|
-
"Linux and UNIX platforms."
|
20
|
-
example <<~EXAMPLE
|
21
|
-
describe nginx_conf.params ...
|
22
|
-
describe nginx_conf('/path/to/my/nginx.conf').params ...
|
23
|
-
EXAMPLE
|
24
|
-
|
25
|
-
extend Forwardable
|
26
|
-
|
27
|
-
include FindFiles
|
28
|
-
include FileReader
|
29
|
-
|
30
|
-
attr_reader :contents
|
31
|
-
|
32
|
-
def initialize(conf_path = nil)
|
33
|
-
@conf_path = conf_path || "/etc/nginx/nginx.conf"
|
34
|
-
@contents = {}
|
35
|
-
return skip_resource "The `nginx_conf` resource is currently not supported on Windows." if inspec.os.windows?
|
36
|
-
|
37
|
-
read_content(@conf_path)
|
38
|
-
end
|
39
|
-
|
40
|
-
def params
|
41
|
-
@params ||= parse_nginx(@conf_path)
|
42
|
-
rescue StandardError => e
|
43
|
-
skip_resource e.message
|
44
|
-
@params = {}
|
45
|
-
end
|
46
|
-
|
47
|
-
def http
|
48
|
-
NginxConfHttp.new(params["http"], self)
|
49
|
-
end
|
50
|
-
|
51
|
-
def_delegators :http, :servers, :locations
|
52
|
-
|
53
|
-
def to_s
|
54
|
-
"nginx_conf #{@conf_path}"
|
55
|
-
end
|
56
|
-
|
57
|
-
private
|
58
|
-
|
59
|
-
def read_content(path)
|
60
|
-
return @contents[path] if @contents.key?(path)
|
61
|
-
|
62
|
-
@contents[path] = read_file_content(path, allow_empty: true)
|
63
|
-
end
|
64
|
-
|
65
|
-
def parse_nginx(path)
|
66
|
-
return nil if inspec.os.windows?
|
67
|
-
|
68
|
-
content = read_content(path)
|
69
|
-
|
70
|
-
# Don't attempt to parse file if it contains only comments or is empty
|
71
|
-
# https://regexper.com/#%2F%5E%5Cs*%23%7C%5E%24%2F
|
72
|
-
return {} if content.lines.reject { |l| l =~ /^\s*#|^$/ }.empty?
|
73
|
-
|
74
|
-
data = NginxConfig.parse(content)
|
75
|
-
resolve_references(data, File.dirname(path))
|
76
|
-
rescue StandardError => _
|
77
|
-
raise "Cannot parse NginX config in #{path}."
|
78
|
-
end
|
79
|
-
|
80
|
-
# Cycle through the complete parsed data structure and try to find any
|
81
|
-
# calls to `include`. In NginX, this is used to embed data from other
|
82
|
-
# files into the current data structure.
|
83
|
-
#
|
84
|
-
# The method steps through the object structure that is passed in to
|
85
|
-
# find any calls to 'include' and returns the object structure with the
|
86
|
-
# included data merged in.
|
87
|
-
#
|
88
|
-
# @param data [Hash] data structure from NginxConfig.parse
|
89
|
-
# @param rel_path [String] the relative path from which this config is read
|
90
|
-
# @return [Hash] data structure with references included
|
91
|
-
def resolve_references(data, rel_path)
|
92
|
-
# Walk through all array entries to find more references
|
93
|
-
return data.map { |x| resolve_references(x, rel_path) } if data.is_a?(Array)
|
94
|
-
|
95
|
-
# Return any data that we cannot step into to find more `include` calls
|
96
|
-
return data unless data.is_a?(Hash)
|
97
|
-
|
98
|
-
# Any call to `include` gets its data read, parsed, and merged back
|
99
|
-
# into the current data structure
|
100
|
-
if data.key?("include")
|
101
|
-
data.delete("include").flatten
|
102
|
-
.map { |x| File.expand_path(x, rel_path) }
|
103
|
-
.map { |x| find_files(x) }.flatten
|
104
|
-
.map { |path| parse_nginx(path) }
|
105
|
-
.each { |conf| merge_config!(data, conf) }
|
106
|
-
end
|
107
|
-
|
108
|
-
# Walk through the remaining hash fields to find more references
|
109
|
-
Hash[data.map { |k, v| [k, resolve_references(v, rel_path)] }]
|
110
|
-
end
|
111
|
-
|
112
|
-
# Deep merge fields from NginxConfig.parse.
|
113
|
-
# A regular merge would overwrite values so a deep merge is needed.
|
114
|
-
# @param data [Hash] data structure from NginxConfig.parse
|
115
|
-
# @param conf [Hash] data structure to be deep merged into data
|
116
|
-
# @return [Hash] data structure with conf and data deep merged
|
117
|
-
def merge_config!(data, conf)
|
118
|
-
# Catch edge-cases
|
119
|
-
return if data.nil? || conf.nil?
|
120
|
-
|
121
|
-
# Step through all conf items and create combined return value
|
122
|
-
data.merge!(conf) do |_, v1, v2|
|
123
|
-
if v1.is_a?(Array) && v2.is_a?(Array)
|
124
|
-
# If both the data field and the conf field are arrays, then combine them
|
125
|
-
v1 + v2
|
126
|
-
elsif v1.is_a?(Hash) && v2.is_a?(Hash)
|
127
|
-
# If both the data field and the conf field are maps, then deep merge them
|
128
|
-
merge_config!(v1, v2)
|
129
|
-
else
|
130
|
-
# All other cases, just use the new value (regular merge behavior)
|
131
|
-
v2
|
132
|
-
end
|
133
|
-
end
|
134
|
-
end
|
135
|
-
end
|
136
|
-
|
137
|
-
class NginxConfHttp
|
138
|
-
attr_reader :entries
|
139
|
-
def initialize(params, parent)
|
140
|
-
@parent = parent
|
141
|
-
@entries = (params || []).map { |x| NginxConfHttpEntry.new(x, parent) }
|
142
|
-
end
|
143
|
-
|
144
|
-
def servers
|
145
|
-
@entries.map(&:servers).flatten
|
146
|
-
end
|
147
|
-
|
148
|
-
def locations
|
149
|
-
servers.map(&:locations).flatten
|
150
|
-
end
|
151
|
-
|
152
|
-
def to_s
|
153
|
-
@parent.to_s + ", http entries"
|
154
|
-
end
|
155
|
-
alias inspect to_s
|
156
|
-
end
|
157
|
-
|
158
|
-
class NginxConfHttpEntry
|
159
|
-
attr_reader :params, :parent
|
160
|
-
def initialize(params, parent)
|
161
|
-
@params = params || {}
|
162
|
-
@parent = parent
|
163
|
-
end
|
164
|
-
|
165
|
-
filter = FilterTable.create
|
166
|
-
filter.register_column(:servers, field: "server")
|
167
|
-
.install_filter_methods_on_resource(self, :server_table)
|
168
|
-
|
169
|
-
def locations
|
170
|
-
servers.map(&:locations).flatten
|
171
|
-
end
|
172
|
-
|
173
|
-
def to_s
|
174
|
-
@parent.to_s + ", http entry"
|
175
|
-
end
|
176
|
-
alias inspect to_s
|
177
|
-
|
178
|
-
private
|
179
|
-
|
180
|
-
def server_table
|
181
|
-
@server_table ||= (params["server"] || []).map { |x| { "server" => NginxConfServer.new(x, self) } }
|
182
|
-
end
|
183
|
-
end
|
184
|
-
|
185
|
-
class NginxConfServer # TODO: rename NginxServer
|
186
|
-
attr_reader :params, :parent
|
187
|
-
def initialize(params, parent)
|
188
|
-
@parent = parent
|
189
|
-
@params = params || {}
|
190
|
-
end
|
191
|
-
|
192
|
-
filter = FilterTable.create
|
193
|
-
filter.register_column(:locations, field: "location")
|
194
|
-
.install_filter_methods_on_resource(self, :location_table)
|
195
|
-
|
196
|
-
def to_s
|
197
|
-
server = ""
|
198
|
-
name = Array(params["server_name"]).flatten.first
|
199
|
-
unless name.nil?
|
200
|
-
server += name
|
201
|
-
listen = Array(params["listen"]).flatten.first
|
202
|
-
server += ":#{listen}" unless listen.nil?
|
203
|
-
end
|
204
|
-
|
205
|
-
# go two levels up: 1. to the http entry and 2. to the root nginx conf
|
206
|
-
@parent.parent.to_s + ", server #{server}"
|
207
|
-
end
|
208
|
-
alias inspect to_s
|
209
|
-
|
210
|
-
private
|
211
|
-
|
212
|
-
def location_table
|
213
|
-
@location_table ||= (params["location"] || []).map { |x| { "location" => NginxConfLocation.new(x, self) } }
|
214
|
-
end
|
215
|
-
end
|
216
|
-
|
217
|
-
class NginxConfLocation
|
218
|
-
attr_reader :params, :parent
|
219
|
-
def initialize(params, parent)
|
220
|
-
@parent = parent
|
221
|
-
@params = params || {}
|
222
|
-
end
|
223
|
-
|
224
|
-
def to_s
|
225
|
-
location = Array(params["_"]).join(" ")
|
226
|
-
# go three levels up: 1. to the server entry, 2. http entry and 3. to the root nginx conf
|
227
|
-
# TODO: fix parent.parent.parent
|
228
|
-
@parent.parent.parent.to_s + ", location #{location.inspect}"
|
229
|
-
end
|
230
|
-
alias inspect to_s
|
231
|
-
end
|
232
|
-
end
|
data/lib/inspec/resources/npm.rb
DELETED
@@ -1,68 +0,0 @@
|
|
1
|
-
require "inspec/resources/command"
|
2
|
-
require "shellwords"
|
3
|
-
|
4
|
-
module Inspec::Resources
|
5
|
-
class NpmPackage < Inspec.resource(1)
|
6
|
-
name "npm"
|
7
|
-
supports platform: "unix"
|
8
|
-
supports platform: "windows"
|
9
|
-
desc "Use the npm InSpec audit resource to test if a global npm package is installed. npm is the the package manager for Nodejs packages, such as bower and StatsD."
|
10
|
-
example <<~EXAMPLE
|
11
|
-
describe npm('bower') do
|
12
|
-
it { should be_installed }
|
13
|
-
end
|
14
|
-
|
15
|
-
describe npm('tar', path: '/path/to/project') do
|
16
|
-
it { should be_installed }
|
17
|
-
end
|
18
|
-
EXAMPLE
|
19
|
-
|
20
|
-
def initialize(package_name, opts = {})
|
21
|
-
@package_name = package_name
|
22
|
-
@location = opts[:path]
|
23
|
-
@cache = nil
|
24
|
-
end
|
25
|
-
|
26
|
-
def info
|
27
|
-
return @info if defined?(@info)
|
28
|
-
|
29
|
-
if @location
|
30
|
-
command_separator = inspec.os.platform?("windows") ? ";" : "&&"
|
31
|
-
invocation = "cd #{Shellwords.escape @location} #{command_separator} npm"
|
32
|
-
else
|
33
|
-
invocation = "npm -g"
|
34
|
-
end
|
35
|
-
|
36
|
-
invocation = "#{invocation} ls --json #{@package_name}"
|
37
|
-
|
38
|
-
# If on unix, wrap in sh -c to protect against sudo
|
39
|
-
unless inspec.os.platform?("windows")
|
40
|
-
invocation = "sh -c '#{invocation}'"
|
41
|
-
end
|
42
|
-
|
43
|
-
cmd = inspec.command(invocation)
|
44
|
-
@info = {
|
45
|
-
name: @package_name,
|
46
|
-
type: "npm",
|
47
|
-
installed: cmd.exit_status == 0,
|
48
|
-
}
|
49
|
-
return @info unless @info[:installed]
|
50
|
-
|
51
|
-
pkgs = JSON.parse(cmd.stdout)
|
52
|
-
@info[:version] = pkgs["dependencies"][@package_name]["version"]
|
53
|
-
@info
|
54
|
-
end
|
55
|
-
|
56
|
-
def installed?
|
57
|
-
info[:installed] == true
|
58
|
-
end
|
59
|
-
|
60
|
-
def version
|
61
|
-
info[:version]
|
62
|
-
end
|
63
|
-
|
64
|
-
def to_s
|
65
|
-
"Npm Package #{@package_name}"
|
66
|
-
end
|
67
|
-
end
|
68
|
-
end
|