Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
5812 matches across 16 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packaging/release.py | 808 | def get_latest_setuptools_version() -> Version: |
| LOW | packaging/release.py | 816 | def set_setuptools_upper_bound(requested_version: Version) -> None: |
| LOW | packaging/release.py | 840 | def create_reproducible_sdist(original_path: pathlib.Path, output_path: pathlib.Path, mtime: int) -> None: |
| LOW | packaging/release.py | 855 | def create_reproducible_tar_info(original: tarfile.TarInfo, mtime: int) -> tarfile.TarInfo: |
| LOW | packaging/release.py | 915 | def get_release_artifact_details(repository: str, version: Version, validate: bool) -> list[ReleaseArtifact]: |
| LOW | packaging/release.py | 929 | def describe_release_artifact(version: Version, item: dict[str, t.Any], validate: bool) -> ReleaseArtifact: |
| LOW | packaging/release.py | 985 | def create_template_environment() -> jinja2.Environment: |
| LOW | packaging/release.py | 995 | def create_github_release_notes(upstream: Remote, repository: str, version: Version, validate: bool) -> str: |
| LOW | packaging/cli-doc/build.py | 177 | def populate_subparser_actions(parser: argparse.ArgumentParser, shared_option_names: tuple[str, ...], actions: dict[str, |
| LOW | …st/integration/targets/ansible-test-container/runme.py | 130 | def get_container_completion_entries() -> dict[str, dict[str, str]]: |
| LOW | …st/integration/targets/ansible-test-container/runme.py | 402 | def prepare_prime_podman_storage() -> list[str]: |
| LOW | …st/integration/targets/ansible-test-container/runme.py | 893 | def configure_unprivileged_user(cls) -> None: |
| LOW | …ts/inventory_cache/plugins/inventory/exercise_cache.py | 103 | def test_update_cache_if_changed(self): |
| LOW | …ts/module_utils/library/test_heuristic_log_sanitize.py | 11 | def heuristic_log_sanitize_spy(*args, **kwargs): |
| LOW | …egration/targets/dnf/filter_plugins/dnf_module_list.py | 29 | def get_first_single_version_module(stdout): |
| LOW | …filter_plugins/override_formerly_core_masked_filter.py | 4 | def override_formerly_core_masked_filter(*args, **kwargs): |
| LOW | …ons/test_plugins/override_formerly_core_masked_test.py | 4 | def override_formerly_core_masked_test(value, *args, **kwargs): |
| LOW | test/sanity/code-smell/update-bundled.py | 57 | def get_files_with_bundled_metadata(paths): |
| LOW | test/sanity/code-smell/update-bundled.py | 105 | def get_latest_applicable_version(pypi_data, constraints=None): |
| LOW | test/units/conftest.py | 58 | # def prevent_collection_loader_leak(request: pytest.FixtureRequest): |
| LOW | test/units/controller_only_conftest.py | 21 | def _zap_vault_secrets_context() -> t.Generator[None]: |
| LOW | test/units/controller_only_conftest.py | 34 | def _empty_vault_secrets_context(_zap_vault_secrets_context) -> t.Generator[None]: |
| LOW | test/units/controller_only_conftest.py | 52 | def _ignore_untrusted_template(mocker: MockerFixture) -> t.Generator[None]: |
| LOW | test/units/_internal/test_event_formatting.py | 12 | def test_traceback_formatting() -> None: |
| LOW | test/units/_internal/_encryption/test_crypt.py | 12 | def test_unsupported_platform(self, mocker: MockerFixture) -> None: |
| LOW | test/units/_internal/_encryption/test_crypt.py | 35 | def test_library_with_no_crypt_methods(self, mocker: MockerFixture) -> None: |
| LOW | test/units/_internal/_encryption/test_crypt.py | 50 | def test_library_with_no_crypt_r_or_crypt_gensalt_rn(self, mocker: MockerFixture) -> None: |
| LOW | test/units/_internal/_encryption/test_crypt.py | 99 | def test_crypt_result_failure(self, mocker: MockerFixture) -> None: |
| LOW | test/units/_internal/_encryption/test_crypt.py | 107 | def test_crypt_gensalt_called_with_no_impl(self, mocker: MockerFixture) -> None: |
| LOW | test/units/_internal/_encryption/test_crypt.py | 125 | def test_crypt_gensalt_fail_errno(self, mocker: MockerFixture) -> None: |
| LOW | test/units/_internal/_encryption/test_crypt.py | 133 | def test_crypt_gensalt_result_none(self, mocker: MockerFixture) -> None: |
| LOW | test/units/_internal/_encryption/test_crypt.py | 141 | def test_crypt_gensalt_result_failure(self, mocker: MockerFixture) -> None: |
| LOW | test/units/_internal/_errors/test_alarm_timeout.py | 30 | def test_alarm_timeout_success(timeout: int | None) -> None: |
| LOW | test/units/_internal/_errors/test_alarm_timeout.py | 41 | def test_alarm_timeout_timeout() -> None: |
| LOW | test/units/_internal/_errors/test_alarm_timeout.py | 61 | def test_alarm_timeout_bad_values(timeout: t.Any, expected_error_type: type[Exception], expected_error_pattern: str) -> |
| LOW | test/units/_internal/_errors/test_alarm_timeout.py | 72 | def test_alarm_timeout_bad_state() -> None: |
| LOW | test/units/_internal/_errors/test_alarm_timeout.py | 118 | def test_alarm_timeout_escape_broad_exception(): |
| LOW | test/units/_internal/_errors/test_error_utils.py | 57 | def test_exception_result_contribution(exceptions: t.Sequence[BaseException], expected: dict[str, t.Any]) -> None: |
| LOW | test/units/_internal/_errors/test_task_timeout.py | 8 | def test_task_timeout_result_contribution() -> None: |
| LOW | test/units/_internal/_ansiballz/test_builder.py | 7 | def test_debugger_source_mapping() -> None: |
| LOW | test/units/_internal/templating/test_common_.py | 17 | def get_dunder_methods_to_intercept() -> list[str]: |
| LOW | test/units/_internal/templating/test_common_.py | 67 | def test_jinja_undefined_shape(): |
| LOW | test/units/_internal/templating/test_common_.py | 96 | def test_getattr_attribute_error(marker: Marker) -> None: |
| LOW | test/units/_internal/templating/test_utils.py | 22 | def test_marker_getattr_dunder(marker: Marker) -> None: |
| LOW | test/units/_internal/templating/conftest.py | 22 | def get_concrete_marker_types() -> list[type[Marker]]: |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 514 | def test_list_adapter_equality(value: str, expected: list) -> None: |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 521 | def test_list_adapter_source_propagation(value: t.Any) -> None: |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 528 | def test_lazy_containers_to_yaml(value: t.Any) -> None: |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 533 | def test_lazy_containers_to_json(value: t.Any) -> None: |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 760 | def call_filter_with_native_args_kwargs() -> t.Any: |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 763 | def call_test_with_native_args_kwargs() -> t.Any: |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 766 | def args_and_kwargs_are_non_templating_lazy(value: t.Any, arg, *, kwarg) -> bool: |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 94 | def test_container_comparison(container_type: type) -> None: |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 155 | def test_dict_get_with_default(template_context) -> None: |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 260 | def test_dict_items_and_values() -> None: |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 281 | def test_lazy_list_adapter_operators(template, variables, expected) -> None: |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 376 | def test_lazy_container_operators(expression: str, expected_value: t.Any, expected_type: type) -> None: |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 587 | def test_lazy_mutation_persistence(expression: str) -> None: |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 618 | def test_lazy_mutation_cross_plugin_dirty_container(expr: str, new_value: t.Any, some_var: t.Any, expected_value: t.Any) |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 661 | def test_undefined_in_jinja_constant_container(): |
| 1610 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packaging/release.py | 5 | |
| LOW | packaging/cli-doc/build.py | 5 | |
| LOW | .azure-pipelines/scripts/combine-coverage.py | 10 | |
| LOW | .azure-pipelines/scripts/publish-codecov.py | 8 | |
| LOW | .azure-pipelines/scripts/time-command.py | 4 | |
| LOW | …lookup-option-name/lookup_plugins/non_terms_posargs.py | 1 | |
| LOW | …lback-dispatch/callback_plugins/oops_always_enabled.py | 1 | |
| LOW | …/callback-dispatch/callback_plugins/v1_only_methods.py | 1 | |
| LOW | …ck-dispatch/callback_plugins/legacy_warning_display.py | 1 | |
| LOW | …llback-dispatch/callback_plugins/missing_base_class.py | 1 | |
| LOW | …integration/targets/callback-dispatch/library/noisy.py | 1 | |
| LOW | …s/module-serialization-profiles/library/echo_modern.py | 1 | |
| LOW | …s/module-serialization-profiles/library/echo_legacy.py | 1 | |
| LOW | …ule-serialization-profiles/library/echo_unspecified.py | 1 | |
| LOW | test/integration/targets/pause/test-pause.py | 3 | |
| LOW | …tion/targets/module_no_log/library/module_that_logs.py | 2 | |
| LOW | …argets/module_no_log/library/module_that_has_secret.py | 2 | |
| LOW | …ult_pickle_error/action_plugins/result_pickle_error.py | 5 | |
| LOW | …ns/ns/col/plugins/doc_fragments/return_doc_fragment.py | 3 | |
| LOW | …llections/ns/col/plugins/lookup/import_order_lookup.py | 3 | |
| LOW | …llections/ns/col/plugins/modules/option_name_casing.py | 4 | |
| LOW | …tions/ns/col/plugins/modules/check_mode_attribute_6.py | 4 | |
| LOW | …ble_collections/ns/col/plugins/modules/import_order.py | 4 | |
| LOW | …tions/ns/col/plugins/modules/check_mode_attribute_2.py | 4 | |
| LOW | …/ns/col/plugins/modules/valid_argument_spec_context.py | 4 | |
| LOW | …tions/ns/col/plugins/modules/check_mode_attribute_3.py | 4 | |
| LOW | …_collections/ns/col/plugins/modules/_not_deprecated.py | 4 | |
| LOW | …/ansible_collections/ns/col/plugins/modules/sidecar.py | 3 | |
| LOW | …le_collections/ns/col/plugins/modules/wrong_aliases.py | 4 | |
| LOW | …_collections/ns/col/plugins/modules/semantic_markup.py | 4 | |
| LOW | …ins/modules/invalid_argument_spec_incorrect_context.py | 4 | |
| LOW | …tions/ns/col/plugins/modules/check_mode_attribute_7.py | 4 | |
| LOW | …col/plugins/modules/invalid_argument_spec_extra_key.py | 4 | |
| LOW | …lections/ns/col/plugins/modules/invalid_yaml_syntax.py | 4 | |
| LOW | …collections/ns/col/plugins/modules/return_fragments.py | 4 | |
| LOW | …s/ns/col/plugins/modules/return_fragments_not_exist.py | 4 | |
| LOW | …ections/ns/col/plugins/modules/invalid_choice_value.py | 4 | |
| LOW | …tions/ns/col/plugins/modules/check_mode_attribute_4.py | 4 | |
| LOW | …ions/ns/col/plugins/modules/doc_fragments_not_exist.py | 4 | |
| LOW | …tions/ns/col/plugins/modules/check_mode_attribute_5.py | 4 | |
| LOW | …ible_collections/ns/col/plugins/modules/no_callable.py | 4 | |
| LOW | …tions/ns/col/plugins/modules/check_mode_attribute_1.py | 4 | |
| LOW | …rgets/module_utils_common.respawn/library/respawnme.py | 6 | |
| LOW | …ble_collections/my_ns/my_col/plugins/test/test_test.py | 1 | |
| LOW | …/my_col/plugins/lookup/lookup_no_future_boilerplate.py | 3 | |
| LOW | …collections/my_ns/my_col/plugins/lookup/lookup_name.py | 1 | |
| LOW | …collections/my_ns/my_col/plugins/filter/test_filter.py | 1 | |
| LOW | test/integration/targets/no_log/library/module.py | 6 | |
| LOW | …on/targets/no_log/action_plugins/action_sets_no_log.py | 1 | |
| LOW | …odule_precedence/roles_with_extension/foo/library/a.py | 2 | |
| LOW | …le_precedence/roles_with_extension/foo/library/ping.py | 22 | |
| LOW | …s/module_precedence/multiple_roles/foo/library/ping.py | 22 | |
| LOW | …s/module_precedence/multiple_roles/bar/library/ping.py | 22 | |
| LOW | …tion/targets/module_precedence/lib_with_extension/a.py | 2 | |
| LOW | …n/targets/module_precedence/lib_with_extension/ping.py | 22 | |
| LOW | test/integration/targets/infra/library/test.py | 4 | |
| LOW | …ble_collections/ns/col/plugins/module_utils/my_util.py | 1 | |
| LOW | …on/ansible_collections/ns/col/plugins/modules/hello.py | 4 | |
| LOW | …tegration/targets/task-args/action_plugins/echo_raw.py | 1 | |
| LOW | …t/integration/targets/task-args/action_plugins/echo.py | 1 | |
| 1612 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …le_precedence/roles_with_extension/foo/library/ping.py | 0 | --- module: ping version_added: historical short_description: try to connect to host, verify a usable python and return |
| HIGH | …s/module_precedence/multiple_roles/foo/library/ping.py | 0 | --- module: ping version_added: historical short_description: try to connect to host, verify a usable python and return |
| HIGH | …s/module_precedence/multiple_roles/bar/library/ping.py | 0 | --- module: ping version_added: historical short_description: try to connect to host, verify a usable python and return |
| HIGH | …n/targets/module_precedence/lib_with_extension/ping.py | 0 | --- module: ping version_added: historical short_description: try to connect to host, verify a usable python and return |
| HIGH | …le_precedence/roles_with_extension/foo/library/ping.py | 0 | # test we can logon to 'webservers' and execute python with json lib. ansible webservers -m ping |
| HIGH | …s/module_precedence/multiple_roles/foo/library/ping.py | 0 | # test we can logon to 'webservers' and execute python with json lib. ansible webservers -m ping |
| HIGH | …s/module_precedence/multiple_roles/bar/library/ping.py | 0 | # test we can logon to 'webservers' and execute python with json lib. ansible webservers -m ping |
| HIGH | …n/targets/module_precedence/lib_with_extension/ping.py | 0 | # test we can logon to 'webservers' and execute python with json lib. ansible webservers -m ping |
| HIGH | …on/ansible_collections/ns/col/plugins/modules/hello.py | 0 | module: hello short_description: hello test module description: hello test module. options: name: description: name to s |
| HIGH | …er/ansible_collections/ns/col/plugins/modules/hello.py | 0 | module: hello short_description: hello test module description: hello test module. options: name: description: name to s |
| HIGH | …ts/ansible_collections/ns/col/plugins/modules/hello.py | 0 | module: hello short_description: hello test module description: hello test module. options: name: description: name to s |
| HIGH | test/integration/targets/config/lookup_plugins/bogus.py | 0 | _list: description: basically the same as you fed in type: list elements: raw |
| HIGH | …on/targets/config/lookup_plugins/casting_individual.py | 0 | _list: description: basically the same as you fed in type: list elements: raw |
| HIGH | test/integration/targets/config/lookup_plugins/types.py | 0 | _list: description: basically the same as you fed in type: list elements: raw |
| HIGH | …t/integration/targets/config/lookup_plugins/casting.py | 0 | _list: description: basically the same as you fed in type: list elements: raw |
| HIGH | …egration/targets/lookup_config/lookup_plugins/bogus.py | 0 | _list: description: basically the same as you fed in type: list elements: raw |
| HIGH | lib/ansible/plugins/lookup/list.py | 0 | _list: description: basically the same as you fed in type: list elements: raw |
| HIGH | …st/integration/targets/ansible-test-container/runme.py | 0 | return true if the bootstrapper can be used, otherwise false. |
| HIGH | …st/integration/targets/ansible-test-container/runme.py | 0 | return true if the bootstrapper can be used, otherwise false. |
| HIGH | …st/integration/targets/ansible-test-container/runme.py | 0 | return true if the bootstrapper can be used, otherwise false. |
| HIGH | …st/integration/targets/ansible-test-container/runme.py | 0 | return true if the bootstrapper can be used, otherwise false. |
| HIGH | …gration/targets/module_defaults/library/legacy_ping.py | 0 | ping: description: value provided with the data parameter. returned: success type: str sample: pong |
| HIGH | …le_collections/testns/testcoll/plugins/modules/ping.py | 0 | ping: description: value provided with the data parameter. returned: success type: str sample: pong |
| HIGH | …ntegration/targets/windows-minimal/library/win_ping.py | 0 | ping: description: value provided with the data parameter. returned: success type: str sample: pong |
| HIGH | …upport/windows-integration/plugins/modules/win_ping.py | 0 | ping: description: value provided with the data parameter. returned: success type: str sample: pong |
| HIGH | …ollections/ansible/windows/plugins/modules/win_ping.py | 0 | ping: description: value provided with the data parameter. returned: success type: str sample: pong |
| HIGH | …ntegration/targets/windows-minimal/library/win_ping.py | 0 | --- module: win_ping version_added: "1.7" short_description: a windows version of the classic ping module description: - |
| HIGH | …upport/windows-integration/plugins/modules/win_ping.py | 0 | --- module: win_ping version_added: "1.7" short_description: a windows version of the classic ping module description: - |
| HIGH | …ollections/ansible/windows/plugins/modules/win_ping.py | 0 | --- module: win_ping version_added: "1.7" short_description: a windows version of the classic ping module description: - |
| HIGH | …ntegration/targets/windows-minimal/library/win_ping.py | 0 | # test connectivity to a windows host # ansible winserver -m win_ping - name: example from an ansible playbook win_ping: |
| HIGH | …upport/windows-integration/plugins/modules/win_ping.py | 0 | # test connectivity to a windows host # ansible winserver -m win_ping - name: example from an ansible playbook win_ping: |
| HIGH | …ollections/ansible/windows/plugins/modules/win_ping.py | 0 | # test connectivity to a windows host # ansible winserver -m win_ping - name: example from an ansible playbook win_ping: |
| HIGH | test/units/cli/test_galaxy.py | 0 | collections: - namespace.name roles: - namespace.name |
| HIGH | test/units/cli/test_galaxy.py | 0 | collections: - namespace.name roles: - namespace.name |
| HIGH | test/units/cli/test_galaxy.py | 0 | collections: - namespace.name roles: - namespace.name |
| HIGH | test/units/cli/test_galaxy.py | 0 | collections: - namespace.name roles: - namespace.name |
| HIGH | test/units/module_utils/basic/test_argument_spec.py | 0 | fail because one of a required_together pair of parameters has a default and the other was not specified |
| HIGH | test/units/module_utils/basic/test_argument_spec.py | 0 | fail because one of a required_together pair of parameters has a default and the other was not specified |
| HIGH | test/units/module_utils/basic/test_argument_spec.py | 0 | fail because one of a required_together pair of parameters has a default and the other was not specified |
| HIGH | …units/module_utils/basic/test_set_mode_if_different.py | 0 | some platforms have lchmod (*bsd) others do not (linux) |
| HIGH | …units/module_utils/basic/test_set_mode_if_different.py | 0 | some platforms have lchmod (*bsd) others do not (linux) |
| HIGH | …units/module_utils/basic/test_set_mode_if_different.py | 0 | some platforms have lchmod (*bsd) others do not (linux) |
| HIGH | …support/windows-integration/plugins/action/win_copy.py | 0 | this is a closure (function utilizing variables from it's parent function's scope) so that we only need one copy of all |
| HIGH | …collections/ansible/windows/plugins/action/win_copy.py | 0 | this is a closure (function utilizing variables from it's parent function's scope) so that we only need one copy of all |
| HIGH | lib/ansible/plugins/action/copy.py | 0 | this is a closure (function utilizing variables from it's parent function's scope) so that we only need one copy of all |
| HIGH | test/lib/ansible_test/_internal/bootstrap.py | 0 | the variables to template in the bootstrapping script. |
| HIGH | test/lib/ansible_test/_internal/bootstrap.py | 0 | the variables to template in the bootstrapping script. |
| HIGH | test/lib/ansible_test/_internal/bootstrap.py | 0 | the variables to template in the bootstrapping script. |
| HIGH | test/lib/ansible_test/_internal/host_profiles.py | 0 | deprovision the host after delegation has completed. |
| HIGH | test/lib/ansible_test/_internal/host_profiles.py | 0 | deprovision the host after delegation has completed. |
| HIGH | test/lib/ansible_test/_internal/host_profiles.py | 0 | deprovision the host after delegation has completed. |
| HIGH | test/lib/ansible_test/_internal/host_profiles.py | 0 | deprovision the host after delegation has completed. |
| HIGH | test/lib/ansible_test/_internal/host_profiles.py | 0 | wait for the instance to be ready. executed before delegation for the controller and after delegation for targets. |
| HIGH | test/lib/ansible_test/_internal/host_profiles.py | 0 | wait for the instance to be ready. executed before delegation for the controller and after delegation for targets. |
| HIGH | test/lib/ansible_test/_internal/host_profiles.py | 0 | wait for the instance to be ready. executed before delegation for the controller and after delegation for targets. |
| HIGH | test/lib/ansible_test/_internal/host_profiles.py | 0 | wait for the instance to be ready. executed before delegation for the controller and after delegation for targets. |
| HIGH | test/lib/ansible_test/_internal/host_profiles.py | 0 | wait for the instance to be ready. executed before delegation for the controller and after delegation for targets. |
| HIGH | test/lib/ansible_test/_internal/host_profiles.py | 0 | perform in-band configuration. executed before delegation for the controller and after delegation for targets. |
| HIGH | test/lib/ansible_test/_internal/host_profiles.py | 0 | perform in-band configuration. executed before delegation for the controller and after delegation for targets. |
| HIGH | test/lib/ansible_test/_internal/host_profiles.py | 0 | perform in-band configuration. executed before delegation for the controller and after delegation for targets. |
| 258 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/integration/targets/win_script/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/blockinfile/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …/targets/old_style_modules_posix/library/helloworld.sh | 2 | # This file is part of Ansible |
| MEDIUM | …le_precedence/roles_with_extension/foo/library/ping.py | 7 | # This file is part of Ansible |
| MEDIUM | …s/module_precedence/multiple_roles/foo/library/ping.py | 7 | # This file is part of Ansible |
| MEDIUM | …s/module_precedence/multiple_roles/bar/library/ping.py | 7 | # This file is part of Ansible |
| MEDIUM | …n/targets/module_precedence/lib_with_extension/ping.py | 7 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/ping/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/async_fail/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …ntegration/targets/async_fail/action_plugins/normal.py | 3 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/changed_when/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/file/tasks/selinux_tests.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/file/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …n/targets/hash/roles/test_hash_behaviour/vars/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …/targets/hash/roles/test_hash_behaviour/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …n/targets/hash/roles/test_hash_behaviour/meta/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …rgets/hash/roles/test_hash_behaviour/defaults/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/win_raw/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/group_by/create_groups.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/group_by/test_group_by.yml | 4 | # This file is part of Ansible |
| MEDIUM | …integration/targets/group_by/test_group_by_skipped.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/assemble/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/assemble/meta/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/systemd/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …argets/check_mode/roles/test_check_mode/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …argets/check_mode/roles/test_always_run/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …targets/check_mode/roles/test_always_run/meta/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/async/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …ts/var_blending/roles/test_var_blending/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/template/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/template/tasks/main.yml | 422 | # Create a template using a child template, to ensure that variables |
| MEDIUM | …on/targets/includes/roles/test_includes/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …ion/targets/shell-plugins/action_plugins/test_shell.py | 1 | # This file is part of Ansible |
| MEDIUM | …tegration/targets/user/tasks/test_create_user_home.yml | 43 | # Create a new user account with a path that has parent directories that do not exist |
| MEDIUM | test/integration/targets/loop-until/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/add_host/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/script/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/ignore_errors/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/special_vars/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/pip/tasks/pip.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/fetch/runme.sh | 30 | # Create a non-root user account and configure SSH access for that account |
| MEDIUM | test/integration/targets/failed_when/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/stat/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …ude_import/playbook/sub_playbook/library/helloworld.py | 2 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/find/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …targets/parsing/roles/test_good_parsing/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/iptables/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …ntegration/targets/iptables/tasks/chain_management.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/service/meta/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/windows-minimal/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …gets/collections/custom_vars_plugins/v1_vars_plugin.py | 3 | # This file is part of Ansible |
| MEDIUM | …gets/collections/custom_vars_plugins/v2_vars_plugin.py | 3 | # This file is part of Ansible |
| MEDIUM | …ollections/testns/testcoll/plugins/vars/custom_vars.py | 3 | # This file is part of Ansible |
| MEDIUM | …ons/testns/content_adj/plugins/vars/custom_adj_vars.py | 3 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/uri/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/apt_key/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | test/integration/targets/raw/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …ndlers/roles/test_handlers_include_role/tasks/main.yml | 1 | # This file is part of Ansible |
| MEDIUM | …on/targets/handlers/roles/test_handlers/tasks/main.yml | 4 | # This file is part of Ansible |
| MEDIUM | …rgets/handlers/roles/test_handlers_meta/tasks/main.yml | 4 | # This file is part of Ansible |
| 265 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …st/integration/targets/ansible-test-container/runme.py | 1132 | lines = run_command('sh', '-c', '. /etc/os-release && echo $ID && echo $VERSION_ID', capture=True).stdout.splitl |
| HIGH | test/units/_internal/templating/test_templar.py | 1082 | assert TemplateEngine(variables=dict(something=TRUST.tag("{{ nope }}"))).template(TRUST.tag("{{ (something is eq |
| HIGH | test/units/_internal/_yaml/test_dumper.py | 66 | ({1, 2, 3}, "!!set {1: null, 2: null, 3: null}\n"), |
| HIGH | test/units/module_utils/basic/test_selinux.py | 35 | # selinux unavailable, should return false |
| HIGH | test/units/module_utils/basic/test_selinux.py | 58 | # selinux unavailable, should return false |
| HIGH | test/units/module_utils/basic/test_selinux.py | 61 | # selinux disabled, should return false |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6396 | "SOCK_MAXBUF": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6397 | "_POSIX_ASYNC_IO": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6400 | "_POSIX_PRIO_IO": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6401 | "_POSIX_SYNC_IO": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6463 | "_POSIX_PII": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6464 | "_POSIX_PII_INTERNET": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6465 | "_POSIX_PII_INTERNET_DGRAM": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6466 | "_POSIX_PII_INTERNET_STREAM": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6467 | "_POSIX_PII_OSI": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6468 | "_POSIX_PII_OSI_CLTS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6469 | "_POSIX_PII_OSI_COTS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6470 | "_POSIX_PII_OSI_M": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6471 | "_POSIX_PII_SOCKET": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6472 | "_POSIX_PII_XTI": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6473 | "_POSIX_POLL": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6478 | "_POSIX_SELECT": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6490 | "_POSIX_THREAD_ROBUST_PRIO_INHERIT": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6491 | "_POSIX_THREAD_ROBUST_PRIO_PROTECT": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6495 | "TIMER_MAX": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6498 | "_T_IOV_MAX": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6530 | "POSIX2_FORT_DEV": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6531 | "POSIX2_FORT_RUN": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6537 | "POSIX2_UPE": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6542 | "LFS_CFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6543 | "LFS_LDFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6544 | "LFS_LIBS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6545 | "LFS_LINTFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6547 | "LFS64_LDFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6548 | "LFS64_LIBS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6552 | "_XBS5_ILP32_OFF32": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6553 | "XBS5_ILP32_OFF32_CFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6554 | "XBS5_ILP32_OFF32_LDFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6555 | "XBS5_ILP32_OFF32_LIBS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6556 | "XBS5_ILP32_OFF32_LINTFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6557 | "_XBS5_ILP32_OFFBIG": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6558 | "XBS5_ILP32_OFFBIG_CFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6559 | "XBS5_ILP32_OFFBIG_LDFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6560 | "XBS5_ILP32_OFFBIG_LIBS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6561 | "XBS5_ILP32_OFFBIG_LINTFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6565 | "XBS5_LP64_OFF64_LIBS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6566 | "XBS5_LP64_OFF64_LINTFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6567 | "_XBS5_LPBIG_OFFBIG": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6568 | "XBS5_LPBIG_OFFBIG_CFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6569 | "XBS5_LPBIG_OFFBIG_LDFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6570 | "XBS5_LPBIG_OFFBIG_LIBS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6571 | "XBS5_LPBIG_OFFBIG_LINTFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6572 | "_POSIX_V6_ILP32_OFF32": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6573 | "POSIX_V6_ILP32_OFF32_CFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6574 | "POSIX_V6_ILP32_OFF32_LDFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6575 | "POSIX_V6_ILP32_OFF32_LIBS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6576 | "POSIX_V6_ILP32_OFF32_LINTFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6579 | "_POSIX_V6_ILP32_OFFBIG": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6580 | "POSIX_V6_ILP32_OFFBIG_CFLAGS": null, |
| HIGH | test/units/module_utils/facts/other/test_ohai.py | 6581 | "POSIX_V6_ILP32_OFFBIG_LDFLAGS": null, |
| 109 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packaging/release.py | 743 | |
| LOW | packaging/release.py | 840 | |
| LOW | packaging/release.py | 198 | |
| LOW | packaging/cli-doc/build.py | 177 | |
| LOW | …rel_plugin_loading/subdir/inventory_plugins/notyaml.py | 114 | |
| LOW | test/integration/targets/ansible-test/venv-pythons.py | 14 | |
| LOW | …st/integration/targets/ansible-test-container/runme.py | 44 | |
| LOW | …st/integration/targets/ansible-test-container/runme.py | 140 | |
| LOW | …st/integration/targets/ansible-test-container/runme.py | 250 | |
| LOW | …st/integration/targets/ansible-test-container/runme.py | 495 | |
| LOW | …egration/targets/gathering_facts/library/file_utils.py | 11 | |
| LOW | …ntegration/targets/playbook_output_validator/filter.py | 13 | |
| LOW | …targets/var_precedence/ansible-var-precedence-check.py | 414 | |
| LOW | test/integration/targets/uri/files/testserver.py | 12 | |
| LOW | test/sanity/code-smell/no-unwanted-characters.py | 9 | |
| LOW | test/sanity/code-smell/test-constraints.py | 9 | |
| LOW | test/sanity/code-smell/boilerplate.py | 7 | |
| LOW | test/sanity/code-smell/update-bundled.py | 105 | |
| LOW | test/sanity/code-smell/no-s3.py | 12 | |
| LOW | test/units/_internal/templating/test_common_.py | 152 | |
| LOW | test/units/_internal/templating/conftest.py | 28 | |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 376 | |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 403 | |
| LOW | test/units/playbook/role/test_include_role.py | 157 | |
| LOW | test/units/playbook/role/test_include_role.py | 203 | |
| LOW | …nits/utils/collection_loader/test_collection_loader.py | 237 | |
| LOW | test/units/cli/test_galaxy.py | 655 | |
| LOW | test/units/inventory/test_data.py | 73 | |
| LOW | test/units/parsing/yaml/test_loader.py | 285 | |
| LOW | …support/windows-integration/plugins/action/win_copy.py | 25 | |
| LOW | …support/windows-integration/plugins/action/win_copy.py | 77 | |
| LOW | …support/windows-integration/plugins/action/win_copy.py | 328 | |
| LOW | …collections/ansible/windows/plugins/action/win_copy.py | 25 | |
| LOW | …collections/ansible/windows/plugins/action/win_copy.py | 77 | |
| LOW | …collections/ansible/windows/plugins/action/win_copy.py | 328 | |
| LOW | test/lib/ansible_test/_internal/host_profiles.py | 755 | |
| LOW | test/lib/ansible_test/_internal/host_profiles.py | 922 | |
| LOW | test/lib/ansible_test/_internal/host_profiles.py | 1163 | |
| LOW | test/lib/ansible_test/_internal/host_profiles.py | 1251 | |
| LOW | test/lib/ansible_test/_internal/completion.py | 329 | |
| LOW | test/lib/ansible_test/_internal/util.py | 318 | |
| LOW | test/lib/ansible_test/_internal/util.py | 1092 | |
| LOW | test/lib/ansible_test/_internal/containers.py | 449 | |
| LOW | test/lib/ansible_test/_internal/containers.py | 592 | |
| LOW | test/lib/ansible_test/_internal/coverage_util.py | 164 | |
| LOW | test/lib/ansible_test/_internal/http.py | 41 | |
| LOW | test/lib/ansible_test/_internal/docker_util.py | 596 | |
| LOW | test/lib/ansible_test/_internal/docker_util.py | 657 | |
| LOW | test/lib/ansible_test/_internal/diff.py | 196 | |
| LOW | test/lib/ansible_test/_internal/target.py | 90 | |
| LOW | test/lib/ansible_test/_internal/target.py | 307 | |
| LOW | test/lib/ansible_test/_internal/target.py | 490 | |
| LOW | test/lib/ansible_test/_internal/target.py | 515 | |
| LOW | test/lib/ansible_test/_internal/ssh.py | 106 | |
| LOW | test/lib/ansible_test/_internal/python_requirements.py | 258 | |
| LOW | test/lib/ansible_test/_internal/delegation.py | 139 | |
| LOW | test/lib/ansible_test/_internal/delegation.py | 334 | |
| LOW | test/lib/ansible_test/_internal/provisioning.py | 101 | |
| LOW | test/lib/ansible_test/_internal/data.py | 256 | |
| LOW | test/lib/ansible_test/_internal/core_ci.py | 414 | |
| 549 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/integration/targets/pause/test-pause.py | 21 | except Exception: |
| LOW | …rel_plugin_loading/subdir/inventory_plugins/notyaml.py | 96 | except Exception as e: |
| LOW | …st/integration/targets/ansible-test-container/runme.py | 541 | except Exception: |
| LOW | …ventory/inventory_plugins/constructed_with_hostvars.py | 50 | except Exception as ex: |
| LOW | …egration/targets/module_tracebacks/library/ansibull.py | 39 | except Exception as ex: |
| LOW | …ts/inventory_cache/plugins/inventory/exercise_cache.py | 76 | except Exception as e: |
| LOW | …targets/var_precedence/ansible-var-precedence-check.py | 531 | except Exception as e: |
| LOW | test/sanity/code-smell/boilerplate.py | 43 | except Exception: # pylint: disable=broad-except |
| LOW | test/sanity/code-smell/ansible-requirements.py | 10 | except Exception as ex: # pylint: disable=broad-except |
| MEDIUM | test/sanity/code-smell/ansible-requirements.py | 6 | def read_file(path): |
| LOW | test/units/_internal/templating/conftest.py | 43 | except Exception as ex: |
| LOW | test/units/_internal/templating/conftest.py | 47 | except Exception as ex2: |
| LOW | test/units/_internal/templating/test_lazy_containers.py | 426 | except Exception as ex: |
| LOW | test/units/_internal/templating/test_templar.py | 878 | except Exception: |
| LOW | test/units/mock/error_helper.py | 14 | except Exception as ex: |
| LOW | test/units/utils/test_serialization_profiles.py | 176 | except Exception as ex: |
| LOW | test/units/utils/test_serialization_profiles.py | 182 | except Exception as ex: |
| LOW | …nits/utils/collection_loader/test_collection_loader.py | 299 | except Exception as phe: |
| LOW | test/units/utils/display/test_warning.py | 25 | except Exception as ex: |
| LOW | test/units/module_utils/datatag/test_datatag.py | 303 | except Exception as ex: |
| LOW | …/module_utils/common/warnings/test_error_as_warning.py | 17 | except Exception as ex: |
| LOW | …/module_utils/common/warnings/test_error_as_warning.py | 30 | except Exception as ex: |
| MEDIUM | …/module_utils/common/warnings/test_error_as_warning.py | 14 | def test_error_as_warning() -> None: |
| LOW | test/units/parsing/utils/test_addresses.py | 81 | except Exception: |
| LOW | test/units/parsing/utils/test_addresses.py | 94 | except Exception: |
| LOW | test/units/parsing/yaml/test_loader.py | 193 | except Exception as e: |
| LOW | …support/windows-integration/plugins/action/win_copy.py | 226 | except Exception as err: |
| LOW | …support/windows-integration/plugins/action/win_copy.py | 295 | except Exception as e: |
| LOW | …support/windows-integration/plugins/action/win_copy.py | 373 | except Exception as err: |
| LOW | …collections/ansible/windows/plugins/action/win_copy.py | 226 | except Exception as err: |
| LOW | …collections/ansible/windows/plugins/action/win_copy.py | 295 | except Exception as e: |
| LOW | …collections/ansible/windows/plugins/action/win_copy.py | 373 | except Exception as err: |
| LOW | …ctions/ansible/windows/plugins/plugin_utils/_reboot.py | 150 | except Exception as e: |
| LOW | …ctions/ansible/windows/plugins/plugin_utils/_reboot.py | 271 | except Exception as e: |
| LOW | …ctions/ansible/windows/plugins/plugin_utils/_reboot.py | 363 | except Exception: |
| LOW | …ctions/ansible/windows/plugins/plugin_utils/_reboot.py | 398 | except Exception as e: |
| LOW | …ctions/ansible/windows/plugins/plugin_utils/_reboot.py | 566 | except Exception: |
| MEDIUM | …ctions/ansible/windows/plugins/plugin_utils/_reboot.py | 545 | def _wrap_conn_err(func, *args, **kwargs): |
| LOW | test/lib/ansible_test/_internal/content_config.py | 96 | except Exception as ex: # pylint: disable=broad-except |
| LOW | test/lib/ansible_test/_internal/content_config.py | 102 | except Exception as ex: # pylint: disable=broad-except |
| LOW | test/lib/ansible_test/_internal/util.py | 611 | except Exception as ex: # pylint: disable=broad-except |
| LOW | test/lib/ansible_test/_internal/containers.py | 647 | except Exception: |
| LOW | test/lib/ansible_test/_internal/coverage_util.py | 135 | except Exception as ex: |
| LOW | test/lib/ansible_test/_internal/debugging.py | 98 | except Exception as ex: |
| LOW | test/lib/ansible_test/_internal/http.py | 79 | except Exception as ex: # pylint: disable=broad-exception-caught |
| LOW | test/lib/ansible_test/_internal/diff.py | 131 | except Exception as ex: |
| LOW | test/lib/ansible_test/_internal/target.py | 44 | except Exception as ex: # pylint: disable=locally-disabled, broad-except |
| LOW | test/lib/ansible_test/_internal/ssh.py | 96 | except Exception: # pylint: disable=broad-except |
| LOW | test/lib/ansible_test/_internal/provisioning.py | 223 | except Exception as ex: # pylint: disable=broad-except |
| LOW | …/lib/ansible_test/_internal/cli/argparsing/__init__.py | 197 | except Exception: # pylint: disable=broad-except |
| LOW | …/lib/ansible_test/_internal/cli/argparsing/__init__.py | 229 | except Exception: # pylint: disable=broad-except |
| LOW | …nsible_test/_internal/commands/integration/__init__.py | 593 | except Exception as ex: |
| LOW | …nsible_test/_internal/commands/integration/cloud/cs.py | 137 | except Exception: # pylint: disable=broad-except |
| LOW | …t/lib/ansible_test/_util/target/setup/probe_cgroups.py | 22 | except Exception as ex: # pylint: disable=broad-except |
| LOW | …st/lib/ansible_test/_util/target/setup/requirements.py | 87 | except Exception as ex: |
| LOW | …ib/ansible_test/_util/target/sanity/import/importer.py | 110 | except Exception as ex: |
| LOW | …sible_test/_util/controller/tools/collection_detail.py | 53 | except Exception as ex: # pylint: disable=broad-except |
| LOW | …sible_test/_util/controller/tools/collection_detail.py | 74 | except Exception as ex: # pylint: disable=broad-except |
| LOW | …sible_test/_util/controller/tools/collection_detail.py | 86 | except Exception as ex: # pylint: disable=broad-except |
| MEDIUM | …oller/sanity/validate-modules/validate_modules/main.py | 151 | def _ensure_default_entry(self, path): |
| 402 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | requirements.txt | 1 | # Note: this requirements.txt file is used to specify what dependencies are |
| LOW | test/integration/targets/win_script/tasks/main.yml | 1 | # test code for the script module when using winrm connection |
| LOW | …t/integration/targets/hosts_field/test_hosts_field.yml | 1 | --- |
| LOW | test/integration/targets/connection_ssh/runme.sh | 1 | #!/usr/bin/env bash |
| LOW | test/integration/targets/blockinfile/tasks/main.yml | 1 | # Test code for the blockinfile module. |
| LOW | …/targets/old_style_modules_posix/library/helloworld.sh | 1 | #!/bin/sh |
| LOW | test/integration/targets/module_precedence/runme.sh | 21 | |
| LOW | test/integration/targets/module_precedence/runme.sh | 41 | # returns 'a.ini', then this test is pointless anyway because there's no chance |
| LOW | …le_precedence/roles_with_extension/foo/library/ping.py | 1 | #!/usr/bin/python |
| LOW | …s/module_precedence/multiple_roles/foo/library/ping.py | 1 | #!/usr/bin/python |
| LOW | …s/module_precedence/multiple_roles/bar/library/ping.py | 1 | #!/usr/bin/python |
| LOW | …n/targets/module_precedence/lib_with_extension/ping.py | 1 | #!/usr/bin/python |
| LOW | test/integration/targets/ping/tasks/main.yml | 1 | # test code for the ping module |
| LOW | test/integration/targets/collection/setup.sh | 1 | #!/usr/bin/env bash |
| LOW | test/integration/targets/conditionals/play.yml | 421 | |
| LOW | …ation/targets/conditionals/output_validation_tests.yml | 81 | # Convert these to tests that assert a broken conditional error. |
| LOW | test/integration/targets/async_fail/tasks/main.yml | 1 | # test code for the async keyword failing in the middle of output |
| LOW | …ntegration/targets/async_fail/action_plugins/normal.py | 1 | # (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> |
| LOW | test/integration/targets/changed_when/tasks/main.yml | 1 | # test code for the changed_when parameter |
| LOW | test/integration/targets/command_shell/tasks/main.yml | 321 | - shell_result0.cmd == remote_tmp_dir_test + '/test.sh' |
| LOW | test/integration/targets/loop_control/label.yml | 21 | # that: |
| LOW | …t/integration/targets/win_async_wrapper/tasks/main.yml | 41 | |
| LOW | …t/integration/targets/win_async_wrapper/tasks/main.yml | 81 | #- name: ensure that watchdog and module procs have exited |
| LOW | …t/integration/targets/win_async_wrapper/tasks/main.yml | 221 | - >- |
| LOW | …t/integration/targets/win_async_wrapper/tasks/main.yml | 241 | # |
| LOW | …t/integration/targets/win_async_wrapper/tasks/main.yml | 261 | # - proclist.stdout.strip() == "" |
| LOW | …ration/targets/ansible-inventory/tasks/toml_output.yml | 1 | - block: |
| LOW | test/integration/targets/file/tasks/selinux_tests.yml | 1 | # Test code for the file module - selinux subtasks. |
| LOW | test/integration/targets/file/tasks/main.yml | 1 | # Test code for the file module. |
| LOW | …n/targets/hash/roles/test_hash_behaviour/vars/main.yml | 1 | # test code for the hash variable behavior |
| LOW | …/targets/hash/roles/test_hash_behaviour/tasks/main.yml | 1 | # test code for the hash variable behaviour |
| LOW | …n/targets/hash/roles/test_hash_behaviour/meta/main.yml | 1 | # test code for the hash variable behavior |
| LOW | …rgets/hash/roles/test_hash_behaviour/defaults/main.yml | 1 | # test code for the hash variable behavior |
| LOW | test/integration/targets/win_raw/tasks/main.yml | 1 | # test code for the raw module when using winrm connection |
| LOW | test/integration/targets/win_raw/tasks/main.yml | 141 | #- name: check raw with job result |
| LOW | test/integration/targets/group_by/create_groups.yml | 1 | # test code for the group_by module |
| LOW | test/integration/targets/group_by/test_group_by.yml | 1 | # test code for the group_by module |
| LOW | …integration/targets/group_by/test_group_by_skipped.yml | 1 | # test code for the group_by module |
| LOW | test/integration/targets/callback_default/runme.sh | 1 | #!/usr/bin/env bash |
| LOW | test/integration/targets/assemble/tasks/main.yml | 1 | # test code for the assemble module |
| LOW | test/integration/targets/assemble/meta/main.yml | 1 | # test code for the assemble module |
| LOW | test/integration/targets/systemd/tasks/main.yml | 1 | # Test code for the systemd module. |
| LOW | …ration/targets/builtin_vars_prompt/test-vars_prompt.py | 41 | |
| LOW | …argets/check_mode/roles/test_check_mode/tasks/main.yml | 1 | # test code for the template module |
| LOW | …argets/check_mode/roles/test_always_run/tasks/main.yml | 1 | # test code for the check_mode: no option |
| LOW | …targets/check_mode/roles/test_always_run/meta/main.yml | 1 | # test code for the check_mode: no option |
| LOW | test/integration/targets/async/tasks/main.yml | 1 | # test code for the async keyword |
| LOW | …ts/var_blending/roles/test_var_blending/tasks/main.yml | 1 | # test code |
| LOW | test/integration/targets/template/tasks/main.yml | 1 | # test code for the template module |
| LOW | …on/targets/includes/roles/test_includes/tasks/main.yml | 1 | # test code for the ping module |
| LOW | test/integration/targets/ansible-vault/faux-editor.py | 1 | #!/usr/bin/env python |
| LOW | test/integration/targets/ansible-vault/runme.sh | 421 | |
| LOW | …t/integration/targets/ansible-vault/password-script.py | 1 | #!/usr/bin/env python |
| LOW | …ble-vault/roles/test_vault_embedded_ids/tasks/main.yml | 21 | that: |
| LOW | test/integration/targets/loop-until/tasks/main.yml | 1 | # Test code for integration of until and loop options |
| LOW | test/integration/targets/assert/tasks/main.yml | 241 | # DTFIX-FUTURE: restore tests for `quiet` arg with a custom callback or output validation test |
| LOW | test/integration/targets/add_host/tasks/main.yml | 1 | # test code for the add_host action |
| LOW | test/integration/targets/script/tasks/main.yml | 1 | # Test code for the script module and action_plugin. |
| LOW | …n/targets/ignore_errors/test_invalid_ignore_errors.yml | 21 | |
| LOW | test/integration/targets/ignore_errors/tasks/main.yml | 1 | # test code |
| 367 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …rgets/module_utils_common.respawn/library/respawnme.py | 20 | # just return info about what interpreter we're currently running under |
| LOW | test/integration/targets/cli/setup.yml | 38 | # on some platforms, as does sudo/sudoers. On Fedora, we can just add |
| LOW | test/integration/targets/assert/tasks/main.yml | 37 | # from here on, just use `assert` to validate behavior |
| LOW | …egration/targets/prepare_http_tests/tasks/kerberos.yml | 50 | # apk isn't available on ansible-core so just call command |
| MEDIUM | …tion/targets/ansible-galaxy-collection/tasks/build.yml | 142 | # Additional comprehensive tests for FILES.json sorting robustness |
| LOW | …on/targets/subversion/roles/subversion/tasks/setup.yml | 100 | # On Red Hat based OS', we can't use apachectl to start up own instance, just use the raw httpd |
| LOW | test/integration/targets/debug/args_templating.yml | 84 | # of dynamic variable selection for `var` (eg ternary), but you could also just use `msg`. |
| LOW | test/units/plugins/action/test_action.py | 390 | # Step 1: On windows, we just return remote_paths |
| MEDIUM | test/units/utils/test_serialization_profiles.py | 69 | Deprecated: Deprecated(msg='x'), # DTFIX5: we need more exhaustive testing of the values supported by this tag to e |
| MEDIUM | test/units/module_utils/basic/test_atomic_move.py | 138 | """Failure to stat an existing file in order to copy permissions propagates the error (unless EPERM)""" |
| LOW | test/units/module_utils/datatag/test_datatag.py | 335 | # just return the entire row as "value" |
| MEDIUM | test/units/module_utils/datatag/test_datatag.py | 696 | # This test creates a generator to source items from the value to facilitate optimized creation of collections w |
| LOW | test/units/executor/test_play_iterator.py | 414 | # assert with an empty task list, or if we're in a failed state, we simply return the state as-is |
| LOW | test/units/parsing/vault/test_vault_editor.py | 223 | # FIXME: update to just set self._secrets or just a new vault secret id |
| LOW | …_util/controller/sanity/code-smell/runtime-metadata.py | 141 | # just return None to indicate "we don't know". |
| LOW | hacking/backport/backport_of_line_adder.py | 111 | # Otherwise, no '#### SUMMARY' line, so just add it at the bottom |
| LOW | lib/ansible/_internal/_wrapt.py | 561 | # method to call. In this case we simply return self. |
| LOW | lib/ansible/_internal/_wrapt.py | 615 | # and if the wrapper is not to be executed, then simply return |
| LOW | lib/ansible/_internal/_wrapt.py | 683 | # the wrapper is not to be executed, then simply return the bound |
| LOW | lib/ansible/_internal/_templating/_jinja_bits.py | 528 | # was embedded in a plugin, or a plugin is otherwise responsible for losing the origin and/or trust. We can't just |
| MEDIUM | lib/ansible/_internal/_templating/_jinja_bits.py | 628 | template_obj._python_source_temp_path = ctx.python_source_temp_path # facilitate deletion of the temp f |
| MEDIUM | lib/ansible/_internal/_templating/_jinja_bits.py | 711 | template_obj._python_source_temp_path = ctx.python_source_temp_path # facilitate deletion of the temp f |
| LOW | lib/ansible/_internal/_json/__init__.py | 197 | # supported scalar type that requires no special handling, just return as-is |
| LOW | lib/ansible/_internal/_json/_legacy_encoder.py | 26 | return o.value # if not emitting unsafe markers, bypass custom unsafe serialization and just return the raw |
| LOW | lib/ansible/_internal/_powershell/_clixml.py | 80 | # Any errors and we just add the original CLIXML header and |
| MEDIUM | lib/ansible/_internal/_yaml/_constructor.py | 65 | # This is done before checking for duplicates to leverage existing error checking on the input node. |
| LOW | lib/ansible/playbook/collectionsearch.py | 44 | if not ds: # don't return an empty collection list, just return None |
| LOW | lib/ansible/playbook/role/__init__.py | 270 | # reset collections list; roles do not inherit collections from parents, just use the defaults |
| MEDIUM | lib/ansible/plugins/loader.py | 666 | # but if the unqualified name is used in conjunction with the collections keyword, only |
| MEDIUM | lib/ansible/plugins/loader.py | 790 | # FIXME: need this right now so we can still load shipped PS module_utils- come up with a more robust solution |
| MEDIUM | lib/ansible/plugins/loader.py | 863 | """Search library and various *_plugins paths in order to find the file. |
| LOW | lib/ansible/plugins/connection/winrm.py | 214 | # This was added in pywinrm 0.5.0, we just use our no-op exception for |
| LOW | lib/ansible/plugins/inventory/host_list.py | 22 | # just use localhost |
| LOW | lib/ansible/plugins/inventory/ini.py | 200 | # group, in that case we simply pass so that the logic below to process pending |
| LOW | lib/ansible/plugins/inventory/ini.py | 380 | # Likely a string that literal_eval does not like. We will then just set it. |
| LOW | lib/ansible/plugins/callback/__init__.py | 159 | # FUTURE: this code is jacked for 2.x- it should just use the type names and always assume 2.0+ for normal cases |
| MEDIUM | lib/ansible/cli/__init__.py | 174 | # Initialize plugin loader after parse, so that the init code can utilize parsed arguments |
| LOW | lib/ansible/cli/vault.py | 364 | # if no --names are provided, just use the args without a name. |
| MEDIUM | lib/ansible/cli/arguments/option_helpers.py | 423 | """Add options for commands that utilize inventory""" |
| LOW | lib/ansible/galaxy/collection/__init__.py | 1356 | # Dealing with a normal file, just add it by name. |
| MEDIUM | lib/ansible/inventory/host.py | 31 | from . import helpers # this is left as a module import to facilitate easier unit test patching |
| MEDIUM | lib/ansible/inventory/group.py | 18 | from . import helpers # this is left as a module import to facilitate easier unit test patching |
| MEDIUM | lib/ansible/inventory/data.py | 32 | from . import helpers # this is left as a module import to facilitate easier unit test patching |
| LOW | lib/ansible/module_utils/_internal/_datatag/__init__.py | 175 | # if no tags to apply, just return what we got |
| LOW | lib/ansible/executor/play_iterator.py | 598 | # if we've failed at all, or if the task list is empty, just return the current state |
| LOW | lib/ansible/executor/task_executor.py | 445 | # if this task is a TaskInclude, we just return now with a success code so the |
| LOW | lib/ansible/executor/task_executor.py | 456 | # if this task is a IncludeRole, we just return now with a success code so the main thread can expand the task l |
| LOW | lib/ansible/executor/task_executor.py | 469 | # just use normal host vars |
| LOW | lib/ansible/parsing/utils/addresses.py | 124 | # Note that we can't just use ipaddress.ip_address() because we also have to |
| LOW | lib/ansible/modules/deb822_repository.py | 361 | # Not a file, nor a URL, just pass it through |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/integration/targets/conditionals/play.yml | 256 | #----------------------------------------------------------------------- |
| MEDIUM | test/integration/targets/dnf/tasks/repo.yml | 25 | # ============================================================================ |
| MEDIUM | test/integration/targets/dnf/tasks/repo.yml | 53 | # ============================================================================ |
| MEDIUM | test/integration/targets/dnf/tasks/repo.yml | 71 | # ============================================================================ |
| MEDIUM | test/integration/targets/dnf/tasks/repo.yml | 92 | # ============================================================================ |
| MEDIUM | test/integration/targets/dnf/tasks/repo.yml | 113 | # ============================================================================ |
| MEDIUM | test/integration/targets/dnf/tasks/repo.yml | 137 | # ============================================================================ |
| MEDIUM | test/integration/targets/dnf/tasks/repo.yml | 165 | # ============================================================================ |
| MEDIUM | test/integration/targets/dnf/tasks/repo.yml | 187 | # ============================================================================ |
| MEDIUM | test/integration/targets/dnf/tasks/repo.yml | 204 | # ============================================================================ |
| MEDIUM | test/integration/targets/dnf/tasks/repo.yml | 226 | # ============================================================================ |
| MEDIUM | test/integration/targets/dnf/tasks/repo.yml | 243 | # ============================================================================ |
| MEDIUM | lib/ansible/playbook/task.py | 68 | # ================================================================================= |
| MEDIUM | lib/ansible/playbook/role_include.py | 45 | # ================================================================================= |
| MEDIUM | lib/ansible/playbook/play.py | 60 | # ================================================================================= |
| MEDIUM | lib/ansible/playbook/play.py | 91 | # ================================================================================= |
| MEDIUM | lib/ansible/modules/systemd_service.py | 339 | # =========================================== |
| MEDIUM | lib/ansible/modules/service.py | 228 | # =========================================== |
| MEDIUM | lib/ansible/modules/service.py | 243 | # =========================================== |
| MEDIUM | lib/ansible/modules/service.py | 1517 | # =========================================== |
| MEDIUM | lib/ansible/modules/user.py | 1429 | # =========================================== |
| MEDIUM | lib/ansible/modules/git.py | 1219 | # =========================================== |
| MEDIUM | lib/ansible/modules/wait_for.py | 342 | # =========================================== |
| MEDIUM | lib/ansible/modules/systemd.py | 339 | # =========================================== |
| MEDIUM | lib/ansible/modules/group.py | 278 | # =========================================== |
| MEDIUM | lib/ansible/modules/group.py | 303 | # =========================================== |
| MEDIUM | lib/ansible/modules/group.py | 336 | # =========================================== |
| MEDIUM | lib/ansible/modules/group.py | 387 | # =========================================== |
| MEDIUM | lib/ansible/modules/group.py | 450 | # =========================================== |
| MEDIUM | lib/ansible/modules/group.py | 575 | # =========================================== |
| MEDIUM | lib/ansible/modules/group.py | 629 | # =========================================== |
| MEDIUM | lib/ansible/modules/get_url.py | 383 | # ============================================================== |
| MEDIUM | lib/ansible/modules/get_url.py | 503 | # ============================================================== |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …llections/testns/testcoll/plugins/module_utils/base.py | 11 | return "thingtocall in base called " + ansible_collections.testns.testcoll.plugins.module_utils.secondary.thingtocal |
| CRITICAL | …s/testcoll/plugins/modules/uses_leaf_mu_flat_import.py | 11 | mu_result = ansible_collections.testns.testcoll.plugins.module_utils.leaf.thingtocall() |
| CRITICAL | test/units/utils/test_helpers.py | 10 | from ansible.utils.helpers import pct_to_int, object_to_dict, deduplicate_list |
| CRITICAL | test/units/module_utils/basic/test_run_command.py | 216 | assert rc_am._subprocess.Popen.return_value.stdin.getvalue() == b'hello world\n' |
| CRITICAL | lib/ansible/inventory/manager.py | 41 | from ansible.utils.helpers import deduplicate_list |
| CRITICAL | lib/ansible/module_utils/common/arg_spec.py | 48 | <ansible.module_utils.common.arg_spec.ArgumentSpecValidator.validate()>` |
| CRITICAL | lib/ansible/executor/playbook_executor.py | 30 | from ansible.utils.helpers import pct_to_int |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/integration/targets/connection_ssh/runme.sh | 7 | # Check if our sshpass supports -P |
| LOW | test/integration/targets/callback_default/runme.sh | 215 | # Check if UNREACHABLE is available in stderr |
| LOW | test/integration/targets/filter_core/runme.sh | 20 | # Check if libxcrypt was installed by looking for the handler output |
| LOW | …support/windows-integration/plugins/action/win_copy.py | 173 | # Check if the source ends with a "/" so that we know which directory |
| LOW | …collections/ansible/windows/plugins/action/win_copy.py | 173 | # Check if the source ends with a "/" so that we know which directory |
| LOW | …t/lib/ansible_test/_internal/commands/sanity/pylint.py | 285 | # Set PYLINTHOME to prevent pylint from checking for an obsolete directory, which can result in a test failure d |
| LOW | lib/ansible/_internal/_ansiballz/_wrapper.py | 217 | # Set pythonpath to the debug dir |
| LOW | lib/ansible/playbook/base.py | 321 | # Check if the group has already been resolved and cached |
| LOW | lib/ansible/plugins/connection/psrp.py | 680 | # Check if there's a command on the current pipeline that still needs to be closed. |
| LOW | lib/ansible/plugins/connection/ssh.py | 901 | # Check if ControlPersist is enabled and add a ControlPath if one hasn't |
| LOW | lib/ansible/plugins/action/__init__.py | 779 | # Check if we are an admin/root user. If we are and got here, it means |
| LOW | lib/ansible/plugins/action/copy.py | 167 | # Check if the source ends with a "/" so that we know which directory |
| LOW | lib/ansible/cli/arguments/option_helpers.py | 240 | # Check if the .git is a file. If it is a file, it means that we are in a submodule structure. |
| LOW | lib/ansible/inventory/manager.py | 395 | # Check if pattern already computed |
| LOW | lib/ansible/inventory/manager.py | 685 | # Check if host in inventory, add if not |
| LOW | lib/ansible/module_utils/basic.py | 1024 | # Check if there are illegal characters in the user list |
| LOW | lib/ansible/module_utils/basic.py | 1032 | # Check if there are illegal characters in the permissions |
| LOW | lib/ansible/module_utils/facts/system/python.py | 24 | # Check if we have SSLContext support |
| LOW | lib/ansible/module_utils/facts/system/pkg_mgr.py | 84 | # Check if '/usr/bin/apt' is APT-RPM or an ordinary (dpkg-based) APT. |
| LOW | lib/ansible/module_utils/facts/system/pkg_mgr.py | 131 | # Check if /usr/bin/apt-get is ordinary (dpkg-based) APT or APT-RPM |
| LOW | lib/ansible/module_utils/facts/virtual/sunos.py | 25 | # Check if it's a zone |
| LOW | lib/ansible/module_utils/facts/virtual/sunos.py | 36 | # Check if it's a branded zone (i.e. Solaris 8/9 zone) |
| LOW | lib/ansible/executor/task_executor.py | 951 | # Check if the module has specified an action handler |
| LOW | lib/ansible/parsing/dataloader.py | 106 | # Check if the file has been cached and use the cached data if available |
| LOW | lib/ansible/modules/service.py | 421 | # Add line to the list. |
| LOW | lib/ansible/modules/service.py | 766 | # Check if we're already in the correct state |
| LOW | lib/ansible/modules/service.py | 780 | # Check if we're already in the correct state |
| LOW | lib/ansible/modules/service.py | 1474 | # Check if service name is a subsystem of a group subsystem |
| LOW | lib/ansible/modules/git.py | 835 | # Check if the .git is a file. If it is a file, it means that the repository is in external directory respective to |
| LOW | lib/ansible/modules/uri.py | 729 | # Write the file out if requested |
| LOW | lib/ansible/modules/rpm_key.py | 185 | # Check if it's a new format packet (bit 6 set) |
| LOW | lib/ansible/modules/rpm_key.py | 299 | # Check if it's a V4 key (first byte of body should be 0x04) |
| LOW | lib/ansible/modules/rpm_key.py | 332 | # Check if it's a V6 key (first byte of body should be 0x06) |
| LOW | lib/ansible/modules/apt.py | 915 | # Check if package is installable |
| LOW | lib/ansible/modules/apt.py | 1256 | # Check if the cache is valid |
| LOW | lib/ansible/modules/apt.py | 522 | # Check if the available version matches the requested version |
| LOW | lib/ansible/modules/apt.py | 600 | # Check if the installed version already matches the requested version |
| LOW | lib/ansible/modules/apt.py | 608 | # Check if a better version is available |
| LOW | lib/ansible/modules/iptables.py | 885 | # Check if wait option is supported |
| LOW | lib/ansible/modules/iptables.py | 943 | # Check if target is up to date |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …facts/system/distribution/test_distribution_version.py | 18 | # to generate the testcase data, you can use the script gen_distribution_version_testcase.py in hacking/tests |
| MEDIUM | …port/windows-integration/plugins/modules/win_reboot.py | 109 | # Additionally, you can add a delay before running the next task |
| LOW | lib/ansible/playbook/play_context.py | 273 | # in the event that we were using local before make sure to reset the |
| MEDIUM | lib/ansible/plugins/lookup/nested.py | 30 | # As with the case of 'with_items' above, you can use previously defined variables.: |
| LOW | lib/ansible/module_utils/basic.py | 176 | # this matters, make sure to check for strings before checking for sequencetype |
| LOW | lib/ansible/parsing/dataloader.py | 298 | # not told if role, but detect if it is a role and if so make sure you get correct base path |
| MEDIUM | lib/ansible/modules/meta.py | 25 | or, if available for your specific inventory datasource (for example P(amazon.aws.aws_ec2#inventory)), you can |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/units/plugins/action/test_action.py | 390 | # Step 1: On windows, we just return remote_paths |
| LOW | test/units/plugins/action/test_action.py | 398 | # Step 2: We're /not/ becoming an unprivileged user |
| LOW | test/units/plugins/action/test_action.py | 425 | # Step 3: we are becoming unprivileged |
| LOW | test/units/plugins/action/test_action.py | 534 | # Step 4: world-readable tmpdir |
| LOW | lib/ansible/plugins/action/__init__.py | 696 | # Step 1: Are we on windows? |
| LOW | lib/ansible/plugins/action/__init__.py | 703 | # Step 2: If we're not becoming an unprivileged user, we are roughly |
| LOW | lib/ansible/plugins/action/__init__.py | 858 | # Step 4: World-readable temp directory |
| LOW | lib/ansible/utils/vars.py | 241 | The purpose of this function is to be used to validate any variables created in |
| LOW | lib/ansible/modules/rpm_key.py | 416 | # If the key is a url, we need to check if it's present to be idempotent, |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …mpat-six/ansible_collections/ns/col/do-not-check-me.py | 6 | def do_stuff(): |
| LOW | …ansible_collections/ns/col/plugins/modules/check-me.py | 6 | def do_stuff(): |
| LOW | …xception/ansible_collections/ns/col/do-not-check-me.py | 6 | def do_stuff(): |
| LOW | …ansible_collections/ns/col/plugins/modules/check-me.py | 6 | def do_stuff(): |
| LOW | …targets/ansible-test-sanity-pylint/deprecated_thing.py | 11 | def do_stuff() -> None: |
| LOW | …nsible_collections/ns/col/plugins/lookup/deprecated.py | 55 | def my_method(self) -> None: |
| LOW | …nsible_collections/ns/col/plugins/lookup/deprecated.py | 65 | def do_stuff() -> None: |
| LOW | …ctions/ns/col/plugins/module_utils/deprecated_utils.py | 17 | def do_stuff() -> None: |
| LOW | …-urlopen/ansible_collections/ns/col/do-not-check-me.py | 6 | def do_stuff(): |
| LOW | …ansible_collections/ns/col/plugins/modules/check-me.py | 6 | def do_stuff(): |
| LOW | test/units/module_utils/_internal/test_deprecator.py | 28 | def do_stuff(): |
| LOW | lib/ansible/utils/jsonrpc.py | 23 | def handle_request(self, request): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | lib/ansible/module_utils/distro/_distro.py | 680 | The initialization method of this class gathers information from the available data sources, and stores |
| HIGH | lib/ansible/modules/pip.py | 9 | --- module: pip short_description: Manages Python library dependencies description: - "Manage Python library depen |