AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
3681 matches across 17 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | awxkit/awxkit/ws.py | 146 | def pending_project_update_stdout(self): |
| LOW | awxkit/awxkit/ws.py | 152 | def pending_inventory_update_stdout(self): |
| LOW | awxkit/awxkit/ws.py | 164 | def pending_system_job_events(self): |
| LOW | awxkit/awxkit/ws.py | 167 | def subscribe_to_pending_events(self, events, jobs=[status_changed]): |
| LOW | awxkit/awxkit/utils/__init__.py | 303 | def set_payload_foreign_key_args(payload, fk_fields, kwargs): |
| LOW | awxkit/awxkit/utils/__init__.py | 385 | def seconds_since_date_string(date_str, fmt='%Y-%m-%dT%H:%M:%S.%fZ', default_tz=UTC()): |
| LOW | awxkit/awxkit/cli/format.py | 42 | def add_authentication_arguments(parser, env): |
| LOW | awxkit/awxkit/cli/format.py | 83 | def add_formatting_import_export(parser, env): |
| LOW | awxkit/awxkit/cli/format.py | 96 | def add_output_formatting_arguments(parser, env): |
| LOW | awxkit/awxkit/api/mixins/has_notifications.py | 10 | def add_notification_template(self, notification_template, endpoint="notification_templates_success"): |
| LOW | awxkit/awxkit/api/mixins/has_notifications.py | 19 | def remove_notification_template(self, notification_template, endpoint="notification_templates_success"): |
| LOW | awxkit/awxkit/api/mixins/has_create.py | 27 | def optional_dependency_graph(page, *provided_dependencies): |
| LOW | awxkit/awxkit/api/mixins/has_create.py | 101 | def all_instantiated_dependencies(*potential_parents): |
| LOW | awxkit/awxkit/api/mixins/has_create.py | 250 | def create_and_update_dependencies(self, *provided_and_desired_dependencies): |
| LOW | awxkit/awxkit/api/mixins/has_instance_groups.py | 15 | def remove_all_instance_groups(self): |
| LOW | awxkit/awxkit/api/pages/credentials.py | 106 | def kind_and_config_cred_from_credential_type(credential_type): |
| LOW | awxkit/awxkit/api/pages/credentials.py | 127 | def get_payload_field_and_value_from_kwargs_or_config_cred(field, kind, kwargs, config_cred): |
| LOW | awxkit/awxkit/api/pages/credentials.py | 281 | def expected_passwords_needed_to_start(self): |
| LOW | awxkit/awxkit/api/pages/page.py | 333 | def exception_from_status_code(status_code): |
| LOW | awxkit/test/test_registry.py | 24 | def test_methodless_get_from_empty_registry(reg): |
| LOW | awxkit/test/test_registry.py | 28 | def test_method_get_from_empty_registry(reg): |
| LOW | awxkit/test/test_registry.py | 32 | def test_methodless_setdefault_methodless_get(reg): |
| LOW | awxkit/test/test_registry.py | 37 | def test_methodless_setdefault_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 42 | def test_method_setdefault_methodless_get(reg): |
| LOW | awxkit/test/test_registry.py | 47 | def test_method_setdefault_matching_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 52 | def test_method_setdefault_nonmatching_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 57 | def test_multimethod_setdefault_matching_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 63 | def test_multimethod_setdefault_nonmatching_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 69 | def test_wildcard_setdefault_methodless_get(reg): |
| LOW | awxkit/test/test_registry.py | 74 | def test_wildcard_setdefault_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 79 | def test_regex_method_setdefaults_over_wildcard_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 86 | def test_methodless_registration_with_matching_path_methodless_get(reg): |
| LOW | awxkit/test/test_registry.py | 91 | def test_methodless_registraion_with_nonmatching_path_methodless_get(reg): |
| LOW | awxkit/test/test_registry.py | 96 | def test_methodless_registration_with_matching_path_nonmatching_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 101 | def test_method_registration_with_matching_path_matching_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 106 | def test_method_registration_with_matching_path_nonmatching_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 111 | def test_multimethod_registration_with_matching_path_matching_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 117 | def test_multimethod_registration_with_path_matching_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 122 | def test_multipath_methodless_registration_with_matching_path_methodless_get(reg): |
| LOW | awxkit/test/test_registry.py | 128 | def test_multipath_methodless_registration_with_matching_path_nonmatching_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 134 | def test_multipath_method_registration_with_matching_path_matching_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 140 | def test_multipath_partial_method_registration_with_matching_path_matching_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 146 | def test_wildcard_method_registration_with_methodless_get(reg): |
| LOW | awxkit/test/test_registry.py | 151 | def test_wildcard_method_registration_with_method_get(reg): |
| LOW | awxkit/test/test_registry.py | 156 | def test_wildcard_and_specific_method_registration_acts_as_default(reg): |
| LOW | awxkit/test/test_registry.py | 167 | def test_multiple_method_registrations_disallowed_for_single_path_single_registration(reg, method): |
| LOW | awxkit/test/test_registry.py | 174 | def test_multiple_method_registrations_disallowed_for_single_path_multiple_registrations(reg, method): |
| LOW | awxkit/test/test_registry.py | 181 | def test_paths_can_be_patterns(reg): |
| LOW | awxkit/test/test_registry.py | 186 | def test_mixed_form_single_registration(reg): |
| LOW | awxkit/test/test_registry.py | 205 | def test_mixed_form_single_registration_with_methodless_default(reg): |
| LOW | awxkit/test/test_registry.py | 225 | def test_mixed_form_single_registration_with_method_default(reg): |
| LOW | awxkit/test/test_utils.py | 74 | def test_load_valid_json_or_yaml(inp, out): |
| LOW | awxkit/test/test_utils.py | 79 | def test_load_invalid_json_or_yaml(inp): |
| LOW | awxkit/test/test_utils.py | 86 | def test_random_titles_are_unicode(non_ascii): |
| LOW | awxkit/test/test_utils.py | 92 | def test_random_titles_generates_correct_characters(non_ascii): |
| LOW | awxkit/test/test_utils.py | 161 | def test_filter_by_class_with_subclass_class(): |
| LOW | awxkit/test/test_utils.py | 166 | def test_filter_by_class_with_subclass_instance(): |
| LOW | awxkit/test/test_utils.py | 173 | def test_filter_by_class_no_arg_tuples(): |
| LOW | awxkit/test/test_utils.py | 179 | def test_filter_by_class_with_arg_tuples_containing_class(): |
| LOW | awxkit/test/test_utils.py | 186 | def test_filter_by_class_with_arg_tuples_containing_subclass(): |
| 2243 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | awxkit/awxkit/__init__.py | 1 | |
| LOW | awxkit/awxkit/__init__.py | 1 | |
| LOW | awxkit/awxkit/__init__.py | 1 | |
| LOW | awxkit/awxkit/__init__.py | 2 | |
| LOW | awxkit/awxkit/__init__.py | 3 | |
| LOW | awxkit/awxkit/__init__.py | 4 | |
| LOW | awxkit/awxkit/cli/client.py | 1 | |
| LOW | awxkit/awxkit/cli/client.py | 14 | |
| LOW | awxkit/awxkit/cli/client.py | 14 | |
| LOW | awxkit/awxkit/cli/client.py | 16 | |
| LOW | awxkit/awxkit/cli/utils.py | 1 | |
| LOW | awxkit/awxkit/cli/stdout.py | 2 | |
| LOW | awxkit/awxkit/scripts/basic_session.py | 3 | |
| LOW | awxkit/awxkit/scripts/basic_session.py | 7 | |
| LOW | awxkit/awxkit/scripts/basic_session.py | 7 | |
| LOW | awxkit/awxkit/scripts/basic_session.py | 8 | |
| LOW | awxkit/awxkit/scripts/basic_session.py | 8 | |
| LOW | awxkit/awxkit/scripts/basic_session.py | 8 | |
| LOW | awxkit/awxkit/api/__init__.py | 1 | |
| LOW | awxkit/awxkit/api/__init__.py | 2 | |
| LOW | awxkit/awxkit/api/mixins/__init__.py | 1 | |
| LOW | awxkit/awxkit/api/mixins/__init__.py | 2 | |
| LOW | awxkit/awxkit/api/mixins/__init__.py | 3 | |
| LOW | awxkit/awxkit/api/mixins/__init__.py | 4 | |
| LOW | awxkit/awxkit/api/mixins/__init__.py | 5 | |
| LOW | awxkit/awxkit/api/mixins/__init__.py | 6 | |
| LOW | awxkit/awxkit/api/mixins/__init__.py | 7 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 2 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 3 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 4 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 5 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 6 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 7 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 8 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 9 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 10 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 11 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 12 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 13 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 14 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 15 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 16 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 17 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 18 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 19 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 20 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 21 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 22 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 23 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 24 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 25 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 26 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 27 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 28 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 29 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 30 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 31 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 32 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 33 | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 34 | |
| 426 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | awx/api/validators.py | 4 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/api/views/__init__.py | 23 | from django.core.exceptions import FieldError, ObjectDoesNotExist |
| CRITICAL | awx/api/views/__init__.py | 2511 | models.Host.groups.through.objects.filter(host__inventory_sources=inv_source).delete() |
| CRITICAL | awx/api/views/__init__.py | 2537 | models.Group.hosts.through.objects.filter(group__inventory_sources=inv_source).delete() |
| CRITICAL | awx/main/validators.py | 10 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/tasks/callback.py | 12 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/tests/unit/test_validators.py | 1 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/tests/unit/test_fields.py | 5 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/tests/unit/utils/test_common.py | 22 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/tests/unit/models/test_inventory.py | 3 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/tests/unit/models/test_project.py | 6 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/tests/factories/fixtures.py | 4 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/tests/functional/test_credential.py | 5 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/tests/functional/test_fixture_factories.py | 66 | assert objects.users.bob in objects.teams.team1.member_role.members.all() |
| CRITICAL | awx/main/tests/functional/test_projects.py | 9 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/tests/functional/rbac/test_rbac_job.py | 115 | normal_job.job_template.inventory.admin_role.members.add(rando) |
| CRITICAL | …/main/tests/functional/rbac/test_rbac_job_templates.py | 41 | jt_linked.inventory.organization.execute_role.members.add(rando) |
| CRITICAL | awx/main/tests/functional/models/test_workflow.py | 24 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/tests/functional/api/test_inventory.py | 6 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/tests/functional/api/test_workflow_node.py | 139 | approval_node.workflow_job_template.organization.admin_role.members.add(alice) |
| CRITICAL | awx/main/models/mixins.py | 13 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/models/jobs.py | 11 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/models/event_query.py | 1 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/models/projects.py | 17 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/models/ad_hoc_commands.py | 13 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/models/credential.py | 17 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/models/base.py | 6 | from django.core.exceptions import ValidationError, ObjectDoesNotExist |
| CRITICAL | awx/main/models/inventory.py | 18 | from django.core.exceptions import ValidationError |
| CRITICAL | awx/main/models/inventory.py | 1406 | for instance_group in self.inventory_source.inventory.organization.instance_groups.all(): |
| CRITICAL | docs/docsite/rst/rest_api/_swagger/swagger-ui.js | 1 | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | awxkit/awxkit/yaml_file.py | 20 | |
| LOW | awxkit/awxkit/awx/utils.py | 51 | |
| LOW | awxkit/awxkit/awx/utils.py | 73 | |
| LOW | awxkit/awxkit/utils/__init__.py | 303 | |
| LOW | awxkit/awxkit/utils/__init__.py | 53 | |
| LOW | awxkit/awxkit/utils/__init__.py | 84 | |
| LOW | awxkit/awxkit/cli/options.py | 162 | |
| LOW | awxkit/awxkit/cli/sphinx.py | 37 | |
| LOW | awxkit/awxkit/cli/client.py | 83 | |
| LOW | awxkit/awxkit/cli/client.py | 257 | |
| LOW | awxkit/awxkit/cli/resource.py | 144 | |
| LOW | awxkit/awxkit/cli/__init__.py | 19 | |
| LOW | awxkit/awxkit/api/registry.py | 118 | |
| LOW | awxkit/awxkit/api/client.py | 40 | |
| LOW | awxkit/awxkit/api/mixins/has_create.py | 52 | |
| LOW | awxkit/awxkit/api/mixins/has_create.py | 101 | |
| LOW | awxkit/awxkit/api/mixins/has_create.py | 222 | |
| LOW | awxkit/awxkit/api/mixins/has_create.py | 250 | |
| LOW | awxkit/awxkit/api/pages/unified_jobs.py | 105 | |
| LOW | awxkit/awxkit/api/pages/unified_jobs.py | 135 | |
| LOW | awxkit/awxkit/api/pages/credentials.py | 64 | |
| LOW | awxkit/awxkit/api/pages/credentials.py | 127 | |
| LOW | awxkit/awxkit/api/pages/credentials.py | 234 | |
| LOW | awxkit/awxkit/api/pages/page.py | 104 | |
| LOW | awxkit/awxkit/api/pages/page.py | 176 | |
| LOW | awxkit/awxkit/api/pages/api.py | 77 | |
| LOW | awxkit/awxkit/api/pages/api.py | 267 | |
| LOW | awxkit/awxkit/api/pages/api.py | 379 | |
| LOW | awxkit/awxkit/api/pages/notification_templates.py | 44 | |
| LOW | awxkit/awxkit/api/pages/projects.py | 50 | |
| LOW | awxkit/awxkit/api/pages/base.py | 58 | |
| LOW | tools/scripts/get_next_release.py | 36 | |
| LOW | tools/data_generators/rbac_dummy_data_generator.py | 203 | |
| LOW | awx/playbooks/library/indirect_instance_count.py | 173 | |
| LOW | awx/playbooks/action_plugins/project_archive.py | 22 | |
| LOW | awx/playbooks/action_plugins/insights.py | 71 | |
| LOW | awx/api/metadata.py | 35 | |
| LOW | awx/api/metadata.py | 188 | |
| LOW | awx/api/serializers.py | 279 | |
| LOW | awx/api/serializers.py | 344 | |
| LOW | awx/api/serializers.py | 424 | |
| LOW | awx/api/serializers.py | 486 | |
| LOW | awx/api/serializers.py | 630 | |
| LOW | awx/api/serializers.py | 778 | |
| LOW | awx/api/serializers.py | 870 | |
| LOW | awx/api/serializers.py | 916 | |
| LOW | awx/api/serializers.py | 979 | |
| LOW | awx/api/serializers.py | 1604 | |
| LOW | awx/api/serializers.py | 1847 | |
| LOW | awx/api/serializers.py | 2471 | |
| LOW | awx/api/serializers.py | 2704 | |
| LOW | awx/api/serializers.py | 4107 | |
| LOW | awx/api/serializers.py | 4663 | |
| LOW | awx/api/serializers.py | 4829 | |
| LOW | awx/api/serializers.py | 5018 | |
| LOW | awx/api/serializers.py | 5100 | |
| LOW | awx/api/serializers.py | 5120 | |
| LOW | awx/api/serializers.py | 5174 | |
| LOW | awx/api/serializers.py | 5373 | |
| LOW | awx/api/serializers.py | 5828 | |
| 236 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | awxkit/awxkit/awx/utils.py | 26 | except Exception as e: |
| LOW | awxkit/awxkit/cli/options.py | 111 | except Exception: |
| LOW | awxkit/awxkit/cli/options.py | 187 | except Exception: |
| LOW | awxkit/awxkit/cli/options.py | 190 | except Exception: |
| LOW | awxkit/awxkit/cli/client.py | 158 | except Exception as e: |
| LOW | awxkit/awxkit/cli/__init__.py | 63 | except Exception as e: |
| LOW | awxkit/awxkit/scripts/basic_session.py | 76 | except Exception as e: |
| LOW | awxkit/awxkit/scripts/basic_session.py | 79 | except Exception as e: |
| LOW | awxkit/awxkit/api/mixins/has_status.py | 92 | except Exception as e: |
| LOW | awxkit/awxkit/api/pages/workflow_jobs.py | 36 | except Exception as e: |
| LOW | tools/scripts/firehose.py | 115 | except Exception as e: |
| LOW | tools/scripts/compilemessages.py | 61 | except Exception: |
| LOW | awx/api/metadata.py | 151 | except Exception: |
| MEDIUM | awx/api/serializers.py | 604 | def run_validation(self, data=fields.empty): |
| MEDIUM | awx/api/serializers.py | 3638 | def get_prompts(self, obj): |
| LOW | awx/api/serializers.py | 2129 | except Exception as e: |
| LOW | awx/api/serializers.py | 2236 | except Exception as e: |
| LOW | awx/api/serializers.py | 4485 | except Exception: |
| LOW | awx/api/serializers.py | 5285 | except Exception as exc: |
| LOW | awx/api/serializers.py | 5467 | except Exception as e: |
| LOW | awx/api/serializers.py | 6198 | except Exception: |
| LOW | awx/api/serializers.py | 6215 | except Exception: |
| LOW | awx/api/serializers.py | 6230 | except Exception: |
| LOW | awx/api/renderers.py | 83 | except Exception: |
| LOW | awx/api/permissions.py | 126 | except Exception as e: |
| LOW | awx/api/generics.py | 266 | except Exception as e: |
| LOW | awx/api/schema.py | 66 | except Exception: |
| MEDIUM | awx/api/views/__init__.py | 1931 | def list(self, *args, **kwargs): |
| LOW | awx/api/views/__init__.py | 1715 | except Exception as exc: |
| LOW | awx/api/views/__init__.py | 1793 | except Exception as exc: |
| LOW | awx/api/views/__init__.py | 1857 | except Exception as exc: |
| LOW | awx/api/views/__init__.py | 1934 | except Exception as e: |
| LOW | awx/api/views/analytics.py | 185 | except Exception as e: |
| LOW | awx/api/views/analytics.py | 262 | except Exception as e: |
| MEDIUM | awx/api/views/analytics.py | 152 | def _error_response_404(self, response): |
| MEDIUM | awx/api/views/analytics.py | 204 | def _send_to_analytics(self, request, method): |
| LOW | awx/api/views/webhooks.py | 98 | except Exception: |
| LOW | awx/api/views/root.py | 236 | except Exception as exc: |
| LOW | awx/api/views/root.py | 290 | except Exception as exc: |
| LOW | awx/api/views/root.py | 383 | except Exception: |
| LOW | awx/api/views/root.py | 395 | except Exception: |
| LOW | awx/api/views/root.py | 401 | except Exception: |
| LOW | awx/api/views/root.py | 408 | except Exception: |
| LOW | awx/api/views/root.py | 431 | except Exception: |
| MEDIUM | awx/api/views/root.py | 426 | def delete(self, request): |
| LOW | awx/main/fields.py | 88 | except Exception as e: |
| LOW | awx/main/fields.py | 111 | except Exception as e: |
| LOW | awx/main/fields.py | 337 | except Exception as e: |
| MEDIUM | awx/main/fields.py | 334 | def format_url(value): |
| LOW | awx/main/consumers.py | 48 | except Exception: |
| LOW | awx/main/consumers.py | 57 | except Exception: |
| LOW | awx/main/consumers.py | 89 | except Exception: |
| MEDIUM | awx/main/consumers.py | 42 | def verify_secret(cls, s, nonce_tolerance=300): |
| MEDIUM | awx/main/consumers.py | 86 | def connect(self): |
| LOW | awx/main/views.py | 35 | except Exception: |
| LOW | awx/main/wsrelay.py | 102 | except Exception as e: |
| LOW | awx/main/wsrelay.py | 213 | except Exception: |
| LOW | awx/main/wsrelay.py | 270 | except Exception as e: |
| MEDIUM | awx/main/wsrelay.py | 171 | def run_producer(self, name, websocket, group): |
| LOW | awx/main/tasks/signals.py | 58 | except Exception as exc: |
| 172 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | awxkit/awxkit/awx/inventory.py | 9 | # Create an inventory script |
| MEDIUM | awxkit/awxkit/cli/sphinx.py | 38 | # This function is called by Sphinx when making the docs. |
| MEDIUM | tools/scripts/l18n/post_translation.sh | 6 | # Create a directory for api (locale) |
| MEDIUM | tools/scripts/l18n/post_translation.sh | 24 | # Create a directory for ui (locales) |
| MEDIUM | awx/settings/__init__.py | 21 | # Create a the standard DYNACONF instance which will come with DAB defaults |
| MEDIUM | awx/api/serializers.py | 654 | # Create a new model instance or take the existing one if it exists, |
| MEDIUM | awx/api/serializers.py | 5064 | # Create the node objects |
| MEDIUM | awx/api/generics.py | 704 | # Create the sub object if an ID is not provided. |
| MEDIUM | awx/main/tasks/callback.py | 129 | # This method is called once for *every event* emitted by Ansible |
| MEDIUM | awx/main/tasks/facts.py | 31 | # Create the fact_cache directory inside artifacts_dir |
| MEDIUM | awx/main/tasks/system.py | 407 | """This method is intended to be called for every unified job |
| MEDIUM | awx/main/tasks/receptor.py | 448 | # Create a socketpair. Where the left side will be used for writing our payload |
| MEDIUM | awx/main/tasks/jobs.py | 1110 | # Create a directory for ControlPath sockets that is unique to each job |
| MEDIUM | awx/main/tests/unit/models/test_credential.py | 125 | # Create an existing credential type with no description |
| MEDIUM | awx/main/tests/unit/api/test_schema.py | 33 | # Create a mock model with verbose_name_plural |
| MEDIUM | awx/main/tests/unit/api/test_schema.py | 37 | # Create a mock serializer with Meta.model |
| MEDIUM | awx/main/tests/unit/api/test_schema.py | 52 | # Create a mock model with verbose_name_plural |
| MEDIUM | awx/main/tests/live/pytest.ini | 1 | # This file is needed to undo the pytest settings from the project root |
| MEDIUM | awx/main/tests/live/tests/conftest.py | 163 | cmd = ['podman', 'build', '-f', '-'] # Create an image without a tag |
| MEDIUM | awx/main/tests/live/tests/test_inventory_vars.py | 167 | # Create the inventory source instance. |
| MEDIUM | awx/main/tests/functional/test_migrations.py | 200 | # Create a CredentialType with the old, problematic 'namespace' value |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 328 | # Create a job with credentials using fixture |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 356 | # Create a job using fixture |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 482 | # Create a workload identity credential type |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 506 | # Create a job using fixture |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 591 | # Create a workload identity credential type |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 615 | # Create a job using fixture |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 687 | # Create a job using fixture |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 735 | # Create a job using fixture |
| MEDIUM | awx/main/tests/functional/test_policy.py | 607 | # Create a job for testing |
| MEDIUM | …/main/tests/functional/rbac/test_rbac_job_templates.py | 179 | # Creating a JT should place the creator in the admin role |
| MEDIUM | awx/main/tests/functional/tasks/test_host_indirect.py | 340 | # Create the expected job events |
| MEDIUM | …ts/functional/task_management/test_container_groups.py | 54 | # Create a second job that should not be scheduled at first, blocked by the other |
| MEDIUM | …ts/functional/task_management/test_container_groups.py | 75 | # Create a second job that should not be scheduled |
| MEDIUM | awx/main/tests/functional/models/test_job.py | 75 | # Create an inventory with 4 nodes |
| MEDIUM | …in/tests/functional/dab_rbac/test_consolidate_teams.py | 103 | # Create a user and team with direct assignment |
| MEDIUM | …in/tests/functional/dab_rbac/test_consolidate_teams.py | 128 | # Create a user assigned to team A |
| MEDIUM | …in/tests/functional/dab_rbac/test_notification_rbac.py | 193 | # Create a notification template as admin |
| MEDIUM | awx/main/tests/functional/api/test_job.py | 222 | # Create a job template |
| MEDIUM | awx/main/tests/functional/api/test_job.py | 228 | # Create a job instance |
| MEDIUM | …/tests/functional/api/test_credential_input_sources.py | 333 | # Create an input source |
| MEDIUM | …/tests/functional/api/test_credential_input_sources.py | 359 | # Create an input source |
| MEDIUM | awx/main/tests/functional/api/test_credential_type.py | 487 | # Create a credential type with empty dict |
| MEDIUM | awx/main/tests/functional/api/test_credential_type.py | 507 | # Create a credential type with invalid inputs type |
| MEDIUM | awx/main/tests/functional/analytics/test_core.py | 66 | # Create a temporary file and yield its path |
| MEDIUM | awx/main/management/commands/create_preload_data.py | 27 | # Create a default organization as the first superuser found. |
| MEDIUM | …nt/commands/register_default_execution_environments.py | 131 | # Create the control plane execution environment that is used for project updates and system jobs |
| MEDIUM | awx/main/scheduler/kubernetes.py | 113 | # Create an image pull secret in namespace |
| MEDIUM | awx/main/models/events.py | 409 | # This function is called by the callback receiver *once* for *every |
| MEDIUM | awx/main/models/events.py | 726 | # This function is called by the callback receiver *once* for *every |
| MEDIUM | awx/main/models/jobs.py | 806 | # This function handles only the defaults for a template w/o user specification |
| MEDIUM | awx/conf/conf.py | 9 | # Define a conf.py file within your app and register each setting similarly to |
| MEDIUM | awx_collection/test/awx/test_inventory.py | 12 | # Create an insights credential |
| MEDIUM | awx_collection/test/awx/test_instance_group.py | 28 | # Create a new instance in the DB |
| MEDIUM | awx_collection/plugins/module_utils/controller_api.py | 312 | # This method is intended to be overridden |
| MEDIUM | awx_collection/plugins/modules/instance_group.py | 113 | # Create a module for ourselves |
| MEDIUM | awx_collection/plugins/modules/instance_group.py | 147 | # Create the data that gets sent for create and update |
| MEDIUM | awx_collection/plugins/modules/inventory_source.py | 214 | # Create a module for ourselves |
| MEDIUM | awx_collection/plugins/modules/inventory_source.py | 275 | # Create the data that gets sent for create and update |
| MEDIUM | awx_collection/plugins/modules/job_template.py | 450 | # Create a module for ourselves |
| 53 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | awxkit/test/cli/test_authentication.py | 16 | # ============================================================================ |
| MEDIUM | awxkit/test/cli/test_authentication.py | 18 | # ============================================================================ |
| MEDIUM | awx/settings/defaults.py | 573 | # ---------------- |
| MEDIUM | awx/settings/defaults.py | 575 | # ---------------- |
| MEDIUM | awx/settings/defaults.py | 581 | # ------------ |
| MEDIUM | awx/settings/defaults.py | 583 | # ------------ |
| MEDIUM | awx/settings/defaults.py | 591 | # ----------------- |
| MEDIUM | awx/settings/defaults.py | 593 | # ----------------- |
| MEDIUM | awx/settings/defaults.py | 597 | # --------------------------- |
| MEDIUM | awx/settings/defaults.py | 599 | # --------------------------- |
| MEDIUM | awx/settings/defaults.py | 605 | # -------------------------------------- |
| MEDIUM | awx/settings/defaults.py | 607 | # -------------------------------------- |
| MEDIUM | awx/settings/defaults.py | 613 | # --------------------- |
| MEDIUM | awx/settings/defaults.py | 615 | # --------------------- |
| MEDIUM | awx/settings/defaults.py | 621 | # --------------------- |
| MEDIUM | awx/settings/defaults.py | 623 | # --------------------- |
| MEDIUM | awx/settings/defaults.py | 629 | # --------------------- |
| MEDIUM | awx/settings/defaults.py | 631 | # --------------------- |
| MEDIUM | awx/settings/defaults.py | 637 | # --------------------- |
| MEDIUM | awx/settings/defaults.py | 639 | # --------------------- |
| MEDIUM | awx/settings/defaults.py | 646 | # ---------------- |
| MEDIUM | awx/settings/defaults.py | 648 | # ---------------- |
| MEDIUM | awx/settings/defaults.py | 654 | # ---------------- |
| MEDIUM | awx/settings/defaults.py | 656 | # ---------------- |
| MEDIUM | awx/settings/defaults.py | 662 | # ------------------------ |
| MEDIUM | awx/settings/defaults.py | 664 | # ------------------------ |
| MEDIUM | awx/settings/defaults.py | 667 | # --------------------- |
| MEDIUM | awx/settings/defaults.py | 669 | # --------------------- |
| MEDIUM | awx/settings/defaults.py | 675 | # --------------------- |
| MEDIUM | awx/settings/defaults.py | 677 | # --------------------- |
| MEDIUM | awx/settings/defaults.py | 683 | # ---------------- |
| MEDIUM | awx/settings/defaults.py | 685 | # ---------------- |
| MEDIUM | awx/settings/defaults.py | 690 | # --------------------- |
| MEDIUM | awx/settings/defaults.py | 692 | # --------------------- |
| MEDIUM | …tional/dab_rbac/test_filtered_queryset_optimization.py | 13 | # --------------------------------------------------------------------------- |
| MEDIUM | …tional/dab_rbac/test_filtered_queryset_optimization.py | 15 | # --------------------------------------------------------------------------- |
| MEDIUM | awx/main/management/commands/candlepin_cert.py | 123 | # ------------------------------------------------------------------ |
| MEDIUM | awx/main/management/commands/candlepin_cert.py | 125 | # ------------------------------------------------------------------ |
| MEDIUM | awx/main/management/commands/candlepin_cert.py | 224 | # ------------------------------------------------------------------ |
| MEDIUM | awx/main/management/commands/candlepin_cert.py | 226 | # ------------------------------------------------------------------ |
| MEDIUM | awx/main/utils/candlepin/client.py | 99 | # ------------------------------------------------------------------ |
| MEDIUM | awx/main/utils/candlepin/client.py | 101 | # ------------------------------------------------------------------ |
| MEDIUM | awx/main/utils/candlepin/lifecycle.py | 22 | # --------------------------------------------------------------------------- |
| MEDIUM | awx/main/utils/candlepin/lifecycle.py | 24 | # --------------------------------------------------------------------------- |
| MEDIUM | awx/main/utils/candlepin/lifecycle.py | 92 | # --------------------------------------------------------------------------- |
| MEDIUM | awx/main/utils/candlepin/lifecycle.py | 94 | # --------------------------------------------------------------------------- |
| MEDIUM | awx/main/models/rbac.py | 254 | # ================================================= |
| MEDIUM | awx/main/models/rbac.py | 267 | # ================================================= |
| MEDIUM | awx/main/models/rbac.py | 301 | # ============= |
| MEDIUM | awx_collection/test/awx/test_completeness.py | 13 | # ----------------------------------------------------------------------------------------------------------- |
| MEDIUM | awx_collection/test/awx/test_completeness.py | 100 | # ----------------------------------------------------------------------------------------------------------- |
| MEDIUM | awx_collection/plugins/module_utils/controller_api.py | 683 | # ---------------------------------------------------------------- |
| MEDIUM | awx_collection/plugins/module_utils/controller_api.py | 686 | # ---------------------------------------------------------------- |
| MEDIUM | awx_collection/plugins/module_utils/controller_api.py | 590 | # ---------------------------------------------------------------- |
| MEDIUM | awx_collection/plugins/module_utils/controller_api.py | 593 | # ---------------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | awxkit/awxkit/utils/toposort.py | 1 | ####################################################################### |
| LOW | awxkit/awxkit/utils/toposort.py | 21 | # Added unittests. |
| LOW | awxkit/awxkit/cli/docs/source/conf.py | 1 | # Configuration file for the Sphinx documentation builder. |
| LOW | tools/loki/local-config.yaml | 81 | query_range: |
| LOW | tools/scripts/firehose.py | 1 | #! /usr/bin/env awx-python |
| LOW | awx/devonly.py | 1 | # Copyright (c) 2015 Ansible, Inc. |
| LOW | awx/ui/__init__.py | 1 | # Copyright (c) 2015 Ansible, Inc. |
| LOW | awx/settings/defaults.py | 61 | |
| LOW | awx/settings/defaults.py | 161 | # REMOTE_HOST_HEADERS header values |
| LOW | awx/settings/defaults.py | 181 | # The awx-manage register_default_execution_environments command reads this setting and registers the EE(s) |
| LOW | awx/settings/defaults.py | 641 | SATELLITE6_ENABLED_VALUE = 'True' |
| LOW | awx/settings/defaults.py | 661 | |
| LOW | awx/settings/defaults.py | 841 | if logging_mode == 'file': |
| LOW | awx/settings/defaults.py | 981 | CLEANUP_HOST_METRICS_SOFT_THRESHOLD = 12 # months |
| LOW | awx/playbooks/project_update.yml | 1 | --- |
| LOW | awx/api/models.py | 1 | # Copyright (c) 2015 Ansible, Inc. |
| LOW | awx/api/serializers.py | 661 | try: |
| LOW | awx/api/__init__.py | 1 | # Copyright (c) 2015 Ansible, Inc. |
| LOW | awx/api/generics.py | 221 | Log warning for 400 requests. Add header with elapsed time. |
| LOW | awx/api/generics.py | 301 | |
| LOW | awx/api/generics.py | 321 | # |
| LOW | awx/api/generics.py | 541 | args = (self.parent_model, parent_access, parent, None) |
| LOW | awx/api/views/__init__.py | 4221 | if len(events) == 0: |
| LOW | awx/main/access.py | 2481 | Prefetch('labels', queryset=Label.objects.all().order_by('name')), |
| LOW | awx/main/__init__.py | 1 | # Copyright (c) 2015 Ansible, Inc. |
| LOW | awx/main/middleware.py | 121 | # if the name does *not* resolve to any actual resource, |
| LOW | awx/main/tasks/callback.py | 121 | self.extra_update_fields['emitted_events'] = self.event_ct |
| LOW | awx/main/tasks/receptor.py | 461 | transmitter_future = executor.submit(self.transmit, sockin) |
| LOW | awx/main/tests/__init__.py | 1 | # Copyright (c) 2015 Ansible, Inc. |
| LOW | …s/functional/task_management/test_cancel_dependency.py | 1 | # Generated by Claude Opus 4.6 (claude-opus-4-6) |
| LOW | awx/main/management/__init__.py | 1 | # Copyright (c) 2015 Ansible, Inc. |
| LOW | awx/main/management/commands/__init__.py | 1 | # Copyright (c) 2015 Ansible, Inc. |
| LOW | awx/main/management/commands/run_wsrelay.py | 101 | connection.close() # Because of async nature, main loop will use new connection, so close this |
| LOW | awx/main/utils/encryption.py | 61 | return encrypt_field(TransientField(pk=pk, value=value), 'value', secret_key=secret_key) |
| LOW | awx/main/utils/encryption.py | 81 | # $ setup.sh -k |
| LOW | awx/main/utils/handlers.py | 41 | # for any number of reasons, rsyslogd has gone to lunch; |
| LOW | awx/main/models/events.py | 141 | # - playbook_on_not_import_for_host (not logged, not used for v2) |
| LOW | awx/main/models/events.py | 401 | setattr(self, field, value) |
| LOW | awx/main/models/events.py | 721 | |
| LOW | awx/main/models/rbac.py | 261 | # storing entries for each descendent relationship, we also store an |
| LOW | awx/main/models/rbac.py | 281 | # |
| LOW | awx/main/models/rbac.py | 301 | # ============= |
| LOW | awx/main/models/schedules.py | 201 | # it requires them to perform DTSTART local -> UTC datetime coercion on |
| LOW | awx/main/db/profiled_pg/base.py | 121 | |
| LOW | awx/conf/settings.py | 41 | # Cannot store None in cache; use a special value instead to indicate None. |
| LOW | awx/conf/settings.py | 261 | self.__dict__['_awx_conf_memoizedcache_lock'] = threading.Lock() |
| LOW | requirements/requirements.txt | 1 | adal==1.2.7 |
| LOW | requirements/requirements.txt | 21 | # ansible-runner @ git+https://github.com/ansible/ansible-runner.git@devel # git requirements installed separately |
| LOW | requirements/requirements.txt | 41 | # via daphne |
| LOW | requirements/requirements.txt | 61 | azure-keyvault==4.2.0 |
| LOW | requirements/requirements.txt | 81 | # via |
| LOW | requirements/requirements.txt | 101 | constantly==23.10.4 |
| LOW | requirements/requirements.txt | 121 | distro==1.9.0 |
| LOW | requirements/requirements.txt | 141 | django-crum==0.7.9 |
| LOW | requirements/requirements.txt | 161 | # drf-spectacular |
| LOW | requirements/requirements.txt | 181 | # via gitpython |
| LOW | requirements/requirements.txt | 201 | # hyperlink |
| LOW | requirements/requirements.txt | 221 | jaraco-collections==5.2.1 |
| LOW | requirements/requirements.txt | 241 | # via |
| LOW | requirements/requirements.txt | 261 | # via -r /awx_devel/requirements/requirements.in |
| 25 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …ts/data/projects/host_query/plugins/modules/example.py | 0 | direct_host_name: description: the name of the host, this will be collected with the feature. type: str returned: always |
| HIGH | …/host_query_external_v3_0_0/plugins/modules/example.py | 0 | direct_host_name: description: the name of the host, this will be collected with the feature. type: str returned: always |
| HIGH | …/host_query_external_v1_0_0/plugins/modules/example.py | 0 | direct_host_name: description: the name of the host, this will be collected with the feature. type: str returned: always |
| HIGH | …/host_query_external_v1_5_0/plugins/modules/example.py | 0 | direct_host_name: description: the name of the host, this will be collected with the feature. type: str returned: always |
| HIGH | …/host_query_external_v3_0_0/plugins/modules/example.py | 0 | --- module: example short_description: module for specific live tests version_added: "2.0.0" description: this module is |
| HIGH | …/host_query_external_v1_0_0/plugins/modules/example.py | 0 | --- module: example short_description: module for specific live tests version_added: "2.0.0" description: this module is |
| HIGH | …/host_query_external_v1_5_0/plugins/modules/example.py | 0 | --- module: example short_description: module for specific live tests version_added: "2.0.0" description: this module is |
| HIGH | …/host_query_external_v3_0_0/plugins/modules/example.py | 0 | - name: test with defaults demo.external.example: - name: test with custom host name demo.external.example: host_name: f |
| HIGH | …/host_query_external_v1_0_0/plugins/modules/example.py | 0 | - name: test with defaults demo.external.example: - name: test with custom host name demo.external.example: host_name: f |
| HIGH | …/host_query_external_v1_5_0/plugins/modules/example.py | 0 | - name: test with defaults demo.external.example: - name: test with custom host name demo.external.example: host_name: f |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | awx/main/tests/live/tests/test_concurrent_fact_cache.py | 12 | Generated by Claude Opus 4.6 (claude-opus-4-6). |
| HIGH | awx/main/tests/live/tests/test_concurrent_fact_cache.py | 70 | Generated by Claude Opus 4.6 (claude-opus-4-6). |
| HIGH | awx/main/tests/live/tests/test_concurrent_fact_cache.py | 135 | Generated by Claude Opus 4.6 (claude-opus-4-6). |
| HIGH | awx/main/tests/live/tests/test_concurrent_fact_cache.py | 216 | Generated by Claude Opus 4.6 (claude-opus-4-6). |
| HIGH | awx/main/tests/live/tests/test_concurrent_fact_cache.py | 266 | Generated by Claude Opus 4.6 (claude-opus-4-6). |
| HIGH | awx/main/tests/data/projects/facts/gather_slow.yml | 2 | # Generated by Claude Opus 4.6 (claude-opus-4-6). |
| HIGH | awx/main/tests/functional/tasks/test_fact_cache.py | 8 | Generated by Claude Opus 4.6 (claude-opus-4-6). |
| HIGH | awx/main/tests/functional/tasks/test_fact_cache.py | 38 | Generated by Claude Opus 4.6 (claude-opus-4-6). |
| HIGH | awx/main/tests/functional/tasks/test_fact_cache.py | 79 | Generated by Claude Opus 4.6 (claude-opus-4-6). |
| HIGH | awx/main/tests/functional/tasks/test_fact_cache.py | 113 | Generated by Claude Opus 4.6 (claude-opus-4-6). |
| HIGH | awx/main/tests/functional/tasks/test_fact_cache.py | 149 | Generated by Claude Opus 4.6 (claude-opus-4-6). |
| HIGH | awx/main/tests/functional/tasks/test_fact_cache.py | 184 | Generated by Claude Opus 4.6 (claude-opus-4-6). |
| HIGH | …s/functional/task_management/test_cancel_dependency.py | 1 | # Generated by Claude Opus 4.6 (claude-opus-4-6) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | awxkit/awxkit/cli/client.py | 139 | # Check if Basic auth is forced via environment variable |
| LOW | awxkit/awxkit/cli/client.py | 277 | # Check if this is resource-level help (no action specified) |
| LOW | awxkit/awxkit/api/pages/users.py | 35 | # Check if API base path is set to controller, then use gateway endpoint |
| LOW | tools/data_generators/rbac_dummy_data_generator.py | 702 | # Check if job already has events, for idempotence |
| LOW | awx/api/serializers.py | 1059 | # Check if a password is too long |
| LOW | awx/api/permissions.py | 108 | # Check if view supports the request method before checking permission |
| LOW | awx/main/access.py | 1710 | # Check if JT execute access (and related prompts) is sufficient |
| LOW | awx/main/access.py | 2162 | # Check if access to prompts to prevent relaunch |
| LOW | awx/main/tasks/jobs.py | 341 | # Verify if a mount path and SELinux context has been passed |
| LOW | …in/tests/functional/dab_rbac/test_consolidate_teams.py | 42 | # Assign users to teams |
| LOW | awx/main/management/commands/candlepin_cert.py | 259 | # Check if renewal is needed (without force, just check cert expiry locally) |
| LOW | awx/main/management/commands/inventory_import.py | 1044 | # Check if the license is valid. |
| LOW | awx/main/scheduler/kubernetes.py | 68 | # Check if secret already exists |
| LOW | awx/main/utils/candlepin/__init__.py | 43 | # Check if we have valid data |
| LOW | awx/main/analytics/collectors.py | 83 | # Check if full sync should be done |
| LOW | .github/workflows/spec-sync-on-merge.yml | 88 | # Check if spec file exists in spec repo |
| LOW | .github/workflows/sonarcloud_pr.yml | 144 | # Check if coverage.xml exists and has content |
| LOW | awx_collection/plugins/modules/workflow_launch.py | 184 | # Check if Either ask_variables_on_launch, or survey_enabled is enabled for use of extra vars. |
| LOW | awx_collection/plugins/modules/job_launch.py | 305 | # Check if Either ask_variables_on_launch, or survey_enabled is enabled for use of extra vars. |
| LOW | awx_collection/plugins/modules/license.py | 104 | # Check if Tower is already licensed |
| LOW | awx_collection/plugins/modules/project.py | 241 | # Set Changed to correct value depending on if hash changed Also output refspec comparision |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/sosreport/controller.py | 12 | "awx-manage dispatcherctl status", # controller dispatch comprehensive status |
| LOW | awx/playbooks/library/indirect_instance_count.py | 39 | # this plugin, just set ANSIBLE_LOG_PATH as an environment variable |
| MEDIUM | awx/api/serializers.py | 552 | # Note: This logic works in conjunction with |
| LOW | awx/api/views/analytics.py | 233 | # subscriptions credentials are not valid for basic auth, so just return 401 |
| MEDIUM | awx/main/tasks/system.py | 414 | # a refresh now is formally robust |
| LOW | awx/main/dispatch/worker/callback.py | 302 | # just use them to report `summary` websocket events as an |
| MEDIUM | awx/main/tests/functional/models/test_job.py | 21 | # Representation should be robust to deleted related items |
| MEDIUM | …main/tests/functional/models/test_job_launch_config.py | 65 | assert set(JobTemplate.get_ask_mapping().keys()) - set(r.keys()) == set() # make fixture comprehensive |
| LOW | awx/main/tests/functional/api/test_generic.py | 29 | # should just pass through |
| LOW | awx/main/models/rbac.py | 278 | # in what order, we simply use the termination condition of stopping |
| LOW | awx/main/models/rbac.py | 788 | # anyways so just return |
| MEDIUM | awx/main/analytics/broadcast_websocket.py | 119 | # TODO: More robust replacement |
| LOW | awx_collection/plugins/module_utils/controller_api.py | 463 | # If we get a value error, then we didn't have an integer so we can just pass and fall down to the f |
| LOW | awx_collection/plugins/modules/settings.py | 68 | # If our value is already None we can just return directly |
| LOW | awx_collection/plugins/modules/settings.py | 151 | # If we were using a name we will just add a value of a string, otherwise we will return an array in values |
| LOW | awx_collection/plugins/modules/credential.py | 305 | # NOTE: We can't just add these on a modification because they are never returned from a GET so it would always caus |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tools/scripts/pk_to_named_url.py | 105 | Main function for generating and printing named URL of a resource object given its pk. Args: username: Stri |
| HIGH | awx/api/views/__init__.py | 1650 | Validate job template ID and return the JobTemplate instance. Args: job_template_id: The job templa |
| HIGH | awx/api/views/__init__.py | 1672 | Handle OIDC workload identity token generation for external credential test endpoints. This method sho |
| HIGH | awx/main/utils/candlepin/client.py | 104 | POST /consumers?owner={org} — register a new AAP consumer with basic auth. Uses the customer's Red Hat subscrip |
| HIGH | awx/main/utils/candlepin/lifecycle.py | 98 | Perform check-in and, if needed, proactive cert renewal. Called once per gather run. Returns ``(cert_pem, key_pem)` |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | awxkit/test/test_utils.py | 46 | ["{'null': null}", {"null": None}], |
| HIGH | awx/api/serializers.py | 1333 | # prevent changing organization of ee. Unsetting (change to null) is allowed |
| HIGH | …/serializers/test_notification_template_serializers.py | 53 | {'started': {'message': '{{ undefined }}'}}, |
| HIGH | …/serializers/test_notification_template_serializers.py | 54 | {'started': {'message': '{{ job.undefined }}'}}, |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | awx/main/tests/live/tests/test_inventory_vars.py | 158 | # exist. If this behaviour changes, uncomment the following code block |
| LOW | awx/main/utils/candlepin/lifecycle.py | 121 | # Step 1: Inspect cert metadata for diagnostics and renewal decision. |
| LOW | awx/main/utils/candlepin/lifecycle.py | 130 | # Step 2: Check-in (best-effort, never raises). |
| LOW | awx/main/utils/candlepin/lifecycle.py | 139 | # Step 3: Compare local cert serial with server's serial. |
| LOW | awx/main/utils/candlepin/lifecycle.py | 179 | # Step 4: Proactive renewal if within the renewal window (or already expired). |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/scripts/firehose.py | 20 | # Also, a billion events is a *lot* of data; make sure you've |
| MEDIUM | awx/main/db/profiled_pg/base.py | 135 | # it's worth noting that this property is wrapped w/ @memoize because |
| LOW | awx_collection/plugins/modules/inventory.py | 215 | # We need to perform a check to make sure you are not trying to convert a regular inventory into a smart one. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …in/tests/functional/api/test_notification_templates.py | 26 | 'username': 'user@example.com', |
| LOW | …in/tests/functional/api/test_notification_templates.py | 49 | 'username': 'user@example.com', |
| LOW | …in/tests/functional/api/test_notification_templates.py | 79 | 'username': 'user@example.com', |
| LOW | docs/docsite/rst/rest_api/_swagger/swagger-ui.js | 1 | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types") |