troubadix 25.1.0__tar.gz → 25.1.1__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.1.0 → troubadix-25.1.1}/PKG-INFO +3 -3
- {troubadix-25.1.0 → troubadix-25.1.1}/pyproject.toml +3 -3
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_overlong_description_lines.py +25 -1
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/test_deprecate_vts.py +1 -1
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/__version__.py +1 -1
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/overlong_description_lines.py +8 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/deprecate_vts.py +1 -1
- {troubadix-25.1.0 → troubadix-25.1.1}/LICENSE +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/README.md +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/__init__.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/helper/__init__.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/helper/test_linguistic_exception_handler.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/helper/test_patterns.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/__init__.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/fail.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/fail2.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_badwords.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_copyright_text.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_copyright_year.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_creation_date.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_cve_format.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_cvss_format.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_dependencies.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_dependency_category_order.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_deprecated_dependency.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_deprecated_functions.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_double_end_points.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_duplicate_oid.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_duplicated_script_tags.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_encoding.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/fail_bad_new_line.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/fail_badwords.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/fail_name_and_copyright_newline.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/fail_name_newline.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/fail_permissions.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/fail_spelling.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/nasl/21.04/fail.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/nasl/21.04/fail_badwords.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/nasl/21.04/fail_name_and_copyright_newline.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/nasl/21.04/fail_name_newline.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/nasl/21.04/fail_solution_template.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/nasl/21.04/runner/fail.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/nasl/21.04/runner/fail2.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/nasl/21.04/runner/test.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/nasl/21.04/runner/test_valid_oid.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/nasl/21.04/test.inc +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/nasl/21.04/test.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/nasl/warning.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/ok_permissions.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_files/test_oid.nasl +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_forking_nasl_functions.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_get_kb_on_services.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_grammar.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_http_links_in_tags.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_illegal_characters.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_log_messages.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_malformed_dependencies.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_misplaced_compare_in_if.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_missing_desc_exit.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_missing_tag_solution.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_multiple_re_parameters.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_newlines.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_overlong_script_tags.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_prod_svc_detect_in_vulnvt.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_qod.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_reporting_consistency.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_script_add_preference_type.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_script_calls_empty_values.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_script_calls_recommended.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_script_category.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_script_copyright.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_script_family.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_script_tag_form.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_script_tag_whitespaces.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_script_tags_mandatory.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_script_version_and_last_modification_tags.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_script_xref_form.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_script_xref_url.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_security_messages.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_set_get_kb_calls.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_solution_text.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_solution_type.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_spaces_before_dots.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_spaces_in_filename.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_spelling.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_tabs.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_todo_tbd.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_trailing_spaces_tabs.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_using_display.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_valid_oid.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_valid_script_tag_names.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_variable_redefinition_in_foreach.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_vt_file_permissions.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/plugins/test_vt_placement.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/__init__.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/changed_packages/__init__.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/changed_packages/markers/__init__.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/changed_packages/markers/test_added_epoch.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/changed_packages/markers/test_added_release.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/changed_packages/markers/test_added_udeb.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/changed_packages/markers/test_changed_update.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/changed_packages/markers/test_dropped_architecture.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/changed_packages/test_changed_packages.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/changed_packages/test_package.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/test_changed_cves.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/test_changed_oid.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/test_file_extensions.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/test_last_modification.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/test_no_solution.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/standalone_plugins/test_version_updated.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/test_argparser.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/test_helper.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/test_naslinter.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/test_reporter.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/test_results.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/tests/test_runner.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/__init__.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/argparser.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/codespell/codespell.additions +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/codespell/codespell.exclude +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/codespell/codespell.ignore +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/helper/__init__.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/helper/helper.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/helper/linguistic_exception_handler.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/helper/patterns.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugin.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/__init__.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/badwords.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/copyright_text.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/copyright_year.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/creation_date.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/cve_format.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/cvss_format.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/dependencies.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/dependency_category_order.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/deprecated_dependency.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/deprecated_functions.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/double_end_points.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/duplicate_oid.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/duplicated_script_tags.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/encoding.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/forking_nasl_functions.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/get_kb_on_services.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/grammar.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/http_links_in_tags.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/illegal_characters.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/log_messages.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/malformed_dependencies.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/misplaced_compare_in_if.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/missing_desc_exit.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/missing_tag_solution.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/multiple_re_parameters.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/newlines.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/overlong_script_tags.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/prod_svc_detect_in_vulnvt.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/qod.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/reporting_consistency.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/script_add_preference_type.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/script_calls_empty_values.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/script_calls_recommended.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/script_category.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/script_copyright.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/script_family.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/script_tag_form.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/script_tag_whitespaces.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/script_tags_mandatory.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/script_version_and_last_modification_tags.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/script_xref_form.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/script_xref_url.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/security_messages.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/set_get_kb_calls.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/solution_text.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/solution_type.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/spaces_before_dots.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/spaces_in_filename.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/spelling.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/tabs.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/todo_tbd.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/trailing_spaces_tabs.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/using_display.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/valid_oid.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/valid_script_tag_names.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/variable_assigned_in_if.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/variable_redefinition_in_foreach.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/vt_file_permissions.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/plugins/vt_placement.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/reporter.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/results.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/runner.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/__init__.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/allowed_rev_diff.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/changed_cves.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/changed_oid.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/changed_packages/changed_packages.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/changed_packages/marker/__init__.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/changed_packages/marker/added_epoch.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/changed_packages/marker/added_release.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/changed_packages/marker/added_udeb.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/changed_packages/marker/changed_update.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/changed_packages/marker/dropped_architecture.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/changed_packages/marker/marker.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/changed_packages/package.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/common.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/file_extensions.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/last_modification.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/no_solution.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/version_updated.py +0 -0
- {troubadix-25.1.0 → troubadix-25.1.1}/troubadix/troubadix.py +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: troubadix
|
|
3
|
-
Version: 25.1.
|
|
3
|
+
Version: 25.1.1
|
|
4
4
|
Summary: A linting and QA check tool for NASL files
|
|
5
|
-
Home-page: https://github.com/greenbone/troubadix
|
|
6
5
|
License: GPL-3.0-or-later
|
|
7
6
|
Author: Greenbone
|
|
8
7
|
Author-email: info@greenbone.net
|
|
@@ -22,9 +21,10 @@ Requires-Dist: chardet (>=4,<6)
|
|
|
22
21
|
Requires-Dist: charset-normalizer (>=3.2.0,<4.0.0)
|
|
23
22
|
Requires-Dist: codespell (>=2.0.0,<3.0.0)
|
|
24
23
|
Requires-Dist: gitpython (>=3.1.31,<4.0.0)
|
|
25
|
-
Requires-Dist: pontos (>=22.7,<
|
|
24
|
+
Requires-Dist: pontos (>=22.7,<26.0)
|
|
26
25
|
Requires-Dist: python-magic (>=0.4.25,<0.5.0)
|
|
27
26
|
Requires-Dist: validators (>=0.34.0,<0.35.0)
|
|
27
|
+
Project-URL: Homepage, https://github.com/greenbone/troubadix
|
|
28
28
|
Project-URL: Repository, https://github.com/greenbone/troubadix
|
|
29
29
|
Description-Content-Type: text/markdown
|
|
30
30
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "troubadix"
|
|
3
|
-
version = "25.1.
|
|
3
|
+
version = "25.1.1"
|
|
4
4
|
description = "A linting and QA check tool for NASL files"
|
|
5
5
|
authors = ["Greenbone <info@greenbone.net>"]
|
|
6
6
|
license = "GPL-3.0-or-later"
|
|
@@ -25,7 +25,7 @@ packages = [{ include = "troubadix" }, { include = "tests", format = "sdist" }]
|
|
|
25
25
|
|
|
26
26
|
[tool.poetry.dependencies]
|
|
27
27
|
python = "^3.10"
|
|
28
|
-
pontos = ">=22.7,<
|
|
28
|
+
pontos = ">=22.7,<26.0"
|
|
29
29
|
codespell = "^2.0.0"
|
|
30
30
|
python-magic = "^0.4.25"
|
|
31
31
|
chardet = ">=4,<6"
|
|
@@ -36,7 +36,7 @@ charset-normalizer = "^3.2.0"
|
|
|
36
36
|
[tool.poetry.group.dev.dependencies]
|
|
37
37
|
autohooks = ">=21.7.0"
|
|
38
38
|
autohooks-plugin-black = ">=21.12.0"
|
|
39
|
-
ruff = ">=0.5.6,<0.
|
|
39
|
+
ruff = ">=0.5.6,<0.10.0"
|
|
40
40
|
autohooks-plugin-ruff = "^24.1.0"
|
|
41
41
|
|
|
42
42
|
[tool.black]
|
|
@@ -25,7 +25,7 @@ from troubadix.plugins.overlong_description_lines import (
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class CheckOverlongDescriptionLinesTestCase(PluginTestCase):
|
|
28
|
-
def
|
|
28
|
+
def test_ok_generic(self):
|
|
29
29
|
nasl_file = Path(__file__).parent / "test.nasl"
|
|
30
30
|
content = (
|
|
31
31
|
"ignored line that is not part of description"
|
|
@@ -61,6 +61,30 @@ class CheckOverlongDescriptionLinesTestCase(PluginTestCase):
|
|
|
61
61
|
|
|
62
62
|
self.assertEqual(len(results), 0)
|
|
63
63
|
|
|
64
|
+
def test_ok_urls_in_comments(self):
|
|
65
|
+
nasl_file = Path(__file__).parent / "test.nasl"
|
|
66
|
+
content = (
|
|
67
|
+
"if (description)\n"
|
|
68
|
+
"{\n"
|
|
69
|
+
' script_version("2021-09-02T14:01:33+0000");\n'
|
|
70
|
+
" # https://overlongurlisokxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
71
|
+
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");\n'
|
|
72
|
+
" # > https://anothervariantwhichisokxxxxxxxxxxxxxxxxxxx"
|
|
73
|
+
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");\n'
|
|
74
|
+
" # - https://anothervariantwhichisalsookxxxxxxxxxxxxxxx"
|
|
75
|
+
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");\n'
|
|
76
|
+
" exit(0);\n"
|
|
77
|
+
"}\n"
|
|
78
|
+
)
|
|
79
|
+
fake_context = self.create_file_plugin_context(
|
|
80
|
+
nasl_file=nasl_file, file_content=content
|
|
81
|
+
)
|
|
82
|
+
plugin = CheckOverlongDescriptionLines(fake_context)
|
|
83
|
+
|
|
84
|
+
results = list(plugin.run())
|
|
85
|
+
|
|
86
|
+
self.assertEqual(len(results), 0)
|
|
87
|
+
|
|
64
88
|
def test_line_too_long(self):
|
|
65
89
|
nasl_file = Path(__file__).parent / "test.nasl"
|
|
66
90
|
content = (
|
|
@@ -189,7 +189,7 @@ class DeprecateVTsTestCase(unittest.TestCase):
|
|
|
189
189
|
result = _finalize_content(NASL_CONTENT)
|
|
190
190
|
expected = (
|
|
191
191
|
'...if(description)\n{\n script_oid("1.3.6.1.4.1.25623.1.0.910673");\n '
|
|
192
|
-
'script_version("2024-03-12T14:15:13+0000");\n script_name("RedHat: Security Advisory for gd (RHSA-2020:5443-01)");\n script_family("Red Hat Local Security Checks");\n script_dependencies("gather-package-list.nasl");\n script_mandatory_keys("ssh/login/rhel", "ssh/login/rpms", re:"ssh/login/release=RHENT_7");\n\n script_xref(name:"RHSA", value:"2020:5443-01");\n script_xref(name:"URL", value:"https://www.redhat.com/archives/rhsa-announce/2020-December/msg00044.html");\n\n script_tag(name:"summary", value:"The remote host is missing an update for the \'gd\'\n package(s) announced via the RHSA-2020:5443-01 advisory.");\n\n script_tag(name:"deprecated", value:TRUE);\n\
|
|
192
|
+
'script_version("2024-03-12T14:15:13+0000");\n script_name("RedHat: Security Advisory for gd (RHSA-2020:5443-01)");\n script_family("Red Hat Local Security Checks");\n script_dependencies("gather-package-list.nasl");\n script_mandatory_keys("ssh/login/rhel", "ssh/login/rpms", re:"ssh/login/release=RHENT_7");\n\n script_xref(name:"RHSA", value:"2020:5443-01");\n script_xref(name:"URL", value:"https://www.redhat.com/archives/rhsa-announce/2020-December/msg00044.html");\n\n script_tag(name:"summary", value:"The remote host is missing an update for the \'gd\'\n package(s) announced via the RHSA-2020:5443-01 advisory.");\n\n script_tag(name:"deprecated", value:TRUE);\n\n exit(0);\n}\n\nexit(66);\n' # noqa: E501
|
|
193
193
|
)
|
|
194
194
|
self.assertEqual(result, expected)
|
|
195
195
|
|
|
@@ -32,6 +32,14 @@ IGNORE_TAGS = [
|
|
|
32
32
|
"script_name",
|
|
33
33
|
"script_xref",
|
|
34
34
|
"script_add_preference",
|
|
35
|
+
# nb: Various variants of URLs in comments which we can't / shouldn't
|
|
36
|
+
# trim down
|
|
37
|
+
" # http://",
|
|
38
|
+
" # https://",
|
|
39
|
+
" # - http://",
|
|
40
|
+
" # - https://",
|
|
41
|
+
" # > http://",
|
|
42
|
+
" # > https://",
|
|
35
43
|
# nb: Special cases we should ignore (at least for now) as these are
|
|
36
44
|
# commonly used like this and is only two chars "too long".
|
|
37
45
|
'script_tag(name:"vuldetect", value:"Checks if a vulnerable version is '
|
|
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.1.0 → troubadix-25.1.1}/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.1.0 → troubadix-25.1.1}/tests/plugins/test_files/nasl/21.04/fail_badwords.nasl
RENAMED
|
File without changes
|
|
File without changes
|
{troubadix-25.1.0 → troubadix-25.1.1}/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.1.0 → troubadix-25.1.1}/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.1.0 → troubadix-25.1.1}/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.1.0 → troubadix-25.1.1}/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.1.0 → troubadix-25.1.1}/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
|
{troubadix-25.1.0 → troubadix-25.1.1}/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.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/changed_packages/marker/marker.py
RENAMED
|
File without changes
|
{troubadix-25.1.0 → troubadix-25.1.1}/troubadix/standalone_plugins/changed_packages/package.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|