troubadix 25.4.1__tar.gz → 25.4.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {troubadix-25.4.1 → troubadix-25.4.2}/PKG-INFO +1 -1
- {troubadix-25.4.1 → troubadix-25.4.2}/pyproject.toml +1 -1
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_creation_date.py +63 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_script_version_and_last_modification_tags.py +60 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/__version__.py +1 -1
- {troubadix-25.4.1 → troubadix-25.4.2}/LICENSE +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/README.md +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/__init__.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/helper/__init__.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/helper/test_linguistic_exception_handler.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/helper/test_patterns.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/__init__.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/fail.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/fail2.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_badwords.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_copyright_text.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_copyright_year.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_cve_format.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_cvss_format.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_dependencies.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_dependency_category_order.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_deprecated_dependency.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_deprecated_functions.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_double_end_points.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_duplicate_oid.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_duplicated_script_tags.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_encoding.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/fail_bad_new_line.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/fail_badwords.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/fail_name_and_copyright_newline.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/fail_name_newline.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/fail_permissions.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/fail_spelling.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/nasl/21.04/fail.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/nasl/21.04/fail_badwords.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/nasl/21.04/fail_name_and_copyright_newline.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/nasl/21.04/fail_name_newline.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/nasl/21.04/fail_solution_template.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/nasl/21.04/runner/fail.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/nasl/21.04/runner/fail2.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/nasl/21.04/runner/test.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/nasl/21.04/runner/test_valid_oid.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/nasl/21.04/test.inc +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/nasl/21.04/test.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/nasl/warning.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/ok_permissions.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/test_oid.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_forking_nasl_functions.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_get_kb_on_services.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_grammar.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_http_links_in_tags.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_illegal_characters.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_log_messages.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_malformed_dependencies.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_misplaced_compare_in_if.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_missing_desc_exit.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_missing_tag_solution.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_multiple_re_parameters.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_newlines.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_overlong_description_lines.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_overlong_script_tags.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_prod_svc_detect_in_vulnvt.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_qod.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_reporting_consistency.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_script_add_preference_type.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_script_calls_empty_values.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_script_calls_recommended.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_script_category.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_script_copyright.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_script_family.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_script_tag_form.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_script_tag_whitespaces.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_script_tags_mandatory.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_script_xref_form.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_script_xref_url.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_security_messages.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_set_get_kb_calls.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_solution_text.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_solution_type.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_spaces_before_dots.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_spaces_in_filename.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_spelling.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_tabs.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_todo_tbd.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_trailing_spaces_tabs.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_using_display.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_valid_oid.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_valid_script_tag_names.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_variable_redefinition_in_foreach.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_vt_file_permissions.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_vt_placement.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/__init__.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/changed_packages/__init__.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/changed_packages/markers/__init__.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/changed_packages/markers/test_added_epoch.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/changed_packages/markers/test_added_release.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/changed_packages/markers/test_added_udeb.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/changed_packages/markers/test_changed_update.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/changed_packages/markers/test_dropped_architecture.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/changed_packages/test_changed_packages.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/changed_packages/test_package.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/nasl/21.04/21_script.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/nasl/22.04/22_script.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/nasl/common/bar.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/nasl/common/foo.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/nasl/common/foobar.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/nasl/common/gsf/enterprise_script.nasl +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/test_changed_cves.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/test_changed_oid.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/test_dependency_graph.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/test_deprecate_vts.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/test_file_extensions.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/test_last_modification.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/test_no_solution.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/test_version_updated.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/test_argparser.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/test_helper.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/test_naslinter.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/test_reporter.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/test_results.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/tests/test_runner.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/__init__.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/argparser.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/codespell/codespell.additions +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/codespell/codespell.exclude +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/codespell/codespell.ignore +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/helper/__init__.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/helper/helper.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/helper/linguistic_exception_handler.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/helper/patterns.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugin.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/__init__.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/badwords.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/copyright_text.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/copyright_year.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/creation_date.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/cve_format.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/cvss_format.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/dependencies.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/dependency_category_order.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/deprecated_dependency.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/deprecated_functions.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/double_end_points.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/duplicate_oid.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/duplicated_script_tags.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/encoding.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/forking_nasl_functions.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/get_kb_on_services.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/grammar.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/http_links_in_tags.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/illegal_characters.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/log_messages.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/malformed_dependencies.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/misplaced_compare_in_if.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/missing_desc_exit.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/missing_tag_solution.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/multiple_re_parameters.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/newlines.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/overlong_description_lines.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/overlong_script_tags.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/prod_svc_detect_in_vulnvt.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/qod.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/reporting_consistency.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/script_add_preference_type.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/script_calls_empty_values.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/script_calls_recommended.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/script_category.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/script_copyright.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/script_family.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/script_tag_form.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/script_tag_whitespaces.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/script_tags_mandatory.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/script_version_and_last_modification_tags.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/script_xref_form.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/script_xref_url.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/security_messages.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/set_get_kb_calls.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/solution_text.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/solution_type.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/spaces_before_dots.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/spaces_in_filename.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/spelling.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/tabs.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/todo_tbd.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/trailing_spaces_tabs.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/using_display.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/valid_oid.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/valid_script_tag_names.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/variable_assigned_in_if.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/variable_redefinition_in_foreach.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/vt_file_permissions.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/vt_placement.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/reporter.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/results.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/runner.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/__init__.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/allowed_rev_diff.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/changed_cves.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/changed_oid.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/changed_packages/changed_packages.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/changed_packages/marker/__init__.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/changed_packages/marker/added_epoch.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/changed_packages/marker/added_release.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/changed_packages/marker/added_udeb.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/changed_packages/marker/changed_update.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/changed_packages/marker/dropped_architecture.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/changed_packages/marker/marker.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/changed_packages/package.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/common.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/dependency_graph/__init__.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/dependency_graph/checks.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/dependency_graph/cli.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/dependency_graph/dependency_graph.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/dependency_graph/models.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/deprecate_vts.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/file_extensions.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/last_modification.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/no_solution.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/version_updated.py +0 -0
- {troubadix-25.4.1 → troubadix-25.4.2}/troubadix/troubadix.py +0 -0
|
@@ -193,3 +193,66 @@ class CheckCreationDateTestCase(PluginTestCase):
|
|
|
193
193
|
results = list(plugin.run())
|
|
194
194
|
|
|
195
195
|
self.assertEqual(len(results), 0)
|
|
196
|
+
|
|
197
|
+
def test_malformed_hour(self):
|
|
198
|
+
path = Path("some/file.nasl")
|
|
199
|
+
content = (
|
|
200
|
+
' script_tag(name:"creation_date", value:"2013-05-14 111:24:55 '
|
|
201
|
+
'+0200 (Tue, 14 May 2013)");\n'
|
|
202
|
+
)
|
|
203
|
+
fake_context = MagicMock()
|
|
204
|
+
fake_context.nasl_file = path
|
|
205
|
+
fake_context.file_content = content
|
|
206
|
+
plugin = CheckCreationDate(fake_context)
|
|
207
|
+
|
|
208
|
+
results = list(plugin.run())
|
|
209
|
+
|
|
210
|
+
self.assertEqual(len(results), 1)
|
|
211
|
+
|
|
212
|
+
self.assertIsInstance(results[0], LinterError)
|
|
213
|
+
self.assertEqual(
|
|
214
|
+
"False or incorrectly formatted creation_date.",
|
|
215
|
+
results[0].message,
|
|
216
|
+
)
|
|
217
|
+
|
|
218
|
+
def test_malformed_second(self):
|
|
219
|
+
path = Path("some/file.nasl")
|
|
220
|
+
content = (
|
|
221
|
+
' script_tag(name:"creation_date", value:"2013-05-14 11:24:55s '
|
|
222
|
+
'+0200 (Tue, 14 May 2013)");\n'
|
|
223
|
+
)
|
|
224
|
+
fake_context = MagicMock()
|
|
225
|
+
fake_context.nasl_file = path
|
|
226
|
+
fake_context.file_content = content
|
|
227
|
+
plugin = CheckCreationDate(fake_context)
|
|
228
|
+
|
|
229
|
+
results = list(plugin.run())
|
|
230
|
+
|
|
231
|
+
self.assertEqual(len(results), 1)
|
|
232
|
+
|
|
233
|
+
self.assertIsInstance(results[0], LinterError)
|
|
234
|
+
self.assertEqual(
|
|
235
|
+
"False or incorrectly formatted creation_date.",
|
|
236
|
+
results[0].message,
|
|
237
|
+
)
|
|
238
|
+
|
|
239
|
+
def test_malformed_day(self):
|
|
240
|
+
path = Path("some/file.nasl")
|
|
241
|
+
content = (
|
|
242
|
+
' script_tag(name:"creation_date", value:"2013-05-14D 11:24:55 '
|
|
243
|
+
'+0200 (Tue, 14 May 2013)");\n'
|
|
244
|
+
)
|
|
245
|
+
fake_context = MagicMock()
|
|
246
|
+
fake_context.nasl_file = path
|
|
247
|
+
fake_context.file_content = content
|
|
248
|
+
plugin = CheckCreationDate(fake_context)
|
|
249
|
+
|
|
250
|
+
results = list(plugin.run())
|
|
251
|
+
|
|
252
|
+
self.assertEqual(len(results), 1)
|
|
253
|
+
|
|
254
|
+
self.assertIsInstance(results[0], LinterError)
|
|
255
|
+
self.assertEqual(
|
|
256
|
+
"False or incorrectly formatted creation_date.",
|
|
257
|
+
results[0].message,
|
|
258
|
+
)
|
|
@@ -230,3 +230,63 @@ class CheckScriptVersionAndLastModificationTagsTestCase(PluginTestCase):
|
|
|
230
230
|
"Wrong day of week. Please change it from 'Tue' to 'Mon'.",
|
|
231
231
|
results[0].message,
|
|
232
232
|
)
|
|
233
|
+
|
|
234
|
+
def test_modification_date_malformed_hour(self):
|
|
235
|
+
nasl_file = Path(__file__).parent / "test.nasl"
|
|
236
|
+
content = (
|
|
237
|
+
' script_version("2021-07-19T12:32:02+0000");\n'
|
|
238
|
+
' script_tag(name:"last_modification", value:"2021-07-19 '
|
|
239
|
+
'112:32:02 +0000 (Mon, 19 Jul 2021");\n'
|
|
240
|
+
)
|
|
241
|
+
fake_context = self.create_file_plugin_context(
|
|
242
|
+
nasl_file=nasl_file, file_content=content
|
|
243
|
+
)
|
|
244
|
+
plugin = CheckScriptVersionAndLastModificationTags(fake_context)
|
|
245
|
+
|
|
246
|
+
results = list(plugin.run())
|
|
247
|
+
|
|
248
|
+
self.assertEqual(1, len(results))
|
|
249
|
+
self.assertEqual(
|
|
250
|
+
"False or incorrectly formatted modification_date.",
|
|
251
|
+
results[0].message,
|
|
252
|
+
)
|
|
253
|
+
|
|
254
|
+
def test_modification_date_malformed_second(self):
|
|
255
|
+
nasl_file = Path(__file__).parent / "test.nasl"
|
|
256
|
+
content = (
|
|
257
|
+
' script_version("2021-07-19T12:32:02+0000");\n'
|
|
258
|
+
' script_tag(name:"last_modification", value:"2021-07-19 '
|
|
259
|
+
'12:32:02s +0000 (Mon, 19 Jul 2021");\n'
|
|
260
|
+
)
|
|
261
|
+
fake_context = self.create_file_plugin_context(
|
|
262
|
+
nasl_file=nasl_file, file_content=content
|
|
263
|
+
)
|
|
264
|
+
plugin = CheckScriptVersionAndLastModificationTags(fake_context)
|
|
265
|
+
|
|
266
|
+
results = list(plugin.run())
|
|
267
|
+
|
|
268
|
+
self.assertEqual(1, len(results))
|
|
269
|
+
self.assertEqual(
|
|
270
|
+
"False or incorrectly formatted modification_date.",
|
|
271
|
+
results[0].message,
|
|
272
|
+
)
|
|
273
|
+
|
|
274
|
+
def test_modification_date_malformed_day(self):
|
|
275
|
+
nasl_file = Path(__file__).parent / "test.nasl"
|
|
276
|
+
content = (
|
|
277
|
+
' script_version("2021-07-19T12:32:02+0000");\n'
|
|
278
|
+
' script_tag(name:"last_modification", value:"2021-07-19D '
|
|
279
|
+
'12:32:02 +0000 (Mon, 19 Jul 2021");\n'
|
|
280
|
+
)
|
|
281
|
+
fake_context = self.create_file_plugin_context(
|
|
282
|
+
nasl_file=nasl_file, file_content=content
|
|
283
|
+
)
|
|
284
|
+
plugin = CheckScriptVersionAndLastModificationTags(fake_context)
|
|
285
|
+
|
|
286
|
+
results = list(plugin.run())
|
|
287
|
+
|
|
288
|
+
self.assertEqual(1, len(results))
|
|
289
|
+
self.assertEqual(
|
|
290
|
+
"False or incorrectly formatted modification_date.",
|
|
291
|
+
results[0].message,
|
|
292
|
+
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/fail_name_and_copyright_newline.nasl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/nasl/21.04/fail_badwords.nasl
RENAMED
|
File without changes
|
|
File without changes
|
{troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/nasl/21.04/fail_name_newline.nasl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_files/nasl/21.04/runner/test_valid_oid.nasl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.4.1 → troubadix-25.4.2}/tests/plugins/test_variable_redefinition_in_foreach.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/changed_packages/markers/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.4.1 → troubadix-25.4.2}/tests/standalone_plugins/changed_packages/test_package.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.4.1 → troubadix-25.4.2}/troubadix/plugins/script_version_and_last_modification_tags.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/changed_packages/marker/marker.py
RENAMED
|
File without changes
|
{troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/changed_packages/package.py
RENAMED
|
File without changes
|
|
File without changes
|
{troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/dependency_graph/__init__.py
RENAMED
|
File without changes
|
{troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/dependency_graph/checks.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.4.1 → troubadix-25.4.2}/troubadix/standalone_plugins/dependency_graph/models.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|