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.
This report summarizes scanner evidence for ansible/awx, a Python project with 15,586 GitHub stars. SynthScan examined 201,224 lines of code across 1383 source files, recording 4507 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 28.4 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 3399 finding(s).
Are imports declared and package/API names verified? 528 finding(s).
Are wrappers, guards, and repeated structures necessary? 3410 finding(s).
Which changes need focused human review? 4507 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 4507 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awxkit/awxkit/ws.py | 146 | def pending_project_update_stdout(self): | CODE |
| LOW | awxkit/awxkit/ws.py | 152 | def pending_inventory_update_stdout(self): | CODE |
| LOW | awxkit/awxkit/ws.py | 164 | def pending_system_job_events(self): | CODE |
| LOW | awxkit/awxkit/ws.py | 167 | def subscribe_to_pending_events(self, events, jobs=[status_changed]): | CODE |
| LOW | awxkit/awxkit/utils/__init__.py | 303 | def set_payload_foreign_key_args(payload, fk_fields, kwargs): | CODE |
| 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()): | CODE |
| LOW | awxkit/awxkit/cli/format.py | 42 | def add_authentication_arguments(parser, env): | CODE |
| LOW | awxkit/awxkit/cli/format.py | 83 | def add_formatting_import_export(parser, env): | CODE |
| LOW | awxkit/awxkit/cli/format.py | 96 | def add_output_formatting_arguments(parser, env): | CODE |
| LOW | awxkit/awxkit/api/mixins/has_notifications.py | 10 | def add_notification_template(self, notification_template, endpoint="notification_templates_success"): | CODE |
| LOW | awxkit/awxkit/api/mixins/has_notifications.py | 19 | def remove_notification_template(self, notification_template, endpoint="notification_templates_success"): | CODE |
| LOW | awxkit/awxkit/api/mixins/has_create.py | 27 | def optional_dependency_graph(page, *provided_dependencies): | CODE |
| LOW | awxkit/awxkit/api/mixins/has_create.py | 101 | def all_instantiated_dependencies(*potential_parents): | CODE |
| LOW | awxkit/awxkit/api/mixins/has_create.py | 250 | def create_and_update_dependencies(self, *provided_and_desired_dependencies): | CODE |
| LOW | awxkit/awxkit/api/mixins/has_instance_groups.py | 15 | def remove_all_instance_groups(self): | CODE |
| LOW | awxkit/awxkit/api/pages/credentials.py | 106 | def kind_and_config_cred_from_credential_type(credential_type): | CODE |
| LOW | awxkit/awxkit/api/pages/credentials.py | 127 | def get_payload_field_and_value_from_kwargs_or_config_cred(field, kind, kwargs, config_cred): | CODE |
| LOW | awxkit/awxkit/api/pages/credentials.py | 281 | def expected_passwords_needed_to_start(self): | CODE |
| LOW | awxkit/awxkit/api/pages/page.py | 332 | def exception_from_status_code(status_code): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 24 | def test_methodless_get_from_empty_registry(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 28 | def test_method_get_from_empty_registry(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 32 | def test_methodless_setdefault_methodless_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 37 | def test_methodless_setdefault_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 42 | def test_method_setdefault_methodless_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 47 | def test_method_setdefault_matching_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 52 | def test_method_setdefault_nonmatching_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 57 | def test_multimethod_setdefault_matching_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 63 | def test_multimethod_setdefault_nonmatching_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 69 | def test_wildcard_setdefault_methodless_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 74 | def test_wildcard_setdefault_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 79 | def test_regex_method_setdefaults_over_wildcard_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 86 | def test_methodless_registration_with_matching_path_methodless_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 91 | def test_methodless_registraion_with_nonmatching_path_methodless_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 96 | def test_methodless_registration_with_matching_path_nonmatching_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 101 | def test_method_registration_with_matching_path_matching_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 106 | def test_method_registration_with_matching_path_nonmatching_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 111 | def test_multimethod_registration_with_matching_path_matching_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 117 | def test_multimethod_registration_with_path_matching_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 122 | def test_multipath_methodless_registration_with_matching_path_methodless_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 128 | def test_multipath_methodless_registration_with_matching_path_nonmatching_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 134 | def test_multipath_method_registration_with_matching_path_matching_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 140 | def test_multipath_partial_method_registration_with_matching_path_matching_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 146 | def test_wildcard_method_registration_with_methodless_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 151 | def test_wildcard_method_registration_with_method_get(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 156 | def test_wildcard_and_specific_method_registration_acts_as_default(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 167 | def test_multiple_method_registrations_disallowed_for_single_path_single_registration(reg, method): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 174 | def test_multiple_method_registrations_disallowed_for_single_path_multiple_registrations(reg, method): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 181 | def test_paths_can_be_patterns(reg): | CODE |
| LOW⚡ | awxkit/test/test_registry.py | 186 | def test_mixed_form_single_registration(reg): | CODE |
| LOW | awxkit/test/test_registry.py | 205 | def test_mixed_form_single_registration_with_methodless_default(reg): | CODE |
| LOW | awxkit/test/test_registry.py | 225 | def test_mixed_form_single_registration_with_method_default(reg): | CODE |
| LOW⚡ | awxkit/test/test_utils.py | 74 | def test_load_valid_json_or_yaml(inp, out): | CODE |
| LOW⚡ | awxkit/test/test_utils.py | 79 | def test_load_invalid_json_or_yaml(inp): | CODE |
| LOW⚡ | awxkit/test/test_utils.py | 86 | def test_random_titles_are_unicode(non_ascii): | CODE |
| LOW⚡ | awxkit/test/test_utils.py | 92 | def test_random_titles_generates_correct_characters(non_ascii): | CODE |
| LOW⚡ | awxkit/test/test_utils.py | 161 | def test_filter_by_class_with_subclass_class(): | CODE |
| LOW⚡ | awxkit/test/test_utils.py | 166 | def test_filter_by_class_with_subclass_instance(): | CODE |
| LOW⚡ | awxkit/test/test_utils.py | 173 | def test_filter_by_class_no_arg_tuples(): | CODE |
| LOW⚡ | awxkit/test/test_utils.py | 179 | def test_filter_by_class_with_arg_tuples_containing_class(): | CODE |
| LOW⚡ | awxkit/test/test_utils.py | 186 | def test_filter_by_class_with_arg_tuples_containing_subclass(): | CODE |
| 2752 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awxkit/awxkit/__init__.py | 1 | CODE | |
| LOW | awxkit/awxkit/__init__.py | 1 | CODE | |
| LOW | awxkit/awxkit/__init__.py | 1 | CODE | |
| LOW | awxkit/awxkit/__init__.py | 2 | CODE | |
| LOW | awxkit/awxkit/__init__.py | 3 | CODE | |
| LOW | awxkit/awxkit/__init__.py | 4 | CODE | |
| LOW | awxkit/awxkit/cli/client.py | 1 | CODE | |
| LOW | awxkit/awxkit/cli/client.py | 14 | CODE | |
| LOW | awxkit/awxkit/cli/client.py | 14 | CODE | |
| LOW | awxkit/awxkit/cli/client.py | 16 | CODE | |
| LOW | awxkit/awxkit/cli/utils.py | 1 | CODE | |
| LOW | awxkit/awxkit/cli/stdout.py | 2 | CODE | |
| LOW | awxkit/awxkit/scripts/basic_session.py | 3 | CODE | |
| LOW | awxkit/awxkit/scripts/basic_session.py | 7 | CODE | |
| LOW | awxkit/awxkit/scripts/basic_session.py | 7 | CODE | |
| LOW | awxkit/awxkit/scripts/basic_session.py | 8 | CODE | |
| LOW | awxkit/awxkit/scripts/basic_session.py | 8 | CODE | |
| LOW | awxkit/awxkit/scripts/basic_session.py | 8 | CODE | |
| LOW | awxkit/awxkit/api/__init__.py | 1 | CODE | |
| LOW | awxkit/awxkit/api/__init__.py | 2 | CODE | |
| LOW | awxkit/awxkit/api/mixins/__init__.py | 1 | CODE | |
| LOW | awxkit/awxkit/api/mixins/__init__.py | 2 | CODE | |
| LOW | awxkit/awxkit/api/mixins/__init__.py | 3 | CODE | |
| LOW | awxkit/awxkit/api/mixins/__init__.py | 4 | CODE | |
| LOW | awxkit/awxkit/api/mixins/__init__.py | 5 | CODE | |
| LOW | awxkit/awxkit/api/mixins/__init__.py | 6 | CODE | |
| LOW | awxkit/awxkit/api/mixins/__init__.py | 7 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 2 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 3 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 4 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 5 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 6 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 7 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 8 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 9 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 10 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 11 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 12 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 13 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 14 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 15 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 16 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 17 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 18 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 19 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 20 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 21 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 22 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 23 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 24 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 25 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 26 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 27 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 28 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 29 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 30 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 31 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 32 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 33 | CODE | |
| LOW | awxkit/awxkit/api/pages/__init__.py | 34 | CODE | |
| 426 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | awxkit/awxkit/cli/sphinx.py | 59 | except SystemExit: | CODE |
| HIGH | awxkit/awxkit/cli/sphinx.py | 71 | except SystemExit: | CODE |
| HIGH | awxkit/awxkit/cli/custom.py | 297 | except NoContent: | CODE |
| HIGH | awxkit/awxkit/cli/custom.py | 495 | except NoContent: | CODE |
| HIGH | awxkit/awxkit/cli/client.py | 314 | except SystemExit: | CODE |
| HIGH | awxkit/awxkit/api/mixins/has_create.py | 199 | except ImportError: | CODE |
| HIGH | awxkit/awxkit/api/pages/workflow_approvals.py | 11 | except exceptions.NoContent: | CODE |
| HIGH | awxkit/awxkit/api/pages/workflow_approvals.py | 17 | except exceptions.NoContent: | CODE |
| HIGH | awxkit/awxkit/api/pages/api.py | 358 | except exc.NoContent: # desired exception on successful (dis)association | CODE |
| HIGH | awxkit/awxkit/api/pages/api.py | 403 | except exc.NoContent: # desired exception on successful (dis)association | CODE |
| HIGH | awxkit/awxkit/api/pages/api.py | 102 | except IndexError: | CODE |
| HIGH | awxkit/awxkit/api/pages/api.py | 309 | except AssertionError: | CODE |
| HIGH | awxkit/awxkit/api/pages/notification_templates.py | 41 | except exc.MethodNotAllowed: | CODE |
| HIGH | awxkit/awxkit/api/pages/base.py | 16 | except (exc.NoContent, exc.NotFound, exc.Forbidden): | CODE |
| HIGH | awxkit/awxkit/api/pages/base.py | 115 | except exc.NoContent: # desired exception on successful (dis)association | CODE |
| HIGH | awxkit/awxkit/api/pages/schedules.py | 28 | except (exc.NoContent, exc.NotFound, exc.Forbidden): | CODE |
| HIGH | awxkit/awxkit/api/pages/inventory.py | 104 | except (exc.NoContent, exc.NotFound, exc.Forbidden): | CODE |
| HIGH | awx/asgi.py | 30 | except FileNotFoundError: | CODE |
| HIGH | awx/urls.py | 44 | except ImportError: | CODE |
| HIGH | awx/wsgi.py | 32 | except FileNotFoundError: | CODE |
| HIGH | awx/settings/functions.py | 34 | except (ImportError, ValueError): | CODE |
| HIGH | awx/playbooks/library/indirect_instance_count.py | 94 | except InvalidVersion: | CODE |
| HIGH | awx/api/metadata.py | 110 | except serializers.SkipField: | CODE |
| HIGH | awx/api/metadata.py | 154 | except Exception: | CODE |
| HIGH | awx/api/validators.py | 57 | except ValidationError: | CODE |
| HIGH | awx/api/serializers.py | 1671 | except ObjectDoesNotExist: | CODE |
| HIGH | awx/api/serializers.py | 2781 | except ObjectDoesNotExist: | CODE |
| HIGH | awx/api/serializers.py | 2917 | except AttributeError: | CODE |
| HIGH | awx/api/serializers.py | 3759 | except ObjectDoesNotExist: | CODE |
| HIGH | awx/api/serializers.py | 4540 | except WorkflowJobTemplate.DoesNotExist: | CODE |
| HIGH | awx/api/serializers.py | 4691 | except (KeyError, AttributeError): | CODE |
| HIGH | awx/api/serializers.py | 4741 | except (KeyError, AttributeError): | CODE |
| HIGH | awx/api/serializers.py | 582 | except ObjectDoesNotExist: | CODE |
| HIGH | awx/api/serializers.py | 2074 | except ObjectDoesNotExist: | CODE |
| HIGH | awx/api/serializers.py | 2983 | except AttributeError: | CODE |
| HIGH | awx/api/serializers.py | 5868 | except ObjectDoesNotExist: | CODE |
| HIGH | awx/api/serializers.py | 6680 | except ObjectDoesNotExist: | CODE |
| HIGH | awx/api/serializers.py | 5730 | except json.JSONDecodeError: | CODE |
| HIGH | awx/api/pagination.py | 177 | except (KeyError, ValueError): | CODE |
| HIGH | awx/api/generics.py | 506 | except PermissionDenied: | CODE |
| HIGH | awx/api/views/instance_install_bundle.py | 165 | except ipaddress.AddressValueError: | CODE |
| HIGH | awx/api/views/mixin.py | 44 | except self.model.unified_job_node.RelatedObjectDoesNotExist: | CODE |
| HIGH | awx/api/views/__init__.py | 3122 | except socket.gaierror: | CODE |
| HIGH | awx/api/views/__init__.py | 3124 | except UnicodeError: | CODE |
| HIGH | awx/api/views/root.py | 424 | except Exception: | CODE |
| HIGH | awx/main/signals.py | 98 | except Inventory.DoesNotExist: | CODE |
| HIGH | awx/main/signals.py | 301 | except (Inventory.DoesNotExist, Project.DoesNotExist): | CODE |
| HIGH | awx/main/access.py | 1442 | except ObjectDoesNotExist: | CODE |
| HIGH | awx/main/middleware.py | 106 | except ValueError: | CODE |
| HIGH | awx/main/views.py | 35 | except Exception: | CODE |
| HIGH | awx/main/wsrelay.py | 80 | except ValueError: | CODE |
| HIGH | awx/main/wsrelay.py | 304 | except KeyError: | CODE |
| HIGH | awx/main/wsrelay.py | 293 | except asyncio.CancelledError: | CODE |
| HIGH | awx/main/tasks/callback.py | 151 | except Exception: | CODE |
| HIGH | awx/main/tasks/callback.py | 167 | except Exception: | CODE |
| HIGH | awx/main/tasks/callback.py | 242 | except json.JSONDecodeError: | CODE |
| HIGH | awx/main/tasks/system.py | 1033 | except Exception: | CODE |
| HIGH | awx/main/tasks/receptor.py | 564 | except Exception: | CODE |
| HIGH | awx/main/tests/unit/tasks/test_jobs.py | 698 | except Exception: | CODE |
| HIGH | awx/main/tests/live/tests/test_inventory_vars.py | 30 | except model.DoesNotExist: | CODE |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | awxkit/test/cli/test_authentication.py | 16 | # ============================================================================ | COMMENT |
| MEDIUM | awxkit/test/cli/test_authentication.py | 18 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 587 | # ---------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 589 | # ---------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 595 | # ------------ | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 597 | # ------------ | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 605 | # ----------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 607 | # ----------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 611 | # --------------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 613 | # --------------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 619 | # -------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 621 | # -------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 627 | # --------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 629 | # --------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 635 | # --------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 637 | # --------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 643 | # --------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 645 | # --------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 651 | # --------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 653 | # --------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 660 | # ---------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 662 | # ---------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 668 | # ---------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 670 | # ---------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 676 | # ------------------------ | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 678 | # ------------------------ | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 681 | # --------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 683 | # --------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 689 | # --------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 691 | # --------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 697 | # ---------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 699 | # ---------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 704 | # --------------------- | COMMENT |
| MEDIUM⚡ | awx/settings/defaults.py | 706 | # --------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 74 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 76 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 89 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 91 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 107 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 109 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 117 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 119 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 136 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 138 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 154 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 156 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 170 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 172 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 186 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 188 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 202 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 204 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 219 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 221 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 236 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 238 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 252 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 254 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 267 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/tasks/test_receptor_adoption.py | 269 | # --------------------------------------------------------------------------- | COMMENT |
| 67 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | awx/api/validators.py | 4 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/api/views/__init__.py | 23 | from django.core.exceptions import FieldError, ObjectDoesNotExist | CODE |
| CRITICAL | awx/api/views/__init__.py | 2520 | models.Host.groups.through.objects.filter(host__inventory_sources=inv_source).delete() | CODE |
| CRITICAL | awx/api/views/__init__.py | 2546 | models.Group.hosts.through.objects.filter(group__inventory_sources=inv_source).delete() | CODE |
| CRITICAL | awx/main/validators.py | 10 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/tasks/callback.py | 12 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/tests/unit/test_validators.py | 1 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/tests/unit/test_fields.py | 5 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/tests/unit/utils/test_common.py | 22 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/tests/unit/models/test_inventory.py | 3 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/tests/unit/models/test_project.py | 6 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/tests/factories/fixtures.py | 4 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/tests/functional/test_credential.py | 5 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/tests/functional/test_fixture_factories.py | 66 | assert objects.users.bob in objects.teams.team1.member_role.members.all() | CODE |
| CRITICAL | awx/main/tests/functional/test_projects.py | 11 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL⚡ | awx/main/tests/functional/rbac/test_rbac_job.py | 123 | normal_job.job_template.inventory.admin_role.members.add(rando) | CODE |
| CRITICAL⚡ | …/main/tests/functional/rbac/test_rbac_job_templates.py | 41 | jt_linked.inventory.organization.execute_role.members.add(rando) | CODE |
| CRITICAL | awx/main/tests/functional/models/test_workflow.py | 24 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/tests/functional/api/test_inventory.py | 6 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL⚡ | awx/main/tests/functional/api/test_workflow_node.py | 139 | approval_node.workflow_job_template.organization.admin_role.members.add(alice) | CODE |
| CRITICAL | awx/main/models/mixins.py | 13 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/models/jobs.py | 11 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/models/event_query.py | 1 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/models/projects.py | 17 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/models/ad_hoc_commands.py | 13 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/models/credential.py | 17 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/models/base.py | 6 | from django.core.exceptions import ValidationError, ObjectDoesNotExist | CODE |
| CRITICAL | awx/main/models/inventory.py | 18 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | awx/main/models/inventory.py | 1401 | for instance_group in self.inventory_source.inventory.organization.instance_groups.all(): | CODE |
| 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") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awxkit/awxkit/awx/utils.py | 26 | except Exception as e: | CODE |
| LOW | awxkit/awxkit/cli/options.py | 111 | except Exception: | CODE |
| LOW | awxkit/awxkit/cli/options.py | 187 | except Exception: | CODE |
| LOW | awxkit/awxkit/cli/options.py | 190 | except Exception: | CODE |
| LOW | awxkit/awxkit/cli/client.py | 158 | except Exception as e: | CODE |
| LOW | awxkit/awxkit/cli/__init__.py | 61 | except Exception as e: # noqa: F841 | CODE |
| LOW | awxkit/awxkit/scripts/basic_session.py | 76 | except Exception as e: | CODE |
| LOW | awxkit/awxkit/scripts/basic_session.py | 79 | except Exception as e: | CODE |
| LOW | awxkit/awxkit/api/mixins/has_status.py | 92 | except Exception as e: | CODE |
| LOW | awxkit/awxkit/api/pages/workflow_jobs.py | 36 | except Exception as e: | CODE |
| LOW | tools/scripts/firehose.py | 115 | except Exception as e: | STRING |
| LOW | tools/scripts/compilemessages.py | 61 | except Exception: | CODE |
| LOW | awx/api/metadata.py | 154 | except Exception: | CODE |
| MEDIUM | awx/api/serializers.py | 727 | def run_validation(self, data=fields.empty): | CODE |
| MEDIUM | awx/api/serializers.py | 3908 | def get_prompts(self, obj): | CODE |
| LOW | awx/api/serializers.py | 2345 | except Exception as e: | CODE |
| LOW | awx/api/serializers.py | 2452 | except Exception as e: | CODE |
| LOW | awx/api/serializers.py | 4784 | except Exception: | CODE |
| LOW | awx/api/serializers.py | 5627 | except Exception as exc: | CODE |
| LOW | awx/api/serializers.py | 5817 | except Exception as e: | CODE |
| LOW | awx/api/serializers.py | 6568 | except Exception: | CODE |
| LOW | awx/api/serializers.py | 6585 | except Exception: | CODE |
| LOW | awx/api/serializers.py | 6600 | except Exception: | CODE |
| LOW | awx/api/renderers.py | 83 | except Exception: | CODE |
| LOW | awx/api/permissions.py | 126 | except Exception as e: | CODE |
| LOW | awx/api/generics.py | 265 | except Exception as e: | CODE |
| LOW | awx/api/schema.py | 168 | except Exception: | CODE |
| MEDIUM | awx/api/views/__init__.py | 1940 | def list(self, *args, **kwargs): | CODE |
| LOW⚡ | awx/api/views/__init__.py | 1719 | except Exception as exc: | CODE |
| LOW | awx/api/views/__init__.py | 1801 | except Exception as exc: | CODE |
| LOW | awx/api/views/__init__.py | 1865 | except Exception as exc: | CODE |
| LOW | awx/api/views/__init__.py | 1943 | except Exception as e: | CODE |
| LOW | awx/api/views/analytics.py | 185 | except Exception as e: | CODE |
| LOW | awx/api/views/analytics.py | 261 | except Exception as e: | CODE |
| MEDIUM | awx/api/views/analytics.py | 152 | def _error_response_404(self, response): | CODE |
| MEDIUM | awx/api/views/analytics.py | 204 | def _send_to_analytics(self, request, method): | CODE |
| LOW | awx/api/views/webhooks.py | 98 | except Exception: | CODE |
| LOW | awx/api/views/root.py | 265 | except Exception as exc: | CODE |
| LOW | awx/api/views/root.py | 319 | except Exception as exc: | CODE |
| LOW | awx/api/views/root.py | 412 | except Exception: | CODE |
| LOW⚡ | awx/api/views/root.py | 424 | except Exception: | CODE |
| LOW⚡ | awx/api/views/root.py | 430 | except Exception: | CODE |
| LOW⚡ | awx/api/views/root.py | 437 | except Exception: | CODE |
| LOW | awx/api/views/root.py | 460 | except Exception: | CODE |
| MEDIUM | awx/api/views/root.py | 455 | def delete(self, request): | CODE |
| LOW | awx/main/fields.py | 88 | except Exception as e: | CODE |
| LOW | awx/main/fields.py | 111 | except Exception as e: | CODE |
| LOW | awx/main/fields.py | 337 | except Exception as e: | CODE |
| MEDIUM | awx/main/fields.py | 334 | def format_url(value): | CODE |
| LOW | awx/main/consumers.py | 48 | except Exception: | CODE |
| LOW | awx/main/consumers.py | 57 | except Exception: | CODE |
| LOW | awx/main/consumers.py | 89 | except Exception: | CODE |
| MEDIUM | awx/main/consumers.py | 42 | def verify_secret(cls, s, nonce_tolerance=300): | CODE |
| MEDIUM | awx/main/consumers.py | 86 | def connect(self): | CODE |
| LOW | awx/main/views.py | 35 | except Exception: | CODE |
| LOW | awx/main/wsrelay.py | 102 | except Exception as e: | CODE |
| LOW | awx/main/wsrelay.py | 213 | except Exception: | CODE |
| LOW | awx/main/wsrelay.py | 270 | except Exception as e: | CODE |
| MEDIUM | awx/main/wsrelay.py | 171 | def run_producer(self, name, websocket, group): | CODE |
| LOW | awx/main/tasks/callback.py | 151 | except Exception: | CODE |
| 192 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awxkit/awxkit/yaml_file.py | 26 | CODE | |
| LOW | awxkit/awxkit/awx/utils.py | 51 | CODE | |
| LOW | awxkit/awxkit/awx/utils.py | 73 | CODE | |
| LOW | awxkit/awxkit/utils/__init__.py | 303 | CODE | |
| LOW | awxkit/awxkit/utils/__init__.py | 53 | CODE | |
| LOW | awxkit/awxkit/utils/__init__.py | 84 | CODE | |
| LOW | awxkit/awxkit/cli/options.py | 162 | CODE | |
| LOW | awxkit/awxkit/cli/sphinx.py | 37 | CODE | |
| LOW | awxkit/awxkit/cli/client.py | 83 | CODE | |
| LOW | awxkit/awxkit/cli/client.py | 257 | CODE | |
| LOW | awxkit/awxkit/cli/resource.py | 144 | CODE | |
| LOW | awxkit/awxkit/cli/__init__.py | 19 | CODE | |
| LOW | awxkit/awxkit/api/registry.py | 118 | CODE | |
| LOW | awxkit/awxkit/api/client.py | 40 | CODE | |
| LOW | awxkit/awxkit/api/mixins/has_create.py | 52 | CODE | |
| LOW | awxkit/awxkit/api/mixins/has_create.py | 101 | CODE | |
| LOW | awxkit/awxkit/api/mixins/has_create.py | 222 | CODE | |
| LOW | awxkit/awxkit/api/mixins/has_create.py | 250 | CODE | |
| LOW | awxkit/awxkit/api/pages/unified_jobs.py | 105 | CODE | |
| LOW | awxkit/awxkit/api/pages/unified_jobs.py | 135 | CODE | |
| LOW | awxkit/awxkit/api/pages/credentials.py | 64 | CODE | |
| LOW | awxkit/awxkit/api/pages/credentials.py | 127 | CODE | |
| LOW | awxkit/awxkit/api/pages/credentials.py | 234 | CODE | |
| LOW | awxkit/awxkit/api/pages/page.py | 103 | CODE | |
| LOW | awxkit/awxkit/api/pages/page.py | 175 | CODE | |
| LOW | awxkit/awxkit/api/pages/api.py | 77 | CODE | |
| LOW | awxkit/awxkit/api/pages/api.py | 267 | CODE | |
| LOW | awxkit/awxkit/api/pages/api.py | 379 | CODE | |
| LOW | awxkit/awxkit/api/pages/notification_templates.py | 44 | CODE | |
| LOW | awxkit/awxkit/api/pages/projects.py | 50 | CODE | |
| LOW | awxkit/awxkit/api/pages/base.py | 58 | CODE | |
| LOW | tools/scripts/get_next_release.py | 36 | CODE | |
| LOW | tools/data_generators/rbac_dummy_data_generator.py | 203 | CODE | |
| LOW | awx/playbooks/library/indirect_instance_count.py | 173 | CODE | |
| LOW | awx/playbooks/action_plugins/project_archive.py | 22 | CODE | |
| LOW | awx/playbooks/action_plugins/insights.py | 71 | CODE | |
| LOW | awx/api/metadata.py | 36 | CODE | |
| LOW | awx/api/metadata.py | 194 | CODE | |
| LOW | awx/api/serializers.py | 402 | CODE | |
| LOW | awx/api/serializers.py | 467 | CODE | |
| LOW | awx/api/serializers.py | 547 | CODE | |
| LOW | awx/api/serializers.py | 609 | CODE | |
| LOW | awx/api/serializers.py | 753 | CODE | |
| LOW | awx/api/serializers.py | 947 | CODE | |
| LOW | awx/api/serializers.py | 1039 | CODE | |
| LOW | awx/api/serializers.py | 1085 | CODE | |
| LOW | awx/api/serializers.py | 1161 | CODE | |
| LOW | awx/api/serializers.py | 1801 | CODE | |
| LOW | awx/api/serializers.py | 2057 | CODE | |
| LOW | awx/api/serializers.py | 2699 | CODE | |
| LOW | awx/api/serializers.py | 2932 | CODE | |
| LOW | awx/api/serializers.py | 4386 | CODE | |
| LOW | awx/api/serializers.py | 4968 | CODE | |
| LOW | awx/api/serializers.py | 5140 | CODE | |
| LOW | awx/api/serializers.py | 5341 | CODE | |
| LOW | awx/api/serializers.py | 5423 | CODE | |
| LOW | awx/api/serializers.py | 5443 | CODE | |
| LOW | awx/api/serializers.py | 5516 | CODE | |
| LOW | awx/api/serializers.py | 5719 | CODE | |
| LOW | awx/api/serializers.py | 6198 | CODE | |
| 231 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | awxkit/awxkit/awx/inventory.py | 9 | # Create an inventory script | COMMENT |
| MEDIUM | awxkit/awxkit/cli/sphinx.py | 38 | # This function is called by Sphinx when making the docs. | COMMENT |
| MEDIUM | tools/scripts/l18n/post_translation.sh | 6 | # Create a directory for api (locale) | COMMENT |
| MEDIUM | tools/scripts/l18n/post_translation.sh | 24 | # Create a directory for ui (locales) | COMMENT |
| MEDIUM | awx/settings/__init__.py | 22 | # Create a the standard DYNACONF instance which will come with DAB defaults | COMMENT |
| MEDIUM | awx/api/serializers.py | 777 | # Create a new model instance or take the existing one if it exists, | COMMENT |
| MEDIUM | awx/api/serializers.py | 5387 | # Create the node objects | COMMENT |
| MEDIUM | awx/api/generics.py | 703 | # Create the sub object if an ID is not provided. | COMMENT |
| MEDIUM | awx/main/tasks/callback.py | 180 | # This method is called once for *every event* emitted by Ansible | COMMENT |
| MEDIUM | awx/main/tasks/facts.py | 31 | # Create the fact_cache directory inside artifacts_dir | COMMENT |
| MEDIUM⚡ | awx/main/tasks/system.py | 439 | """This method is intended to be called for every unified job | STRING |
| MEDIUM | awx/main/tasks/receptor.py | 481 | # Create a socketpair. Where the left side will be used for writing our payload | COMMENT |
| MEDIUM | awx/main/tasks/jobs.py | 1162 | # Create a directory for ControlPath sockets that is unique to each job | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/models/test_credential.py | 125 | # Create an existing credential type with no description | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/api/test_schema.py | 36 | # Create a mock model with verbose_name_plural | COMMENT |
| MEDIUM⚡ | awx/main/tests/unit/api/test_schema.py | 40 | # Create a mock serializer with Meta.model | COMMENT |
| MEDIUM | awx/main/tests/unit/api/test_schema.py | 55 | # Create a mock model with verbose_name_plural | COMMENT |
| MEDIUM | awx/main/tests/live/pytest.ini | 1 | # This file is needed to undo the pytest settings from the project root | COMMENT |
| MEDIUM | awx/main/tests/live/tests/conftest.py | 163 | cmd = ['podman', 'build', '-f', '-'] # Create an image without a tag | STRING |
| MEDIUM | awx/main/tests/live/tests/test_inventory_vars.py | 167 | # Create the inventory source instance. | COMMENT |
| MEDIUM | awx/main/tests/functional/test_migrations.py | 200 | # Create a CredentialType with the old, problematic 'namespace' value | COMMENT |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 327 | # Create a job with credentials using fixture | COMMENT |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 355 | # Create a job using fixture | COMMENT |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 481 | # Create a workload identity credential type | COMMENT |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 505 | # Create a job using fixture | COMMENT |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 590 | # Create a workload identity credential type | COMMENT |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 614 | # Create a job using fixture | COMMENT |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 686 | # Create a job using fixture | COMMENT |
| MEDIUM | awx/main/tests/functional/test_jobs.py | 734 | # Create a job using fixture | COMMENT |
| MEDIUM | awx/main/tests/functional/test_policy.py | 607 | # Create a job for testing | COMMENT |
| MEDIUM | …/main/tests/functional/rbac/test_rbac_job_templates.py | 179 | # Creating a JT should place the creator in the admin role | COMMENT |
| MEDIUM | awx/main/tests/functional/tasks/test_host_indirect.py | 373 | # Create the expected job events | COMMENT |
| MEDIUM⚡ | awx/main/tests/functional/tasks/test_tasks_jobs.py | 71 | # Create a real callback | COMMENT |
| MEDIUM | awx/main/tests/functional/tasks/test_tasks_system.py | 1340 | # Create a mock instance that has unifiedjob_blocked_jobs | COMMENT |
| 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 | COMMENT |
| MEDIUM | …ts/functional/task_management/test_container_groups.py | 75 | # Create a second job that should not be scheduled | COMMENT |
| MEDIUM⚡ | awx/main/tests/functional/models/test_job.py | 75 | # Create an inventory with 4 nodes | COMMENT |
| MEDIUM | …in/tests/functional/dab_rbac/test_consolidate_teams.py | 103 | # Create a user and team with direct assignment | COMMENT |
| MEDIUM | …in/tests/functional/dab_rbac/test_consolidate_teams.py | 128 | # Create a user assigned to team A | COMMENT |
| MEDIUM | …in/tests/functional/dab_rbac/test_notification_rbac.py | 193 | # Create a notification template as admin | COMMENT |
| MEDIUM⚡ | awx/main/tests/functional/api/test_job.py | 222 | # Create a job template | COMMENT |
| MEDIUM⚡ | awx/main/tests/functional/api/test_job.py | 228 | # Create a job instance | COMMENT |
| MEDIUM | …/tests/functional/api/test_credential_input_sources.py | 333 | # Create an input source | COMMENT |
| MEDIUM | …/tests/functional/api/test_credential_input_sources.py | 359 | # Create an input source | COMMENT |
| MEDIUM | awx/main/tests/functional/api/test_credential_type.py | 488 | # Create a credential type with empty dict | COMMENT |
| MEDIUM | awx/main/tests/functional/api/test_credential_type.py | 508 | # Create a credential type with invalid inputs type | COMMENT |
| MEDIUM | awx/main/tests/functional/analytics/test_core.py | 66 | # Create a temporary file and yield its path | COMMENT |
| MEDIUM | awx/main/management/commands/create_preload_data.py | 27 | # Create a default organization as the first superuser found. | COMMENT |
| MEDIUM | …nt/commands/register_default_execution_environments.py | 131 | # Create the control plane execution environment that is used for project updates and system jobs | STRING |
| MEDIUM⚡ | awx/main/scheduler/kubernetes.py | 113 | # Create an image pull secret in namespace | COMMENT |
| MEDIUM | awx/main/models/events.py | 409 | # This function is called by the callback receiver *once* for *every | COMMENT |
| MEDIUM | awx/main/models/events.py | 723 | # This function is called by the callback receiver *once* for *every | COMMENT |
| MEDIUM | awx/main/models/jobs.py | 802 | # This function handles only the defaults for a template w/o user specification | COMMENT |
| MEDIUM | awx/conf/conf.py | 9 | # Define a conf.py file within your app and register each setting similarly to | COMMENT |
| MEDIUM | awx_collection/test/awx/test_inventory.py | 12 | # Create an insights credential | COMMENT |
| MEDIUM | awx_collection/test/awx/test_instance_group.py | 28 | # Create a new instance in the DB | COMMENT |
| MEDIUM | awx_collection/plugins/module_utils/controller_api.py | 333 | # This method is intended to be overridden | COMMENT |
| MEDIUM | awx_collection/plugins/modules/instance_group.py | 113 | # Create a module for ourselves | STRING |
| MEDIUM | awx_collection/plugins/modules/instance_group.py | 147 | # Create the data that gets sent for create and update | STRING |
| MEDIUM | awx_collection/plugins/modules/inventory_source.py | 214 | # Create a module for ourselves | STRING |
| 55 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awxkit/awxkit/utils/toposort.py | 38 | __all__ = ['toposort', 'CircularDependencyError'] | CODE |
| LOW | awxkit/awxkit/cli/utils.py | 12 | __all__ = ['CustomRegistryMeta', 'HelpfulArgumentParser', 'disable_color', 'color_enabled', 'colored', 'cprint', 'STATUS | CODE |
| LOW | tools/scripts/list_fields.py | 1 | __all__ = ['pretty_print_model_fields'] | CODE |
| LOW | awx/__init__.py | 42 | __all__ = ['__version__'] | CODE |
| LOW | awx/api/metrics.py | 10 | __all__ = ['urls'] | CODE |
| LOW | awx/api/fields.py | 14 | __all__ = ['BooleanNullField', 'CharNullField', 'ChoiceNullField', 'VerbatimField'] | CODE |
| LOW | awx/api/permissions.py | 18 | __all__ = [ | CODE |
| LOW | awx/api/generics.py | 56 | __all__ = [ | CODE |
| LOW | awx/api/urls/workflow_job_node.py | 28 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/instance_group.py | 24 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/inventory_source.py | 48 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/job_template.py | 59 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/instance.py | 28 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/user.py | 32 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/workflow_job.py | 28 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/job_host_summary.py | 10 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/system_job.py | 16 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/organization.py | 70 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/project_update.py | 26 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/host.py | 36 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/notification.py | 13 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/job.py | 38 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/ad_hoc_command_event.py | 12 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/activity_stream.py | 13 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/receptor_address.py | 16 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/workflow_job_template_node.py | 30 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/__init__.py | 7 | __all__ = ['urlpatterns', 'app_name'] | CODE |
| LOW | awx/api/urls/credential_input_source.py | 13 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/role.py | 15 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/team.py | 30 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/credential_type.py | 16 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/execution_environments.py | 19 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/debug.py | 17 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/system_job_template.py | 40 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/workflow_approval.py | 15 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/workflow_approval_template.py | 13 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/label.py | 10 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/workflow_job_template.py | 61 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/group.py | 36 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/host_metric.py | 10 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/notification_template.py | 22 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/analytics.py | 30 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/schedule.py | 17 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/job_event.py | 13 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/credential.py | 32 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/inventory_update.py | 28 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/ad_hoc_command.py | 28 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/project.py | 54 | __all__ = ['urls'] | CODE |
| LOW | awx/api/urls/inventory.py | 60 | __all__ = ['urls', 'constructed_inventory_urls'] | CODE |
| LOW | awx/main/queue.py | 14 | __all__ = ['CallbackQueueDispatcher'] | CODE |
| LOW | awx/main/signals.py | 63 | __all__ = [] | CODE |
| LOW | awx/main/fields.py | 43 | __all__ = [ | CODE |
| LOW | awx/main/constants.py | 8 | __all__ = [ | CODE |
| LOW | awx/main/access.py | 80 | __all__ = [ | CODE |
| LOW | awx/main/tasks/signals.py | 8 | __all__ = ['with_signal_handling', 'signal_callback'] | CODE |
| LOW | awx/main/tasks/host_indirect.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | awx/main/tests/factories/__init__.py | 15 | __all__ = [ | CODE |
| LOW | awx/main/tests/live/tests/conftest.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | awx/main/tests/live/tests/test_concurrent_fact_cache.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | awx/main/tests/data/sleep_task.py | 12 | logger = logging.getLogger(__name__) | CODE |
| 40 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awxkit/awxkit/utils/toposort.py | 1 | ####################################################################### | COMMENT |
| LOW | awxkit/awxkit/utils/toposort.py | 21 | # Added unittests. | COMMENT |
| LOW | awxkit/awxkit/cli/docs/source/conf.py | 1 | # Configuration file for the Sphinx documentation builder. | COMMENT |
| LOW | tools/loki/local-config.yaml | 81 | query_range: | COMMENT |
| LOW | tools/scripts/firehose.py | 1 | #! /usr/bin/env awx-python | COMMENT |
| LOW | awx/devonly.py | 1 | # Copyright (c) 2015 Ansible, Inc. | COMMENT |
| LOW | awx/ui/__init__.py | 1 | # Copyright (c) 2015 Ansible, Inc. | COMMENT |
| LOW | awx/settings/defaults.py | 61 | # Timeout when waiting for pod to enter running state. If the pod is still in pending state , it will be terminated. Val | COMMENT |
| LOW | awx/settings/defaults.py | 161 | # reverse proxy. | COMMENT |
| LOW | awx/settings/defaults.py | 181 | # This should not be set via a file. | COMMENT |
| LOW | awx/settings/defaults.py | 661 | # -- Red Hat Insights -- | COMMENT |
| LOW | awx/settings/defaults.py | 681 | # --------------------- | COMMENT |
| LOW | awx/settings/defaults.py | 861 | # https://github.com/django-polymorphic/django-polymorphic/issues/195 | COMMENT |
| LOW | awx/playbooks/project_update.yml | 1 | --- | COMMENT |
| LOW | awx/api/models.py | 1 | # Copyright (c) 2015 Ansible, Inc. | COMMENT |
| LOW | awx/api/serializers.py | 5461 | show_capabilities = ['edit', 'delete', 'copy'] | COMMENT |
| LOW | awx/api/serializers.py | 5761 | class SchedulePreviewSerializer(BaseSerializer): | COMMENT |
| LOW | awx/api/__init__.py | 1 | # Copyright (c) 2015 Ansible, Inc. | COMMENT |
| LOW | awx/api/generics.py | 221 | """ | COMMENT |
| LOW | awx/api/generics.py | 301 | return response | COMMENT |
| LOW | awx/api/generics.py | 321 | # To prevent this, we will _no longer_ send `WWW-Authenticate: Basic ...` | COMMENT |
| LOW | awx/api/generics.py | 541 | if not self.request.user.can_access(*args): | COMMENT |
| LOW | awx/api/views/__init__.py | 4261 | # key is uuid, value is parent uuid. Used as a quick lookup | COMMENT |
| LOW | awx/api/views/__init__.py | 4301 | if puuid and puuid not in level_current_uuid: | COMMENT |
| LOW | awx/main/access.py | 2501 | # qs = qs.prefetch_related( | COMMENT |
| LOW | awx/main/__init__.py | 1 | # Copyright (c) 2015 Ansible, Inc. | COMMENT |
| LOW | awx/main/middleware.py | 121 | # if the name does *not* resolve to any actual resource, | COMMENT |
| LOW | awx/main/tasks/callback.py | 181 | # Runner as a playbook runs. That means that changes to the code in | COMMENT |
| LOW | awx/main/tasks/system.py | 141 | # automatically register it. This is mostly useful for openshift-based | COMMENT |
| LOW | awx/main/tasks/receptor.py | 501 | COMMENT | |
| LOW | awx/main/tests/__init__.py | 1 | # Copyright (c) 2015 Ansible, Inc. | COMMENT |
| LOW | awx/main/tests/unit/utils/test_filters.py | 221 | #('"facts__quoted_val"="f\"oo"', 1), | COMMENT |
| LOW | …s/functional/task_management/test_cancel_dependency.py | 1 | # Generated by Claude Opus 4.6 (claude-opus-4-6) | COMMENT |
| LOW | awx/main/management/__init__.py | 1 | # Copyright (c) 2015 Ansible, Inc. | COMMENT |
| LOW | awx/main/management/commands/__init__.py | 1 | # Copyright (c) 2015 Ansible, Inc. | COMMENT |
| LOW | awx/main/management/commands/run_wsrelay.py | 101 | connection.close() # Because of async nature, main loop will use new connection, so close this | COMMENT |
| LOW | awx/main/utils/encryption.py | 61 | # !!! BEFORE USING THIS FUNCTION PLEASE READ encrypt_field !!! | COMMENT |
| LOW | awx/main/utils/encryption.py | 81 | # symmetric key is based): | COMMENT |
| LOW | awx/main/utils/handlers.py | 41 | # for any number of reasons, rsyslogd has gone to lunch; | COMMENT |
| LOW | awx/main/models/events.py | 141 | # - playbook_on_not_import_for_host (not logged, not used for v2) | COMMENT |
| LOW | awx/main/models/events.py | 401 | setattr(self, field, value) | COMMENT |
| LOW | awx/main/models/events.py | 721 | # | COMMENT |
| LOW | awx/main/models/events.py | 781 | ] | COMMENT |
| LOW | awx/main/models/rbac.py | 261 | # parent of B which is a parent of C, then the ancestors table will | COMMENT |
| LOW | awx/main/models/rbac.py | 281 | # in what order, we simply use the termination condition of stopping | COMMENT |
| LOW | awx/main/models/rbac.py | 301 | # | COMMENT |
| LOW | awx/main/models/schedules.py | 201 | # it requires them to perform DTSTART local -> UTC datetime coercion on | COMMENT |
| LOW | awx/main/db/profiled_pg/base.py | 121 | COMMENT | |
| LOW | awx/conf/settings.py | 41 | # Cannot store None in cache; use a special value instead to indicate None. | COMMENT |
| LOW | awx/conf/settings.py | 261 | self.__dict__['_awx_conf_memoizedcache_lock'] = threading.Lock() | COMMENT |
| LOW | requirements/requirements.txt | 1 | adal==1.2.7 | COMMENT |
| LOW | requirements/requirements.txt | 21 | # via -r /awx_devel/requirements/requirements.in | COMMENT |
| LOW | requirements/requirements.txt | 41 | autobahn==24.4.2 | COMMENT |
| LOW | requirements/requirements.txt | 61 | # via -r /awx_devel/requirements/requirements.in | COMMENT |
| LOW | requirements/requirements.txt | 81 | cachetools==6.2.0 | COMMENT |
| LOW | requirements/requirements.txt | 101 | # via requests | COMMENT |
| LOW | requirements/requirements.txt | 121 | # via -r /awx_devel/requirements/requirements.in | COMMENT |
| LOW | requirements/requirements.txt | 141 | # via -r /awx_devel/requirements/requirements_git.txt | COMMENT |
| LOW | requirements/requirements.txt | 161 | # via | COMMENT |
| LOW | requirements/requirements.txt | 181 | # aiohttp | COMMENT |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ts/data/projects/host_query/plugins/modules/example.py | 0 | --- module: example short_description: module for specific live tests version_added: "2.0.0" description: this module is | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | awx/main/tests/live/tests/test_concurrent_fact_cache.py | 12 | Generated by Claude Opus 4.6 (claude-opus-4-6). | STRING |
| HIGH | awx/main/tests/live/tests/test_concurrent_fact_cache.py | 70 | Generated by Claude Opus 4.6 (claude-opus-4-6). | STRING |
| HIGH | awx/main/tests/live/tests/test_concurrent_fact_cache.py | 135 | Generated by Claude Opus 4.6 (claude-opus-4-6). | STRING |
| HIGH | awx/main/tests/live/tests/test_concurrent_fact_cache.py | 216 | Generated by Claude Opus 4.6 (claude-opus-4-6). | STRING |
| HIGH | awx/main/tests/live/tests/test_concurrent_fact_cache.py | 266 | Generated by Claude Opus 4.6 (claude-opus-4-6). | STRING |
| HIGH | awx/main/tests/data/projects/facts/gather_slow.yml | 2 | # Generated by Claude Opus 4.6 (claude-opus-4-6). | COMMENT |
| HIGH | awx/main/tests/functional/tasks/test_fact_cache.py | 8 | Generated by Claude Opus 4.6 (claude-opus-4-6). | STRING |
| HIGH | awx/main/tests/functional/tasks/test_fact_cache.py | 38 | Generated by Claude Opus 4.6 (claude-opus-4-6). | STRING |
| HIGH | awx/main/tests/functional/tasks/test_fact_cache.py | 79 | Generated by Claude Opus 4.6 (claude-opus-4-6). | STRING |
| HIGH | awx/main/tests/functional/tasks/test_fact_cache.py | 113 | Generated by Claude Opus 4.6 (claude-opus-4-6). | STRING |
| HIGH | awx/main/tests/functional/tasks/test_fact_cache.py | 149 | Generated by Claude Opus 4.6 (claude-opus-4-6). | STRING |
| HIGH | awx/main/tests/functional/tasks/test_fact_cache.py | 184 | Generated by Claude Opus 4.6 (claude-opus-4-6). | STRING |
| HIGH | …s/functional/task_management/test_cancel_dependency.py | 1 | # Generated by Claude Opus 4.6 (claude-opus-4-6) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/sosreport/controller.py | 12 | "awx-manage dispatcherctl status", # controller dispatch comprehensive status | CODE |
| LOW | awx/playbooks/library/indirect_instance_count.py | 39 | # this plugin, just set ANSIBLE_LOG_PATH as an environment variable | STRING |
| MEDIUM | awx/api/serializers.py | 675 | # Note: This logic works in conjunction with | COMMENT |
| LOW | awx/api/views/analytics.py | 232 | # subscriptions credentials are not valid for basic auth, so just return 401 | COMMENT |
| MEDIUM⚡ | awx/main/tasks/system.py | 449 | # a refresh now is formally robust | STRING |
| LOW | awx/main/dispatch/worker/callback.py | 306 | # just use them to report `summary` websocket events as an | COMMENT |
| MEDIUM⚡ | awx/main/tests/functional/models/test_job.py | 21 | # Representation should be robust to deleted related items | COMMENT |
| 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 | CODE |
| MEDIUM | awx/main/tests/functional/api/test_licensing.py | 374 | # Client IP: in the test harness this is typically 127.0.0.1 or similar | COMMENT |
| LOW | awx/main/tests/functional/api/test_generic.py | 29 | # should just pass through | COMMENT |
| LOW | awx/main/models/rbac.py | 281 | # in what order, we simply use the termination condition of stopping | COMMENT |
| LOW | awx/main/models/rbac.py | 828 | # anyways so just return | COMMENT |
| MEDIUM | awx/main/analytics/broadcast_websocket.py | 119 | # TODO: More robust replacement | COMMENT |
| LOW | awx_collection/plugins/module_utils/controller_api.py | 484 | # If we get a value error, then we didn't have an integer so we can just pass and fall down to the f | COMMENT |
| LOW | awx_collection/plugins/modules/settings.py | 68 | # If our value is already None we can just return directly | STRING |
| 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 | STRING |
| 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 | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awxkit/awxkit/cli/client.py | 139 | # Check if Basic auth is forced via environment variable | COMMENT |
| LOW | awxkit/awxkit/cli/client.py | 277 | # Check if this is resource-level help (no action specified) | COMMENT |
| LOW | awxkit/awxkit/api/pages/users.py | 35 | # Check if API base path is set to controller, then use gateway endpoint | COMMENT |
| LOW | tools/data_generators/rbac_dummy_data_generator.py | 702 | # Check if job already has events, for idempotence | COMMENT |
| LOW | awx/api/serializers.py | 1252 | # Check if a password is too long | COMMENT |
| LOW | awx/api/permissions.py | 108 | # Check if view supports the request method before checking permission | COMMENT |
| LOW | awx/main/access.py | 1719 | # Check if JT execute access (and related prompts) is sufficient | COMMENT |
| LOW | awx/main/access.py | 2171 | # Check if access to prompts to prevent relaunch | COMMENT |
| LOW | awx/main/tasks/jobs.py | 376 | # Verify if a mount path and SELinux context has been passed | COMMENT |
| LOW | …in/tests/functional/dab_rbac/test_consolidate_teams.py | 42 | # Assign users to teams | COMMENT |
| LOW | awx/main/management/commands/candlepin_cert.py | 259 | # Check if renewal is needed (without force, just check cert expiry locally) | COMMENT |
| LOW | awx/main/management/commands/inventory_import.py | 1044 | # Check if the license is valid. | COMMENT |
| LOW | awx/main/scheduler/kubernetes.py | 68 | # Check if secret already exists | COMMENT |
| LOW⚡ | awx/main/utils/candlepin/__init__.py | 43 | # Check if we have valid data | COMMENT |
| LOW | awx/main/analytics/collectors.py | 83 | # Check if full sync should be done | COMMENT |
| LOW | .github/workflows/spec-sync-on-merge.yml | 92 | # Check if spec file exists in spec repo | COMMENT |
| LOW | .github/workflows/spec-sync-on-merge.yml | 144 | # Check if there's already an open PR from this branch | COMMENT |
| LOW | .github/workflows/sonarcloud_pr.yml | 144 | # Check if coverage.xml exists and has content | COMMENT |
| 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. | STRING |
| 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. | STRING |
| LOW | awx_collection/plugins/modules/license.py | 104 | # Check if Tower is already licensed | STRING |
| LOW | awx_collection/plugins/modules/project.py | 241 | # Set Changed to correct value depending on if hash changed Also output refspec comparision | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | STRING |
| HIGH | awx/api/views/__init__.py | 1654 | Validate job template ID and return the JobTemplate instance. Args: job_template_id: The job templa | STRING |
| HIGH | awx/api/views/__init__.py | 1676 | Handle OIDC workload identity token generation for external credential test endpoints. This method sho | STRING |
| 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 | STRING |
| 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)` | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | awxkit/test/test_utils.py | 46 | ["{'null': null}", {"null": None}], | CODE |
| HIGH | awx/api/serializers.py | 1526 | # prevent changing organization of ee. Unsetting (change to null) is allowed | COMMENT |
| HIGH | …/serializers/test_notification_template_serializers.py | 61 | {'started': {'message': '{{ undefined }}'}}, | CODE |
| HIGH | …/serializers/test_notification_template_serializers.py | 62 | {'started': {'message': '{{ job.undefined }}'}}, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awxkit/awxkit/ws.py | 52 | CODE | |
| LOW | awxkit/awxkit/cli/custom.py | 144 | CODE | |
| LOW | awxkit/awxkit/cli/custom.py | 164 | CODE | |
| LOW | awxkit/awxkit/api/pages/execution_environments.py | 26 | CODE | |
| LOW | tools/scripts/pk_to_named_url.py | 33 | CODE | |
| LOW | awx/api/serializers.py | 1697 | CODE | |
| LOW | awx/api/serializers.py | 3533 | CODE | |
| LOW | awx/api/serializers.py | 3811 | CODE | |
| LOW | awx/api/serializers.py | 4002 | CODE | |
| LOW | awx/api/views/analytics.py | 202 | CODE | |
| LOW | awx/main/consumers.py | 166 | CODE | |
| LOW | awx/main/tasks/policy.py | 24 | CODE | |
| LOW | awx/main/tests/factories/fixtures.py | 151 | CODE | |
| LOW | awx/main/tests/factories/fixtures.py | 164 | CODE | |
| LOW | awx/main/tests/functional/models/test_events.py | 187 | CODE | |
| LOW | awx/main/utils/plugins.py | 87 | CODE | |
| LOW | awx/conf/settings.py | 154 | CODE | |
| LOW | awx_collection/test/awx/conftest.py | 255 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awx/main/tests/live/tests/test_inventory_vars.py | 158 | # exist. If this behaviour changes, uncomment the following code block | COMMENT |
| LOW⚡ | awx/main/utils/candlepin/lifecycle.py | 121 | # Step 1: Inspect cert metadata for diagnostics and renewal decision. | COMMENT |
| LOW⚡ | awx/main/utils/candlepin/lifecycle.py | 130 | # Step 2: Check-in (best-effort, never raises). | COMMENT |
| LOW⚡ | awx/main/utils/candlepin/lifecycle.py | 139 | # Step 3: Compare local cert serial with server's serial. | COMMENT |
| LOW | awx/main/utils/candlepin/lifecycle.py | 179 | # Step 4: Proactive renewal if within the renewal window (or already expired). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | awx/main/utils/candlepin/lifecycle.py | 121 | # Step 1: Inspect cert metadata for diagnostics and renewal decision. | COMMENT |
| LOW⚡ | awx/main/utils/candlepin/lifecycle.py | 130 | # Step 2: Check-in (best-effort, never raises). | COMMENT |
| LOW⚡ | awx/main/utils/candlepin/lifecycle.py | 139 | # Step 3: Compare local cert serial with server's serial. | COMMENT |
| LOW | awx/main/utils/candlepin/lifecycle.py | 179 | # Step 4: Proactive renewal if within the renewal window (or already expired). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awx/api/metadata.py | 62 | placeholder = getattr(field, 'placeholder', serializers.empty) | CODE |
| LOW | awx/api/metadata.py | 64 | field_info['placeholder'] = placeholder | CODE |
| LOW | awx/api/metadata.py | 232 | attrs_to_remove = ('required', 'read_only', 'default', 'min_length', 'max_length', 'placeholder') | CODE |
| LOW | …in/tests/functional/api/test_notification_templates.py | 27 | 'username': 'user@example.com', | CODE |
| LOW | …in/tests/functional/api/test_notification_templates.py | 50 | 'username': 'user@example.com', | CODE |
| LOW | …in/tests/functional/api/test_notification_templates.py | 80 | 'username': 'user@example.com', | CODE |
| LOW | awx/conf/registry.py | 127 | placeholder = field_kwargs.pop('placeholder', empty) | CODE |
| 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") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | awx/main/tests/functional/api/test_workflow_node.py | 403 | # okay, now I will add the new one | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | awxkit/awxkit/api/pages/projects.py | 54 | credential = None # ignore incompatible credential from HasCreate dependency injection | CODE |
| MEDIUM⚡ | awx/main/utils/candlepin/lifecycle.py | 93 | # Lifecycle orchestration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/scripts/firehose.py | 20 | # Also, a billion events is a *lot* of data; make sure you've | COMMENT |
| MEDIUM | awx/main/db/profiled_pg/base.py | 135 | # it's worth noting that this property is wrapped w/ @memoize because | COMMENT |
| 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. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awx/api/serializers.py | 3741 | job_events=self.reverse('api:job_job_events_list', kwargs={'pk': obj.pk}), # TODO: consider adding job_ | CODE |