troubadix 25.1.3__tar.gz → 25.2.0__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.3 → troubadix-25.2.0}/PKG-INFO +2 -2
- {troubadix-25.1.3 → troubadix-25.2.0}/pyproject.toml +3 -3
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_valid_oid.py +4 -4
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/__version__.py +1 -1
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/argparser.py +6 -11
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/badwords.py +1 -1
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/script_family.py +1 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/valid_oid.py +1 -2
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/last_modification.py +3 -4
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/troubadix.py +1 -1
- {troubadix-25.1.3 → troubadix-25.2.0}/LICENSE +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/README.md +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/__init__.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/helper/__init__.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/helper/test_linguistic_exception_handler.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/helper/test_patterns.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/__init__.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/fail.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/fail2.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_badwords.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_copyright_text.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_copyright_year.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_creation_date.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_cve_format.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_cvss_format.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_dependencies.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_dependency_category_order.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_deprecated_dependency.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_deprecated_functions.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_double_end_points.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_duplicate_oid.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_duplicated_script_tags.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_encoding.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/fail_bad_new_line.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/fail_badwords.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/fail_name_and_copyright_newline.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/fail_name_newline.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/fail_permissions.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/fail_spelling.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/nasl/21.04/fail.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/nasl/21.04/fail_badwords.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/nasl/21.04/fail_name_and_copyright_newline.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/nasl/21.04/fail_name_newline.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/nasl/21.04/fail_solution_template.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/nasl/21.04/runner/fail.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/nasl/21.04/runner/fail2.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/nasl/21.04/runner/test.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/nasl/21.04/runner/test_valid_oid.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/nasl/21.04/test.inc +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/nasl/21.04/test.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/nasl/warning.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/ok_permissions.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_files/test_oid.nasl +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_forking_nasl_functions.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_get_kb_on_services.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_grammar.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_http_links_in_tags.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_illegal_characters.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_log_messages.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_malformed_dependencies.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_misplaced_compare_in_if.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_missing_desc_exit.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_missing_tag_solution.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_multiple_re_parameters.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_newlines.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_overlong_description_lines.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_overlong_script_tags.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_prod_svc_detect_in_vulnvt.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_qod.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_reporting_consistency.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_script_add_preference_type.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_script_calls_empty_values.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_script_calls_recommended.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_script_category.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_script_copyright.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_script_family.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_script_tag_form.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_script_tag_whitespaces.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_script_tags_mandatory.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_script_version_and_last_modification_tags.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_script_xref_form.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_script_xref_url.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_security_messages.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_set_get_kb_calls.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_solution_text.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_solution_type.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_spaces_before_dots.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_spaces_in_filename.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_spelling.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_tabs.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_todo_tbd.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_trailing_spaces_tabs.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_using_display.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_valid_script_tag_names.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_variable_redefinition_in_foreach.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_vt_file_permissions.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/plugins/test_vt_placement.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/__init__.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/changed_packages/__init__.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/changed_packages/markers/__init__.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/changed_packages/markers/test_added_epoch.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/changed_packages/markers/test_added_release.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/changed_packages/markers/test_added_udeb.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/changed_packages/markers/test_changed_update.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/changed_packages/markers/test_dropped_architecture.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/changed_packages/test_changed_packages.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/changed_packages/test_package.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/test_changed_cves.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/test_changed_oid.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/test_deprecate_vts.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/test_file_extensions.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/test_last_modification.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/test_no_solution.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/standalone_plugins/test_version_updated.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/test_argparser.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/test_helper.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/test_naslinter.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/test_reporter.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/test_results.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/tests/test_runner.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/__init__.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/codespell/codespell.additions +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/codespell/codespell.exclude +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/codespell/codespell.ignore +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/helper/__init__.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/helper/helper.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/helper/linguistic_exception_handler.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/helper/patterns.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugin.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/__init__.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/copyright_text.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/copyright_year.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/creation_date.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/cve_format.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/cvss_format.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/dependencies.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/dependency_category_order.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/deprecated_dependency.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/deprecated_functions.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/double_end_points.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/duplicate_oid.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/duplicated_script_tags.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/encoding.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/forking_nasl_functions.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/get_kb_on_services.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/grammar.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/http_links_in_tags.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/illegal_characters.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/log_messages.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/malformed_dependencies.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/misplaced_compare_in_if.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/missing_desc_exit.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/missing_tag_solution.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/multiple_re_parameters.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/newlines.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/overlong_description_lines.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/overlong_script_tags.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/prod_svc_detect_in_vulnvt.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/qod.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/reporting_consistency.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/script_add_preference_type.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/script_calls_empty_values.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/script_calls_recommended.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/script_category.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/script_copyright.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/script_tag_form.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/script_tag_whitespaces.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/script_tags_mandatory.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/script_version_and_last_modification_tags.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/script_xref_form.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/script_xref_url.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/security_messages.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/set_get_kb_calls.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/solution_text.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/solution_type.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/spaces_before_dots.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/spaces_in_filename.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/spelling.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/tabs.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/todo_tbd.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/trailing_spaces_tabs.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/using_display.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/valid_script_tag_names.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/variable_assigned_in_if.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/variable_redefinition_in_foreach.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/vt_file_permissions.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/plugins/vt_placement.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/reporter.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/results.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/runner.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/__init__.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/allowed_rev_diff.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/changed_cves.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/changed_oid.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/changed_packages/changed_packages.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/changed_packages/marker/__init__.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/changed_packages/marker/added_epoch.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/changed_packages/marker/added_release.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/changed_packages/marker/added_udeb.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/changed_packages/marker/changed_update.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/changed_packages/marker/dropped_architecture.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/changed_packages/marker/marker.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/changed_packages/package.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/common.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/deprecate_vts.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/file_extensions.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/no_solution.py +0 -0
- {troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/version_updated.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: troubadix
|
|
3
|
-
Version: 25.
|
|
3
|
+
Version: 25.2.0
|
|
4
4
|
Summary: A linting and QA check tool for NASL files
|
|
5
5
|
License: GPL-3.0-or-later
|
|
6
6
|
Author: Greenbone
|
|
@@ -19,7 +19,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
19
19
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
20
|
Requires-Dist: chardet (>=4,<6)
|
|
21
21
|
Requires-Dist: charset-normalizer (>=3.2.0,<4.0.0)
|
|
22
|
-
Requires-Dist: codespell (==2.
|
|
22
|
+
Requires-Dist: codespell (==2.4.1)
|
|
23
23
|
Requires-Dist: gitpython (>=3.1.31,<4.0.0)
|
|
24
24
|
Requires-Dist: pontos (>=22.7,<26.0)
|
|
25
25
|
Requires-Dist: python-magic (>=0.4.25,<0.5.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "troubadix"
|
|
3
|
-
version = "25.
|
|
3
|
+
version = "25.2.0"
|
|
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"
|
|
@@ -26,7 +26,7 @@ packages = [{ include = "troubadix" }, { include = "tests", format = "sdist" }]
|
|
|
26
26
|
[tool.poetry.dependencies]
|
|
27
27
|
python = "^3.10"
|
|
28
28
|
pontos = ">=22.7,<26.0"
|
|
29
|
-
codespell = "2.
|
|
29
|
+
codespell = "2.4.1"
|
|
30
30
|
python-magic = "^0.4.25"
|
|
31
31
|
chardet = ">=4,<6"
|
|
32
32
|
validators = "^0.34.0"
|
|
@@ -37,7 +37,7 @@ charset-normalizer = "^3.2.0"
|
|
|
37
37
|
autohooks = ">=21.7.0"
|
|
38
38
|
autohooks-plugin-black = ">=21.12.0"
|
|
39
39
|
ruff = ">=0.5.6,<0.10.0"
|
|
40
|
-
autohooks-plugin-ruff = "
|
|
40
|
+
autohooks-plugin-ruff = ">=24.1,<26.0"
|
|
41
41
|
|
|
42
42
|
[tool.black]
|
|
43
43
|
line-length = 80
|
|
@@ -807,7 +807,7 @@ class CheckValidOIDTestCase(PluginTestCase):
|
|
|
807
807
|
content = (
|
|
808
808
|
' script_oid("1.3.6.1.4.1.25623.1.3.11571.0.5019966.494846484649555554514651545348");'
|
|
809
809
|
"\n"
|
|
810
|
-
' script_family("Windows
|
|
810
|
+
' script_family("Windows Local Security Checks");\n'
|
|
811
811
|
)
|
|
812
812
|
fake_context = self.create_file_plugin_context(
|
|
813
813
|
nasl_file=path, file_content=content
|
|
@@ -823,7 +823,7 @@ class CheckValidOIDTestCase(PluginTestCase):
|
|
|
823
823
|
content = (
|
|
824
824
|
' script_oid("1.3.6.1.4.1.25623.1.3.11571.0.5019966.494846484649555554514651545348");'
|
|
825
825
|
"\n"
|
|
826
|
-
' script_family("Windows : Microsoft");\n'
|
|
826
|
+
' script_family("Windows : Microsoft Bulletin ");\n'
|
|
827
827
|
)
|
|
828
828
|
fake_context = self.create_file_plugin_context(
|
|
829
829
|
nasl_file=path, file_content=content
|
|
@@ -845,7 +845,7 @@ class CheckValidOIDTestCase(PluginTestCase):
|
|
|
845
845
|
content = (
|
|
846
846
|
' script_oid("1.3.6.1.4.1.25623.1.3.11571.0.5019966.494846484649555554514651545348");'
|
|
847
847
|
"\n"
|
|
848
|
-
' script_family("Windows
|
|
848
|
+
' script_family("Windows Local Security Checks");\n'
|
|
849
849
|
)
|
|
850
850
|
fake_context = self.create_file_plugin_context(
|
|
851
851
|
nasl_file=path, file_content=content
|
|
@@ -861,7 +861,7 @@ class CheckValidOIDTestCase(PluginTestCase):
|
|
|
861
861
|
content = (
|
|
862
862
|
' script_oid("1.3.6.1.4.1.25623.1.3.11571.0.494846484649555554514651545348");'
|
|
863
863
|
"\n"
|
|
864
|
-
' script_family("Windows
|
|
864
|
+
' script_family("Windows Local Security Checks");\n'
|
|
865
865
|
)
|
|
866
866
|
fake_context = self.create_file_plugin_context(
|
|
867
867
|
nasl_file=path, file_content=content
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
# You should have received a copy of the GNU General Public License
|
|
16
16
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
17
|
|
|
18
|
-
"""
|
|
18
|
+
"""Argument parser for troubadix"""
|
|
19
19
|
|
|
20
20
|
import sys
|
|
21
21
|
from argparse import ArgumentParser, Namespace
|
|
@@ -81,8 +81,7 @@ def parse_args(
|
|
|
81
81
|
"--full",
|
|
82
82
|
action="store_true",
|
|
83
83
|
help=(
|
|
84
|
-
"Checking the complete VT directory and "
|
|
85
|
-
"not only the added/changed scripts"
|
|
84
|
+
"Checking the complete VT directory and not only the added/changed scripts"
|
|
86
85
|
),
|
|
87
86
|
)
|
|
88
87
|
|
|
@@ -96,8 +95,7 @@ def parse_args(
|
|
|
96
95
|
"-r",
|
|
97
96
|
"--root",
|
|
98
97
|
type=directory_type,
|
|
99
|
-
help="Root directory for the nasl files. Will be derived from the "
|
|
100
|
-
"content if not set.",
|
|
98
|
+
help="Root directory for the nasl files. Will be derived from the content if not set.",
|
|
101
99
|
)
|
|
102
100
|
|
|
103
101
|
what_group = parser.add_mutually_exclusive_group(required=False)
|
|
@@ -152,8 +150,7 @@ def parse_args(
|
|
|
152
150
|
"--non-recursive",
|
|
153
151
|
action="store_true",
|
|
154
152
|
help=(
|
|
155
|
-
|
|
156
|
-
'Only usable with "-f"/"--full" or "-d"/"--dirs"'
|
|
153
|
+
'Don\'t run the script recursive. Only usable with "-f"/"--full" or "-d"/"--dirs"'
|
|
157
154
|
),
|
|
158
155
|
)
|
|
159
156
|
|
|
@@ -219,8 +216,7 @@ def parse_args(
|
|
|
219
216
|
default=max(1, cpu_count() // 2),
|
|
220
217
|
type=check_cpu_count,
|
|
221
218
|
help=(
|
|
222
|
-
"Define number of jobs, that should run simultaneously. "
|
|
223
|
-
"Default: %(default)s"
|
|
219
|
+
"Define number of jobs, that should run simultaneously. Default: %(default)s"
|
|
224
220
|
),
|
|
225
221
|
)
|
|
226
222
|
|
|
@@ -254,8 +250,7 @@ def parse_args(
|
|
|
254
250
|
and parsed_args.non_recursive
|
|
255
251
|
):
|
|
256
252
|
terminal.warning(
|
|
257
|
-
"'Argument '--non-recursive' is only usable with "
|
|
258
|
-
"'-f'/'--full' or '-d'/'--dirs'"
|
|
253
|
+
"'Argument '--non-recursive' is only usable with '-f'/'--full' or '-d'/'--dirs'"
|
|
259
254
|
)
|
|
260
255
|
sys.exit(1)
|
|
261
256
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
# You should have received a copy of the GNU General Public License
|
|
16
16
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
17
|
|
|
18
|
-
"""
|
|
18
|
+
"""checking badwords in NASL scripts with the NASLinter"""
|
|
19
19
|
|
|
20
20
|
from pathlib import Path
|
|
21
21
|
from typing import Iterable, Iterator
|
|
@@ -58,7 +58,6 @@ class CheckValidOID(FileContentPlugin):
|
|
|
58
58
|
|
|
59
59
|
security_template = "Security Advisory"
|
|
60
60
|
family_template = "Local Security Checks"
|
|
61
|
-
windows_family_template = "Windows : Microsoft Bulletins"
|
|
62
61
|
is_using_reserved = "is using an OID that is reserved for"
|
|
63
62
|
invalid_oid = "is using an invalid OID"
|
|
64
63
|
|
|
@@ -388,7 +387,7 @@ class CheckValidOID(FileContentPlugin):
|
|
|
388
387
|
|
|
389
388
|
# Fixed OID-scheme for Windows OIDs
|
|
390
389
|
if "1.3.6.1.4.1.25623.1.3." in oid:
|
|
391
|
-
if family_match.group("value") !=
|
|
390
|
+
if family_match.group("value") != f"Windows {family_template}":
|
|
392
391
|
yield LinterError(
|
|
393
392
|
f"script_oid() {is_using_reserved} 'Windows' ("
|
|
394
393
|
f"{str(oid)})",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
# You should have received a copy of the GNU General Public License
|
|
16
16
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
17
|
|
|
18
|
-
"""
|
|
18
|
+
"""updating the modification time in VTs that have been touched/edited"""
|
|
19
19
|
|
|
20
20
|
import datetime
|
|
21
21
|
import re
|
|
@@ -57,8 +57,7 @@ def update(nasl_file: Path, terminal: Terminal):
|
|
|
57
57
|
|
|
58
58
|
if not match_last_modification_any_value:
|
|
59
59
|
terminal.warning(
|
|
60
|
-
f'Ignoring "{nasl_file}" because it is missing a '
|
|
61
|
-
"last_modification tag."
|
|
60
|
+
f'Ignoring "{nasl_file}" because it is missing a last_modification tag.'
|
|
62
61
|
)
|
|
63
62
|
return
|
|
64
63
|
|
|
@@ -81,7 +80,7 @@ def update(nasl_file: Path, terminal: Terminal):
|
|
|
81
80
|
)
|
|
82
81
|
if not match_script_version:
|
|
83
82
|
terminal.warning(
|
|
84
|
-
f'Ignoring "{nasl_file}" because it is missing a
|
|
83
|
+
f'Ignoring "{nasl_file}" because it is missing a script_version.'
|
|
85
84
|
)
|
|
86
85
|
return
|
|
87
86
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
# You should have received a copy of the GNU General Public License
|
|
16
16
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
17
|
|
|
18
|
-
"""
|
|
18
|
+
"""Main module for troubadix"""
|
|
19
19
|
|
|
20
20
|
import sys
|
|
21
21
|
from collections.abc import Iterable
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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.3 → troubadix-25.2.0}/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.3 → troubadix-25.2.0}/tests/plugins/test_files/nasl/21.04/fail_badwords.nasl
RENAMED
|
File without changes
|
|
File without changes
|
{troubadix-25.1.3 → troubadix-25.2.0}/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.3 → troubadix-25.2.0}/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.3 → troubadix-25.2.0}/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.3 → troubadix-25.2.0}/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.3 → troubadix-25.2.0}/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
|
{troubadix-25.1.3 → troubadix-25.2.0}/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
|
{troubadix-25.1.3 → troubadix-25.2.0}/troubadix/standalone_plugins/changed_packages/marker/marker.py
RENAMED
|
File without changes
|
{troubadix-25.1.3 → troubadix-25.2.0}/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
|