Azure Command-Line Interface
This report summarizes scanner evidence for Azure/azure-cli, a Python project with 4,649 GitHub stars. SynthScan examined 8,479,622 lines of code across 8806 source files, recording 45010 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 8.7 (Moderate 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? 23051 finding(s).
Are imports declared and package/API names verified? 7006 finding(s).
Are wrappers, guards, and repeated structures necessary? 35961 finding(s).
Which changes need focused human review? 45010 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 45010 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 |
|---|---|---|---|---|
| MEDIUM | azure-pipelines.yml | 756 | # ============================================================================ | COMMENT |
| MEDIUM | azure-pipelines.yml | 760 | # ============================================================================ | COMMENT |
| MEDIUM | tools/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/__init__.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/setup.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/setup.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/Github/tests/test_service_contacts.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/Github/tests/test_service_contacts.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/__init__.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/__main__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/__main__.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/util.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/util.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/__init__.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rule_decorators.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rule_decorators.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/linter.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/linter.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/tests/test_linter.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/tests/test_linter.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rules/help_rules.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rules/help_rules.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rules/parameter_rules.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rules/parameter_rules.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rules/command_rules.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rules/command_rules.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ols/automation/cli_linter/rules/command_group_rules.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ols/automation/cli_linter/rules/command_group_rules.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_load_all.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_load_all.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/doc_source_map.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/doc_source_map.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_commands.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_commands.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/default_modules.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/default_modules.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_module_load_times.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_module_load_times.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/__init__.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/__init__.py | 20 | license_header = """# -------------------------------------------------------------------------------------------- | CODE |
| MEDIUM | tools/automation/verify/__init__.py | 23 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_packages.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_packages.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/setup/install_modules.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/setup/install_modules.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/setup/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/setup/__init__.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/check_vcr_recordings.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/check_vcr_recordings.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/nose_helper.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/nose_helper.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/verify_package_versions.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/verify_package_versions.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/__init__.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/verify_readme_history.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/verify_readme_history.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| 10610 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/Github/tests/test_service_contacts.py | 92 | def test_squad_only_difference_does_not_change_the_task(): | STRING |
| LOW | tools/Github/tests/test_service_contacts.py | 101 | def test_updates_regular_contacts_and_preserves_squads_per_service(): | STRING |
| LOW | tools/Github/tests/test_service_contacts.py | 127 | def test_only_preserves_matching_squad_teams(mentionee, preserved): | STRING |
| LOW | tools/Github/tests/test_service_contacts.py | 134 | def test_preserves_multiple_squads_without_duplicates(): | STRING |
| LOW | tools/Github/tests/test_service_contacts.py | 145 | def test_still_adds_and_removes_services_from_the_wiki(): | STRING |
| LOW | tools/Github/tests/test_service_contacts.py | 153 | def test_handles_rules_without_label_conditions_or_mention_actions(): | STRING |
| LOW⚡ | tools/Github/tests/test_service_contacts.py | 164 | def test_can_populate_an_empty_task(): | STRING |
| LOW⚡ | tools/Github/tests/test_service_contacts.py | 170 | def test_empty_contacts_remove_obsolete_rules(): | STRING |
| LOW⚡ | tools/Github/tests/test_service_contacts.py | 176 | def test_repeated_sync_is_idempotent(): | STRING |
| LOW | tools/automation/cli_linter/linter.py | 53 | def get_command_group_metadata(self, command_group_name): | CODE |
| LOW | tools/automation/cli_linter/linter.py | 65 | def get_help_entry_parameter_names(self, entry_name): | CODE |
| LOW | tools/automation/cli_linter/linter.py | 69 | def is_valid_parameter_help_name(self, entry_name, param_name): | CODE |
| LOW | tools/automation/cli_linter/linter.py | 128 | def _get_loaded_help_description(self, entry): | CODE |
| LOW | tools/automation/cli_linter/tests/test_linter.py | 17 | def create_invoker_and_load_cmds_and_args(cli): | CODE |
| LOW | tools/automation/cli_linter/tests/test_linter.py | 30 | def get_command_modules_paths(**_): | CODE |
| LOW | tools/automation/cli_linter/tests/test_linter.py | 56 | def test_module_extension_inclusion(self): | CODE |
| LOW | tools/automation/cli_linter/tests/test_linter.py | 98 | def fail_for_every_command_rule(linter, command_name): | CODE |
| LOW | tools/automation/cli_linter/rules/help_rules.py | 23 | def unrecognized_help_entry_rule(linter, help_entry): | CODE |
| LOW | tools/automation/cli_linter/rules/help_rules.py | 37 | def unrecognized_help_parameter_rule(linter, help_entry): | CODE |
| LOW | tools/automation/cli_linter/rules/help_rules.py | 61 | def faulty_help_example_parameters_rule(linter, help_entry): | CODE |
| LOW | tools/automation/cli_linter/rules/help_rules.py | 131 | def _extract_commands_from_example(example_text): | CODE |
| LOW | tools/automation/verify/verify_load_all.py | 36 | def extension_failed_load_handler(_, **kwargs): | CODE |
| LOW | tools/automation/verify/doc_source_map.py | 28 | def _map_help_files_not_found(help_files_in_map): | CODE |
| LOW | tools/automation/verify/verify_packages.py | 30 | def test_azure_cli_module_manifest_and_azure_bdist(self): | CODE |
| LOW | tools/automation/verify/verify_packages.py | 44 | def test_azure_cli_installation(self): | CODE |
| LOW | tools/automation/verify/verify_packages.py | 48 | def test_azure_cli_module_installation(self): | CODE |
| LOW | tools/automation/tests/verify_package_versions.py | 32 | def changes_require_version_bump(mod_name, mod_version, mod_path, base_repo=None, base_tag=None): | CODE |
| LOW | tools/automation/tests/__init__.py | 65 | def _extract_top_level_modified_modules(): | CODE |
| LOW⚡ | tools/automation/utilities/path.py | 46 | def get_command_modules_paths(include_prefix=False): | CODE |
| LOW⚡ | tools/automation/utilities/path.py | 56 | def get_command_modules_paths_with_tests(profile): | CODE |
| LOW⚡ | tools/automation/utilities/path.py | 60 | def get_core_modules_paths_with_tests(profile): | CODE |
| LOW | tools/automation/utilities/path.py | 75 | def get_module_paths_with_tests(modules, profile): | CODE |
| LOW | tools/automation/utilities/path.py | 119 | def filter_blacklisted_modules(*black_list_modules): | CODE |
| LOW | tools/automation/utilities/path.py | 129 | def filter_user_selected_modules(user_input_modules): | CODE |
| LOW | tools/automation/utilities/path.py | 148 | def filter_user_selected_modules_with_tests(user_input_modules=None, profile=None): | CODE |
| LOW⚡ | tests/agent_tools/test_aaz_source_lookup.py | 37 | def test_source_after_first_page_is_retained(): | CODE |
| LOW⚡ | tests/agent_tools/test_aaz_source_lookup.py | 47 | def test_closed_unmerged_source_is_not_linked(): | CODE |
| LOW⚡ | tests/agent_tools/test_aaz_source_lookup.py | 52 | def test_merged_source_remains_linked(): | CODE |
| LOW⚡ | tests/agent_tools/test_aaz_source_lookup.py | 57 | def test_incomplete_search_does_not_claim_no_source(): | CODE |
| LOW⚡ | tests/agent_tools/test_aaz_source_lookup.py | 64 | def test_matching_source_in_truncated_search_is_usable(): | CODE |
| LOW | build_scripts/windows/scripts/patch_models_v2.py | 252 | def find_autorest_generated_folder(module_prefix="azure.mgmt"): | CODE |
| LOW | .x/tools/reviewer/azure_cli/review.py | 48 | def _is_generated_cli_history(path): | CODE |
| LOW | .x/tools/reviewer/azure_cli/review.py | 52 | def _generated_history_finding(change, head_repo, head_sha, make_finding): | CODE |
| LOW⚡ | .x/tools/reviewer/azure_cli/failures.py | 12 | def extract_failed_tests_from_text(text): | CODE |
| LOW | .x/tools/reviewer/policy/analysis.py | 41 | def _review_is_production_file(repo_full_name, path): | CODE |
| LOW | .x/tools/reviewer/policy/analysis.py | 52 | def _review_has_customer_visible_change(change): | CODE |
| LOW | .x/tools/reviewer/policy/analysis.py | 65 | def _review_has_generated_history_marker(change): | CODE |
| LOW | .x/tools/reviewer/policy/analysis.py | 138 | def _generated_ownership_check(repo_full_name, pr, changes, production_changes, head_repo, head_sha, generation_source_p | CODE |
| LOW | .x/tools/fixer/azure_cli/targets.py | 31 | def list_azure_cli_extensions(branch="main", token=None, refresh=False): | CODE |
| LOW | .x/tools/fixer/azure_cli/aaz.py | 27 | def find_aaz_fork_prs_ready_for_promotion(token=None, limit=30): | CODE |
| LOW | .x/tools/fixer/azure_cli/aaz.py | 37 | def find_promoted_aaz_source_pr(issue_number, token=None): | CODE |
| LOW⚡ | .x/tools/fixer/azure_cli/guidance.py | 10 | def _codegen_execution_guidance(kind, safe_component): | CODE |
| LOW⚡ | .x/tools/fixer/title_gate/title_repair.py | 83 | def expected_cli_title_component(pr_files): | CODE |
| LOW⚡ | .x/tools/fixer/title_gate/title_repair.py | 89 | def cli_title_component_matches(title, pr_files): | CODE |
| LOW⚡ | .x/tools/fixer/title_gate/title_repair.py | 97 | def _replace_history_note_component(body, current, expected): | CODE |
| LOW | .x/tools/fixer/title_gate/title_repair.py | 164 | def _repaired_cli_history_notes(body, component=None): | CODE |
| LOW | .x/tools/tester/azure_cli/live_tests.py | 203 | def get_pr_regression_coverage_summary( | CODE |
| LOW | scripts/generate_latest_indices.py | 50 | def _isolated_cli_environment(): | CODE |
| LOW | scripts/generate_latest_indices.py | 79 | def _order_keys_like_template(generated, template): | CODE |
| LOW | scripts/generate_latest_indices.py | 99 | def _extract_builtin_module_name(command): | CODE |
| 18831 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …mand_modules/postgresql/utils/_flexible_server_util.py | 21 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL | …ure/cli/command_modules/postgresql/utils/validators.py | 20 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …command_modules/postgresql/commands/custom_commands.py | 14 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL⚡ | …mand_modules/postgresql/commands/parameter_commands.py | 8 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …ommand_modules/postgresql/commands/replica_commands.py | 10 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL⚡ | …ules/postgresql/commands/threat_protection_commands.py | 7 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …li/azure/cli/command_modules/ams/_exception_handler.py | 8 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …azure/cli/command_modules/ams/operations/encryption.py | 8 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL | …ure-cli/azure/cli/command_modules/ams/operations/sp.py | 16 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL | …azure/cli/command_modules/ams/operations/live_event.py | 168 | instance.preview.access_control.ip.allow.append(create_ip_range(instance.name, ip)) | CODE |
| CRITICAL | …azure/cli/command_modules/ams/operations/live_event.py | 176 | instance.input.access_control.ip.allow.append(create_ip_range(instance.name, ip)) | CODE |
| CRITICAL⚡ | …li/azure/cli/command_modules/ams/operations/account.py | 7 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …/azure-cli/azure/cli/command_modules/advisor/custom.py | 150 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | src/azure-cli/azure/cli/command_modules/role/custom.py | 27 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL | …ure/cli/command_modules/role/tests/latest/test_role.py | 83 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …zure/cli/command_modules/monitor/_exception_handler.py | 8 | from azure.core.exceptions import HttpResponseError, ODataV4Format | CODE |
| CRITICAL | …les/monitor/tests/latest/test_activity_log_scenario.py | 17 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …nitor/tests/latest/test_monitor_diagnostic_settings.py | 8 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …r/tests/latest/test_monitor_log_analytics_workspace.py | 8 | from azure.core.exceptions import HttpResponseError, ResourceExistsError | CODE |
| CRITICAL | …r/tests/latest/test_monitor_log_analytics_workspace.py | 478 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL | …r/tests/latest/test_monitor_log_analytics_workspace.py | 774 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …or/tests/latest/test_monitor_metric_alert_scenarios.py | 103 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL | …mmand_modules/monitor/operations/monitor_clone_util.py | 119 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …mand_modules/monitor/operations/activity_log_alerts.py | 9 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 233 | disc_microsoft__azure__monitor__multiple_resource_multiple_metric_criteria = cls._schema_on_200.value.Elemen | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 238 | all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azure | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 241 | _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azu | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 285 | failing_periods = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Micros | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 295 | disc_static_threshold_criterion = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odat | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 303 | disc_microsoft__azure__monitor__single_resource_multiple_metric_criteria = cls._schema_on_200.value.Element. | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 308 | all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azure | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 311 | _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azu | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 523 | disc_microsoft__azure__monitor__multiple_resource_multiple_metric_criteria = cls._schema_on_200.value.Elemen | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 528 | all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azure | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 531 | _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azu | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 575 | failing_periods = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Micros | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 585 | disc_static_threshold_criterion = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odat | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 593 | disc_microsoft__azure__monitor__single_resource_multiple_metric_criteria = cls._schema_on_200.value.Element. | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 598 | all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azure | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 601 | _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azu | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 265 | dimensions = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.A | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 269 | disc_dynamic_threshold_criterion = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("oda | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 341 | dimensions = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.A | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 345 | disc_microsoft__azure__monitor__webtest_location_availability_criteria = cls._schema_on_200.value.Element.pr | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 555 | dimensions = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.A | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 559 | disc_dynamic_threshold_criterion = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("oda | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 631 | dimensions = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.A | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 635 | disc_microsoft__azure__monitor__webtest_location_availability_criteria = cls._schema_on_200.value.Element.pr | CODE |
| CRITICAL | …es/monitor/aaz/latest/monitor/account/issue/_create.py | 443 | disc_time_based = cls._schema_on_200_201.properties.notifications.update_types.Element.discriminate_by("upda | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/account/issue/_list.py | 262 | disc_time_based = cls._schema_on_200.value.Element.properties.notifications.update_types.Element.discriminat | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/account/issue/_show.py | 263 | disc_time_based = cls._schema_on_200.properties.notifications.update_types.Element.discriminate_by("update_t | CODE |
| CRITICAL | …es/monitor/aaz/latest/monitor/account/issue/_update.py | 600 | disc_time_based = _schema_issue_resource_read.properties.notifications.update_types.Element.discriminate_by("upd | CODE |
| CRITICAL⚡ | …/command_modules/monitor/_legacy/_exception_handler.py | 8 | from azure.core.exceptions import HttpResponseError, ODataV4Format | CODE |
| CRITICAL | …dules/monitor/_legacy/operations/monitor_clone_util.py | 109 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …ules/monitor/_legacy/operations/activity_log_alerts.py | 15 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py | 233 | disc_microsoft__azure__monitor__multiple_resource_multiple_metric_criteria = cls._schema_on_200.value.Elemen | CODE |
| CRITICAL⚡ | …itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py | 238 | all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azure | CODE |
| CRITICAL⚡ | …itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py | 241 | _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azu | CODE |
| CRITICAL⚡ | …itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py | 285 | failing_periods = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Micros | CODE |
| CRITICAL⚡ | …itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py | 295 | disc_static_threshold_criterion = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odat | CODE |
| 578 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/automation/verify/verify_module_load_times.py | 6 | CODE | |
| LOW | tools/automation/verify/verify_packages.py | 11 | CODE | |
| LOW | tools/automation/setup/install_modules.py | 7 | CODE | |
| LOW | tools/automation/tests/main.py | 9 | CODE | |
| LOW | tools/automation/tests/main.py | 10 | CODE | |
| LOW | tools/automation/tests/main.py | 10 | CODE | |
| LOW | bin/extract-loc.py | 9 | CODE | |
| LOW | .x/tools/fixer/azure_cli/routing.py | 9 | CODE | |
| LOW | .x/tools/fixer/azure_cli/routing.py | 12 | CODE | |
| LOW | .x/tools/fixer/azure_cli/aaz.py | 9 | CODE | |
| LOW | .x/tools/fixer/azure_cli/aaz.py | 12 | CODE | |
| LOW | .x/tools/validation/checks.py | 136 | CODE | |
| LOW | scripts/dump_help.py | 9 | CODE | |
| LOW | scripts/dump_help.py | 10 | CODE | |
| LOW | scripts/dump_command_table.py | 7 | CODE | |
| LOW | scripts/dump_command_table.py | 9 | CODE | |
| LOW | scripts/trim_sdk.py | 21 | CODE | |
| LOW | scripts/release/standalone/build_binary_tar_gz.py | 60 | CODE | |
| LOW | scripts/release/homebrew/docker/formula_generate.py | 7 | CODE | |
| LOW | scripts/release/homebrew/docker/formula_generate.py | 9 | CODE | |
| LOW | scripts/release/homebrew/docker/formula_generate.py | 9 | CODE | |
| LOW | scripts/live_test/generate_index.py | 12 | CODE | |
| LOW | scripts/live_test/generate_index.py | 13 | CODE | |
| LOW | scripts/live_test/generate_index.py | 14 | CODE | |
| LOW | doc/sphinx/cligroup/cligroup.py | 6 | CODE | |
| LOW | doc/sphinx/cligroup/cligroup.py | 11 | CODE | |
| LOW | doc/sphinx/cligroup/cligroup.py | 13 | CODE | |
| LOW | …c/azure-cli/azure/cli/command_modules/maps/__init__.py | 8 | CODE | |
| LOW | …e-cli/azure/cli/command_modules/postgresql/__init__.py | 13 | CODE | |
| LOW | …st/test_postgres_flexible_commands_fabric_mirroring.py | 11 | CODE | |
| LOW | …st/test_postgres_flexible_commands_fabric_mirroring.py | 11 | CODE | |
| LOW | …l/tests/latest/test_postgres_flexible_commands_vnet.py | 6 | CODE | |
| LOW | …d_modules/postgresql/aaz/latest/network/__cmd_group.py | 11 | CODE | |
| LOW | …mand_modules/postgresql/aaz/latest/network/__init__.py | 11 | CODE | |
| LOW | …ules/postgresql/aaz/latest/network/vnet/__cmd_group.py | 11 | CODE | |
| LOW | …modules/postgresql/aaz/latest/network/vnet/__init__.py | 11 | CODE | |
| LOW | …modules/postgresql/aaz/latest/network/vnet/__init__.py | 12 | CODE | |
| LOW | …modules/postgresql/aaz/latest/network/vnet/__init__.py | 13 | CODE | |
| LOW | …modules/postgresql/aaz/latest/network/vnet/__init__.py | 14 | CODE | |
| LOW | …_modules/postgresql/aaz/latest/network/vnet/_create.py | 11 | CODE | |
| LOW | …nd_modules/postgresql/aaz/latest/network/vnet/_show.py | 11 | CODE | |
| LOW | …_modules/postgresql/aaz/latest/network/vnet/_update.py | 11 | CODE | |
| LOW | …stgresql/aaz/latest/network/vnet/subnet/__cmd_group.py | 11 | CODE | |
| LOW | …/postgresql/aaz/latest/network/vnet/subnet/__init__.py | 11 | CODE | |
| LOW | …/postgresql/aaz/latest/network/vnet/subnet/__init__.py | 12 | CODE | |
| LOW | …/postgresql/aaz/latest/network/vnet/subnet/__init__.py | 13 | CODE | |
| LOW | …/postgresql/aaz/latest/network/vnet/subnet/__init__.py | 14 | CODE | |
| LOW | …s/postgresql/aaz/latest/network/vnet/subnet/_create.py | 11 | CODE | |
| LOW | …les/postgresql/aaz/latest/network/vnet/subnet/_show.py | 11 | CODE | |
| LOW | …s/postgresql/aaz/latest/network/vnet/subnet/_update.py | 11 | CODE | |
| LOW | …e-cli/azure/cli/command_modules/servicebus/__init__.py | 9 | CODE | |
| LOW | …re-cli/azure/cli/command_modules/servicebus/_params.py | 17 | CODE | |
| LOW | …re-cli/azure/cli/command_modules/servicebus/_params.py | 17 | CODE | |
| LOW | …re-cli/azure/cli/command_modules/servicebus/_params.py | 17 | CODE | |
| LOW | …re-cli/azure/cli/command_modules/servicebus/_params.py | 17 | CODE | |
| LOW | …bus/tests/latest/test_servicebus_namespace_commands.py | 9 | CODE | |
| LOW | …bus/tests/latest/test_servicebus_namespace_commands.py | 10 | CODE | |
| LOW | …us/tests/latest/test_servicebus_encryption_commands.py | 8 | CODE | |
| LOW | …us/tests/latest/test_servicebus_encryption_commands.py | 9 | CODE | |
| LOW | …us/tests/latest/test_servicebus_encryption_commands.py | 10 | CODE | |
| 6052 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | scripts/ci/breaking_change_test.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | scripts/ci/notify_ci_errors.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/ci/automation_full_test.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/ci/check_pull_request.py | 68 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | scripts/ci/codegen_report.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/live_test/generate_index.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/live_test/sendemail.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | scripts/regression_test/update_api_profile.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | …d_modules/postgresql/aaz/latest/network/__cmd_group.py | 20 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …ules/postgresql/aaz/latest/network/vnet/__cmd_group.py | 22 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …_modules/postgresql/aaz/latest/network/vnet/_create.py | 3289 | __all__ = ["Create"] | CODE |
| LOW | …nd_modules/postgresql/aaz/latest/network/vnet/_show.py | 2450 | __all__ = ["Show"] | CODE |
| LOW | …_modules/postgresql/aaz/latest/network/vnet/_update.py | 2837 | __all__ = ["Update"] | CODE |
| LOW | …stgresql/aaz/latest/network/vnet/subnet/__cmd_group.py | 22 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …s/postgresql/aaz/latest/network/vnet/subnet/_create.py | 2633 | __all__ = ["Create"] | CODE |
| LOW | …les/postgresql/aaz/latest/network/vnet/subnet/_show.py | 2263 | __all__ = ["Show"] | CODE |
| LOW | …s/postgresql/aaz/latest/network/vnet/subnet/_update.py | 2817 | __all__ = ["Update"] | CODE |
| LOW | …odules/servicebus/aaz/latest/servicebus/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …vicebus/aaz/latest/servicebus/namespace/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …ervicebus/aaz/latest/servicebus/namespace/_failover.py | 224 | __all__ = ["Failover"] | CODE |
| LOW | …es/servicebus/aaz/latest/servicebus/namespace/_wait.py | 423 | __all__ = ["Wait"] | CODE |
| LOW | …/servicebus/aaz/latest/servicebus/namespace/_create.py | 815 | __all__ = ["Create"] | CODE |
| LOW | …es/servicebus/aaz/latest/servicebus/namespace/_list.py | 735 | __all__ = ["List"] | CODE |
| LOW | …es/servicebus/aaz/latest/servicebus/namespace/_show.py | 427 | __all__ = ["Show"] | CODE |
| LOW | …/servicebus/aaz/latest/servicebus/namespace/_update.py | 967 | __all__ = ["Update"] | CODE |
| LOW | …/servicebus/aaz/latest/servicebus/namespace/_delete.py | 166 | __all__ = ["Delete"] | CODE |
| LOW | …/servicebus/aaz/latest/servicebus/namespace/_exists.py | 173 | __all__ = ["Exists"] | CODE |
| LOW | …t/servicebus/namespace/network_rule_set/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …atest/servicebus/namespace/network_rule_set/_create.py | 347 | __all__ = ["Create"] | CODE |
| LOW | …/latest/servicebus/namespace/network_rule_set/_list.py | 256 | __all__ = ["List"] | CODE |
| LOW | …/latest/servicebus/namespace/network_rule_set/_show.py | 244 | __all__ = ["Show"] | CODE |
| LOW | …atest/servicebus/namespace/network_rule_set/_update.py | 500 | __all__ = ["Update"] | CODE |
| LOW | …vicebus/namespace/private_link_resource/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …st/servicebus/namespace/private_link_resource/_show.py | 200 | __all__ = ["Show"] | CODE |
| LOW | …servicebus/namespace/authorization_rule/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …est/servicebus/namespace/authorization_rule/_create.py | 263 | __all__ = ["Create"] | CODE |
| LOW | …atest/servicebus/namespace/authorization_rule/_list.py | 227 | __all__ = ["List"] | CODE |
| LOW | …atest/servicebus/namespace/authorization_rule/_show.py | 229 | __all__ = ["Show"] | CODE |
| LOW | …est/servicebus/namespace/authorization_rule/_update.py | 412 | __all__ = ["Update"] | CODE |
| LOW | …est/servicebus/namespace/authorization_rule/_delete.py | 156 | __all__ = ["Delete"] | CODE |
| LOW | …cebus/namespace/authorization_rule/keys/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …servicebus/namespace/authorization_rule/keys/_renew.py | 244 | __all__ = ["Renew"] | CODE |
| LOW | …/servicebus/namespace/authorization_rule/keys/_list.py | 208 | __all__ = ["List"] | CODE |
| LOW | …s/namespace/private_endpoint_connection/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …vicebus/namespace/private_endpoint_connection/_wait.py | 231 | __all__ = ["Wait"] | CODE |
| LOW | …cebus/namespace/private_endpoint_connection/_create.py | 327 | __all__ = ["Create"] | CODE |
| LOW | …vicebus/namespace/private_endpoint_connection/_list.py | 234 | __all__ = ["List"] | CODE |
| LOW | …vicebus/namespace/private_endpoint_connection/_show.py | 232 | __all__ = ["Show"] | CODE |
| LOW | …cebus/namespace/private_endpoint_connection/_update.py | 455 | __all__ = ["Update"] | CODE |
| LOW | …cebus/namespace/private_endpoint_connection/_delete.py | 173 | __all__ = ["Delete"] | CODE |
| LOW | …/servicebus/aaz/latest/servicebus/topic/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …ules/servicebus/aaz/latest/servicebus/topic/_create.py | 391 | __all__ = ["Create"] | CODE |
| LOW | …odules/servicebus/aaz/latest/servicebus/topic/_list.py | 319 | __all__ = ["List"] | CODE |
| LOW | …odules/servicebus/aaz/latest/servicebus/topic/_show.py | 299 | __all__ = ["Show"] | CODE |
| LOW | …ules/servicebus/aaz/latest/servicebus/topic/_update.py | 551 | __all__ = ["Update"] | CODE |
| LOW | …ules/servicebus/aaz/latest/servicebus/topic/_delete.py | 152 | __all__ = ["Delete"] | CODE |
| LOW | …est/servicebus/topic/authorization_rule/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …/latest/servicebus/topic/authorization_rule/_create.py | 275 | __all__ = ["Create"] | CODE |
| LOW | …az/latest/servicebus/topic/authorization_rule/_list.py | 239 | __all__ = ["List"] | CODE |
| LOW | …az/latest/servicebus/topic/authorization_rule/_show.py | 242 | __all__ = ["Show"] | CODE |
| 2687 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …zure-cli/azure/cli/command_modules/postgresql/_help.py | 0 | type: group short-summary: manage firewall rules for a server. | STRING |
| HIGH | src/azure-cli/azure/cli/command_modules/mysql/_help.py | 0 | type: group short-summary: manage firewall rules for a server. | STRING |
| HIGH | src/azure-cli/azure/cli/command_modules/rdbms/_help.py | 0 | type: group short-summary: manage firewall rules for a server. | STRING |
| HIGH | …ure/cli/command_modules/postgresql/utils/validators.py | 0 | fetch resource group from server name :param str server_name: name of the server :return: resource group name or none :r | STRING |
| HIGH | …ure-cli/azure/cli/command_modules/mysql/_validators.py | 0 | fetch resource group from server name :param str server_name: name of the server :return: resource group name or none :r | STRING |
| HIGH | …zure-cli/azure/cli/command_modules/rdbms/validators.py | 0 | fetch resource group from server name :param str server_name: name of the server :return: resource group name or none :r | STRING |
| HIGH | …ure/cli/command_modules/postgresql/utils/validators.py | 0 | # regex not working for re.(regex, '255.255.255.255'). hence commenting it out for now regex = r'^(25[0-5]|2[0-4][0-9]|[ | STRING |
| HIGH | …ure-cli/azure/cli/command_modules/mysql/_validators.py | 0 | # regex not working for re.(regex, '255.255.255.255'). hence commenting it out for now regex = r'^(25[0-5]|2[0-4][0-9]|[ | STRING |
| HIGH | …zure-cli/azure/cli/command_modules/rdbms/validators.py | 0 | # regex not working for re.(regex, '255.255.255.255'). hence commenting it out for now regex = r'^(25[0-5]|2[0-4][0-9]|[ | STRING |
| HIGH | …ules/postgresql/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …/profile_2020_09_01_hybrid/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …ules/appservice/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …/profile_2019_03_01_hybrid/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …and_modules/aro/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …modules/network/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …dules/container/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …mand_modules/vm/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …s/servicefabric/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …dules/hdinsight/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …d_modules/mysql/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …es/containerapp/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …d_modules/rdbms/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …_modules/postgresql/aaz/latest/network/vnet/_create.py | 0 | create a virtual network. you may also create a subnet at the same time by specifying a subnet name and (optionally) an | STRING |
| HIGH | …d_modules/container/aaz/latest/network/vnet/_create.py | 0 | create a virtual network. you may also create a subnet at the same time by specifying a subnet name and (optionally) an | STRING |
| HIGH | …mmand_modules/mysql/aaz/latest/network/vnet/_create.py | 0 | create a virtual network. you may also create a subnet at the same time by specifying a subnet name and (optionally) an | STRING |
| HIGH | …mmand_modules/rdbms/aaz/latest/network/vnet/_create.py | 0 | create a virtual network. you may also create a subnet at the same time by specifying a subnet name and (optionally) an | STRING |
| HIGH | …nd_modules/postgresql/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …nd_modules/appservice/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …i/command_modules/aro/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …mmand_modules/network/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …and_modules/container/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …command_modules/mysql/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …_modules/containerapp/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …command_modules/rdbms/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …_modules/postgresql/aaz/latest/network/vnet/_update.py | 0 | update a virtual network. :example: update a virtual network with the ip address of a dns server. az network vnet update | STRING |
| HIGH | …mmand_modules/mysql/aaz/latest/network/vnet/_update.py | 0 | update a virtual network. :example: update a virtual network with the ip address of a dns server. az network vnet update | STRING |
| HIGH | …mmand_modules/rdbms/aaz/latest/network/vnet/_update.py | 0 | update a virtual network. :example: update a virtual network with the ip address of a dns server. az network vnet update | STRING |
| HIGH | …stgresql/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …e_2020_09_01_hybrid/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …pservice/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …e_2019_03_01_hybrid/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …ules/aro/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …/network/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …ontainer/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …dules/vm/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …cefabric/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …dinsight/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …es/mysql/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …es/rdbms/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …s/postgresql/aaz/latest/network/vnet/subnet/_create.py | 0 | create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cus | STRING |
| HIGH | …ules/network/aaz/latest/network/vnet/subnet/_create.py | 0 | create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cus | STRING |
| HIGH | …es/container/aaz/latest/network/vnet/subnet/_create.py | 0 | create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cus | STRING |
| HIGH | …d_modules/vm/aaz/latest/network/vnet/subnet/_create.py | 0 | create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cus | STRING |
| HIGH | …ervicefabric/aaz/latest/network/vnet/subnet/_create.py | 0 | create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cus | STRING |
| HIGH | …odules/mysql/aaz/latest/network/vnet/subnet/_create.py | 0 | create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cus | STRING |
| HIGH | …odules/rdbms/aaz/latest/network/vnet/subnet/_create.py | 0 | create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cus | STRING |
| HIGH | …les/postgresql/aaz/latest/network/vnet/subnet/_show.py | 0 | show details of a subnet. :example: show the details of a subnet associated with a virtual network. az network vnet subn | STRING |
| HIGH | …profile_2020_09_01_hybrid/network/vnet/subnet/_show.py | 0 | show details of a subnet. :example: show the details of a subnet associated with a virtual network. az network vnet subn | STRING |
| HIGH | …les/appservice/aaz/latest/network/vnet/subnet/_show.py | 0 | show details of a subnet. :example: show the details of a subnet associated with a virtual network. az network vnet subn | STRING |
| HIGH | …profile_2019_03_01_hybrid/network/vnet/subnet/_show.py | 0 | show details of a subnet. :example: show the details of a subnet associated with a virtual network. az network vnet subn | STRING |
| 391 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/automation/tests/nose_helper.py | 24 | CODE | |
| LOW | src/azure-cli/azure/cli/command_modules/maps/custom.py | 13 | CODE | |
| LOW | …li/azure/cli/command_modules/postgresql/_db_context.py | 15 | CODE | |
| LOW | …ure/cli/command_modules/postgresql/utils/validators.py | 157 | CODE | |
| LOW | …_modules/postgresql/aaz/latest/network/vnet/_create.py | 603 | CODE | |
| LOW | …nd_modules/postgresql/aaz/latest/network/vnet/_show.py | 74 | CODE | |
| LOW | …_modules/postgresql/aaz/latest/network/vnet/_update.py | 236 | CODE | |
| LOW | …s/postgresql/aaz/latest/network/vnet/subnet/_create.py | 300 | CODE | |
| LOW | …les/postgresql/aaz/latest/network/vnet/subnet/_show.py | 80 | CODE | |
| LOW | …s/postgresql/aaz/latest/network/vnet/subnet/_update.py | 376 | CODE | |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 67 | CODE | |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 326 | CODE | |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 436 | CODE | |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 709 | CODE | |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 792 | CODE | |
| LOW | …ommand_modules/postgresql/commands/replica_commands.py | 32 | CODE | |
| LOW | …mand_modules/servicebus/operations/namespace_custom.py | 37 | CODE | |
| LOW | …mand_modules/servicebus/operations/namespace_custom.py | 266 | CODE | |
| LOW | …ervicebus/aaz/latest/servicebus/namespace/_failover.py | 89 | CODE | |
| LOW | …es/servicebus/aaz/latest/servicebus/namespace/_wait.py | 73 | CODE | |
| LOW | …/servicebus/aaz/latest/servicebus/namespace/_create.py | 326 | CODE | |
| LOW | …es/servicebus/aaz/latest/servicebus/namespace/_show.py | 77 | CODE | |
| LOW | …/servicebus/aaz/latest/servicebus/namespace/_update.py | 353 | CODE | |
| LOW | …/servicebus/aaz/latest/servicebus/namespace/_exists.py | 69 | CODE | |
| LOW | …atest/servicebus/namespace/network_rule_set/_create.py | 133 | CODE | |
| LOW | …/latest/servicebus/namespace/network_rule_set/_show.py | 74 | CODE | |
| LOW | …atest/servicebus/namespace/network_rule_set/_update.py | 159 | CODE | |
| LOW | …est/servicebus/namespace/authorization_rule/_create.py | 99 | CODE | |
| LOW | …atest/servicebus/namespace/authorization_rule/_show.py | 87 | CODE | |
| LOW | …est/servicebus/namespace/authorization_rule/_update.py | 117 | CODE | |
| LOW | …servicebus/namespace/authorization_rule/keys/_renew.py | 106 | CODE | |
| LOW | …/servicebus/namespace/authorization_rule/keys/_list.py | 85 | CODE | |
| LOW | …vicebus/namespace/private_endpoint_connection/_wait.py | 79 | CODE | |
| LOW | …cebus/namespace/private_endpoint_connection/_create.py | 105 | CODE | |
| LOW | …vicebus/namespace/private_endpoint_connection/_show.py | 80 | CODE | |
| LOW | …cebus/namespace/private_endpoint_connection/_update.py | 125 | CODE | |
| LOW | …ules/servicebus/aaz/latest/servicebus/topic/_create.py | 146 | CODE | |
| LOW | …odules/servicebus/aaz/latest/servicebus/topic/_show.py | 83 | CODE | |
| LOW | …ules/servicebus/aaz/latest/servicebus/topic/_update.py | 175 | CODE | |
| LOW | …/latest/servicebus/topic/authorization_rule/_create.py | 107 | CODE | |
| LOW | …az/latest/servicebus/topic/authorization_rule/_show.py | 96 | CODE | |
| LOW | …/latest/servicebus/topic/authorization_rule/_update.py | 126 | CODE | |
| LOW | …est/servicebus/topic/authorization_rule/keys/_renew.py | 112 | CODE | |
| LOW | …test/servicebus/topic/authorization_rule/keys/_list.py | 93 | CODE | |
| LOW | …us/aaz/latest/servicebus/topic/subscription/_create.py | 184 | CODE | |
| LOW | …ebus/aaz/latest/servicebus/topic/subscription/_show.py | 93 | CODE | |
| LOW | …us/aaz/latest/servicebus/topic/subscription/_update.py | 219 | CODE | |
| LOW | …z/latest/servicebus/topic/subscription/rule/_create.py | 207 | CODE | |
| LOW | …aaz/latest/servicebus/topic/subscription/rule/_show.py | 103 | CODE | |
| LOW | …z/latest/servicebus/topic/subscription/rule/_update.py | 242 | CODE | |
| LOW | …bus/aaz/latest/servicebus/georecovery_alias/_create.py | 96 | CODE | |
| LOW | …cebus/aaz/latest/servicebus/georecovery_alias/_show.py | 84 | CODE | |
| LOW | …bus/aaz/latest/servicebus/georecovery_alias/_exists.py | 84 | CODE | |
| LOW | …rvicebus/georecovery_alias/authorization_rule/_show.py | 94 | CODE | |
| LOW | …bus/georecovery_alias/authorization_rule/keys/_list.py | 91 | CODE | |
| LOW | …ules/servicebus/aaz/latest/servicebus/queue/_create.py | 171 | CODE | |
| LOW | …odules/servicebus/aaz/latest/servicebus/queue/_show.py | 83 | CODE | |
| LOW | …ules/servicebus/aaz/latest/servicebus/queue/_update.py | 205 | CODE | |
| LOW | …/latest/servicebus/queue/authorization_rule/_create.py | 107 | CODE | |
| LOW | …az/latest/servicebus/queue/authorization_rule/_show.py | 96 | CODE | |
| 2057 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/automation/cli_linter/linter.py | 106 | except AttributeError: | CODE |
| HIGH | tools/automation/tests/main.py | 80 | except: | CODE |
| HIGH | build_scripts/windows/scripts/test_msi_package.py | 25 | except: | CODE |
| HIGH | scripts/curl_install_pypi/install.py | 195 | except OSError: | CODE |
| HIGH | scripts/curl_install_pypi/install.py | 224 | except OSError: | CODE |
| HIGH | scripts/release/standalone/build_binary_tar_gz.py | 172 | except (subprocess.CalledProcessError, FileNotFoundError): | CODE |
| HIGH | scripts/release/standalone/build_binary_tar_gz.py | 350 | except OSError: | CODE |
| HIGH | scripts/temp_help/convert_all.py | 84 | except IndexError: | CODE |
| HIGH | doc/sphinx/azhelpgen/azhelpgen.py | 87 | except Exception: | CODE |
| HIGH | doc/sphinx/azhelpgen/azhelpgen.py | 91 | except Exception: | CODE |
| HIGH | src/azure-cli/setup.py | 26 | except OSError: | CODE |
| HIGH | src/azure-cli/azure/cli/__main__.py | 107 | except IndexError: | CODE |
| HIGH | …/cli/command_modules/postgresql/utils/_transformers.py | 154 | except AttributeError: | CODE |
| HIGH | …bus/tests/latest/test_servicebus_migration_commands.py | 235 | except Exception: | CODE |
| HIGH | src/azure-cli/azure/cli/command_modules/ams/_utils.py | 27 | except ValueError: | CODE |
| HIGH | src/azure-cli/azure/cli/command_modules/ams/_utils.py | 89 | except ValueError: | CODE |
| HIGH | …mand_modules/ams/tests/latest/test_ams_sp_scenarios.py | 62 | except: | CODE |
| HIGH | …/azure-cli/azure/cli/command_modules/advisor/custom.py | 80 | except TypeError: # when rec.id is already suppressed, rec.suppression_ids is None | CODE |
| HIGH | src/azure-cli/azure/cli/command_modules/role/custom.py | 1385 | except GraphError: | CODE |
| HIGH | src/azure-cli/azure/cli/command_modules/role/custom.py | 564 | except ValueError: | CODE |
| HIGH | …ure/cli/command_modules/role/tests/latest/test_role.py | 139 | except: | CODE |
| HIGH | …ure/cli/command_modules/role/tests/latest/test_role.py | 154 | except: | CODE |
| HIGH | …ure/cli/command_modules/role/tests/latest/test_role.py | 457 | except: | CODE |
| HIGH | …ure/cli/command_modules/role/tests/latest/test_role.py | 523 | except: | CODE |
| HIGH | …ure/cli/command_modules/role/tests/latest/test_role.py | 551 | except: | CODE |
| HIGH | …re/cli/command_modules/role/tests/latest/test_graph.py | 821 | except Exception: | CODE |
| HIGH | …re/cli/command_modules/role/tests/latest/test_graph.py | 149 | except: | CODE |
| HIGH | …re-cli/azure/cli/command_modules/monitor/validators.py | 253 | except AttributeError: | CODE |
| HIGH | …azure-cli/azure/cli/command_modules/monitor/actions.py | 123 | except ValueError: | CODE |
| HIGH | …i/azure/cli/command_modules/monitor/_autoscale_util.py | 600 | except ValueError: | CODE |
| HIGH | …mmand_modules/monitor/operations/autoscale_settings.py | 382 | except KeyError: | CODE |
| HIGH | …mmand_modules/monitor/operations/autoscale_settings.py | 305 | except ValueError: | CODE |
| HIGH | …ons/latest/monitor/activity_log/alert/scope/_remove.py | 41 | except KeyError: | CODE |
| HIGH | …zure/cli/command_modules/monitor/_legacy/validators.py | 253 | except AttributeError: | CODE |
| HIGH | …i/azure/cli/command_modules/monitor/_legacy/actions.py | 123 | except ValueError: | CODE |
| HIGH | …cli/command_modules/monitor/_legacy/_autoscale_util.py | 600 | except ValueError: | CODE |
| HIGH | …ules/monitor/_legacy/operations/activity_log_alerts.py | 466 | except KeyError: | CODE |
| HIGH | …dules/monitor/_legacy/operations/autoscale_settings.py | 571 | except KeyError: | CODE |
| HIGH | …dules/monitor/_legacy/operations/autoscale_settings.py | 490 | except ValueError: | CODE |
| HIGH | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 595 | except HttpResponseError: | CODE |
| HIGH | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 810 | except: # pylint: disable=bare-except | CODE |
| HIGH | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 1066 | except: # pylint: disable=bare-except | CODE |
| HIGH | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 239 | except: # pylint: disable=bare-except | CODE |
| HIGH | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 2393 | except: # pylint: disable=bare-except | CODE |
| HIGH | …-cli/azure/cli/command_modules/keyvault/_validators.py | 511 | except ValueError: # checks next format | CODE |
| HIGH | …li/azure/cli/command_modules/keyvault/_command_type.py | 133 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | …zure-cli/azure/cli/command_modules/keyvault/_params.py | 486 | except ValueError: | CODE |
| HIGH | …odules/keyvault/tests/latest/test_keyvault_commands.py | 422 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | src/azure-cli/azure/cli/command_modules/redis/custom.py | 270 | except ValueError: | CODE |
| HIGH | …li/azure/cli/command_modules/appservice/webapp_exec.py | 368 | except websocket.WebSocketConnectionClosedException: | CODE |
| HIGH | …li/azure/cli/command_modules/appservice/webapp_exec.py | 389 | except (OSError, websocket.WebSocketException): | CODE |
| HIGH | …li/azure/cli/command_modules/appservice/webapp_exec.py | 471 | except ws_module.WebSocketConnectionClosedException: | CODE |
| HIGH | …li/azure/cli/command_modules/appservice/webapp_exec.py | 535 | except ws_module.WebSocketConnectionClosedException: | CODE |
| HIGH | …li/azure/cli/command_modules/appservice/webapp_exec.py | 602 | except ValueError: # includes json.JSONDecodeError | CODE |
| HIGH | …li/azure/cli/command_modules/appservice/webapp_exec.py | 319 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | …ure-cli/azure/cli/command_modules/appservice/custom.py | 4082 | except StopIteration: | CODE |
| HIGH | …ure-cli/azure/cli/command_modules/appservice/custom.py | 823 | except: # pylint: disable=bare-except | CODE |
| HIGH | …ure-cli/azure/cli/command_modules/appservice/custom.py | 5309 | except AttributeError: | CODE |
| HIGH | …ure-cli/azure/cli/command_modules/appservice/custom.py | 5313 | except AttributeError: | CODE |
| HIGH | …ure-cli/azure/cli/command_modules/appservice/custom.py | 5436 | except Exception: # pylint: disable=broad-except | CODE |
| 286 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …nes/templates/standalone/cask-generation-and-tests.yml | 207 | # Create a temporary tap (named distinctly to avoid conflict with real Azure/homebrew-azure-cli) | COMMENT |
| MEDIUM⚡ | scripts/release/debian/prepare.sh | 9 | # Create the debian/ directory for building the azure-cli Debian package | COMMENT |
| MEDIUM | scripts/release/rpm/pipeline.sh | 21 | # Create a container image that includes the source code and a built RPM using this file. | COMMENT |
| MEDIUM | scripts/release/rpm/pipeline_azurelinux.sh | 20 | # Create a container image that includes the source code and a built RPM using this file. | COMMENT |
| MEDIUM | .github/workflows/CCOA.yml | 24 | # Define the block date (Jan 7, 2025) | COMMENT |
| MEDIUM⚡ | doc/sphinx/conf.py | 11 | # This file is execfile()d with the current directory set to its | COMMENT |
| MEDIUM⚡ | …ests/latest/test_postgres_flexible_commands_replica.py | 43 | # Create a server | COMMENT |
| MEDIUM⚡ | …ests/latest/test_postgres_flexible_commands_replica.py | 210 | # Create a virtual network and subnet for server one | COMMENT |
| MEDIUM⚡ | …ests/latest/test_postgres_flexible_commands_replica.py | 218 | # Create a subnet for server two | COMMENT |
| MEDIUM⚡ | …ests/latest/test_postgres_flexible_commands_replica.py | 226 | # Create a private DNS zone for server one | COMMENT |
| MEDIUM⚡ | …ests/latest/test_postgres_flexible_commands_replica.py | 229 | # Create a private DNS zone for server two | COMMENT |
| MEDIUM | …ests/latest/test_postgres_flexible_commands_replica.py | 330 | # Create a server | COMMENT |
| MEDIUM | …t/test_postgres_flexible_commands_private_endpoints.py | 62 | # Create a private endpoint connection | COMMENT |
| MEDIUM | …t/test_postgres_flexible_commands_private_endpoints.py | 104 | # Create a private endpoint connection | COMMENT |
| MEDIUM | …t/test_postgres_flexible_commands_private_endpoints.py | 154 | # Create a private endpoint connection | COMMENT |
| MEDIUM⚡ | …st/test_postgres_flexible_commands_fabric_mirroring.py | 25 | # Create a database | COMMENT |
| MEDIUM | …l/tests/latest/test_postgres_flexible_commands_vnet.py | 49 | # Create a virtual network and subnet for server. | COMMENT |
| MEDIUM | …l/tests/latest/test_postgres_flexible_commands_vnet.py | 57 | # Create a private DNS zone for server. | COMMENT |
| MEDIUM | …l/tests/latest/test_postgres_flexible_commands_vnet.py | 104 | # Create a virtual network and subnet for server. | COMMENT |
| MEDIUM | …l/tests/latest/test_postgres_flexible_commands_vnet.py | 112 | # Create a private DNS zone for server. | COMMENT |
| MEDIUM | …l/tests/latest/test_postgres_flexible_commands_vnet.py | 158 | # Create a virtual network and subnet for server in its own resource group. | COMMENT |
| MEDIUM | …l/tests/latest/test_postgres_flexible_commands_vnet.py | 166 | # Create a private DNS zone for server. | COMMENT |
| MEDIUM | …atest/test_servicebus_commands_privateendpoint_test.py | 49 | # Create a private endpoint connection | COMMENT |
| MEDIUM | src/azure-cli/azure/cli/command_modules/role/custom.py | 1705 | # Create a PEM file ~/tmpxxxxxxxx.pem with both PRIVATE KEY & CERTIFICATE so users can use to log in. | COMMENT |
| MEDIUM | src/azure-cli/azure/cli/command_modules/role/custom.py | 1721 | # Create a key pair | COMMENT |
| MEDIUM | src/azure-cli/azure/cli/command_modules/role/custom.py | 1725 | # Create a self-signed cert | COMMENT |
| MEDIUM⚡ | …r/grammar/metric_alert/MetricAlertConditionListener.py | 14 | # This class defines a complete listener for a parse tree produced by MetricAlertConditionParser. | COMMENT |
| MEDIUM | …/grammar/metric_alert/MetricAlertConditionValidator.py | 39 | # This class defines a complete listener for a parse tree produced by MetricAlertConditionParser. | COMMENT |
| MEDIUM⚡ | …onitor/grammar/autoscale/AutoscaleConditionListener.py | 13 | # This class defines a complete listener for a parse tree produced by AutoscaleConditionParser. | COMMENT |
| MEDIUM | …nitor/grammar/autoscale/AutoscaleConditionValidator.py | 19 | # This class defines a complete listener for a parse tree produced by MetricAlertConditionParser. | COMMENT |
| MEDIUM | …onitor/tests/latest/test_monitor_private_link_scope.py | 87 | # Create a private endpoint connection | COMMENT |
| MEDIUM⚡ | …y/grammar/metric_alert/MetricAlertConditionListener.py | 14 | # This class defines a complete listener for a parse tree produced by MetricAlertConditionParser. | COMMENT |
| MEDIUM | …/grammar/metric_alert/MetricAlertConditionValidator.py | 39 | # This class defines a complete listener for a parse tree produced by MetricAlertConditionParser. | COMMENT |
| MEDIUM⚡ | …legacy/grammar/autoscale/AutoscaleConditionListener.py | 13 | # This class defines a complete listener for a parse tree produced by AutoscaleConditionParser. | COMMENT |
| MEDIUM | …egacy/grammar/autoscale/AutoscaleConditionValidator.py | 19 | # This class defines a complete listener for a parse tree produced by MetricAlertConditionParser. | COMMENT |
| MEDIUM | …ure/cli/command_modules/util/tests/latest/test_rest.py | 70 | # Create a storage account | COMMENT |
| MEDIUM⚡ | …ure/cli/command_modules/util/tests/latest/test_rest.py | 84 | # Create an account SAS token https://learn.microsoft.com/en-us/rest/api/storageservices/create-account-sas | COMMENT |
| MEDIUM⚡ | …ure/cli/command_modules/util/tests/latest/test_rest.py | 89 | # Create a container with the SAS token | COMMENT |
| MEDIUM⚡ | …ure/cli/command_modules/util/tests/latest/test_rest.py | 99 | # Create a blob | COMMENT |
| MEDIUM | …odules/keyvault/tests/latest/test_keyvault_commands.py | 504 | # Create a private endpoint connection | COMMENT |
| MEDIUM | …odules/keyvault/tests/latest/test_keyvault_commands.py | 580 | # Create a private endpoint connection | COMMENT |
| MEDIUM⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3603 | # Create the SiteContainer directly (not via create_webapp_sitecontainers) | COMMENT |
| MEDIUM | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3466 | # Create an app setting with a namespaced key to avoid collisions | COMMENT |
| MEDIUM | …odules/appservice/tests/latest/test_webapp_commands.py | 428 | # Create a webapp backup | COMMENT |
| MEDIUM | …odules/appservice/tests/latest/test_webapp_commands.py | 458 | # Create a webapp slot backup | COMMENT |
| MEDIUM | …odules/appservice/tests/latest/test_webapp_commands.py | 496 | # Create a webapp backup | COMMENT |
| MEDIUM | …s/appservice/tests/latest/test_functionapp_commands.py | 1797 | # Create a flex consumption function app | COMMENT |
| MEDIUM | …s/appservice/tests/latest/test_functionapp_commands.py | 1835 | # Create a Flex Consumption function app | COMMENT |
| MEDIUM | …s/appservice/tests/latest/test_functionapp_commands.py | 1879 | # Create a Flex Consumption function app | COMMENT |
| MEDIUM | …s/appservice/tests/latest/test_functionapp_commands.py | 1921 | # Create a Flex Consumption function app | COMMENT |
| MEDIUM | …s/appservice/tests/latest/test_functionapp_commands.py | 1964 | # Create a Flex Consumption function app | COMMENT |
| MEDIUM | …/signalr/tests/latest/test_signalr_private_endpoint.py | 46 | # Create a private endpoint connection | COMMENT |
| MEDIUM | src/azure-cli/azure/cli/command_modules/aro/custom.py | 989 | # Create the role assignment if it doesn't exist | COMMENT |
| MEDIUM | …_modules/network/tests/latest/test_network_commands.py | 348 | # Create a private endpoint connection | COMMENT |
| MEDIUM | …_modules/network/tests/latest/test_network_commands.py | 8295 | # Create a profile with record-type A | COMMENT |
| MEDIUM | …_modules/network/tests/latest/test_network_commands.py | 8333 | # Create a profile without record-type | COMMENT |
| MEDIUM | …_modules/network/tests/latest/test_network_commands.py | 9045 | # Create the NVA | COMMENT |
| MEDIUM | …_modules/network/tests/latest/test_network_commands.py | 9122 | # Create the NVA | COMMENT |
| MEDIUM | …network/tests/latest/test_private_endpoint_commands.py | 98 | # Create a private endpoint connection | COMMENT |
| MEDIUM | …network/tests/latest/test_private_endpoint_commands.py | 205 | # Create a private endpoint connection | COMMENT |
| 186 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | requirements.txt | 1 | # basic | COMMENT |
| LOW | azure-pipelines.yml | 701 | brew tap-new dev/azure-cli | COMMENT |
| LOW | tools/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | tools/automation/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | tools/automation/setup/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | tools/automation/utilities/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | .azure-pipelines/mac-and-linux-standalone-release.yml | 1 | # Azure CLI - macOS and Linux Standalone Validation Pipeline | COMMENT |
| LOW | .azure-pipelines/mac-and-linux-standalone-release.yml | 201 | # Jobs included: | COMMENT |
| LOW | …pipelines/templates/macos/macos-sign-notarize-jobs.yml | 1 | # macOS Sign and Notarize Jobs Template (Matrix Strategy) | COMMENT |
| LOW | .azure-pipelines/templates/macos/macos-build-jobs.yml | 1 | # macOS Build Jobs Template | COMMENT |
| LOW | …nes/templates/standalone/cask-generation-and-tests.yml | 1 | # Standalone Cask Generation and Test Jobs Template | COMMENT |
| LOW | .azure-pipelines/templates/standalone/publish-jobs.yml | 1 | # Standalone Publish Jobs Template | COMMENT |
| LOW | build_scripts/windows/resources/ThirdPartyNotices.txt | 881 | # and/or other materials provided with the distribution. | COMMENT |
| LOW | build_scripts/windows/resources/ThirdPartyNotices.txt | 2881 | # restriction, including without limitation the rights to use, | COMMENT |
| LOW | scripts/install_full.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/get-python-version.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | scripts/curl_install_pypi/install.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | scripts/ci/update_docs.sh | 41 | # ... | COMMENT |
| LOW | scripts/ci/check_pull_request.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | scripts/ci/test_extensions.sh | 21 | # Disable azure-cli-ml: https://github.com/Azure/azure-cli-extensions/issues/826 | COMMENT |
| LOW | scripts/release/generate_history_notes.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | scripts/release/debian/deb_install.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …pts/release/standalone/resources/ThirdPartyNotices.txt | 881 | # and/or other materials provided with the distribution. | COMMENT |
| LOW | …pts/release/standalone/resources/ThirdPartyNotices.txt | 2881 | # restriction, including without limitation the rights to use, | COMMENT |
| LOW | scripts/release/rpm/pipeline.sh | 41 | # Extract the built RPM so that it can be distributed independently. | COMMENT |
| LOW | scripts/release/rpm/pipeline_azurelinux.sh | 41 | # https://docs.docker.com/engine/reference/commandline/cp/ | COMMENT |
| LOW | doc/sphinx/conf.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | doc/sphinx/conf.py | 61 | master_doc = 'ind' | COMMENT |
| LOW | doc/sphinx/conf.py | 81 | # Usually you set "language" from the command line for these cases. | COMMENT |
| LOW | doc/sphinx/conf.py | 101 | # default_role = None | COMMENT |
| LOW | doc/sphinx/conf.py | 121 | # modindex_common_prefix = [] | COMMENT |
| LOW | doc/sphinx/conf.py | 141 | # html_theme_options = {} | COMMENT |
| LOW | doc/sphinx/conf.py | 161 | # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 | COMMENT |
| LOW | doc/sphinx/conf.py | 181 | # html_last_updated_fmt = None | COMMENT |
| LOW | doc/sphinx/conf.py | 201 | # If false, no index is generated. | COMMENT |
| LOW | doc/sphinx/conf.py | 221 | # If true, an OpenSearch description file will be output, and all pages will | COMMENT |
| LOW | doc/sphinx/conf.py | 241 | # html_search_options = {'type': 'default'} | COMMENT |
| LOW | doc/sphinx/conf.py | 261 | COMMENT | |
| LOW | doc/sphinx/conf.py | 281 | # | COMMENT |
| LOW | doc/sphinx/conf.py | 321 | COMMENT | |
| LOW | doc/sphinx/conf.py | 341 | # texinfo_show_urls = 'footnote' | COMMENT |
| LOW | doc/sphinx/azhelpgen/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | doc/sphinx/cligroup/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | src/azure-cli/azure/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | src/azure-cli/azure/cli/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …e-cli/azure/cli/command_modules/maps/tests/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …zure/cli/command_modules/maps/tests/latest/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …ure/cli/command_modules/postgresql/_breaking_change.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …/cli/command_modules/postgresql/randomname/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …azure/cli/command_modules/postgresql/tests/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …/cli/command_modules/postgresql/tests/unit/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …li/command_modules/postgresql/tests/latest/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …azure/cli/command_modules/postgresql/utils/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …i/azure/cli/command_modules/postgresql/aaz/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …/cli/command_modules/postgresql/aaz/latest/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …mand_modules/postgresql/aaz/latest/network/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …modules/postgresql/aaz/latest/network/vnet/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …/postgresql/aaz/latest/network/vnet/subnet/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …re/cli/command_modules/postgresql/commands/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …azure/cli/command_modules/servicebus/tests/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| 634 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/automation/tests/verify_package_versions.py | 62 | except Exception as ex: | CODE |
| LOW | tools/automation/tests/__init__.py | 241 | except Exception as ex: | CODE |
| LOW | tools/automation/tests/__init__.py | 296 | except Exception: | STRING |
| LOW | scripts/curl_install_pypi/install.py | 324 | except Exception as e: | STRING |
| LOW | scripts/curl_install_pypi/install.py | 394 | except Exception as e: | STRING |
| MEDIUM | scripts/curl_install_pypi/install.py | 191 | def _backup_rc(rc_file): | CODE |
| LOW | scripts/ci/automation_full_test.py | 258 | except Exception: | CODE |
| LOW | scripts/ci/automation_full_test.py | 268 | except Exception: | CODE |
| LOW | scripts/ci/automation_full_test.py | 281 | except Exception: | CODE |
| MEDIUM | scripts/ci/automation_full_test.py | 254 | def install_extension(extension_module): | CODE |
| MEDIUM | scripts/ci/automation_full_test.py | 264 | def remove_extension(extension_module): | CODE |
| MEDIUM | scripts/ci/automation_full_test.py | 274 | def rerun_setup(cli_repo_path, extension_repo_path): | CODE |
| LOW | scripts/ci/validate_external_source_urls.py | 176 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | scripts/release/standalone/build_binary_tar_gz.py | 541 | except Exception as e: | CODE |
| LOW | scripts/temp_help/help_convert.py | 61 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | scripts/live_test/sendemail.py | 321 | except Exception: | STRING |
| LOW | scripts/live_test/sendemail.py | 330 | except Exception: | STRING |
| LOW | scripts/live_test/sendemail.py | 398 | except Exception as e: | STRING |
| LOW | scripts/live_test/sendemail.py | 437 | except Exception as e: | STRING |
| LOW | scripts/live_test/test_data.py | 46 | except Exception: | CODE |
| LOW | doc/sphinx/azhelpgen/azhelpgen.py | 87 | except Exception: | CODE |
| LOW | doc/sphinx/azhelpgen/azhelpgen.py | 91 | except Exception: | CODE |
| LOW | src/azure-cli/azure/cli/__main__.py | 109 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | src/azure-cli/azure/cli/__main__.py | 115 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | …ure/cli/command_modules/postgresql/utils/validators.py | 718 | except Exception as ex: | CODE |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 429 | except Exception as e: | CODE |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 674 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 739 | except Exception as e: | CODE |
| LOW | …ommand_modules/postgresql/commands/replica_commands.py | 56 | except Exception as e: | CODE |
| LOW | …ommand_modules/postgresql/commands/replica_commands.py | 167 | except Exception as e: | CODE |
| LOW | …_modules/postgresql/commands/firewall_rule_commands.py | 28 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | …mmand_modules/postgresql/commands/database_commands.py | 63 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | …bus/tests/latest/test_servicebus_migration_commands.py | 135 | except Exception: | CODE |
| LOW | …bus/tests/latest/test_servicebus_migration_commands.py | 147 | except Exception: | CODE |
| LOW | …bus/tests/latest/test_servicebus_migration_commands.py | 151 | except Exception: | CODE |
| LOW | …bus/tests/latest/test_servicebus_migration_commands.py | 235 | except Exception: | CODE |
| LOW | src/azure-cli/azure/cli/command_modules/ams/_utils.py | 72 | except Exception: # pylint: disable=W0703 | CODE |
| LOW | …and_modules/ams/tests/latest/test_ams_job_scenarios.py | 109 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …les/ams/tests/latest/test_ams_asset_track_scenarios.py | 63 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …les/ams/tests/latest/test_ams_asset_track_scenarios.py | 121 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …les/ams/tests/latest/test_ams_asset_track_scenarios.py | 178 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …les/ams/tests/latest/test_ams_asset_track_scenarios.py | 241 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …les/ams/tests/latest/test_ams_asset_track_scenarios.py | 307 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …ure-cli/azure/cli/command_modules/ams/operations/sp.py | 275 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | …ure-cli/azure/cli/command_modules/ams/operations/sp.py | 316 | except Exception as ex: # pylint: disable=broad-except | CODE |
| MEDIUM | …ure-cli/azure/cli/command_modules/ams/operations/sp.py | 313 | def update_application(client, app_object_id, display_name): | CODE |
| LOW | src/azure-cli/azure/cli/command_modules/role/custom.py | 326 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | src/azure-cli/azure/cli/command_modules/role/custom.py | 1551 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | src/azure-cli/azure/cli/command_modules/role/custom.py | 1578 | except Exception as ex: | CODE |
| LOW | …re/cli/command_modules/role/tests/latest/test_graph.py | 821 | except Exception: | STRING |
| MEDIUM | …re/cli/command_modules/role/tests/latest/test_graph.py | 813 | def clean_resource(self, resource, type='group'): | CODE |
| LOW | src/azure-cli/azure/cli/command_modules/util/custom.py | 203 | except Exception as ex: # pylint: disable=broad-except | CODE |
| MEDIUM | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 1996 | def _is_guid(guid): | CODE |
| MEDIUM | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 2612 | def _save_to_local_file(file_path, security_domain): | CODE |
| LOW | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 1203 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 1218 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 1238 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 1304 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 1630 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 1716 | except Exception as ex: # pylint: disable=broad-except | CODE |
| 677 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/automation/cli_linter/rule_decorators.py | 21 | CODE | |
| LOW | tools/automation/cli_linter/rule_decorators.py | 22 | CODE | |
| LOW | tools/automation/cli_linter/rule_decorators.py | 23 | CODE | |
| LOW | tools/automation/cli_linter/linter.py | 178 | CODE | |
| LOW | tools/automation/cli_linter/linter.py | 217 | CODE | |
| LOW | tools/automation/cli_linter/rules/help_rules.py | 131 | CODE | |
| LOW | tools/automation/verify/verify_module_load_times.py | 60 | CODE | |
| LOW | tools/automation/verify/__init__.py | 15 | CODE | |
| LOW | tools/automation/tests/check_vcr_recordings.py | 13 | CODE | |
| LOW | tools/automation/tests/verify_package_versions.py | 32 | CODE | |
| LOW | tools/automation/tests/__init__.py | 96 | CODE | |
| LOW | tools/automation/tests/__init__.py | 246 | CODE | |
| LOW | tools/automation/tests/main.py | 50 | CODE | |
| LOW | tools/automation/style/pylint_disable_check.py | 22 | CODE | |
| LOW | tools/automation/utilities/path.py | 60 | CODE | |
| LOW | build_scripts/windows/scripts/patch_models_v2.py | 137 | CODE | |
| LOW | .x/tools/validation/checks.py | 65 | CODE | |
| LOW | scripts/generate_latest_indices.py | 50 | CODE | |
| LOW | scripts/compact_aaz.py | 202 | CODE | |
| LOW | scripts/compact_aaz.py | 279 | CODE | |
| LOW | scripts/compact_aaz.py | 346 | CODE | |
| LOW | scripts/compact_aaz.py | 391 | CODE | |
| LOW | scripts/dump_command_table.py | 23 | CODE | |
| LOW | scripts/dump_command_table.py | 72 | CODE | |
| LOW | scripts/curl_install_pypi/install.py | 152 | CODE | |
| LOW | scripts/curl_install_pypi/install.py | 218 | CODE | |
| LOW | scripts/ci/breaking_change_test.py | 70 | CODE | |
| LOW | scripts/ci/breaking_change_test.py | 84 | CODE | |
| LOW | scripts/ci/automation_full_test.py | 377 | CODE | |
| LOW | scripts/ci/automation_full_test.py | 426 | CODE | |
| LOW | scripts/ci/check_pull_request.py | 98 | CODE | |
| LOW | scripts/ci/check_pull_request.py | 125 | CODE | |
| LOW | scripts/ci/codegen_report.py | 22 | CODE | |
| LOW | scripts/ci/a01/docker_app/collect_tests.py | 41 | CODE | |
| LOW | scripts/release/generate_history_notes.py | 44 | CODE | |
| LOW | scripts/release/standalone/build_binary_tar_gz.py | 460 | CODE | |
| LOW | scripts/release/homebrew/docker/formula_generate.py | 127 | CODE | |
| LOW | scripts/sdk_process/patch_models.py | 127 | CODE | |
| LOW | scripts/temp_help/help_convert.py | 174 | CODE | |
| LOW | scripts/live_test/clean.py | 183 | CODE | |
| LOW | scripts/live_test/clean.py | 280 | CODE | |
| LOW | scripts/live_test/sendemail.py | 377 | CODE | |
| LOW | scripts/live_test/sendemail.py | 476 | CODE | |
| LOW | scripts/live_test/test_data.py | 21 | CODE | |
| LOW | scripts/regression_test/update_api_profile.py | 71 | CODE | |
| LOW | doc/sphinx/azhelpgen/azhelpgen.py | 30 | CODE | |
| LOW | …re-cli/azure/cli/command_modules/postgresql/_params.py | 26 | CODE | |
| LOW | …re-cli/azure/cli/command_modules/postgresql/_params.py | 826 | CODE | |
| LOW | …azure/cli/command_modules/postgresql/_config_reader.py | 31 | CODE | |
| LOW | …/cli/command_modules/postgresql/utils/_transformers.py | 48 | CODE | |
| LOW | …/cli/command_modules/postgresql/utils/_transformers.py | 70 | CODE | |
| LOW | …/cli/command_modules/postgresql/utils/_transformers.py | 107 | CODE | |
| LOW | …l/utils/_flexible_server_location_capabilities_util.py | 45 | CODE | |
| LOW | …_modules/postgresql/commands/firewall_rule_commands.py | 33 | CODE | |
| LOW | …li/azure/cli/command_modules/servicebus/_validators.py | 22 | CODE | |
| LOW | …ure-cli/azure/cli/command_modules/servicebus/action.py | 19 | CODE | |
| LOW | …ure-cli/azure/cli/command_modules/servicebus/action.py | 57 | CODE | |
| LOW | …ure-cli/azure/cli/command_modules/servicebus/action.py | 109 | CODE | |
| LOW | …bus/tests/latest/test_servicebus_migration_commands.py | 23 | CODE | |
| LOW | …mand_modules/servicebus/operations/namespace_custom.py | 222 | CODE | |
| 771 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/Github/tests/test_service_contacts.py | 24 | $data.script, [ref]$null, [ref]$parseErrors) | CODE |
| HIGH | .x/tools/reviewer/policy/analysis.py | 185 | target = _review_target('test-strength', [change['filename'] for change in test_changes + production_changes], [ | CODE |
| HIGH | .x/tools/reviewer/policy/analysis.py | 208 | targets.append(_review_target('domain-edge-cases', edge_files, ['Inspect null, empty, missing, multiple-value an | CODE |
| HIGH | scripts/curl_install_pypi/install.py | 48 | COMPREPLY=( $(IFS="$IFS" COMP_LINE="$COMP_LINE" COMP_POINT="$COMP_POINT" | CODE |
| HIGH | scripts/live_test/sendemail.py | 140 | if (iter === null) { | CODE |
| HIGH | scripts/live_test/sendemail.py | 141 | return null; | CODE |
| HIGH | scripts/live_test/sendemail.py | 185 | return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); | CODE |
| HIGH | …i/command_modules/ams/operations/content_key_policy.py | 350 | # Returns string if not null, or an empty string otherwise. | COMMENT |
| HIGH | src/azure-cli/azure/cli/command_modules/role/_help.py | 761 | "canDelegate": null, | CODE |
| HIGH | …/command_modules/keyvault/security_domain/sp800_108.py | 64 | a. K(i) := PRF (KI, [i]2 || Label || 0x00 || Context || [L]2) | STRING |
| HIGH | …/azure-cli/azure/cli/command_modules/security/_help.py | 927 | az security automation create_or_update -g Sample-RG -n sampleAutomation -l eastus --scopes '[{\"description\": | CODE |
| HIGH | …/azure-cli/azure/cli/command_modules/security/_help.py | 936 | az security automation validate -g Sample-RG -n sampleAutomation -l eastus --scopes '[{\"description\": \"Scope | CODE |
| HIGH | …urity/tests/latest/test_security_securityconnectors.py | 38 | nexttoken = base64.b64encode('{"next_link": null, "offset": 0}'.encode()).decode() | CODE |
| HIGH | …ity/tests/latest/test_security_automations_scenario.py | 59 | # self.cmd("az security automation create_or_update -g Sample-RG -n ExportToWorkspaceTemp --scopes [{\"descripti | COMMENT |
| HIGH | …ity/tests/latest/test_security_automations_scenario.py | 62 | # self.cmd("az security automation validate -g Sample-RG -n ExportToWorkspaceTemp --scopes [{\"description\":\"4 | COMMENT |
| HIGH⚡ | …security/tests/latest/test_security_api_collections.py | 18 | nexttoken = base64.b64encode('{"next_link": null, "offset": 0}'.encode()).decode() | CODE |
| HIGH⚡ | …ests/latest/test_security_securityconnectors_devops.py | 17 | nexttoken = base64.b64encode('{"next_link": null, "offset": 0}'.encode()).decode() | CODE |
| HIGH | …ests/latest/test_security_securityconnectors_devops.py | 91 | nexttoken = base64.b64encode('{"next_link": null, "offset": 0}'.encode()).decode() | CODE |
| HIGH | …ests/latest/test_security_securityconnectors_devops.py | 126 | nexttoken = base64.b64encode('{"next_link": null, "offset": 0}'.encode()).decode() | CODE |
| HIGH | …mmand_modules/network/tests/latest/test_nw_flow_log.py | 122 | 'filtering_criteria': 'dstip=20.252.145.59 || DstPort=8080', | CODE |
| HIGH | …_modules/network/tests/latest/test_network_commands.py | 3080 | '--log-scrubbing-state Enabled --scrubbing-rules [{{"state":"Enabled","match-variable":"RequestArgNames | CODE |
| HIGH | …_modules/network/tests/latest/test_network_commands.py | 3189 | '--log-scrubbing-state Enabled --scrubbing-rules [{{"state":"Enabled","match-variable":"RequestArgNames | CODE |
| HIGH | …odules/network/tests/latest/test_network_unit_tests.py | 30 | # 1 - Test that if ip_configurations property is null, error is thrown | COMMENT |
| HIGH | …network/aaz/latest/network/watcher/flow_log/_create.py | 45 | az network watcher flow-log create --location westus --resource-group MtRGContainingVNet --name MyVNetName-flowl | STRING |
| HIGH | …network/aaz/latest/network/watcher/flow_log/_create.py | 48 | az network watcher flow-log create --resource-group rg1 --network-watcher-name nw1 --name fl --location centralu | STRING |
| HIGH | …network/aaz/latest/network/watcher/flow_log/_update.py | 42 | az network watcher flow-log update --resource-group rg1 --network-watcher-name nw1 --name fl --location centralu | STRING |
| HIGH | …work/aaz/latest/network/application_gateway/_create.py | 1474 | help="The list of rules that will be disabled. If null, all rules of the rule group will be disabled.", | CODE |
| HIGH | …plication_gateway/waf_policy/policy_setting/_update.py | 24 | az network application-gateway waf-policy policy-setting update -g MyResourceGroup --policy-name MyPolicySetting | STRING |
| HIGH | src/azure-cli/azure/cli/command_modules/acs/_format.py | 159 | fqdn: fqdn || privateFqdn | CODE |
| HIGH | src/azure-cli/azure/cli/command_modules/acr/task.py | 241 | # BUG: Discriminator type is absent or null, use base class TaskStepProperties. | COMMENT |
| HIGH | src/azure-cli/azure/cli/command_modules/acr/task.py | 400 | # If given context is /dev/null, set it to None. | COMMENT |
| HIGH | src/azure-cli/azure/cli/command_modules/acr/_help.py | 740 | text: az acr manifest list-metadata -r myregistry -n hello-world --query "[?tags==null]" | CODE |
| HIGH⚡ | …and_modules/acr/tests/latest/test_acr_task_commands.py | 12 | # @unittest.skip("task.py line 250, BUG: Discriminator type is absent or null, use base class TaskStepProperties.") | COMMENT |
| HIGH | …azure-cli/azure/cli/command_modules/storage/_params.py | 192 | 'Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.') | CODE |
| HIGH | …azure-cli/azure/cli/command_modules/storage/_params.py | 703 | '(Use `--enable-change-feed` without `--change-feed-days` to indicate null)') | CODE |
| HIGH | …onfig/tests/latest/test_appconfig_json_content_type.py | 145 | json_content_type_07 = 'application/json+null;charset=utf-8;' | CODE |
| HIGH | …onfig/tests/latest/test_appconfig_json_content_type.py | 184 | entry_value = '[\\"text\\",true,null]' | CODE |
| HIGH | …onfig/tests/latest/test_appconfig_json_content_type.py | 213 | entry_value = '{\\"MyNullValue\\":null,\\"MyObject\\":{\\"Property\\":{\\"Name\\":{\\"Name1\\":\\"Value1\\",\\"N | CODE |
| HIGH | src/azure-cli/azure/cli/command_modules/vm/_help.py | 1867 | text: az vm run-command invoke -g MyResourceGroup -n MyVm --command-id RunShellScript --scripts "sudo apt-get update | CODE |
| HIGH | src/azure-cli/azure/cli/command_modules/vm/_help.py | 2679 | --instance-id 0 --scripts "sudo apt-get update && sudo apt-get install -y nginx" | CODE |
| HIGH | …ure/cli/command_modules/vm/_vmss_application_health.py | 57 | apt-get update -y && apt-get upgrade -y | CODE |
| HIGH | src/azure-cli/azure/cli/command_modules/vm/commands.py | 388 | table_transformer='{Name:name, ResourceGroup: | CODE |
| HIGH | …li/command_modules/vm/tests/latest/test_vm_commands.py | 6992 | self.cmd('vmss extension set -g {rg} --vmss-name {vmss} -n customScript --publisher Microsoft.Azure.Extensions - | CODE |
| HIGH | …li/command_modules/vm/tests/latest/test_vm_commands.py | 7085 | self.cmd('vm run-command invoke -g {rg} -n{vm} --command-id RunShellScript --script "sudo apt-get update && sudo | CODE |
| HIGH | …li/command_modules/vm/tests/latest/test_vm_commands.py | 7200 | self.cmd('vmss run-command invoke --ids {instance_ids} --command-id RunShellScript --script "sudo apt-get update | CODE |
| HIGH | …li/command_modules/vm/tests/latest/test_vm_commands.py | 7975 | "commandToExecute": "sudo apt-get update && sudo apt-get install -y nginx", | CODE |
| HIGH | …li/command_modules/vm/tests/latest/test_vm_commands.py | 8061 | self.cmd('vm run-command invoke -g {rg} -n {vm1} --command-id RunShellScript --scripts "sudo apt-get update && s | CODE |
| HIGH | …li/command_modules/vm/tests/latest/test_vm_commands.py | 8062 | self.cmd('vm run-command invoke -g {rg} -n {vm2} --command-id RunShellScript --scripts "sudo apt-get update && s | CODE |
| HIGH | …i/azure/cli/command_modules/containerapp/_constants.py | 82 | LOGS_STRING = '[{"category":"ContainerAppConsoleLogs","categoryGroup":null,"enabled":true,"retentionPolicy":{"days":0,"e | STRING |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 305 | "MinBatchRows": null, | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 307 | "PrepareDatabaseForBulkImportTaskCount": null, | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 309 | "PrepareTableForBulkImportTaskCount": null, | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 315 | "MaxBatchCacheSizeMb": null, | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 317 | "ThrottleQueryTableDataRangeTaskAtAvailableMemoryMb": null, | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 357 | "userName": "user name", // if this is missing or null, you will be prompted | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 358 | "password": null, // if this is missing or null (highly recommended) you will be prompted | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 367 | "userName": "user name", // if this is missing or null, you will be prompted | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 368 | "password": null, // if this is missing or null (highly recommended) you will be prompted | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 378 | "userName": "user name", // if this is missing or null, you will be prompted | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 379 | "password": null, // if this is missing or null (highly recommended) you will be prompted | CODE |
| 21 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 206 | "placeholder": "testPassword0", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 210 | "placeholder": "@PasswordPassword1!", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 214 | "placeholder": "verySecret123", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 218 | "placeholder": "verySecret!!!", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 222 | "placeholder": "admin123", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 226 | "placeholder": "verySecret!", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 230 | "placeholder": "testpassword", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 234 | "placeholder": "verySecret1", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 238 | "placeholder": "UserInput012345", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 242 | "placeholder": "Password1!", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 246 | "placeholder": "SecretPassword123", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 250 | "placeholder": "AZURE_CLIENT_SECRET", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 254 | "placeholder": "pass1234", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 479 | "placeholder": "test_secret", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 483 | "placeholder": "0abf356884d74b4aacbd7b1ebd3da0f7", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 487 | "placeholder": "Docker!", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 491 | "placeholder": "myPwd", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 495 | "placeholder": "5+36OCtbIwfy8g5glC4bQQrFsfmMc3iD", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 510 | "placeholder": "lrCy/cm87CTTLd8yfM/ojizRGUNceCr6nWajz1mWKN45lMTJcGPF4zet+H+SkXYgJ5BGD3ab4m4b7U+wAwpC2A==", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 514 | "placeholder": "eAS2NXIlOIAA8ovAf8a5RxnVXil/3CyuMt9cDBGUi1w7810IHN/5MF21otvBrTPOLAUFq/2sjA3dKYY7IvTpXA==", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 518 | "placeholder": "f6Nx8en4sIJQryYFVVj%2B5BdU7bho96jAgOzLO40Twkg%3D", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 522 | "placeholder": "v2ARnkP152N6wq+QI45wBiP9Eh5NdOkWH53N3urvHE0=", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 526 | "placeholder": "QUKBIZRD6uGApr/mOThKl6SauZcrzABCDsNLhnfM940=", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 530 | "placeholder": "7DaUM+56maPqMUUWQ5wwIIJSYeqyy3RsTirVvku97wQ=", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 534 | "placeholder": "txeOurx1BqKWK5Wo3Z+qJ4HTMgQUmFXvuONj708MIs4=", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 544 | "placeholder": "Pass123!@#", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 554 | "placeholder": "VRfRrd1AhEh/NynHfUWeN+m7jmnY4HF2bUQJWj5SqAw=", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 558 | "placeholder": "9A8sOpoHOuBOhb3EgdN8LOyI1hwkerpTHC96Q2IygfU=", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 602 | "placeholder": "\"sharedKey\":\"abc123\"", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 606 | "placeholder": "\"primarySharedKey\":\"abc123\"", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 610 | "placeholder": "abc123", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 614 | "placeholder": "test12", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 688 | "placeholder": "asdfghjkl", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 692 | "placeholder": "secret_123", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 696 | "placeholder": "client_id_456", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 700 | "placeholder": "mypass", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 5 | "placeholder": "r7rpDQLwRhJQF/WoSPp6sMKJB9GQJCsZ9/o8xkqP/xM=", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 9 | "placeholder": "1w4F14PX8TKt7rMaG1bymhJlfjab4cocxoL7edC9zJI=", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 164 | "placeholder": "+XLy+MVZ+aTeOnVzN2kLeB16O+kSxmz6g3rS6fAf6rw=", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 168 | "placeholder": "RTNrGy6n%2Fs2uLLZFuVHBIJtdxIJP1LuKfhKjHwwbu7A%3D", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 356 | "placeholder": "SqlPassword", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 360 | "placeholder": "ADPassword", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 384 | "placeholder": "registry_password", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 627 | "placeholder": "abc@123.com", | CODE |
| LOW | …odules/keyvault/tests/latest/test_keyvault_commands.py | 2297 | self.cmd('keyvault certificate contact add --vault-name {kv} --email admin@contoso.com --name "John Doe" --phone | CODE |
| LOW | …odules/keyvault/tests/latest/test_keyvault_commands.py | 2343 | self.check('emailAddress', 'test@test.com'), | CODE |
| LOW | …test/recordings/test_keyvault_certificate_issuers.yaml | 365 | "Admin", "email": "test@test.com", "phone": "123-456-7890"}]}}' | CODE |
| LOW | …test/recordings/test_keyvault_certificate_issuers.yaml | 383 | string: '{"id":"https://cli-test-kv-ct-is-000002.vault.azure.net/certificates/issuers/issuer1","provider":"Test"," | CODE |
| LOW | …test/recordings/test_keyvault_certificate_issuers.yaml | 425 | string: '{"id":"https://cli-test-kv-ct-is-000002.vault.azure.net/certificates/issuers/issuer1","provider":"Test"," | CODE |
| LOW | …test/recordings/test_keyvault_certificate_issuers.yaml | 454 | "Admin", "email": "test@test.com", "phone": "123-456-7890"}, {"email": "test2@test.com"}]}}' | CODE |
| LOW | …test/recordings/test_keyvault_certificate_issuers.yaml | 472 | string: '{"id":"https://cli-test-kv-ct-is-000002.vault.azure.net/certificates/issuers/issuer1","provider":"Test"," | CODE |
| LOW | …test/recordings/test_keyvault_certificate_issuers.yaml | 514 | string: '{"id":"https://cli-test-kv-ct-is-000002.vault.azure.net/certificates/issuers/issuer1","provider":"Test"," | CODE |
| LOW | …test/recordings/test_keyvault_certificate_issuers.yaml | 556 | string: '{"id":"https://cli-test-kv-ct-is-000002.vault.azure.net/certificates/issuers/issuer1","provider":"Test"," | CODE |
| LOW | …est/recordings/test_keyvault_certificate_contacts.yaml | 91 | body: '{"contacts": [{"email": "admin@contoso.com", "name": "John Doe", "phone": | CODE |
| LOW | …est/recordings/test_keyvault_certificate_contacts.yaml | 182 | body: '{"contacts": [{"email": "admin@contoso.com", "name": "John Doe", "phone": | CODE |
| LOW⚡ | …est/test_app_service_environment_commands_thru_mock.py | 108 | fake_data = {"id": "1", "addressPrefix": "10.10.10.10/25", "delegations": [{"id": "1", "serviceName": "Microsoft | CODE |
| LOW⚡ | …est/test_app_service_environment_commands_thru_mock.py | 109 | show.return_value = fake_data | CODE |
| LOW⚡ | …est/test_app_service_environment_commands_thru_mock.py | 117 | fake_data = {"id": "1", "addressPrefix": "10.10.10.10/24", "delegations": [{"id": "1", "serviceName": "Microsoft | CODE |
| LOW⚡ | …est/test_app_service_environment_commands_thru_mock.py | 118 | show.return_value = fake_data | CODE |
| LOW | …est/test_app_service_environment_commands_thru_mock.py | 203 | fake_data = { | CODE |
| 115 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .githooks/azdev_active.sh | 3 | # Check if in the python environment | COMMENT |
| LOW | .githooks/azdev_active.sh | 25 | # Check if the directory exists | COMMENT |
| LOW | .githooks/pre-push.sh | 12 | # Check if azure-cli is installed in editable mode | COMMENT |
| LOW | .githooks/pre-push.sh | 34 | # Check if current branch needs rebasing | COMMENT |
| LOW | .githooks/pre-commit.sh | 24 | # Check if the file contains secrets | COMMENT |
| LOW⚡ | …ts/latest/test_postgres_flexible_commands_migration.py | 29 | # Set this to True or False depending on whether we are in live mode or test mode | COMMENT |
| LOW | …ts/latest/test_postgres_flexible_commands_migration.py | 81 | # Set this to True or False depending on whether we are in live mode or test mode | COMMENT |
| LOW | …bus/tests/latest/test_servicebus_namespace_commands.py | 78 | # Set disableLocalAuth to False using update command | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/role/custom.py | 1246 | # Check if the user tries to delete any ResourceAccess that is not required. | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3031 | # Set linuxFxVersion to SITECONTAINERS | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 915 | # Read file content | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 970 | # Read file content | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 1350 | # Check if already on Flex (in-place only) | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3741 | # Set linuxFxVersion to docker | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 4009 | # Check if the app setting is propagated to the Kudu site correctly by calling api/settings endpoint | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 5416 | # Check if this is an asynchronous operation (202) | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 5594 | # Check if this is an asynchronous operation | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 6295 | # Check if user-assigned identities exist | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 8200 | # Check if this is a Flex Consumption function app | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 8252 | # Check if this is a Flex Consumption function app | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 8264 | # Check if this is a Flex Consumption function app | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 8280 | # Check if this is a Flex Consumption function app | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 8408 | # Check if this is a Flex Consumption function app | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 8471 | # Check if this is a Flex Consumption function app | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 8560 | # Check if this is a Flex Consumption function app | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 10241 | # Check if using --consumption-plan-location OR --plan with a consumption SKU (Dynamic tier) | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 13345 | # Check if workflow exists in repo, otherwise push | STRING |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 13452 | # Check if workflow exists in repo and remove | STRING |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 13632 | # Check if workflow exists in repo, otherwise push | STRING |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 13753 | # Check if workflow exists in repo and remove | STRING |
| LOW | …li/azure/cli/command_modules/appservice/_validators.py | 235 | # Check if Linux (reserved=True) | COMMENT |
| LOW | …network/tests/latest/test_private_endpoint_commands.py | 2260 | # Check if second endpoint is gone | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/acs/custom.py | 2093 | # Check if users section exists and has at least one user | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/acs/custom.py | 2101 | # Check if command is kubelogin | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/acs/custom.py | 2106 | # Check if args contains --login and devicecode | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/acs/custom.py | 230 | # Check if Deployment Safeguards already exists before attempting create | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/acs/custom.py | 241 | # Check if resource already exists | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/acs/custom.py | 710 | # Check if KUBECONFIG environmental variable is set | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/acs/custom.py | 2039 | # Check if KUBECONFIG environmental variable is set | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/acs/custom.py | 2061 | # Check if kubeconfig requires kubelogin with devicecode and convert it | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/acs/custom.py | 4640 | # Iterate over items within pages | COMMENT |
| LOW⚡ | …e/cli/command_modules/acs/managed_cluster_decorator.py | 3056 | # Check if monitoring is being enabled via enable_addons parameter (for create scenarios) | COMMENT |
| LOW⚡ | …e/cli/command_modules/acs/managed_cluster_decorator.py | 3060 | # Check if Azure Monitor logs is being enabled by this command through the AMP path | COMMENT |
| LOW⚡ | …e/cli/command_modules/acs/managed_cluster_decorator.py | 3063 | # Check if monitoring is already enabled on the cluster, via the AMP containerInsights | COMMENT |
| LOW⚡ | …e/cli/command_modules/acs/managed_cluster_decorator.py | 3068 | # Check if ACNS is being enabled or already enabled | COMMENT |
| LOW⚡ | …e/cli/command_modules/acs/managed_cluster_decorator.py | 3075 | # Check if network dataplane is set to cilium (either via parameter or already on the cluster) | COMMENT |
| LOW | …e/cli/command_modules/acs/managed_cluster_decorator.py | 3121 | # Check if container network logs are being enabled | COMMENT |
| LOW | …e/cli/command_modules/acs/managed_cluster_decorator.py | 5666 | # Check if service mesh is enabled before allowing changes | COMMENT |
| LOW | …e/cli/command_modules/acs/managed_cluster_decorator.py | 10069 | # Check if CNL is already enabled on the cluster — cannot disable HLSM while CNL is active | COMMENT |
| LOW | …e/cli/command_modules/acs/managed_cluster_decorator.py | 10790 | # Check if the parameter was explicitly provided | COMMENT |
| LOW | …e/cli/command_modules/acs/managed_cluster_decorator.py | 11426 | # Check if we are trying to disable container storage v1 | COMMENT |
| LOW | …e/cli/command_modules/acs/managed_cluster_decorator.py | 12105 | # Check if auto_upgrade_channel is set to "none" | COMMENT |
| LOW | …-cli/azure/cli/command_modules/acs/_roleassignments.py | 329 | # Check if the ACR exists by resource ID. | COMMENT |
| LOW | …-cli/azure/cli/command_modules/acs/_roleassignments.py | 341 | # Check if the ACR exists by name accross all resource groups. | COMMENT |
| LOW⚡ | …li/azure/cli/command_modules/acs/addonconfiguration.py | 1054 | # Check if monitoring addon enabled with useAADAuth = True, if it does, ignore role assignment | COMMENT |
| LOW⚡ | …li/azure/cli/command_modules/acs/addonconfiguration.py | 1055 | # Check if service principal exists, if it does, assign permissions to service principal | COMMENT |
| LOW | …li/azure/cli/command_modules/acs/addonconfiguration.py | 926 | # Check if any scoped resource has the same linkedResourceId | COMMENT |
| LOW | …li/azure/cli/command_modules/acs/addonconfiguration.py | 945 | # Check if the resource is already scoped to the AMPLS | COMMENT |
| LOW | …li/azure/cli/command_modules/acs/addonconfiguration.py | 1100 | # Check if service principal exists, if it does, assign permissions to service principal | COMMENT |
| LOW | …li/azure/cli/command_modules/acs/addonconfiguration.py | 1206 | # Check if service principal exists, if it does, assign permissions to service principal | COMMENT |
| 73 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …azure-cli/azure/cli/command_modules/monitor/actions.py | 79 | # simply return value if a valid ISO8601 string is supplied | COMMENT |
| LOW | …i/azure/cli/command_modules/monitor/_legacy/actions.py | 79 | # simply return value if a valid ISO8601 string is supplied | COMMENT |
| LOW | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 906 | # if we didn't modify the network rules just return the vault as is | COMMENT |
| LOW | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 997 | # if we didn't modify the network rules just return the vault as is | COMMENT |
| LOW | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 1032 | # if we didn't modify the network rules just return the vault as is | COMMENT |
| LOW | …odules/keyvault/tests/latest/test_keyvault_commands.py | 65 | # There's no generic way to get the object id of signed in user/sp, just use a fixed one | COMMENT |
| LOW | …security/tests/latest/test_security_va_sql_scenario.py | 64 | # "Allow Azure Services" firewall rule below, so we cannot just set | COMMENT |
| MEDIUM | …atest/test_appservice_plan_managedinstance_commands.py | 619 | # Create comprehensive managed instance plan with all features | COMMENT |
| MEDIUM | …atest/test_appservice_plan_managedinstance_commands.py | 782 | # Now perform comprehensive update with all managed instance features | COMMENT |
| MEDIUM | …atest/test_appservice_plan_managedinstance_commands.py | 790 | # Verify all features were set correctly via comprehensive show command | COMMENT |
| LOW | …service/tests/latest/test_webapp_commands_thru_mock.py | 669 | # Don't do an actual call, just return the incoming user | COMMENT |
| MEDIUM | …storage/aaz/latest/storage/account/migration/_start.py | 19 | """Account Migration request can be triggered for a storage account to change its redundancy level. The migration up | STRING |
| MEDIUM | …ules/hdinsight/tests/latest/test_hdinsight_commands.py | 524 | # to get robust | COMMENT |
| MEDIUM | …ules/hdinsight/tests/latest/test_hdinsight_commands.py | 543 | # to get robust | COMMENT |
| MEDIUM | …e-cli/azure/cli/command_modules/batch/_command_type.py | 30 | """Load a model class from the SDK in order to inspect for | STRING |
| MEDIUM | …azure-cli/azure/cli/command_modules/resource/custom.py | 463 | # In order to facilitate subsequent parsing, it is converted into a dict first | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/botservice/custom.py | 122 | # If display name was not provided, just use the resource name | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/botservice/custom.py | 135 | # Registration bots: simply call ARM and create the bot | COMMENT |
| MEDIUM | …/azure/cli/command_modules/cognitiveservices/custom.py | 1937 | # A more robust approach would be to: | COMMENT |
| LOW | src/azure-cli-core/azure/cli/core/cloud.py | 132 | # Can't simply use hasattr here as we override __getattribute__ below. | COMMENT |
| LOW | src/azure-cli-core/azure/cli/core/util.py | 782 | # In track2 SDK, there is no parameter 'polling' in SDK, but just use '**kwargs'. | COMMENT |
| LOW | src/azure-cli-core/azure/cli/core/util.py | 1564 | # if powershell.exe or pwsh.exe is not the grandparent, simply return the parent's name. | COMMENT |
| MEDIUM⚡ | src/azure-cli-core/azure/cli/core/mock.py | 10 | """A dummy CLI instance can be used to facilitate automation""" | STRING |
| MEDIUM | src/azure-cli-core/azure/cli/core/auth/identity.py | 445 | # TODO: Integrate with Identity and utilize MSAL HTTP and token cache to officially implement | COMMENT |
| MEDIUM | src/azure-cli-core/azure/cli/core/aaz/_error_format.py | 43 | # Required fields, but assume they could be missing still to be robust | COMMENT |
| MEDIUM | src/azure-cli-core/azure/cli/core/commands/arm.py | 308 | # show warning if names are used in conjunction with --ids | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/release/standalone/build_binary_tar_gz.py | 200 | # Step 1: install every package found under SRC_DIR from source, without pulling | COMMENT |
| LOW | scripts/release/standalone/build_binary_tar_gz.py | 219 | # Step 2: install all pinned transitive dependencies so every package | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3316 | # Step 1: Decode and parse compose YAML | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3344 | # Step 2: Get shared ACR auth configuration | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3365 | # Step 3: Parse each service | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3509 | # Step 4: Determine main container | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3546 | # Step 5: Print all collected warnings | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3571 | # Step 6: Create/update app settings for environment variables | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3579 | # Step 7: Determine auth type (shared across all containers from site config) | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3597 | # Step 8: Create sitecontainer resources | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3653 | # Step 9: Set linuxFxVersion to SITECONTAINERS | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 653 | # Step 1: init .zip.tmp | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 657 | # Step 2: append webapp project references to .zip.tmp + compute new webapp .csproj | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 667 | # Step 3: append transitive project references to .zip.tmp | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 672 | # Step 4: copy the content from the original .zip archive to the .zip.tmp archive | COMMENT |
| LOW | …i/azure/cli/command_modules/appservice/_create_util.py | 687 | # Step 5: remove original .zip and rename de .zip.tmp | COMMENT |
| LOW | …e/cli/command_modules/acs/managed_cluster_decorator.py | 5831 | # in enable case, we need to check if OIDC issuer has been enabled | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 69 | # Step 1: Validate if storagepool could be created. | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 100 | # Step 3: Configure the storagepool parameters | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 204 | # Step 5: Install the k8s_extension 'microsoft.azurecontainerstorage' | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 391 | # Step 1: Perform validation if accepted by user | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 480 | # Step 2: If the extension is installed and validation succeeded or skipped, | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/acr/policy.py | 175 | # On AzureStackHub, the 2019-05-01 API version is still in use, so we need to check if the | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/vm/custom.py | 2094 | # Step 1: Force deallocate the VM | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/vm/custom.py | 2116 | # Step 2: PUT VM (with updated zone if applicable) | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/vm/custom.py | 2133 | # Step 3: Start VM | COMMENT |
| LOW⚡ | …c/azure-cli/azure/cli/command_modules/backup/custom.py | 2144 | # Step 1: Stop protection in old vault (retain data) | STRING |
| LOW⚡ | …c/azure-cli/azure/cli/command_modules/backup/custom.py | 2149 | # Step 2: Enable protection in new vault | STRING |
| LOW⚡ | src/azure-cli-core/azure/cli/core/_profile.py | 316 | # Step 1: Remove the account from MSAL token cache and SP store (SP only) | COMMENT |
| LOW⚡ | src/azure-cli-core/azure/cli/core/_profile.py | 322 | # Step 2: Remove the account from CLI profile | COMMENT |
| LOW | …e-cli-core/azure/cli/core/extension/dynamic_install.py | 193 | # install the extension and rerun the command infinitely. So we need to check if the latest version of the | COMMENT |
| LOW⚡ | src/azure-cli-core/azure/cli/core/auth/identity.py | 222 | # Step 1: Remove SP from MSAL token cache | COMMENT |
| LOW⚡ | src/azure-cli-core/azure/cli/core/auth/identity.py | 227 | # Step 2: Remove SP from SP store | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .x/definitions/reviewer.md | 75 | ### Step 2 - Read live-test state ONCE (Agent PRs or explicit live-test requests) | STRING |
| LOW | scripts/release/standalone/build_binary_tar_gz.py | 200 | # Step 1: install every package found under SRC_DIR from source, without pulling | COMMENT |
| LOW | scripts/release/standalone/build_binary_tar_gz.py | 219 | # Step 2: install all pinned transitive dependencies so every package | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3316 | # Step 1: Decode and parse compose YAML | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3344 | # Step 2: Get shared ACR auth configuration | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3365 | # Step 3: Parse each service | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3509 | # Step 4: Determine main container | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3546 | # Step 5: Print all collected warnings | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3571 | # Step 6: Create/update app settings for environment variables | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3579 | # Step 7: Determine auth type (shared across all containers from site config) | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3597 | # Step 8: Create sitecontainer resources | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3653 | # Step 9: Set linuxFxVersion to SITECONTAINERS | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 653 | # Step 1: init .zip.tmp | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 657 | # Step 2: append webapp project references to .zip.tmp + compute new webapp .csproj | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 667 | # Step 3: append transitive project references to .zip.tmp | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 672 | # Step 4: copy the content from the original .zip archive to the .zip.tmp archive | COMMENT |
| LOW | …i/azure/cli/command_modules/appservice/_create_util.py | 687 | # Step 5: remove original .zip and rename de .zip.tmp | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 69 | # Step 1: Validate if storagepool could be created. | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 100 | # Step 3: Configure the storagepool parameters | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 204 | # Step 5: Install the k8s_extension 'microsoft.azurecontainerstorage' | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 391 | # Step 1: Perform validation if accepted by user | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 480 | # Step 2: If the extension is installed and validation succeeded or skipped, | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/vm/custom.py | 2094 | # Step 1: Force deallocate the VM | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/vm/custom.py | 2116 | # Step 2: PUT VM (with updated zone if applicable) | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/vm/custom.py | 2133 | # Step 3: Start VM | COMMENT |
| LOW⚡ | …c/azure-cli/azure/cli/command_modules/backup/custom.py | 2144 | # Step 1: Stop protection in old vault (retain data) | STRING |
| LOW⚡ | …c/azure-cli/azure/cli/command_modules/backup/custom.py | 2149 | # Step 2: Enable protection in new vault | STRING |
| LOW⚡ | src/azure-cli-core/azure/cli/core/_profile.py | 316 | # Step 1: Remove the account from MSAL token cache and SP store (SP only) | COMMENT |
| LOW⚡ | src/azure-cli-core/azure/cli/core/_profile.py | 322 | # Step 2: Remove the account from CLI profile | COMMENT |
| LOW⚡ | src/azure-cli-core/azure/cli/core/auth/identity.py | 222 | # Step 1: Remove SP from MSAL token cache | COMMENT |
| LOW⚡ | src/azure-cli-core/azure/cli/core/auth/identity.py | 227 | # Step 2: Remove SP from SP store | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/azure/cli/command_modules/cognitiveservices/custom.py | 511 | Validate and extract the tag from a Docker image URI. This function ensures the image URI includes a tag, whic | STRING |
| HIGH | …/azure/cli/command_modules/cognitiveservices/custom.py | 561 | Validate a file system path for safe use in subprocess calls. Checks for dangerous shell metacharacters, null | STRING |
| HIGH | …/azure/cli/command_modules/cognitiveservices/custom.py | 653 | Build Docker image locally using docker build command. Retries up to 3 times on transient failures (Docker dae | STRING |
| HIGH | …/azure/cli/command_modules/cognitiveservices/custom.py | 843 | Build Docker image using Azure Container Registry Task. Uses buildpacks (az acr pack build) if no Dockerfile ex | STRING |
| HIGH | …/azure/cli/command_modules/cognitiveservices/custom.py | 1100 | Stream logs from an agent container. Args: cmd: CLI command context client: Service client (AI | STRING |
| HIGH | …/azure/cli/command_modules/cognitiveservices/custom.py | 1200 | Wait for agent deployment to be ready with progress indicator. Args: cmd: CLI command context (for pro | STRING |
| HIGH | …azure/cli/command_modules/cognitiveservices/_params.py | 36 | Parse environment variable in key=value format. Args: value: String in format 'KEY=value' Returns | STRING |
| HIGH | src/azure-cli-core/azure/cli/core/extension/_resolve.py | 83 | Gets the download Url and digest for the matching extension Args: extension_name (str): Name of cur | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …odules/appservice/tests/latest/test_compose_convert.py | 564 | # Helpers to build mocked objects for orchestration tests | COMMENT |
| MEDIUM | …i/azure/cli/command_modules/acs/agentpool_decorator.py | 991 | # For multi-agent pool, use the az aks nodepool command | COMMENT |
| MEDIUM | …i/azure/cli/command_modules/acs/agentpool_decorator.py | 1081 | # For multi-agent pool, use the az aks nodepool command | COMMENT |
| MEDIUM | …d_modules/acs/tests/latest/test_agentpool_decorator.py | 940 | # fail on multi-agent pool | COMMENT |
| MEDIUM⚡ | src/azure-cli/azure/cli/command_modules/vm/custom.py | 2084 | # Zone move orchestration: force deallocate → PUT with new zone → start | COMMENT |
| MEDIUM⚡ | …li/command_modules/vm/tests/latest/test_vm_commands.py | 4729 | self.cmd('vmss create -g {rg} -n {vmss1} --image MicrosoftWindowsServer:WindowsServer:2022-datacenter-smalldisk- | CODE |
| MEDIUM⚡ | …li/command_modules/vm/tests/latest/test_vm_commands.py | 4734 | self.cmd('vmss create -g {rg} -n {vmss2} --image MicrosoftWindowsServer:WindowsServer:2022-datacenter-smalldisk- | CODE |
| MEDIUM⚡ | …li/command_modules/vm/tests/latest/test_vm_commands.py | 5443 | self.cmd('vmss create -n {vmss1} -g {rg} --image Debian:debian-10:10:latest --vm-sku Standard_B2ms --zone-placem | CODE |
| MEDIUM⚡ | …li/command_modules/vm/tests/latest/test_vm_commands.py | 5450 | self.cmd('vmss create -n {vmss2} -g {rg} --image Debian:debian-10:10:latest --vm-sku Standard_B2ms --admin-usern | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 12193 | # Verifies the CLI rejects unsupported orchestration modes and zone counts before deployment. | COMMENT |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 3690 | '--admin-password TestTest12#$ --orchestration-mode Uniform --vm-sku Standard_D2s_v3') | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 4765 | self.cmd('vmss create -n {vmss} -g {rg} --image OpenLogic:CentOS:7.7:latest --admin-username clittester --lb-sku | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 5297 | '--admin-username clitester --admin-password TestTest12#$ --orchestration-mode Uniform --lb-sku Standar | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 5553 | self.cmd('vmss create -g {rg} -n {vmss} --image Win2022Datacenter --admin-username clitest1234 --admin-password | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 5671 | self.cmd('vmss create -n {vmss2} -g {rg} --image {img2} --admin-username vmtest --admin-password Test123456789# | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 6126 | '--admin-username admin123 --admin-password TestTest12#$ --instance-count {count} --orchestration-mode | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 6170 | '--admin-password TestTest12#$ --instance-count {count} --orchestration-mode Uniform --lb-sku Standard' | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 12656 | "--vm-domain-name {dns_label} --public-ip-per-vm --dns-servers 10.0.0.6 10.0.0.5 --nsg {nsg} --admin-usernam | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 12677 | "--vm-domain-name {dns_label} --public-ip-per-vm --dns-servers 10.0.0.6 10.0.0.5 --nsg {nsg} --admin-us | CODE |
| MEDIUM | …azure-cli-core/azure/cli/core/auth/msal_credentials.py | 53 | # Apply agentic session parameters for user identity flows | COMMENT |
| MEDIUM | …azure-cli-core/azure/cli/core/auth/msal_credentials.py | 57 | # Both paths: client_session in data and params so eSTS can identify the agentic session | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/live_test/sendemail.py | 530 | # there are a lot of useful properties, make sure to go over docs and check them out | STRING |
| MEDIUM | …ure-cli/azure/cli/command_modules/appservice/custom.py | 12863 | # For debugging purposes only, you can change the async deployment into a sync deployment by polling the API status | STRING |
| MEDIUM | …odules/appservice/tests/latest/test_webapp_commands.py | 31 | # you can use to rebuild the repository | COMMENT |
| MEDIUM | …s/appservice/tests/latest/test_functionapp_commands.py | 27 | # you can use to rebuild the repository | COMMENT |
| MEDIUM | …ules/appservice/tests/latest/test_logicapp_commands.py | 25 | # you can use to rebuild the repository | COMMENT |
| LOW | …/command_modules/profile/tests/latest/test_auth_e2e.py | 45 | # In the browser, if the user already exists, make sure to logout first and re-login to clear browser cache | COMMENT |
| LOW | …ules/eventgrid/tests/latest/test_eventgrid_commands.py | 1245 | # Make sure to replace these with proper values for re-recording the tests. | COMMENT |
| LOW | …mmand_modules/backup/tests/latest/test_sql_commands.py | 33 | # Please make sure you have the following setup in place before running the tests - | COMMENT |
| LOW | …mand_modules/backup/tests/latest/test_hana_commands.py | 28 | # Please make sure you have the following setup in place before running the tests - | COMMENT |
| MEDIUM | …odules/eventhubs/tests/latest/test_cluster_commands.py | 37 | # Same resource group can be used to rerun the test or you can change the resource-group by replacing test-migra | COMMENT |
| LOW | src/azure-cli-core/azure/cli/core/tests/test_profile.py | 52 | # If acquire_token_scopes is checked, make sure to create a new instance of MsalCredentialStub | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/azure-cli-core/azure/cli/core/aaz/_base.py | 45 | def process_data(self, data, **kwargs): | CODE |
| LOW | src/azure-cli-core/azure/cli/core/aaz/_field_type.py | 29 | def process_data(self, data, **kwargs): | CODE |
| LOW | src/azure-cli-core/azure/cli/core/aaz/_field_type.py | 74 | def process_data(self, data, **kwargs): | CODE |
| LOW | src/azure-cli-core/azure/cli/core/aaz/_field_type.py | 119 | def process_data(self, data, **kwargs): | CODE |
| LOW | src/azure-cli-core/azure/cli/core/aaz/_field_type.py | 238 | def process_data(self, data, **kwargs): | CODE |
| LOW | src/azure-cli-core/azure/cli/core/aaz/_field_type.py | 334 | def process_data(self, data, **kwargs): | CODE |
| LOW | src/azure-cli-core/azure/cli/core/aaz/_field_type.py | 437 | def process_data(self, data, **kwargs): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .x/tools/reviewer/policy/analysis.py | 50 | CODE | |
| MEDIUM | .x/tools/reviewer/policy/analysis.py | 82 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ommand_modules/acs/tests/latest/test_aks_safeguards.py | 16 | # TODO: add tests here | COMMENT |
| LOW | …azure-cli/azure/cli/command_modules/resource/custom.py | 3783 | # TODO: Add validation for that case too? | COMMENT |