AI Slop Code RIsk Monitor

Azure/azure-cli

Azure Command-Line Interface

8.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

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.

8.7
Adjusted Signal
8.7
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
4.6K
Stars
Python
Language
8.5M
Lines of Code
8.8K
Files
45.0K
Pattern Hits
2026-10-12
Scan Date
0.17
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 11.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 23051 finding(s).

Hallucinated Dependency & Supply Chain Risk 7.4/100 · LOW

Are imports declared and package/API names verified? 7006 finding(s).

Agent Over-Engineering Ratio 29.2/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 35961 finding(s).

PR Review Velocity Impact 36.6/100 · MEDIUM

Which changes need focused human review? 45010 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 638HIGH 886MEDIUM 11055LOW 32431

Directory Score Breakdown

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.

Pattern Findings

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.

Decorative Section Separators10670 hits · 32732 pts
SeverityFileLineSnippetContext
MEDIUMazure-pipelines.yml756# ============================================================================COMMENT
MEDIUMazure-pipelines.yml760# ============================================================================COMMENT
MEDIUMtools/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/__init__.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/setup.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/setup.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/Github/tests/test_service_contacts.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/Github/tests/test_service_contacts.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/__init__.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/__main__.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/__main__.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/util.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/util.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/__init__.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/rule_decorators.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/rule_decorators.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/linter.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/linter.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/tests/test_linter.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/tests/test_linter.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/rules/help_rules.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/rules/help_rules.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/rules/parameter_rules.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/rules/parameter_rules.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/rules/command_rules.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/cli_linter/rules/command_rules.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUM…ols/automation/cli_linter/rules/command_group_rules.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUM…ols/automation/cli_linter/rules/command_group_rules.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/verify/verify_load_all.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/verify/verify_load_all.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/verify/doc_source_map.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/verify/doc_source_map.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/verify/verify_commands.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/verify/verify_commands.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/verify/default_modules.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/verify/default_modules.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/verify/verify_module_load_times.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/verify/verify_module_load_times.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/verify/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/verify/__init__.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/verify/__init__.py20 license_header = """# --------------------------------------------------------------------------------------------CODE
MEDIUMtools/automation/verify/__init__.py23# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/verify/verify_packages.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/verify/verify_packages.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/setup/install_modules.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/setup/install_modules.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/setup/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/setup/__init__.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/tests/check_vcr_recordings.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/tests/check_vcr_recordings.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/tests/nose_helper.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/tests/nose_helper.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/tests/verify_package_versions.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/tests/verify_package_versions.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/tests/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/tests/__init__.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/tests/verify_readme_history.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/tests/verify_readme_history.py4# --------------------------------------------------------------------------------------------COMMENT
10610 more matches not shown…
Hyper-Verbose Identifiers18891 hits · 16806 pts
SeverityFileLineSnippetContext
LOWtools/Github/tests/test_service_contacts.py92def test_squad_only_difference_does_not_change_the_task():STRING
LOWtools/Github/tests/test_service_contacts.py101def test_updates_regular_contacts_and_preserves_squads_per_service():STRING
LOWtools/Github/tests/test_service_contacts.py127def test_only_preserves_matching_squad_teams(mentionee, preserved):STRING
LOWtools/Github/tests/test_service_contacts.py134def test_preserves_multiple_squads_without_duplicates():STRING
LOWtools/Github/tests/test_service_contacts.py145def test_still_adds_and_removes_services_from_the_wiki():STRING
LOWtools/Github/tests/test_service_contacts.py153def test_handles_rules_without_label_conditions_or_mention_actions():STRING
LOW⚡tools/Github/tests/test_service_contacts.py164def test_can_populate_an_empty_task():STRING
LOW⚡tools/Github/tests/test_service_contacts.py170def test_empty_contacts_remove_obsolete_rules():STRING
LOW⚡tools/Github/tests/test_service_contacts.py176def test_repeated_sync_is_idempotent():STRING
LOWtools/automation/cli_linter/linter.py53 def get_command_group_metadata(self, command_group_name):CODE
LOWtools/automation/cli_linter/linter.py65 def get_help_entry_parameter_names(self, entry_name):CODE
LOWtools/automation/cli_linter/linter.py69 def is_valid_parameter_help_name(self, entry_name, param_name):CODE
LOWtools/automation/cli_linter/linter.py128 def _get_loaded_help_description(self, entry):CODE
LOWtools/automation/cli_linter/tests/test_linter.py17 def create_invoker_and_load_cmds_and_args(cli):CODE
LOWtools/automation/cli_linter/tests/test_linter.py30 def get_command_modules_paths(**_):CODE
LOWtools/automation/cli_linter/tests/test_linter.py56 def test_module_extension_inclusion(self):CODE
LOWtools/automation/cli_linter/tests/test_linter.py98 def fail_for_every_command_rule(linter, command_name):CODE
LOWtools/automation/cli_linter/rules/help_rules.py23def unrecognized_help_entry_rule(linter, help_entry):CODE
LOWtools/automation/cli_linter/rules/help_rules.py37def unrecognized_help_parameter_rule(linter, help_entry):CODE
LOWtools/automation/cli_linter/rules/help_rules.py61def faulty_help_example_parameters_rule(linter, help_entry):CODE
LOWtools/automation/cli_linter/rules/help_rules.py131def _extract_commands_from_example(example_text):CODE
LOWtools/automation/verify/verify_load_all.py36def extension_failed_load_handler(_, **kwargs):CODE
LOWtools/automation/verify/doc_source_map.py28def _map_help_files_not_found(help_files_in_map):CODE
LOWtools/automation/verify/verify_packages.py30 def test_azure_cli_module_manifest_and_azure_bdist(self):CODE
LOWtools/automation/verify/verify_packages.py44 def test_azure_cli_installation(self):CODE
LOWtools/automation/verify/verify_packages.py48 def test_azure_cli_module_installation(self):CODE
LOWtools/automation/tests/verify_package_versions.py32def changes_require_version_bump(mod_name, mod_version, mod_path, base_repo=None, base_tag=None):CODE
LOWtools/automation/tests/__init__.py65def _extract_top_level_modified_modules():CODE
LOW⚡tools/automation/utilities/path.py46def get_command_modules_paths(include_prefix=False):CODE
LOW⚡tools/automation/utilities/path.py56def get_command_modules_paths_with_tests(profile):CODE
LOW⚡tools/automation/utilities/path.py60def get_core_modules_paths_with_tests(profile):CODE
LOWtools/automation/utilities/path.py75def get_module_paths_with_tests(modules, profile):CODE
LOWtools/automation/utilities/path.py119def filter_blacklisted_modules(*black_list_modules):CODE
LOWtools/automation/utilities/path.py129def filter_user_selected_modules(user_input_modules):CODE
LOWtools/automation/utilities/path.py148def filter_user_selected_modules_with_tests(user_input_modules=None, profile=None):CODE
LOW⚡tests/agent_tools/test_aaz_source_lookup.py37def test_source_after_first_page_is_retained():CODE
LOW⚡tests/agent_tools/test_aaz_source_lookup.py47def test_closed_unmerged_source_is_not_linked():CODE
LOW⚡tests/agent_tools/test_aaz_source_lookup.py52def test_merged_source_remains_linked():CODE
LOW⚡tests/agent_tools/test_aaz_source_lookup.py57def test_incomplete_search_does_not_claim_no_source():CODE
LOW⚡tests/agent_tools/test_aaz_source_lookup.py64def test_matching_source_in_truncated_search_is_usable():CODE
LOWbuild_scripts/windows/scripts/patch_models_v2.py252def find_autorest_generated_folder(module_prefix="azure.mgmt"):CODE
LOW.x/tools/reviewer/azure_cli/review.py48def _is_generated_cli_history(path):CODE
LOW.x/tools/reviewer/azure_cli/review.py52def _generated_history_finding(change, head_repo, head_sha, make_finding):CODE
LOW⚡.x/tools/reviewer/azure_cli/failures.py12def extract_failed_tests_from_text(text):CODE
LOW.x/tools/reviewer/policy/analysis.py41def _review_is_production_file(repo_full_name, path):CODE
LOW.x/tools/reviewer/policy/analysis.py52def _review_has_customer_visible_change(change):CODE
LOW.x/tools/reviewer/policy/analysis.py65def _review_has_generated_history_marker(change):CODE
LOW.x/tools/reviewer/policy/analysis.py138def _generated_ownership_check(repo_full_name, pr, changes, production_changes, head_repo, head_sha, generation_source_pCODE
LOW.x/tools/fixer/azure_cli/targets.py31def list_azure_cli_extensions(branch="main", token=None, refresh=False):CODE
LOW.x/tools/fixer/azure_cli/aaz.py27def find_aaz_fork_prs_ready_for_promotion(token=None, limit=30):CODE
LOW.x/tools/fixer/azure_cli/aaz.py37def find_promoted_aaz_source_pr(issue_number, token=None):CODE
LOW⚡.x/tools/fixer/azure_cli/guidance.py10def _codegen_execution_guidance(kind, safe_component):CODE
LOW⚡.x/tools/fixer/title_gate/title_repair.py83def expected_cli_title_component(pr_files):CODE
LOW⚡.x/tools/fixer/title_gate/title_repair.py89def cli_title_component_matches(title, pr_files):CODE
LOW⚡.x/tools/fixer/title_gate/title_repair.py97def _replace_history_note_component(body, current, expected):CODE
LOW.x/tools/fixer/title_gate/title_repair.py164def _repaired_cli_history_notes(body, component=None):CODE
LOW.x/tools/tester/azure_cli/live_tests.py203def get_pr_regression_coverage_summary(CODE
LOWscripts/generate_latest_indices.py50def _isolated_cli_environment():CODE
LOWscripts/generate_latest_indices.py79def _order_keys_like_template(generated, template):CODE
LOWscripts/generate_latest_indices.py99def _extract_builtin_module_name(command):CODE
18831 more matches not shown…
Hallucination Indicators638 hits · 6640 pts
SeverityFileLineSnippetContext
CRITICAL…mand_modules/postgresql/utils/_flexible_server_util.py21from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL…ure/cli/command_modules/postgresql/utils/validators.py20from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL⚡…command_modules/postgresql/commands/custom_commands.py14from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICAL⚡…mand_modules/postgresql/commands/parameter_commands.py8from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL⚡…ommand_modules/postgresql/commands/replica_commands.py10from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICAL⚡…ules/postgresql/commands/threat_protection_commands.py7from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL⚡…li/azure/cli/command_modules/ams/_exception_handler.py8 from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL⚡…azure/cli/command_modules/ams/operations/encryption.py8from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL…ure-cli/azure/cli/command_modules/ams/operations/sp.py16from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL…azure/cli/command_modules/ams/operations/live_event.py168 instance.preview.access_control.ip.allow.append(create_ip_range(instance.name, ip))CODE
CRITICAL…azure/cli/command_modules/ams/operations/live_event.py176 instance.input.access_control.ip.allow.append(create_ip_range(instance.name, ip))CODE
CRITICAL⚡…li/azure/cli/command_modules/ams/operations/account.py7from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL⚡…/azure-cli/azure/cli/command_modules/advisor/custom.py150 from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL⚡src/azure-cli/azure/cli/command_modules/role/custom.py27from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL…ure/cli/command_modules/role/tests/latest/test_role.py83 from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL⚡…zure/cli/command_modules/monitor/_exception_handler.py8 from azure.core.exceptions import HttpResponseError, ODataV4FormatCODE
CRITICAL…les/monitor/tests/latest/test_activity_log_scenario.py17 from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL⚡…nitor/tests/latest/test_monitor_diagnostic_settings.py8from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL⚡…r/tests/latest/test_monitor_log_analytics_workspace.py8from azure.core.exceptions import HttpResponseError, ResourceExistsErrorCODE
CRITICAL…r/tests/latest/test_monitor_log_analytics_workspace.py478 from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL…r/tests/latest/test_monitor_log_analytics_workspace.py774 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICAL…or/tests/latest/test_monitor_metric_alert_scenarios.py103 from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL…mmand_modules/monitor/operations/monitor_clone_util.py119 from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL⚡…mand_modules/monitor/operations/activity_log_alerts.py9 from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL⚡…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py233 disc_microsoft__azure__monitor__multiple_resource_multiple_metric_criteria = cls._schema_on_200.value.ElemenCODE
CRITICAL⚡…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py238 all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.AzureCODE
CRITICAL⚡…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py241 _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.AzuCODE
CRITICAL⚡…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py285 failing_periods = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "MicrosCODE
CRITICAL⚡…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py295 disc_static_threshold_criterion = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odatCODE
CRITICAL⚡…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py303 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.py308 all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.AzureCODE
CRITICAL⚡…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py311 _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.AzuCODE
CRITICAL⚡…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py523 disc_microsoft__azure__monitor__multiple_resource_multiple_metric_criteria = cls._schema_on_200.value.ElemenCODE
CRITICAL⚡…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py528 all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.AzureCODE
CRITICAL⚡…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py531 _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.AzuCODE
CRITICAL⚡…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py575 failing_periods = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "MicrosCODE
CRITICAL⚡…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py585 disc_static_threshold_criterion = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odatCODE
CRITICAL⚡…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py593 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.py598 all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.AzureCODE
CRITICAL⚡…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py601 _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.AzuCODE
CRITICAL…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py265 dimensions = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.ACODE
CRITICAL…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py269 disc_dynamic_threshold_criterion = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odaCODE
CRITICAL…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py341 dimensions = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.ACODE
CRITICAL…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py345 disc_microsoft__azure__monitor__webtest_location_availability_criteria = cls._schema_on_200.value.Element.prCODE
CRITICAL…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py555 dimensions = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.ACODE
CRITICAL…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py559 disc_dynamic_threshold_criterion = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odaCODE
CRITICAL…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py631 dimensions = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.ACODE
CRITICAL…ules/monitor/aaz/latest/monitor/metrics/alert/_list.py635 disc_microsoft__azure__monitor__webtest_location_availability_criteria = cls._schema_on_200.value.Element.prCODE
CRITICAL…es/monitor/aaz/latest/monitor/account/issue/_create.py443 disc_time_based = cls._schema_on_200_201.properties.notifications.update_types.Element.discriminate_by("updaCODE
CRITICAL…ules/monitor/aaz/latest/monitor/account/issue/_list.py262 disc_time_based = cls._schema_on_200.value.Element.properties.notifications.update_types.Element.discriminatCODE
CRITICAL…ules/monitor/aaz/latest/monitor/account/issue/_show.py263 disc_time_based = cls._schema_on_200.properties.notifications.update_types.Element.discriminate_by("update_tCODE
CRITICAL…es/monitor/aaz/latest/monitor/account/issue/_update.py600 disc_time_based = _schema_issue_resource_read.properties.notifications.update_types.Element.discriminate_by("updCODE
CRITICAL⚡…/command_modules/monitor/_legacy/_exception_handler.py8 from azure.core.exceptions import HttpResponseError, ODataV4FormatCODE
CRITICAL…dules/monitor/_legacy/operations/monitor_clone_util.py109 from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL⚡…ules/monitor/_legacy/operations/activity_log_alerts.py15 from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL⚡…itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py233 disc_microsoft__azure__monitor__multiple_resource_multiple_metric_criteria = cls._schema_on_200.value.ElemenCODE
CRITICAL⚡…itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py238 all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.AzureCODE
CRITICAL⚡…itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py241 _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.AzuCODE
CRITICAL⚡…itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py285 failing_periods = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "MicrosCODE
CRITICAL⚡…itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py295 disc_static_threshold_criterion = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odatCODE
578 more matches not shown…
Unused Imports6112 hits · 5819 pts
SeverityFileLineSnippetContext
LOWtools/automation/verify/verify_module_load_times.py6CODE
LOWtools/automation/verify/verify_packages.py11CODE
LOWtools/automation/setup/install_modules.py7CODE
LOWtools/automation/tests/main.py9CODE
LOWtools/automation/tests/main.py10CODE
LOWtools/automation/tests/main.py10CODE
LOWbin/extract-loc.py9CODE
LOW.x/tools/fixer/azure_cli/routing.py9CODE
LOW.x/tools/fixer/azure_cli/routing.py12CODE
LOW.x/tools/fixer/azure_cli/aaz.py9CODE
LOW.x/tools/fixer/azure_cli/aaz.py12CODE
LOW.x/tools/validation/checks.py136CODE
LOWscripts/dump_help.py9CODE
LOWscripts/dump_help.py10CODE
LOWscripts/dump_command_table.py7CODE
LOWscripts/dump_command_table.py9CODE
LOWscripts/trim_sdk.py21CODE
LOWscripts/release/standalone/build_binary_tar_gz.py60CODE
LOWscripts/release/homebrew/docker/formula_generate.py7CODE
LOWscripts/release/homebrew/docker/formula_generate.py9CODE
LOWscripts/release/homebrew/docker/formula_generate.py9CODE
LOWscripts/live_test/generate_index.py12CODE
LOWscripts/live_test/generate_index.py13CODE
LOWscripts/live_test/generate_index.py14CODE
LOWdoc/sphinx/cligroup/cligroup.py6CODE
LOWdoc/sphinx/cligroup/cligroup.py11CODE
LOWdoc/sphinx/cligroup/cligroup.py13CODE
LOW…c/azure-cli/azure/cli/command_modules/maps/__init__.py8CODE
LOW…e-cli/azure/cli/command_modules/postgresql/__init__.py13CODE
LOW…st/test_postgres_flexible_commands_fabric_mirroring.py11CODE
LOW…st/test_postgres_flexible_commands_fabric_mirroring.py11CODE
LOW…l/tests/latest/test_postgres_flexible_commands_vnet.py6CODE
LOW…d_modules/postgresql/aaz/latest/network/__cmd_group.py11CODE
LOW…mand_modules/postgresql/aaz/latest/network/__init__.py11CODE
LOW…ules/postgresql/aaz/latest/network/vnet/__cmd_group.py11CODE
LOW…modules/postgresql/aaz/latest/network/vnet/__init__.py11CODE
LOW…modules/postgresql/aaz/latest/network/vnet/__init__.py12CODE
LOW…modules/postgresql/aaz/latest/network/vnet/__init__.py13CODE
LOW…modules/postgresql/aaz/latest/network/vnet/__init__.py14CODE
LOW…_modules/postgresql/aaz/latest/network/vnet/_create.py11CODE
LOW…nd_modules/postgresql/aaz/latest/network/vnet/_show.py11CODE
LOW…_modules/postgresql/aaz/latest/network/vnet/_update.py11CODE
LOW…stgresql/aaz/latest/network/vnet/subnet/__cmd_group.py11CODE
LOW…/postgresql/aaz/latest/network/vnet/subnet/__init__.py11CODE
LOW…/postgresql/aaz/latest/network/vnet/subnet/__init__.py12CODE
LOW…/postgresql/aaz/latest/network/vnet/subnet/__init__.py13CODE
LOW…/postgresql/aaz/latest/network/vnet/subnet/__init__.py14CODE
LOW…s/postgresql/aaz/latest/network/vnet/subnet/_create.py11CODE
LOW…les/postgresql/aaz/latest/network/vnet/subnet/_show.py11CODE
LOW…s/postgresql/aaz/latest/network/vnet/subnet/_update.py11CODE
LOW…e-cli/azure/cli/command_modules/servicebus/__init__.py9CODE
LOW…re-cli/azure/cli/command_modules/servicebus/_params.py17CODE
LOW…re-cli/azure/cli/command_modules/servicebus/_params.py17CODE
LOW…re-cli/azure/cli/command_modules/servicebus/_params.py17CODE
LOW…re-cli/azure/cli/command_modules/servicebus/_params.py17CODE
LOW…bus/tests/latest/test_servicebus_namespace_commands.py9CODE
LOW…bus/tests/latest/test_servicebus_namespace_commands.py10CODE
LOW…us/tests/latest/test_servicebus_encryption_commands.py8CODE
LOW…us/tests/latest/test_servicebus_encryption_commands.py9CODE
LOW…us/tests/latest/test_servicebus_encryption_commands.py10CODE
6052 more matches not shown…
Modern Structural Boilerplate2747 hits · 2610 pts
SeverityFileLineSnippetContext
LOW⚡scripts/ci/breaking_change_test.py15logger = logging.getLogger(__name__)CODE
LOW⚡scripts/ci/notify_ci_errors.py14logger = logging.getLogger(__name__)CODE
LOWscripts/ci/automation_full_test.py17logger = logging.getLogger(__name__)CODE
LOWscripts/ci/check_pull_request.py68logger = logging.getLogger(__name__)CODE
LOW⚡scripts/ci/codegen_report.py13logger = logging.getLogger(__name__)CODE
LOWscripts/live_test/generate_index.py18logger = logging.getLogger(__name__)CODE
LOWscripts/live_test/sendemail.py27logger = logging.getLogger(__name__)CODE
LOW⚡scripts/regression_test/update_api_profile.py12logger = logging.getLogger(__name__)CODE
LOW…d_modules/postgresql/aaz/latest/network/__cmd_group.py20__all__ = ["__CMDGroup"]CODE
LOW…ules/postgresql/aaz/latest/network/vnet/__cmd_group.py22__all__ = ["__CMDGroup"]CODE
LOW…_modules/postgresql/aaz/latest/network/vnet/_create.py3289__all__ = ["Create"]CODE
LOW…nd_modules/postgresql/aaz/latest/network/vnet/_show.py2450__all__ = ["Show"]CODE
LOW…_modules/postgresql/aaz/latest/network/vnet/_update.py2837__all__ = ["Update"]CODE
LOW…stgresql/aaz/latest/network/vnet/subnet/__cmd_group.py22__all__ = ["__CMDGroup"]CODE
LOW…s/postgresql/aaz/latest/network/vnet/subnet/_create.py2633__all__ = ["Create"]CODE
LOW…les/postgresql/aaz/latest/network/vnet/subnet/_show.py2263__all__ = ["Show"]CODE
LOW…s/postgresql/aaz/latest/network/vnet/subnet/_update.py2817__all__ = ["Update"]CODE
LOW…odules/servicebus/aaz/latest/servicebus/__cmd_group.py23__all__ = ["__CMDGroup"]CODE
LOW…vicebus/aaz/latest/servicebus/namespace/__cmd_group.py23__all__ = ["__CMDGroup"]CODE
LOW…ervicebus/aaz/latest/servicebus/namespace/_failover.py224__all__ = ["Failover"]CODE
LOW…es/servicebus/aaz/latest/servicebus/namespace/_wait.py423__all__ = ["Wait"]CODE
LOW…/servicebus/aaz/latest/servicebus/namespace/_create.py815__all__ = ["Create"]CODE
LOW…es/servicebus/aaz/latest/servicebus/namespace/_list.py735__all__ = ["List"]CODE
LOW…es/servicebus/aaz/latest/servicebus/namespace/_show.py427__all__ = ["Show"]CODE
LOW…/servicebus/aaz/latest/servicebus/namespace/_update.py967__all__ = ["Update"]CODE
LOW…/servicebus/aaz/latest/servicebus/namespace/_delete.py166__all__ = ["Delete"]CODE
LOW…/servicebus/aaz/latest/servicebus/namespace/_exists.py173__all__ = ["Exists"]CODE
LOW…t/servicebus/namespace/network_rule_set/__cmd_group.py23__all__ = ["__CMDGroup"]CODE
LOW…atest/servicebus/namespace/network_rule_set/_create.py347__all__ = ["Create"]CODE
LOW…/latest/servicebus/namespace/network_rule_set/_list.py256__all__ = ["List"]CODE
LOW…/latest/servicebus/namespace/network_rule_set/_show.py244__all__ = ["Show"]CODE
LOW…atest/servicebus/namespace/network_rule_set/_update.py500__all__ = ["Update"]CODE
LOW…vicebus/namespace/private_link_resource/__cmd_group.py23__all__ = ["__CMDGroup"]CODE
LOW…st/servicebus/namespace/private_link_resource/_show.py200__all__ = ["Show"]CODE
LOW…servicebus/namespace/authorization_rule/__cmd_group.py23__all__ = ["__CMDGroup"]CODE
LOW…est/servicebus/namespace/authorization_rule/_create.py263__all__ = ["Create"]CODE
LOW…atest/servicebus/namespace/authorization_rule/_list.py227__all__ = ["List"]CODE
LOW…atest/servicebus/namespace/authorization_rule/_show.py229__all__ = ["Show"]CODE
LOW…est/servicebus/namespace/authorization_rule/_update.py412__all__ = ["Update"]CODE
LOW…est/servicebus/namespace/authorization_rule/_delete.py156__all__ = ["Delete"]CODE
LOW…cebus/namespace/authorization_rule/keys/__cmd_group.py23__all__ = ["__CMDGroup"]CODE
LOW…servicebus/namespace/authorization_rule/keys/_renew.py244__all__ = ["Renew"]CODE
LOW…/servicebus/namespace/authorization_rule/keys/_list.py208__all__ = ["List"]CODE
LOW…s/namespace/private_endpoint_connection/__cmd_group.py23__all__ = ["__CMDGroup"]CODE
LOW…vicebus/namespace/private_endpoint_connection/_wait.py231__all__ = ["Wait"]CODE
LOW…cebus/namespace/private_endpoint_connection/_create.py327__all__ = ["Create"]CODE
LOW…vicebus/namespace/private_endpoint_connection/_list.py234__all__ = ["List"]CODE
LOW…vicebus/namespace/private_endpoint_connection/_show.py232__all__ = ["Show"]CODE
LOW…cebus/namespace/private_endpoint_connection/_update.py455__all__ = ["Update"]CODE
LOW…cebus/namespace/private_endpoint_connection/_delete.py173__all__ = ["Delete"]CODE
LOW…/servicebus/aaz/latest/servicebus/topic/__cmd_group.py23__all__ = ["__CMDGroup"]CODE
LOW…ules/servicebus/aaz/latest/servicebus/topic/_create.py391__all__ = ["Create"]CODE
LOW…odules/servicebus/aaz/latest/servicebus/topic/_list.py319__all__ = ["List"]CODE
LOW…odules/servicebus/aaz/latest/servicebus/topic/_show.py299__all__ = ["Show"]CODE
LOW…ules/servicebus/aaz/latest/servicebus/topic/_update.py551__all__ = ["Update"]CODE
LOW…ules/servicebus/aaz/latest/servicebus/topic/_delete.py152__all__ = ["Delete"]CODE
LOW…est/servicebus/topic/authorization_rule/__cmd_group.py23__all__ = ["__CMDGroup"]CODE
LOW…/latest/servicebus/topic/authorization_rule/_create.py275__all__ = ["Create"]CODE
LOW…az/latest/servicebus/topic/authorization_rule/_list.py239__all__ = ["List"]CODE
LOW…az/latest/servicebus/topic/authorization_rule/_show.py242__all__ = ["Show"]CODE
2687 more matches not shown…
Cross-File Repetition451 hits · 2255 pts
SeverityFileLineSnippetContext
HIGH…zure-cli/azure/cli/command_modules/postgresql/_help.py0type: group short-summary: manage firewall rules for a server.STRING
HIGHsrc/azure-cli/azure/cli/command_modules/mysql/_help.py0type: group short-summary: manage firewall rules for a server.STRING
HIGHsrc/azure-cli/azure/cli/command_modules/rdbms/_help.py0type: group short-summary: manage firewall rules for a server.STRING
HIGH…ure/cli/command_modules/postgresql/utils/validators.py0fetch resource group from server name :param str server_name: name of the server :return: resource group name or none :rSTRING
HIGH…ure-cli/azure/cli/command_modules/mysql/_validators.py0fetch resource group from server name :param str server_name: name of the server :return: resource group name or none :rSTRING
HIGH…zure-cli/azure/cli/command_modules/rdbms/validators.py0fetch resource group from server name :param str server_name: name of the server :return: resource group name or none :rSTRING
HIGH…ure/cli/command_modules/postgresql/utils/validators.py0# 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.py0# 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.py0# 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.py0check 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.py0check 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.py0check 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.py0check 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.py0check 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.py0check 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.py0check 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.py0check 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.py0check 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.py0check 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.py0check 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.py0check 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.py0check 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.py0create 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.py0create 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.py0create 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.py0create 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.py0get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvneSTRING
HIGH…nd_modules/appservice/aaz/latest/network/vnet/_show.py0get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvneSTRING
HIGH…i/command_modules/aro/aaz/latest/network/vnet/_show.py0get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvneSTRING
HIGH…mmand_modules/network/aaz/latest/network/vnet/_show.py0get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvneSTRING
HIGH…and_modules/container/aaz/latest/network/vnet/_show.py0get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvneSTRING
HIGH…command_modules/mysql/aaz/latest/network/vnet/_show.py0get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvneSTRING
HIGH…_modules/containerapp/aaz/latest/network/vnet/_show.py0get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvneSTRING
HIGH…command_modules/rdbms/aaz/latest/network/vnet/_show.py0get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvneSTRING
HIGH…_modules/postgresql/aaz/latest/network/vnet/_update.py0update a virtual network. :example: update a virtual network with the ip address of a dns server. az network vnet updateSTRING
HIGH…mmand_modules/mysql/aaz/latest/network/vnet/_update.py0update a virtual network. :example: update a virtual network with the ip address of a dns server. az network vnet updateSTRING
HIGH…mmand_modules/rdbms/aaz/latest/network/vnet/_update.py0update a virtual network. :example: update a virtual network with the ip address of a dns server. az network vnet updateSTRING
HIGH…stgresql/aaz/latest/network/vnet/subnet/__cmd_group.py0manage 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.py0manage 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.py0manage 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.py0manage 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.py0manage 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.py0manage 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.py0manage 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.py0manage 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.py0manage 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.py0manage 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.py0manage 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.py0manage 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.py0create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cusSTRING
HIGH…ules/network/aaz/latest/network/vnet/subnet/_create.py0create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cusSTRING
HIGH…es/container/aaz/latest/network/vnet/subnet/_create.py0create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cusSTRING
HIGH…d_modules/vm/aaz/latest/network/vnet/subnet/_create.py0create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cusSTRING
HIGH…ervicefabric/aaz/latest/network/vnet/subnet/_create.py0create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cusSTRING
HIGH…odules/mysql/aaz/latest/network/vnet/subnet/_create.py0create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cusSTRING
HIGH…odules/rdbms/aaz/latest/network/vnet/subnet/_create.py0create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cusSTRING
HIGH…les/postgresql/aaz/latest/network/vnet/subnet/_show.py0show details of a subnet. :example: show the details of a subnet associated with a virtual network. az network vnet subnSTRING
HIGH…profile_2020_09_01_hybrid/network/vnet/subnet/_show.py0show details of a subnet. :example: show the details of a subnet associated with a virtual network. az network vnet subnSTRING
HIGH…les/appservice/aaz/latest/network/vnet/subnet/_show.py0show details of a subnet. :example: show the details of a subnet associated with a virtual network. az network vnet subnSTRING
HIGH…profile_2019_03_01_hybrid/network/vnet/subnet/_show.py0show details of a subnet. :example: show the details of a subnet associated with a virtual network. az network vnet subnSTRING
391 more matches not shown…
AI Structural Patterns2117 hits · 1776 pts
SeverityFileLineSnippetContext
LOWtools/automation/tests/nose_helper.py24CODE
LOWsrc/azure-cli/azure/cli/command_modules/maps/custom.py13CODE
LOW…li/azure/cli/command_modules/postgresql/_db_context.py15CODE
LOW…ure/cli/command_modules/postgresql/utils/validators.py157CODE
LOW…_modules/postgresql/aaz/latest/network/vnet/_create.py603CODE
LOW…nd_modules/postgresql/aaz/latest/network/vnet/_show.py74CODE
LOW…_modules/postgresql/aaz/latest/network/vnet/_update.py236CODE
LOW…s/postgresql/aaz/latest/network/vnet/subnet/_create.py300CODE
LOW…les/postgresql/aaz/latest/network/vnet/subnet/_show.py80CODE
LOW…s/postgresql/aaz/latest/network/vnet/subnet/_update.py376CODE
LOW…command_modules/postgresql/commands/custom_commands.py67CODE
LOW…command_modules/postgresql/commands/custom_commands.py326CODE
LOW…command_modules/postgresql/commands/custom_commands.py436CODE
LOW…command_modules/postgresql/commands/custom_commands.py709CODE
LOW…command_modules/postgresql/commands/custom_commands.py792CODE
LOW…ommand_modules/postgresql/commands/replica_commands.py32CODE
LOW…mand_modules/servicebus/operations/namespace_custom.py37CODE
LOW…mand_modules/servicebus/operations/namespace_custom.py266CODE
LOW…ervicebus/aaz/latest/servicebus/namespace/_failover.py89CODE
LOW…es/servicebus/aaz/latest/servicebus/namespace/_wait.py73CODE
LOW…/servicebus/aaz/latest/servicebus/namespace/_create.py326CODE
LOW…es/servicebus/aaz/latest/servicebus/namespace/_show.py77CODE
LOW…/servicebus/aaz/latest/servicebus/namespace/_update.py353CODE
LOW…/servicebus/aaz/latest/servicebus/namespace/_exists.py69CODE
LOW…atest/servicebus/namespace/network_rule_set/_create.py133CODE
LOW…/latest/servicebus/namespace/network_rule_set/_show.py74CODE
LOW…atest/servicebus/namespace/network_rule_set/_update.py159CODE
LOW…est/servicebus/namespace/authorization_rule/_create.py99CODE
LOW…atest/servicebus/namespace/authorization_rule/_show.py87CODE
LOW…est/servicebus/namespace/authorization_rule/_update.py117CODE
LOW…servicebus/namespace/authorization_rule/keys/_renew.py106CODE
LOW…/servicebus/namespace/authorization_rule/keys/_list.py85CODE
LOW…vicebus/namespace/private_endpoint_connection/_wait.py79CODE
LOW…cebus/namespace/private_endpoint_connection/_create.py105CODE
LOW…vicebus/namespace/private_endpoint_connection/_show.py80CODE
LOW…cebus/namespace/private_endpoint_connection/_update.py125CODE
LOW…ules/servicebus/aaz/latest/servicebus/topic/_create.py146CODE
LOW…odules/servicebus/aaz/latest/servicebus/topic/_show.py83CODE
LOW…ules/servicebus/aaz/latest/servicebus/topic/_update.py175CODE
LOW…/latest/servicebus/topic/authorization_rule/_create.py107CODE
LOW…az/latest/servicebus/topic/authorization_rule/_show.py96CODE
LOW…/latest/servicebus/topic/authorization_rule/_update.py126CODE
LOW…est/servicebus/topic/authorization_rule/keys/_renew.py112CODE
LOW…test/servicebus/topic/authorization_rule/keys/_list.py93CODE
LOW…us/aaz/latest/servicebus/topic/subscription/_create.py184CODE
LOW…ebus/aaz/latest/servicebus/topic/subscription/_show.py93CODE
LOW…us/aaz/latest/servicebus/topic/subscription/_update.py219CODE
LOW…z/latest/servicebus/topic/subscription/rule/_create.py207CODE
LOW…aaz/latest/servicebus/topic/subscription/rule/_show.py103CODE
LOW…z/latest/servicebus/topic/subscription/rule/_update.py242CODE
LOW…bus/aaz/latest/servicebus/georecovery_alias/_create.py96CODE
LOW…cebus/aaz/latest/servicebus/georecovery_alias/_show.py84CODE
LOW…bus/aaz/latest/servicebus/georecovery_alias/_exists.py84CODE
LOW…rvicebus/georecovery_alias/authorization_rule/_show.py94CODE
LOW…bus/georecovery_alias/authorization_rule/keys/_list.py91CODE
LOW…ules/servicebus/aaz/latest/servicebus/queue/_create.py171CODE
LOW…odules/servicebus/aaz/latest/servicebus/queue/_show.py83CODE
LOW…ules/servicebus/aaz/latest/servicebus/queue/_update.py205CODE
LOW…/latest/servicebus/queue/authorization_rule/_create.py107CODE
LOW…az/latest/servicebus/queue/authorization_rule/_show.py96CODE
2057 more matches not shown…
Empty Error Handlers346 hits · 1632 pts
SeverityFileLineSnippetContext
HIGHtools/automation/cli_linter/linter.py106except AttributeError:CODE
HIGHtools/automation/tests/main.py80except:CODE
HIGHbuild_scripts/windows/scripts/test_msi_package.py25except:CODE
HIGHscripts/curl_install_pypi/install.py195except OSError:CODE
HIGHscripts/curl_install_pypi/install.py224except OSError:CODE
HIGHscripts/release/standalone/build_binary_tar_gz.py172except (subprocess.CalledProcessError, FileNotFoundError):CODE
HIGHscripts/release/standalone/build_binary_tar_gz.py350except OSError:CODE
HIGHscripts/temp_help/convert_all.py84except IndexError:CODE
HIGHdoc/sphinx/azhelpgen/azhelpgen.py87except Exception:CODE
HIGHdoc/sphinx/azhelpgen/azhelpgen.py91except Exception:CODE
HIGHsrc/azure-cli/setup.py26except OSError:CODE
HIGHsrc/azure-cli/azure/cli/__main__.py107except IndexError:CODE
HIGH…/cli/command_modules/postgresql/utils/_transformers.py154except AttributeError:CODE
HIGH…bus/tests/latest/test_servicebus_migration_commands.py235except Exception:CODE
HIGHsrc/azure-cli/azure/cli/command_modules/ams/_utils.py27except ValueError:CODE
HIGHsrc/azure-cli/azure/cli/command_modules/ams/_utils.py89except ValueError:CODE
HIGH…mand_modules/ams/tests/latest/test_ams_sp_scenarios.py62except:CODE
HIGH…/azure-cli/azure/cli/command_modules/advisor/custom.py80except TypeError: # when rec.id is already suppressed, rec.suppression_ids is NoneCODE
HIGHsrc/azure-cli/azure/cli/command_modules/role/custom.py1385except GraphError:CODE
HIGHsrc/azure-cli/azure/cli/command_modules/role/custom.py564except ValueError:CODE
HIGH…ure/cli/command_modules/role/tests/latest/test_role.py139except:CODE
HIGH…ure/cli/command_modules/role/tests/latest/test_role.py154except:CODE
HIGH…ure/cli/command_modules/role/tests/latest/test_role.py457except:CODE
HIGH…ure/cli/command_modules/role/tests/latest/test_role.py523except:CODE
HIGH…ure/cli/command_modules/role/tests/latest/test_role.py551except:CODE
HIGH…re/cli/command_modules/role/tests/latest/test_graph.py821except Exception:CODE
HIGH…re/cli/command_modules/role/tests/latest/test_graph.py149except:CODE
HIGH…re-cli/azure/cli/command_modules/monitor/validators.py253except AttributeError:CODE
HIGH…azure-cli/azure/cli/command_modules/monitor/actions.py123except ValueError:CODE
HIGH…i/azure/cli/command_modules/monitor/_autoscale_util.py600except ValueError:CODE
HIGH…mmand_modules/monitor/operations/autoscale_settings.py382except KeyError:CODE
HIGH…mmand_modules/monitor/operations/autoscale_settings.py305except ValueError:CODE
HIGH…ons/latest/monitor/activity_log/alert/scope/_remove.py41except KeyError:CODE
HIGH…zure/cli/command_modules/monitor/_legacy/validators.py253except AttributeError:CODE
HIGH…i/azure/cli/command_modules/monitor/_legacy/actions.py123except ValueError:CODE
HIGH…cli/command_modules/monitor/_legacy/_autoscale_util.py600except ValueError:CODE
HIGH…ules/monitor/_legacy/operations/activity_log_alerts.py466except KeyError:CODE
HIGH…dules/monitor/_legacy/operations/autoscale_settings.py571except KeyError:CODE
HIGH…dules/monitor/_legacy/operations/autoscale_settings.py490except ValueError:CODE
HIGH…azure-cli/azure/cli/command_modules/keyvault/custom.py595except HttpResponseError:CODE
HIGH…azure-cli/azure/cli/command_modules/keyvault/custom.py810except: # pylint: disable=bare-exceptCODE
HIGH…azure-cli/azure/cli/command_modules/keyvault/custom.py1066except: # pylint: disable=bare-exceptCODE
HIGH…azure-cli/azure/cli/command_modules/keyvault/custom.py239except: # pylint: disable=bare-exceptCODE
HIGH…azure-cli/azure/cli/command_modules/keyvault/custom.py2393except: # pylint: disable=bare-exceptCODE
HIGH…-cli/azure/cli/command_modules/keyvault/_validators.py511except ValueError: # checks next formatCODE
HIGH…li/azure/cli/command_modules/keyvault/_command_type.py133except Exception: # pylint: disable=broad-exceptCODE
HIGH…zure-cli/azure/cli/command_modules/keyvault/_params.py486except ValueError:CODE
HIGH…odules/keyvault/tests/latest/test_keyvault_commands.py422except Exception: # pylint: disable=broad-exceptCODE
HIGHsrc/azure-cli/azure/cli/command_modules/redis/custom.py270except ValueError:CODE
HIGH…li/azure/cli/command_modules/appservice/webapp_exec.py368except websocket.WebSocketConnectionClosedException:CODE
HIGH…li/azure/cli/command_modules/appservice/webapp_exec.py389except (OSError, websocket.WebSocketException):CODE
HIGH…li/azure/cli/command_modules/appservice/webapp_exec.py471except ws_module.WebSocketConnectionClosedException:CODE
HIGH…li/azure/cli/command_modules/appservice/webapp_exec.py535except ws_module.WebSocketConnectionClosedException:CODE
HIGH…li/azure/cli/command_modules/appservice/webapp_exec.py602except ValueError: # includes json.JSONDecodeErrorCODE
HIGH…li/azure/cli/command_modules/appservice/webapp_exec.py319except Exception: # pylint: disable=broad-exceptCODE
HIGH…ure-cli/azure/cli/command_modules/appservice/custom.py4082except StopIteration:CODE
HIGH…ure-cli/azure/cli/command_modules/appservice/custom.py823except: # pylint: disable=bare-exceptCODE
HIGH…ure-cli/azure/cli/command_modules/appservice/custom.py5309except AttributeError:CODE
HIGH…ure-cli/azure/cli/command_modules/appservice/custom.py5313except AttributeError:CODE
HIGH…ure-cli/azure/cli/command_modules/appservice/custom.py5436except Exception: # pylint: disable=broad-exceptCODE
286 more matches not shown…
Self-Referential Comments246 hits · 747 pts
SeverityFileLineSnippetContext
MEDIUM…nes/templates/standalone/cask-generation-and-tests.yml207 # Create a temporary tap (named distinctly to avoid conflict with real Azure/homebrew-azure-cli)COMMENT
MEDIUM⚡scripts/release/debian/prepare.sh9# Create the debian/ directory for building the azure-cli Debian packageCOMMENT
MEDIUMscripts/release/rpm/pipeline.sh21# Create a container image that includes the source code and a built RPM using this file.COMMENT
MEDIUMscripts/release/rpm/pipeline_azurelinux.sh20# Create a container image that includes the source code and a built RPM using this file.COMMENT
MEDIUM.github/workflows/CCOA.yml24 # Define the block date (Jan 7, 2025)COMMENT
MEDIUM⚡doc/sphinx/conf.py11# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUM⚡…ests/latest/test_postgres_flexible_commands_replica.py43 # Create a serverCOMMENT
MEDIUM⚡…ests/latest/test_postgres_flexible_commands_replica.py210 # Create a virtual network and subnet for server oneCOMMENT
MEDIUM⚡…ests/latest/test_postgres_flexible_commands_replica.py218 # Create a subnet for server twoCOMMENT
MEDIUM⚡…ests/latest/test_postgres_flexible_commands_replica.py226 # Create a private DNS zone for server oneCOMMENT
MEDIUM⚡…ests/latest/test_postgres_flexible_commands_replica.py229 # Create a private DNS zone for server twoCOMMENT
MEDIUM…ests/latest/test_postgres_flexible_commands_replica.py330 # Create a serverCOMMENT
MEDIUM…t/test_postgres_flexible_commands_private_endpoints.py62 # Create a private endpoint connectionCOMMENT
MEDIUM…t/test_postgres_flexible_commands_private_endpoints.py104 # Create a private endpoint connectionCOMMENT
MEDIUM…t/test_postgres_flexible_commands_private_endpoints.py154 # Create a private endpoint connectionCOMMENT
MEDIUM⚡…st/test_postgres_flexible_commands_fabric_mirroring.py25 # Create a databaseCOMMENT
MEDIUM…l/tests/latest/test_postgres_flexible_commands_vnet.py49 # Create a virtual network and subnet for server.COMMENT
MEDIUM…l/tests/latest/test_postgres_flexible_commands_vnet.py57 # Create a private DNS zone for server.COMMENT
MEDIUM…l/tests/latest/test_postgres_flexible_commands_vnet.py104 # Create a virtual network and subnet for server.COMMENT
MEDIUM…l/tests/latest/test_postgres_flexible_commands_vnet.py112 # Create a private DNS zone for server.COMMENT
MEDIUM…l/tests/latest/test_postgres_flexible_commands_vnet.py158 # Create a virtual network and subnet for server in its own resource group.COMMENT
MEDIUM…l/tests/latest/test_postgres_flexible_commands_vnet.py166 # Create a private DNS zone for server.COMMENT
MEDIUM…atest/test_servicebus_commands_privateendpoint_test.py49 # Create a private endpoint connectionCOMMENT
MEDIUMsrc/azure-cli/azure/cli/command_modules/role/custom.py1705 # Create a PEM file ~/tmpxxxxxxxx.pem with both PRIVATE KEY & CERTIFICATE so users can use to log in.COMMENT
MEDIUMsrc/azure-cli/azure/cli/command_modules/role/custom.py1721 # Create a key pairCOMMENT
MEDIUMsrc/azure-cli/azure/cli/command_modules/role/custom.py1725 # Create a self-signed certCOMMENT
MEDIUM⚡…r/grammar/metric_alert/MetricAlertConditionListener.py14# This class defines a complete listener for a parse tree produced by MetricAlertConditionParser.COMMENT
MEDIUM…/grammar/metric_alert/MetricAlertConditionValidator.py39# This class defines a complete listener for a parse tree produced by MetricAlertConditionParser.COMMENT
MEDIUM⚡…onitor/grammar/autoscale/AutoscaleConditionListener.py13# This class defines a complete listener for a parse tree produced by AutoscaleConditionParser.COMMENT
MEDIUM…nitor/grammar/autoscale/AutoscaleConditionValidator.py19# This class defines a complete listener for a parse tree produced by MetricAlertConditionParser.COMMENT
MEDIUM…onitor/tests/latest/test_monitor_private_link_scope.py87 # Create a private endpoint connectionCOMMENT
MEDIUM⚡…y/grammar/metric_alert/MetricAlertConditionListener.py14# This class defines a complete listener for a parse tree produced by MetricAlertConditionParser.COMMENT
MEDIUM…/grammar/metric_alert/MetricAlertConditionValidator.py39# This class defines a complete listener for a parse tree produced by MetricAlertConditionParser.COMMENT
MEDIUM⚡…legacy/grammar/autoscale/AutoscaleConditionListener.py13# This class defines a complete listener for a parse tree produced by AutoscaleConditionParser.COMMENT
MEDIUM…egacy/grammar/autoscale/AutoscaleConditionValidator.py19# This class defines a complete listener for a parse tree produced by MetricAlertConditionParser.COMMENT
MEDIUM…ure/cli/command_modules/util/tests/latest/test_rest.py70 # Create a storage accountCOMMENT
MEDIUM⚡…ure/cli/command_modules/util/tests/latest/test_rest.py84 # Create an account SAS token https://learn.microsoft.com/en-us/rest/api/storageservices/create-account-sasCOMMENT
MEDIUM⚡…ure/cli/command_modules/util/tests/latest/test_rest.py89 # Create a container with the SAS tokenCOMMENT
MEDIUM⚡…ure/cli/command_modules/util/tests/latest/test_rest.py99 # Create a blobCOMMENT
MEDIUM…odules/keyvault/tests/latest/test_keyvault_commands.py504 # Create a private endpoint connectionCOMMENT
MEDIUM…odules/keyvault/tests/latest/test_keyvault_commands.py580 # Create a private endpoint connectionCOMMENT
MEDIUM⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3603 # Create the SiteContainer directly (not via create_webapp_sitecontainers)COMMENT
MEDIUM…ure-cli/azure/cli/command_modules/appservice/custom.py3466 # Create an app setting with a namespaced key to avoid collisionsCOMMENT
MEDIUM…odules/appservice/tests/latest/test_webapp_commands.py428 # Create a webapp backupCOMMENT
MEDIUM…odules/appservice/tests/latest/test_webapp_commands.py458 # Create a webapp slot backupCOMMENT
MEDIUM…odules/appservice/tests/latest/test_webapp_commands.py496 # Create a webapp backupCOMMENT
MEDIUM…s/appservice/tests/latest/test_functionapp_commands.py1797 # Create a flex consumption function appCOMMENT
MEDIUM…s/appservice/tests/latest/test_functionapp_commands.py1835 # Create a Flex Consumption function appCOMMENT
MEDIUM…s/appservice/tests/latest/test_functionapp_commands.py1879 # Create a Flex Consumption function appCOMMENT
MEDIUM…s/appservice/tests/latest/test_functionapp_commands.py1921 # Create a Flex Consumption function appCOMMENT
MEDIUM…s/appservice/tests/latest/test_functionapp_commands.py1964 # Create a Flex Consumption function appCOMMENT
MEDIUM…/signalr/tests/latest/test_signalr_private_endpoint.py46 # Create a private endpoint connectionCOMMENT
MEDIUMsrc/azure-cli/azure/cli/command_modules/aro/custom.py989 # Create the role assignment if it doesn't existCOMMENT
MEDIUM…_modules/network/tests/latest/test_network_commands.py348 # Create a private endpoint connectionCOMMENT
MEDIUM…_modules/network/tests/latest/test_network_commands.py8295 # Create a profile with record-type ACOMMENT
MEDIUM…_modules/network/tests/latest/test_network_commands.py8333 # Create a profile without record-typeCOMMENT
MEDIUM…_modules/network/tests/latest/test_network_commands.py9045 # Create the NVACOMMENT
MEDIUM…_modules/network/tests/latest/test_network_commands.py9122 # Create the NVACOMMENT
MEDIUM…network/tests/latest/test_private_endpoint_commands.py98 # Create a private endpoint connectionCOMMENT
MEDIUM…network/tests/latest/test_private_endpoint_commands.py205 # Create a private endpoint connectionCOMMENT
186 more matches not shown…
Over-Commented Block694 hits · 671 pts
SeverityFileLineSnippetContext
LOWrequirements.txt1# basicCOMMENT
LOWazure-pipelines.yml701 brew tap-new dev/azure-cliCOMMENT
LOWtools/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOWtools/automation/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOWtools/automation/setup/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOWtools/automation/utilities/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW.azure-pipelines/mac-and-linux-standalone-release.yml1# Azure CLI - macOS and Linux Standalone Validation PipelineCOMMENT
LOW.azure-pipelines/mac-and-linux-standalone-release.yml201# Jobs included:COMMENT
LOW…pipelines/templates/macos/macos-sign-notarize-jobs.yml1# macOS Sign and Notarize Jobs Template (Matrix Strategy)COMMENT
LOW.azure-pipelines/templates/macos/macos-build-jobs.yml1# macOS Build Jobs TemplateCOMMENT
LOW…nes/templates/standalone/cask-generation-and-tests.yml1# Standalone Cask Generation and Test Jobs TemplateCOMMENT
LOW.azure-pipelines/templates/standalone/publish-jobs.yml1# Standalone Publish Jobs TemplateCOMMENT
LOWbuild_scripts/windows/resources/ThirdPartyNotices.txt881# and/or other materials provided with the distribution.COMMENT
LOWbuild_scripts/windows/resources/ThirdPartyNotices.txt2881# restriction, including without limitation the rights to use,COMMENT
LOWscripts/install_full.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/get-python-version.py1# --------------------------------------------------------------------------------------------COMMENT
LOWscripts/curl_install_pypi/install.py1#!/usr/bin/env pythonCOMMENT
LOWscripts/ci/update_docs.sh41# ...COMMENT
LOWscripts/ci/check_pull_request.py1#!/usr/bin/env pythonCOMMENT
LOWscripts/ci/test_extensions.sh21# Disable azure-cli-ml: https://github.com/Azure/azure-cli-extensions/issues/826COMMENT
LOWscripts/release/generate_history_notes.py1#!/usr/bin/env pythonCOMMENT
LOWscripts/release/debian/deb_install.sh1#!/usr/bin/env bashCOMMENT
LOW…pts/release/standalone/resources/ThirdPartyNotices.txt881# and/or other materials provided with the distribution.COMMENT
LOW…pts/release/standalone/resources/ThirdPartyNotices.txt2881# restriction, including without limitation the rights to use,COMMENT
LOWscripts/release/rpm/pipeline.sh41# Extract the built RPM so that it can be distributed independently.COMMENT
LOWscripts/release/rpm/pipeline_azurelinux.sh41# https://docs.docker.com/engine/reference/commandline/cp/COMMENT
LOWdoc/sphinx/conf.py1#!/usr/bin/env python3COMMENT
LOWdoc/sphinx/conf.py61master_doc = 'ind'COMMENT
LOWdoc/sphinx/conf.py81# Usually you set "language" from the command line for these cases.COMMENT
LOWdoc/sphinx/conf.py101# default_role = NoneCOMMENT
LOWdoc/sphinx/conf.py121# modindex_common_prefix = []COMMENT
LOWdoc/sphinx/conf.py141# html_theme_options = {}COMMENT
LOWdoc/sphinx/conf.py161# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32COMMENT
LOWdoc/sphinx/conf.py181# html_last_updated_fmt = NoneCOMMENT
LOWdoc/sphinx/conf.py201# If false, no index is generated.COMMENT
LOWdoc/sphinx/conf.py221# If true, an OpenSearch description file will be output, and all pages willCOMMENT
LOWdoc/sphinx/conf.py241# html_search_options = {'type': 'default'}COMMENT
LOWdoc/sphinx/conf.py261COMMENT
LOWdoc/sphinx/conf.py281#COMMENT
LOWdoc/sphinx/conf.py321COMMENT
LOWdoc/sphinx/conf.py341# texinfo_show_urls = 'footnote'COMMENT
LOWdoc/sphinx/azhelpgen/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOWdoc/sphinx/cligroup/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOWsrc/azure-cli/azure/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOWsrc/azure-cli/azure/cli/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW…e-cli/azure/cli/command_modules/maps/tests/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW…zure/cli/command_modules/maps/tests/latest/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW…ure/cli/command_modules/postgresql/_breaking_change.py1# --------------------------------------------------------------------------------------------COMMENT
LOW…/cli/command_modules/postgresql/randomname/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW…azure/cli/command_modules/postgresql/tests/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW…/cli/command_modules/postgresql/tests/unit/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW…li/command_modules/postgresql/tests/latest/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW…azure/cli/command_modules/postgresql/utils/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW…i/azure/cli/command_modules/postgresql/aaz/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW…/cli/command_modules/postgresql/aaz/latest/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW…mand_modules/postgresql/aaz/latest/network/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW…modules/postgresql/aaz/latest/network/vnet/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW…/postgresql/aaz/latest/network/vnet/subnet/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW…re/cli/command_modules/postgresql/commands/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW…azure/cli/command_modules/servicebus/tests/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
634 more matches not shown…
Excessive Try-Catch Wrapping737 hits · 661 pts
SeverityFileLineSnippetContext
LOWtools/automation/tests/verify_package_versions.py62 except Exception as ex:CODE
LOWtools/automation/tests/__init__.py241 except Exception as ex:CODE
LOWtools/automation/tests/__init__.py296 except Exception:STRING
LOWscripts/curl_install_pypi/install.py324 except Exception as e:STRING
LOWscripts/curl_install_pypi/install.py394 except Exception as e:STRING
MEDIUMscripts/curl_install_pypi/install.py191def _backup_rc(rc_file):CODE
LOWscripts/ci/automation_full_test.py258 except Exception:CODE
LOWscripts/ci/automation_full_test.py268 except Exception:CODE
LOWscripts/ci/automation_full_test.py281 except Exception:CODE
MEDIUMscripts/ci/automation_full_test.py254def install_extension(extension_module):CODE
MEDIUMscripts/ci/automation_full_test.py264def remove_extension(extension_module):CODE
MEDIUMscripts/ci/automation_full_test.py274def rerun_setup(cli_repo_path, extension_repo_path):CODE
LOWscripts/ci/validate_external_source_urls.py176 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWscripts/release/standalone/build_binary_tar_gz.py541 except Exception as e:CODE
LOWscripts/temp_help/help_convert.py61 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWscripts/live_test/sendemail.py321 except Exception:STRING
LOWscripts/live_test/sendemail.py330 except Exception:STRING
LOWscripts/live_test/sendemail.py398 except Exception as e:STRING
LOWscripts/live_test/sendemail.py437 except Exception as e:STRING
LOWscripts/live_test/test_data.py46 except Exception:CODE
LOWdoc/sphinx/azhelpgen/azhelpgen.py87 except Exception:CODE
LOWdoc/sphinx/azhelpgen/azhelpgen.py91 except Exception:CODE
LOWsrc/azure-cli/azure/cli/__main__.py109 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWsrc/azure-cli/azure/cli/__main__.py115 except Exception as ex: # pylint: disable=broad-exceptCODE
LOW…ure/cli/command_modules/postgresql/utils/validators.py718 except Exception as ex:CODE
LOW…command_modules/postgresql/commands/custom_commands.py429 except Exception as e:CODE
LOW…command_modules/postgresql/commands/custom_commands.py674 except Exception as ex: # pylint: disable=broad-exceptCODE
LOW…command_modules/postgresql/commands/custom_commands.py739 except Exception as e:CODE
LOW…ommand_modules/postgresql/commands/replica_commands.py56 except Exception as e:CODE
LOW…ommand_modules/postgresql/commands/replica_commands.py167 except Exception as e:CODE
LOW…_modules/postgresql/commands/firewall_rule_commands.py28 except Exception as ex: # pylint: disable=broad-exceptCODE
LOW…mmand_modules/postgresql/commands/database_commands.py63 except Exception as ex: # pylint: disable=broad-exceptCODE
LOW…bus/tests/latest/test_servicebus_migration_commands.py135 except Exception:CODE
LOW…bus/tests/latest/test_servicebus_migration_commands.py147 except Exception:CODE
LOW…bus/tests/latest/test_servicebus_migration_commands.py151 except Exception:CODE
LOW…bus/tests/latest/test_servicebus_migration_commands.py235 except Exception:CODE
LOWsrc/azure-cli/azure/cli/command_modules/ams/_utils.py72 except Exception: # pylint: disable=W0703CODE
LOW…and_modules/ams/tests/latest/test_ams_job_scenarios.py109 except Exception: # pylint: disable=broad-exceptCODE
LOW…les/ams/tests/latest/test_ams_asset_track_scenarios.py63 except Exception: # pylint: disable=broad-exceptCODE
LOW…les/ams/tests/latest/test_ams_asset_track_scenarios.py121 except Exception: # pylint: disable=broad-exceptCODE
LOW…les/ams/tests/latest/test_ams_asset_track_scenarios.py178 except Exception: # pylint: disable=broad-exceptCODE
LOW…les/ams/tests/latest/test_ams_asset_track_scenarios.py241 except Exception: # pylint: disable=broad-exceptCODE
LOW…les/ams/tests/latest/test_ams_asset_track_scenarios.py307 except Exception: # pylint: disable=broad-exceptCODE
LOW…ure-cli/azure/cli/command_modules/ams/operations/sp.py275 except Exception as ex: # pylint: disable=broad-exceptCODE
LOW…ure-cli/azure/cli/command_modules/ams/operations/sp.py316 except Exception as ex: # pylint: disable=broad-exceptCODE
MEDIUM…ure-cli/azure/cli/command_modules/ams/operations/sp.py313def update_application(client, app_object_id, display_name):CODE
LOWsrc/azure-cli/azure/cli/command_modules/role/custom.py326 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWsrc/azure-cli/azure/cli/command_modules/role/custom.py1551 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWsrc/azure-cli/azure/cli/command_modules/role/custom.py1578 except Exception as ex:CODE
LOW…re/cli/command_modules/role/tests/latest/test_graph.py821 except Exception:STRING
MEDIUM…re/cli/command_modules/role/tests/latest/test_graph.py813def clean_resource(self, resource, type='group'):CODE
LOWsrc/azure-cli/azure/cli/command_modules/util/custom.py203 except Exception as ex: # pylint: disable=broad-exceptCODE
MEDIUM…azure-cli/azure/cli/command_modules/keyvault/custom.py1996def _is_guid(guid):CODE
MEDIUM…azure-cli/azure/cli/command_modules/keyvault/custom.py2612def _save_to_local_file(file_path, security_domain):CODE
LOW…azure-cli/azure/cli/command_modules/keyvault/custom.py1203 except Exception: # pylint: disable=broad-exceptCODE
LOW…azure-cli/azure/cli/command_modules/keyvault/custom.py1218 except Exception: # pylint: disable=broad-exceptCODE
LOW…azure-cli/azure/cli/command_modules/keyvault/custom.py1238 except Exception: # pylint: disable=broad-exceptCODE
LOW…azure-cli/azure/cli/command_modules/keyvault/custom.py1304 except Exception as ex: # pylint: disable=broad-exceptCODE
LOW…azure-cli/azure/cli/command_modules/keyvault/custom.py1630 except Exception as ex: # pylint: disable=broad-exceptCODE
LOW…azure-cli/azure/cli/command_modules/keyvault/custom.py1716 except Exception as ex: # pylint: disable=broad-exceptCODE
677 more matches not shown…
Deep Nesting831 hits · 621 pts
SeverityFileLineSnippetContext
LOWtools/automation/cli_linter/rule_decorators.py21CODE
LOWtools/automation/cli_linter/rule_decorators.py22CODE
LOWtools/automation/cli_linter/rule_decorators.py23CODE
LOWtools/automation/cli_linter/linter.py178CODE
LOWtools/automation/cli_linter/linter.py217CODE
LOWtools/automation/cli_linter/rules/help_rules.py131CODE
LOWtools/automation/verify/verify_module_load_times.py60CODE
LOWtools/automation/verify/__init__.py15CODE
LOWtools/automation/tests/check_vcr_recordings.py13CODE
LOWtools/automation/tests/verify_package_versions.py32CODE
LOWtools/automation/tests/__init__.py96CODE
LOWtools/automation/tests/__init__.py246CODE
LOWtools/automation/tests/main.py50CODE
LOWtools/automation/style/pylint_disable_check.py22CODE
LOWtools/automation/utilities/path.py60CODE
LOWbuild_scripts/windows/scripts/patch_models_v2.py137CODE
LOW.x/tools/validation/checks.py65CODE
LOWscripts/generate_latest_indices.py50CODE
LOWscripts/compact_aaz.py202CODE
LOWscripts/compact_aaz.py279CODE
LOWscripts/compact_aaz.py346CODE
LOWscripts/compact_aaz.py391CODE
LOWscripts/dump_command_table.py23CODE
LOWscripts/dump_command_table.py72CODE
LOWscripts/curl_install_pypi/install.py152CODE
LOWscripts/curl_install_pypi/install.py218CODE
LOWscripts/ci/breaking_change_test.py70CODE
LOWscripts/ci/breaking_change_test.py84CODE
LOWscripts/ci/automation_full_test.py377CODE
LOWscripts/ci/automation_full_test.py426CODE
LOWscripts/ci/check_pull_request.py98CODE
LOWscripts/ci/check_pull_request.py125CODE
LOWscripts/ci/codegen_report.py22CODE
LOWscripts/ci/a01/docker_app/collect_tests.py41CODE
LOWscripts/release/generate_history_notes.py44CODE
LOWscripts/release/standalone/build_binary_tar_gz.py460CODE
LOWscripts/release/homebrew/docker/formula_generate.py127CODE
LOWscripts/sdk_process/patch_models.py127CODE
LOWscripts/temp_help/help_convert.py174CODE
LOWscripts/live_test/clean.py183CODE
LOWscripts/live_test/clean.py280CODE
LOWscripts/live_test/sendemail.py377CODE
LOWscripts/live_test/sendemail.py476CODE
LOWscripts/live_test/test_data.py21CODE
LOWscripts/regression_test/update_api_profile.py71CODE
LOWdoc/sphinx/azhelpgen/azhelpgen.py30CODE
LOW…re-cli/azure/cli/command_modules/postgresql/_params.py26CODE
LOW…re-cli/azure/cli/command_modules/postgresql/_params.py826CODE
LOW…azure/cli/command_modules/postgresql/_config_reader.py31CODE
LOW…/cli/command_modules/postgresql/utils/_transformers.py48CODE
LOW…/cli/command_modules/postgresql/utils/_transformers.py70CODE
LOW…/cli/command_modules/postgresql/utils/_transformers.py107CODE
LOW…l/utils/_flexible_server_location_capabilities_util.py45CODE
LOW…_modules/postgresql/commands/firewall_rule_commands.py33CODE
LOW…li/azure/cli/command_modules/servicebus/_validators.py22CODE
LOW…ure-cli/azure/cli/command_modules/servicebus/action.py19CODE
LOW…ure-cli/azure/cli/command_modules/servicebus/action.py57CODE
LOW…ure-cli/azure/cli/command_modules/servicebus/action.py109CODE
LOW…bus/tests/latest/test_servicebus_migration_commands.py23CODE
LOW…mand_modules/servicebus/operations/namespace_custom.py222CODE
771 more matches not shown…
Cross-Language Confusion81 hits · 461 pts
SeverityFileLineSnippetContext
HIGHtools/Github/tests/test_service_contacts.py24 $data.script, [ref]$null, [ref]$parseErrors)CODE
HIGH.x/tools/reviewer/policy/analysis.py185 target = _review_target('test-strength', [change['filename'] for change in test_changes + production_changes], [CODE
HIGH.x/tools/reviewer/policy/analysis.py208 targets.append(_review_target('domain-edge-cases', edge_files, ['Inspect null, empty, missing, multiple-value anCODE
HIGHscripts/curl_install_pypi/install.py48 COMPREPLY=( $(IFS="$IFS" COMP_LINE="$COMP_LINE" COMP_POINT="$COMP_POINT" CODE
HIGHscripts/live_test/sendemail.py140 if (iter === null) {CODE
HIGHscripts/live_test/sendemail.py141 return null;CODE
HIGHscripts/live_test/sendemail.py185 return match && decodeURIComponent(match[1].replace(/\+/g, ' '));CODE
HIGH…i/command_modules/ams/operations/content_key_policy.py350# Returns string if not null, or an empty string otherwise.COMMENT
HIGHsrc/azure-cli/azure/cli/command_modules/role/_help.py761 "canDelegate": null,CODE
HIGH…/command_modules/keyvault/security_domain/sp800_108.py64 a. K(i) := PRF (KI, [i]2 || Label || 0x00 || Context || [L]2)STRING
HIGH…/azure-cli/azure/cli/command_modules/security/_help.py927 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.py936 az security automation validate -g Sample-RG -n sampleAutomation -l eastus --scopes '[{\"description\": \"Scope CODE
HIGH…urity/tests/latest/test_security_securityconnectors.py38 nexttoken = base64.b64encode('{"next_link": null, "offset": 0}'.encode()).decode()CODE
HIGH…ity/tests/latest/test_security_automations_scenario.py59 # self.cmd("az security automation create_or_update -g Sample-RG -n ExportToWorkspaceTemp --scopes [{\"descriptiCOMMENT
HIGH…ity/tests/latest/test_security_automations_scenario.py62 # self.cmd("az security automation validate -g Sample-RG -n ExportToWorkspaceTemp --scopes [{\"description\":\"4COMMENT
HIGH⚡…security/tests/latest/test_security_api_collections.py18 nexttoken = base64.b64encode('{"next_link": null, "offset": 0}'.encode()).decode()CODE
HIGH⚡…ests/latest/test_security_securityconnectors_devops.py17 nexttoken = base64.b64encode('{"next_link": null, "offset": 0}'.encode()).decode()CODE
HIGH…ests/latest/test_security_securityconnectors_devops.py91 nexttoken = base64.b64encode('{"next_link": null, "offset": 0}'.encode()).decode()CODE
HIGH…ests/latest/test_security_securityconnectors_devops.py126 nexttoken = base64.b64encode('{"next_link": null, "offset": 0}'.encode()).decode()CODE
HIGH…mmand_modules/network/tests/latest/test_nw_flow_log.py122 'filtering_criteria': 'dstip=20.252.145.59 || DstPort=8080',CODE
HIGH…_modules/network/tests/latest/test_network_commands.py3080 '--log-scrubbing-state Enabled --scrubbing-rules [{{"state":"Enabled","match-variable":"RequestArgNamesCODE
HIGH…_modules/network/tests/latest/test_network_commands.py3189 '--log-scrubbing-state Enabled --scrubbing-rules [{{"state":"Enabled","match-variable":"RequestArgNamesCODE
HIGH…odules/network/tests/latest/test_network_unit_tests.py30 # 1 - Test that if ip_configurations property is null, error is thrownCOMMENT
HIGH…network/aaz/latest/network/watcher/flow_log/_create.py45 az network watcher flow-log create --location westus --resource-group MtRGContainingVNet --name MyVNetName-flowlSTRING
HIGH…network/aaz/latest/network/watcher/flow_log/_create.py48 az network watcher flow-log create --resource-group rg1 --network-watcher-name nw1 --name fl --location centraluSTRING
HIGH…network/aaz/latest/network/watcher/flow_log/_update.py42 az network watcher flow-log update --resource-group rg1 --network-watcher-name nw1 --name fl --location centraluSTRING
HIGH…work/aaz/latest/network/application_gateway/_create.py1474 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.py24 az network application-gateway waf-policy policy-setting update -g MyResourceGroup --policy-name MyPolicySettingSTRING
HIGHsrc/azure-cli/azure/cli/command_modules/acs/_format.py159 fqdn: fqdn || privateFqdnCODE
HIGHsrc/azure-cli/azure/cli/command_modules/acr/task.py241 # BUG: Discriminator type is absent or null, use base class TaskStepProperties.COMMENT
HIGHsrc/azure-cli/azure/cli/command_modules/acr/task.py400 # If given context is /dev/null, set it to None.COMMENT
HIGHsrc/azure-cli/azure/cli/command_modules/acr/_help.py740 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.py12 # @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.py192 '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.py703 '(Use `--enable-change-feed` without `--change-feed-days` to indicate null)')CODE
HIGH…onfig/tests/latest/test_appconfig_json_content_type.py145 json_content_type_07 = 'application/json+null;charset=utf-8;'CODE
HIGH…onfig/tests/latest/test_appconfig_json_content_type.py184 entry_value = '[\\"text\\",true,null]'CODE
HIGH…onfig/tests/latest/test_appconfig_json_content_type.py213 entry_value = '{\\"MyNullValue\\":null,\\"MyObject\\":{\\"Property\\":{\\"Name\\":{\\"Name1\\":\\"Value1\\",\\"NCODE
HIGHsrc/azure-cli/azure/cli/command_modules/vm/_help.py1867 text: az vm run-command invoke -g MyResourceGroup -n MyVm --command-id RunShellScript --scripts "sudo apt-get updateCODE
HIGHsrc/azure-cli/azure/cli/command_modules/vm/_help.py2679 --instance-id 0 --scripts "sudo apt-get update && sudo apt-get install -y nginx"CODE
HIGH…ure/cli/command_modules/vm/_vmss_application_health.py57apt-get update -y && apt-get upgrade -yCODE
HIGHsrc/azure-cli/azure/cli/command_modules/vm/commands.py388 table_transformer='{Name:name, ResourceGroup:CODE
HIGH…li/command_modules/vm/tests/latest/test_vm_commands.py6992 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.py7085 self.cmd('vm run-command invoke -g {rg} -n{vm} --command-id RunShellScript --script "sudo apt-get update && sudoCODE
HIGH…li/command_modules/vm/tests/latest/test_vm_commands.py7200 self.cmd('vmss run-command invoke --ids {instance_ids} --command-id RunShellScript --script "sudo apt-get updateCODE
HIGH…li/command_modules/vm/tests/latest/test_vm_commands.py7975 "commandToExecute": "sudo apt-get update && sudo apt-get install -y nginx",CODE
HIGH…li/command_modules/vm/tests/latest/test_vm_commands.py8061 self.cmd('vm run-command invoke -g {rg} -n {vm1} --command-id RunShellScript --scripts "sudo apt-get update && sCODE
HIGH…li/command_modules/vm/tests/latest/test_vm_commands.py8062 self.cmd('vm run-command invoke -g {rg} -n {vm2} --command-id RunShellScript --scripts "sudo apt-get update && sCODE
HIGH…i/azure/cli/command_modules/containerapp/_constants.py82LOGS_STRING = '[{"category":"ContainerAppConsoleLogs","categoryGroup":null,"enabled":true,"retentionPolicy":{"days":0,"eSTRING
HIGH⚡src/azure-cli/azure/cli/command_modules/dms/_help.py305 "MinBatchRows": null,CODE
HIGH⚡src/azure-cli/azure/cli/command_modules/dms/_help.py307 "PrepareDatabaseForBulkImportTaskCount": null,CODE
HIGH⚡src/azure-cli/azure/cli/command_modules/dms/_help.py309 "PrepareTableForBulkImportTaskCount": null,CODE
HIGH⚡src/azure-cli/azure/cli/command_modules/dms/_help.py315 "MaxBatchCacheSizeMb": null,CODE
HIGH⚡src/azure-cli/azure/cli/command_modules/dms/_help.py317 "ThrottleQueryTableDataRangeTaskAtAvailableMemoryMb": null,CODE
HIGH⚡src/azure-cli/azure/cli/command_modules/dms/_help.py357 "userName": "user name", // if this is missing or null, you will be promptedCODE
HIGH⚡src/azure-cli/azure/cli/command_modules/dms/_help.py358 "password": null, // if this is missing or null (highly recommended) you will be promptedCODE
HIGH⚡src/azure-cli/azure/cli/command_modules/dms/_help.py367 "userName": "user name", // if this is missing or null, you will be promptedCODE
HIGH⚡src/azure-cli/azure/cli/command_modules/dms/_help.py368 "password": null, // if this is missing or null (highly recommended) you will be promptedCODE
HIGH⚡src/azure-cli/azure/cli/command_modules/dms/_help.py378 "userName": "user name", // if this is missing or null, you will be promptedCODE
HIGH⚡src/azure-cli/azure/cli/command_modules/dms/_help.py379 "password": null, // if this is missing or null (highly recommended) you will be promptedCODE
21 more matches not shown…
Fake / Example Data175 hits · 167 pts
SeverityFileLineSnippetContext
LOW⚡scripts/ci/credscan/CredScanSuppressions.json206 "placeholder": "testPassword0",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json210 "placeholder": "@PasswordPassword1!",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json214 "placeholder": "verySecret123",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json218 "placeholder": "verySecret!!!",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json222 "placeholder": "admin123",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json226 "placeholder": "verySecret!",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json230 "placeholder": "testpassword",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json234 "placeholder": "verySecret1",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json238 "placeholder": "UserInput012345",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json242 "placeholder": "Password1!",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json246 "placeholder": "SecretPassword123",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json250 "placeholder": "AZURE_CLIENT_SECRET",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json254 "placeholder": "pass1234",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json479 "placeholder": "test_secret",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json483 "placeholder": "0abf356884d74b4aacbd7b1ebd3da0f7",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json487 "placeholder": "Docker!",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json491 "placeholder": "myPwd",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json495 "placeholder": "5+36OCtbIwfy8g5glC4bQQrFsfmMc3iD",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json510 "placeholder": "lrCy/cm87CTTLd8yfM/ojizRGUNceCr6nWajz1mWKN45lMTJcGPF4zet+H+SkXYgJ5BGD3ab4m4b7U+wAwpC2A==",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json514 "placeholder": "eAS2NXIlOIAA8ovAf8a5RxnVXil/3CyuMt9cDBGUi1w7810IHN/5MF21otvBrTPOLAUFq/2sjA3dKYY7IvTpXA==",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json518 "placeholder": "f6Nx8en4sIJQryYFVVj%2B5BdU7bho96jAgOzLO40Twkg%3D",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json522 "placeholder": "v2ARnkP152N6wq+QI45wBiP9Eh5NdOkWH53N3urvHE0=",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json526 "placeholder": "QUKBIZRD6uGApr/mOThKl6SauZcrzABCDsNLhnfM940=",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json530 "placeholder": "7DaUM+56maPqMUUWQ5wwIIJSYeqyy3RsTirVvku97wQ=",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json534 "placeholder": "txeOurx1BqKWK5Wo3Z+qJ4HTMgQUmFXvuONj708MIs4=",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json544 "placeholder": "Pass123!@#",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json554 "placeholder": "VRfRrd1AhEh/NynHfUWeN+m7jmnY4HF2bUQJWj5SqAw=",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json558 "placeholder": "9A8sOpoHOuBOhb3EgdN8LOyI1hwkerpTHC96Q2IygfU=",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json602 "placeholder": "\"sharedKey\":\"abc123\"",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json606 "placeholder": "\"primarySharedKey\":\"abc123\"",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json610 "placeholder": "abc123",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json614 "placeholder": "test12",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json688 "placeholder": "asdfghjkl",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json692 "placeholder": "secret_123",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json696 "placeholder": "client_id_456",CODE
LOW⚡scripts/ci/credscan/CredScanSuppressions.json700 "placeholder": "mypass",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json5 "placeholder": "r7rpDQLwRhJQF/WoSPp6sMKJB9GQJCsZ9/o8xkqP/xM=",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json9 "placeholder": "1w4F14PX8TKt7rMaG1bymhJlfjab4cocxoL7edC9zJI=",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json164 "placeholder": "+XLy+MVZ+aTeOnVzN2kLeB16O+kSxmz6g3rS6fAf6rw=",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json168 "placeholder": "RTNrGy6n%2Fs2uLLZFuVHBIJtdxIJP1LuKfhKjHwwbu7A%3D",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json356 "placeholder": "SqlPassword",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json360 "placeholder": "ADPassword",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json384 "placeholder": "registry_password",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json627 "placeholder": "abc@123.com",CODE
LOW…odules/keyvault/tests/latest/test_keyvault_commands.py2297 self.cmd('keyvault certificate contact add --vault-name {kv} --email admin@contoso.com --name "John Doe" --phoneCODE
LOW…odules/keyvault/tests/latest/test_keyvault_commands.py2343 self.check('emailAddress', 'test@test.com'),CODE
LOW…test/recordings/test_keyvault_certificate_issuers.yaml365 "Admin", "email": "test@test.com", "phone": "123-456-7890"}]}}'CODE
LOW…test/recordings/test_keyvault_certificate_issuers.yaml383 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.yaml425 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.yaml454 "Admin", "email": "test@test.com", "phone": "123-456-7890"}, {"email": "test2@test.com"}]}}'CODE
LOW…test/recordings/test_keyvault_certificate_issuers.yaml472 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.yaml514 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.yaml556 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.yaml91 body: '{"contacts": [{"email": "admin@contoso.com", "name": "John Doe", "phone":CODE
LOW…est/recordings/test_keyvault_certificate_contacts.yaml182 body: '{"contacts": [{"email": "admin@contoso.com", "name": "John Doe", "phone":CODE
LOW⚡…est/test_app_service_environment_commands_thru_mock.py108 fake_data = {"id": "1", "addressPrefix": "10.10.10.10/25", "delegations": [{"id": "1", "serviceName": "MicrosoftCODE
LOW⚡…est/test_app_service_environment_commands_thru_mock.py109 show.return_value = fake_dataCODE
LOW⚡…est/test_app_service_environment_commands_thru_mock.py117 fake_data = {"id": "1", "addressPrefix": "10.10.10.10/24", "delegations": [{"id": "1", "serviceName": "MicrosoftCODE
LOW⚡…est/test_app_service_environment_commands_thru_mock.py118 show.return_value = fake_dataCODE
LOW…est/test_app_service_environment_commands_thru_mock.py203 fake_data = {CODE
115 more matches not shown…
Redundant / Tautological Comments133 hits · 153 pts
SeverityFileLineSnippetContext
LOW.githooks/azdev_active.sh3# Check if in the python environmentCOMMENT
LOW.githooks/azdev_active.sh25# Check if the directory existsCOMMENT
LOW.githooks/pre-push.sh12# Check if azure-cli is installed in editable modeCOMMENT
LOW.githooks/pre-push.sh34# Check if current branch needs rebasingCOMMENT
LOW.githooks/pre-commit.sh24 # Check if the file contains secretsCOMMENT
LOW⚡…ts/latest/test_postgres_flexible_commands_migration.py29 # Set this to True or False depending on whether we are in live mode or test modeCOMMENT
LOW…ts/latest/test_postgres_flexible_commands_migration.py81 # Set this to True or False depending on whether we are in live mode or test modeCOMMENT
LOW…bus/tests/latest/test_servicebus_namespace_commands.py78 # Set disableLocalAuth to False using update commandCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/role/custom.py1246 # Check if the user tries to delete any ResourceAccess that is not required.COMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3031 # Set linuxFxVersion to SITECONTAINERSCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py915 # Read file contentCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py970 # Read file contentCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py1350 # Check if already on Flex (in-place only)COMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py3741 # Set linuxFxVersion to dockerCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py4009# Check if the app setting is propagated to the Kudu site correctly by calling api/settings endpointCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py5416 # Check if this is an asynchronous operation (202)COMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py5594 # Check if this is an asynchronous operationCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py6295 # Check if user-assigned identities existCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py8200 # Check if this is a Flex Consumption function appCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py8252 # Check if this is a Flex Consumption function appCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py8264 # Check if this is a Flex Consumption function appCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py8280 # Check if this is a Flex Consumption function appCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py8408 # Check if this is a Flex Consumption function appCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py8471 # Check if this is a Flex Consumption function appCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py8560 # Check if this is a Flex Consumption function appCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py10241 # Check if using --consumption-plan-location OR --plan with a consumption SKU (Dynamic tier)COMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py13345 # Check if workflow exists in repo, otherwise pushSTRING
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py13452 # Check if workflow exists in repo and removeSTRING
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py13632 # Check if workflow exists in repo, otherwise pushSTRING
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py13753 # Check if workflow exists in repo and removeSTRING
LOW…li/azure/cli/command_modules/appservice/_validators.py235 # Check if Linux (reserved=True)COMMENT
LOW…network/tests/latest/test_private_endpoint_commands.py2260 # Check if second endpoint is goneCOMMENT
LOW⚡src/azure-cli/azure/cli/command_modules/acs/custom.py2093 # Check if users section exists and has at least one userCOMMENT
LOW⚡src/azure-cli/azure/cli/command_modules/acs/custom.py2101 # Check if command is kubeloginCOMMENT
LOW⚡src/azure-cli/azure/cli/command_modules/acs/custom.py2106 # Check if args contains --login and devicecodeCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acs/custom.py230 # Check if Deployment Safeguards already exists before attempting createCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acs/custom.py241 # Check if resource already existsCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acs/custom.py710 # Check if KUBECONFIG environmental variable is setCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acs/custom.py2039 # Check if KUBECONFIG environmental variable is setCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acs/custom.py2061 # Check if kubeconfig requires kubelogin with devicecode and convert itCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acs/custom.py4640 # Iterate over items within pagesCOMMENT
LOW⚡…e/cli/command_modules/acs/managed_cluster_decorator.py3056 # Check if monitoring is being enabled via enable_addons parameter (for create scenarios)COMMENT
LOW⚡…e/cli/command_modules/acs/managed_cluster_decorator.py3060 # Check if Azure Monitor logs is being enabled by this command through the AMP pathCOMMENT
LOW⚡…e/cli/command_modules/acs/managed_cluster_decorator.py3063 # Check if monitoring is already enabled on the cluster, via the AMP containerInsightsCOMMENT
LOW⚡…e/cli/command_modules/acs/managed_cluster_decorator.py3068 # Check if ACNS is being enabled or already enabledCOMMENT
LOW⚡…e/cli/command_modules/acs/managed_cluster_decorator.py3075 # 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.py3121 # Check if container network logs are being enabledCOMMENT
LOW…e/cli/command_modules/acs/managed_cluster_decorator.py5666 # Check if service mesh is enabled before allowing changesCOMMENT
LOW…e/cli/command_modules/acs/managed_cluster_decorator.py10069 # Check if CNL is already enabled on the cluster — cannot disable HLSM while CNL is activeCOMMENT
LOW…e/cli/command_modules/acs/managed_cluster_decorator.py10790 # Check if the parameter was explicitly providedCOMMENT
LOW…e/cli/command_modules/acs/managed_cluster_decorator.py11426 # Check if we are trying to disable container storage v1COMMENT
LOW…e/cli/command_modules/acs/managed_cluster_decorator.py12105 # Check if auto_upgrade_channel is set to "none"COMMENT
LOW…-cli/azure/cli/command_modules/acs/_roleassignments.py329 # Check if the ACR exists by resource ID.COMMENT
LOW…-cli/azure/cli/command_modules/acs/_roleassignments.py341 # Check if the ACR exists by name accross all resource groups.COMMENT
LOW⚡…li/azure/cli/command_modules/acs/addonconfiguration.py1054 # Check if monitoring addon enabled with useAADAuth = True, if it does, ignore role assignmentCOMMENT
LOW⚡…li/azure/cli/command_modules/acs/addonconfiguration.py1055 # Check if service principal exists, if it does, assign permissions to service principalCOMMENT
LOW…li/azure/cli/command_modules/acs/addonconfiguration.py926 # Check if any scoped resource has the same linkedResourceIdCOMMENT
LOW…li/azure/cli/command_modules/acs/addonconfiguration.py945 # Check if the resource is already scoped to the AMPLSCOMMENT
LOW…li/azure/cli/command_modules/acs/addonconfiguration.py1100 # Check if service principal exists, if it does, assign permissions to service principalCOMMENT
LOW…li/azure/cli/command_modules/acs/addonconfiguration.py1206 # Check if service principal exists, if it does, assign permissions to service principalCOMMENT
73 more matches not shown…
AI Slop Vocabulary26 hits · 52 pts
SeverityFileLineSnippetContext
LOW…azure-cli/azure/cli/command_modules/monitor/actions.py79 # simply return value if a valid ISO8601 string is suppliedCOMMENT
LOW…i/azure/cli/command_modules/monitor/_legacy/actions.py79 # simply return value if a valid ISO8601 string is suppliedCOMMENT
LOW…azure-cli/azure/cli/command_modules/keyvault/custom.py906 # if we didn't modify the network rules just return the vault as isCOMMENT
LOW…azure-cli/azure/cli/command_modules/keyvault/custom.py997 # if we didn't modify the network rules just return the vault as isCOMMENT
LOW…azure-cli/azure/cli/command_modules/keyvault/custom.py1032 # if we didn't modify the network rules just return the vault as isCOMMENT
LOW…odules/keyvault/tests/latest/test_keyvault_commands.py65 # There's no generic way to get the object id of signed in user/sp, just use a fixed oneCOMMENT
LOW…security/tests/latest/test_security_va_sql_scenario.py64 # "Allow Azure Services" firewall rule below, so we cannot just setCOMMENT
MEDIUM…atest/test_appservice_plan_managedinstance_commands.py619 # Create comprehensive managed instance plan with all featuresCOMMENT
MEDIUM…atest/test_appservice_plan_managedinstance_commands.py782 # Now perform comprehensive update with all managed instance featuresCOMMENT
MEDIUM…atest/test_appservice_plan_managedinstance_commands.py790 # Verify all features were set correctly via comprehensive show commandCOMMENT
LOW…service/tests/latest/test_webapp_commands_thru_mock.py669 # Don't do an actual call, just return the incoming userCOMMENT
MEDIUM…storage/aaz/latest/storage/account/migration/_start.py19 """Account Migration request can be triggered for a storage account to change its redundancy level. The migration upSTRING
MEDIUM…ules/hdinsight/tests/latest/test_hdinsight_commands.py524 # to get robustCOMMENT
MEDIUM…ules/hdinsight/tests/latest/test_hdinsight_commands.py543 # to get robustCOMMENT
MEDIUM…e-cli/azure/cli/command_modules/batch/_command_type.py30 """Load a model class from the SDK in order to inspect forSTRING
MEDIUM…azure-cli/azure/cli/command_modules/resource/custom.py463 # In order to facilitate subsequent parsing, it is converted into a dict firstCOMMENT
LOW…ure-cli/azure/cli/command_modules/botservice/custom.py122 # If display name was not provided, just use the resource nameCOMMENT
LOW…ure-cli/azure/cli/command_modules/botservice/custom.py135 # Registration bots: simply call ARM and create the botCOMMENT
MEDIUM…/azure/cli/command_modules/cognitiveservices/custom.py1937 # A more robust approach would be to:COMMENT
LOWsrc/azure-cli-core/azure/cli/core/cloud.py132 # Can't simply use hasattr here as we override __getattribute__ below.COMMENT
LOWsrc/azure-cli-core/azure/cli/core/util.py782 # In track2 SDK, there is no parameter 'polling' in SDK, but just use '**kwargs'.COMMENT
LOWsrc/azure-cli-core/azure/cli/core/util.py1564 # 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.py10 """A dummy CLI instance can be used to facilitate automation"""STRING
MEDIUMsrc/azure-cli-core/azure/cli/core/auth/identity.py445 # TODO: Integrate with Identity and utilize MSAL HTTP and token cache to officially implementCOMMENT
MEDIUMsrc/azure-cli-core/azure/cli/core/aaz/_error_format.py43 # Required fields, but assume they could be missing still to be robustCOMMENT
MEDIUMsrc/azure-cli-core/azure/cli/core/commands/arm.py308 # show warning if names are used in conjunction with --idsCOMMENT
Verbosity Indicators33 hits · 51 pts
SeverityFileLineSnippetContext
LOWscripts/release/standalone/build_binary_tar_gz.py200 # Step 1: install every package found under SRC_DIR from source, without pullingCOMMENT
LOWscripts/release/standalone/build_binary_tar_gz.py219 # Step 2: install all pinned transitive dependencies so every packageCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3316 # Step 1: Decode and parse compose YAMLCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3344 # Step 2: Get shared ACR auth configurationCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3365 # Step 3: Parse each serviceCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3509 # Step 4: Determine main containerCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3546 # Step 5: Print all collected warningsCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3571 # Step 6: Create/update app settings for environment variablesCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3579 # Step 7: Determine auth type (shared across all containers from site config)COMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3597 # Step 8: Create sitecontainer resourcesCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3653 # Step 9: Set linuxFxVersion to SITECONTAINERSCOMMENT
LOW⚡…i/azure/cli/command_modules/appservice/_create_util.py653 # Step 1: init .zip.tmpCOMMENT
LOW⚡…i/azure/cli/command_modules/appservice/_create_util.py657 # Step 2: append webapp project references to .zip.tmp + compute new webapp .csprojCOMMENT
LOW⚡…i/azure/cli/command_modules/appservice/_create_util.py667 # Step 3: append transitive project references to .zip.tmpCOMMENT
LOW⚡…i/azure/cli/command_modules/appservice/_create_util.py672 # Step 4: copy the content from the original .zip archive to the .zip.tmp archiveCOMMENT
LOW…i/azure/cli/command_modules/appservice/_create_util.py687 # Step 5: remove original .zip and rename de .zip.tmpCOMMENT
LOW…e/cli/command_modules/acs/managed_cluster_decorator.py5831 # in enable case, we need to check if OIDC issuer has been enabledCOMMENT
LOW…ommand_modules/acs/azurecontainerstorage/acstor_ops.py69 # Step 1: Validate if storagepool could be created.COMMENT
LOW…ommand_modules/acs/azurecontainerstorage/acstor_ops.py100 # Step 3: Configure the storagepool parametersCOMMENT
LOW…ommand_modules/acs/azurecontainerstorage/acstor_ops.py204 # Step 5: Install the k8s_extension 'microsoft.azurecontainerstorage'COMMENT
LOW…ommand_modules/acs/azurecontainerstorage/acstor_ops.py391 # Step 1: Perform validation if accepted by userCOMMENT
LOW…ommand_modules/acs/azurecontainerstorage/acstor_ops.py480 # Step 2: If the extension is installed and validation succeeded or skipped,COMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acr/policy.py175 # On AzureStackHub, the 2019-05-01 API version is still in use, so we need to check if theCOMMENT
LOW⚡src/azure-cli/azure/cli/command_modules/vm/custom.py2094 # Step 1: Force deallocate the VMCOMMENT
LOW⚡src/azure-cli/azure/cli/command_modules/vm/custom.py2116 # Step 2: PUT VM (with updated zone if applicable)COMMENT
LOW⚡src/azure-cli/azure/cli/command_modules/vm/custom.py2133 # Step 3: Start VMCOMMENT
LOW⚡…c/azure-cli/azure/cli/command_modules/backup/custom.py2144 # Step 1: Stop protection in old vault (retain data)STRING
LOW⚡…c/azure-cli/azure/cli/command_modules/backup/custom.py2149 # Step 2: Enable protection in new vaultSTRING
LOW⚡src/azure-cli-core/azure/cli/core/_profile.py316 # Step 1: Remove the account from MSAL token cache and SP store (SP only)COMMENT
LOW⚡src/azure-cli-core/azure/cli/core/_profile.py322 # Step 2: Remove the account from CLI profileCOMMENT
LOW…e-cli-core/azure/cli/core/extension/dynamic_install.py193 # install the extension and rerun the command infinitely. So we need to check if the latest version of theCOMMENT
LOW⚡src/azure-cli-core/azure/cli/core/auth/identity.py222 # Step 1: Remove SP from MSAL token cacheCOMMENT
LOW⚡src/azure-cli-core/azure/cli/core/auth/identity.py227 # Step 2: Remove SP from SP storeCOMMENT
Structural Annotation Overuse31 hits · 48 pts
SeverityFileLineSnippetContext
LOW.x/definitions/reviewer.md75### Step 2 - Read live-test state ONCE (Agent PRs or explicit live-test requests)STRING
LOWscripts/release/standalone/build_binary_tar_gz.py200 # Step 1: install every package found under SRC_DIR from source, without pullingCOMMENT
LOWscripts/release/standalone/build_binary_tar_gz.py219 # Step 2: install all pinned transitive dependencies so every packageCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3316 # Step 1: Decode and parse compose YAMLCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3344 # Step 2: Get shared ACR auth configurationCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3365 # Step 3: Parse each serviceCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3509 # Step 4: Determine main containerCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3546 # Step 5: Print all collected warningsCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3571 # Step 6: Create/update app settings for environment variablesCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3579 # Step 7: Determine auth type (shared across all containers from site config)COMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3597 # Step 8: Create sitecontainer resourcesCOMMENT
LOW⚡…ure-cli/azure/cli/command_modules/appservice/custom.py3653 # Step 9: Set linuxFxVersion to SITECONTAINERSCOMMENT
LOW⚡…i/azure/cli/command_modules/appservice/_create_util.py653 # Step 1: init .zip.tmpCOMMENT
LOW⚡…i/azure/cli/command_modules/appservice/_create_util.py657 # Step 2: append webapp project references to .zip.tmp + compute new webapp .csprojCOMMENT
LOW⚡…i/azure/cli/command_modules/appservice/_create_util.py667 # Step 3: append transitive project references to .zip.tmpCOMMENT
LOW⚡…i/azure/cli/command_modules/appservice/_create_util.py672 # Step 4: copy the content from the original .zip archive to the .zip.tmp archiveCOMMENT
LOW…i/azure/cli/command_modules/appservice/_create_util.py687 # Step 5: remove original .zip and rename de .zip.tmpCOMMENT
LOW…ommand_modules/acs/azurecontainerstorage/acstor_ops.py69 # Step 1: Validate if storagepool could be created.COMMENT
LOW…ommand_modules/acs/azurecontainerstorage/acstor_ops.py100 # Step 3: Configure the storagepool parametersCOMMENT
LOW…ommand_modules/acs/azurecontainerstorage/acstor_ops.py204 # Step 5: Install the k8s_extension 'microsoft.azurecontainerstorage'COMMENT
LOW…ommand_modules/acs/azurecontainerstorage/acstor_ops.py391 # Step 1: Perform validation if accepted by userCOMMENT
LOW…ommand_modules/acs/azurecontainerstorage/acstor_ops.py480 # Step 2: If the extension is installed and validation succeeded or skipped,COMMENT
LOW⚡src/azure-cli/azure/cli/command_modules/vm/custom.py2094 # Step 1: Force deallocate the VMCOMMENT
LOW⚡src/azure-cli/azure/cli/command_modules/vm/custom.py2116 # Step 2: PUT VM (with updated zone if applicable)COMMENT
LOW⚡src/azure-cli/azure/cli/command_modules/vm/custom.py2133 # Step 3: Start VMCOMMENT
LOW⚡…c/azure-cli/azure/cli/command_modules/backup/custom.py2144 # Step 1: Stop protection in old vault (retain data)STRING
LOW⚡…c/azure-cli/azure/cli/command_modules/backup/custom.py2149 # Step 2: Enable protection in new vaultSTRING
LOW⚡src/azure-cli-core/azure/cli/core/_profile.py316 # Step 1: Remove the account from MSAL token cache and SP store (SP only)COMMENT
LOW⚡src/azure-cli-core/azure/cli/core/_profile.py322 # Step 2: Remove the account from CLI profileCOMMENT
LOW⚡src/azure-cli-core/azure/cli/core/auth/identity.py222 # Step 1: Remove SP from MSAL token cacheCOMMENT
LOW⚡src/azure-cli-core/azure/cli/core/auth/identity.py227 # Step 2: Remove SP from SP storeCOMMENT
Docstring Block Structure8 hits · 40 pts
SeverityFileLineSnippetContext
HIGH…/azure/cli/command_modules/cognitiveservices/custom.py511 Validate and extract the tag from a Docker image URI. This function ensures the image URI includes a tag, whicSTRING
HIGH…/azure/cli/command_modules/cognitiveservices/custom.py561 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.py653 Build Docker image locally using docker build command. Retries up to 3 times on transient failures (Docker daeSTRING
HIGH…/azure/cli/command_modules/cognitiveservices/custom.py843 Build Docker image using Azure Container Registry Task. Uses buildpacks (az acr pack build) if no Dockerfile exSTRING
HIGH…/azure/cli/command_modules/cognitiveservices/custom.py1100 Stream logs from an agent container. Args: cmd: CLI command context client: Service client (AISTRING
HIGH…/azure/cli/command_modules/cognitiveservices/custom.py1200 Wait for agent deployment to be ready with progress indicator. Args: cmd: CLI command context (for proSTRING
HIGH…azure/cli/command_modules/cognitiveservices/_params.py36 Parse environment variable in key=value format. Args: value: String in format 'KEY=value' ReturnsSTRING
HIGHsrc/azure-cli-core/azure/cli/core/extension/_resolve.py83Gets the download Url and digest for the matching extension Args: extension_name (str): Name of curSTRING
Modern AI Meta-Vocabulary21 hits · 38 pts
SeverityFileLineSnippetContext
MEDIUM⚡…odules/appservice/tests/latest/test_compose_convert.py564# Helpers to build mocked objects for orchestration testsCOMMENT
MEDIUM…i/azure/cli/command_modules/acs/agentpool_decorator.py991 # For multi-agent pool, use the az aks nodepool commandCOMMENT
MEDIUM…i/azure/cli/command_modules/acs/agentpool_decorator.py1081 # For multi-agent pool, use the az aks nodepool commandCOMMENT
MEDIUM…d_modules/acs/tests/latest/test_agentpool_decorator.py940 # fail on multi-agent poolCOMMENT
MEDIUM⚡src/azure-cli/azure/cli/command_modules/vm/custom.py2084 # Zone move orchestration: force deallocate → PUT with new zone → startCOMMENT
MEDIUM⚡…li/command_modules/vm/tests/latest/test_vm_commands.py4729 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.py4734 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.py5443 self.cmd('vmss create -n {vmss1} -g {rg} --image Debian:debian-10:10:latest --vm-sku Standard_B2ms --zone-placemCODE
MEDIUM⚡…li/command_modules/vm/tests/latest/test_vm_commands.py5450 self.cmd('vmss create -n {vmss2} -g {rg} --image Debian:debian-10:10:latest --vm-sku Standard_B2ms --admin-usernCODE
MEDIUM…li/command_modules/vm/tests/latest/test_vm_commands.py12193 # Verifies the CLI rejects unsupported orchestration modes and zone counts before deployment.COMMENT
MEDIUM…li/command_modules/vm/tests/latest/test_vm_commands.py3690 '--admin-password TestTest12#$ --orchestration-mode Uniform --vm-sku Standard_D2s_v3')CODE
MEDIUM…li/command_modules/vm/tests/latest/test_vm_commands.py4765 self.cmd('vmss create -n {vmss} -g {rg} --image OpenLogic:CentOS:7.7:latest --admin-username clittester --lb-skuCODE
MEDIUM…li/command_modules/vm/tests/latest/test_vm_commands.py5297 '--admin-username clitester --admin-password TestTest12#$ --orchestration-mode Uniform --lb-sku StandarCODE
MEDIUM…li/command_modules/vm/tests/latest/test_vm_commands.py5553 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.py5671 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.py6126 '--admin-username admin123 --admin-password TestTest12#$ --instance-count {count} --orchestration-mode CODE
MEDIUM…li/command_modules/vm/tests/latest/test_vm_commands.py6170 '--admin-password TestTest12#$ --instance-count {count} --orchestration-mode Uniform --lb-sku Standard'CODE
MEDIUM…li/command_modules/vm/tests/latest/test_vm_commands.py12656 "--vm-domain-name {dns_label} --public-ip-per-vm --dns-servers 10.0.0.6 10.0.0.5 --nsg {nsg} --admin-usernamCODE
MEDIUM…li/command_modules/vm/tests/latest/test_vm_commands.py12677 "--vm-domain-name {dns_label} --public-ip-per-vm --dns-servers 10.0.0.6 10.0.0.5 --nsg {nsg} --admin-usCODE
MEDIUM…azure-cli-core/azure/cli/core/auth/msal_credentials.py53 # Apply agentic session parameters for user identity flowsCOMMENT
MEDIUM…azure-cli-core/azure/cli/core/auth/msal_credentials.py57 # Both paths: client_session in data and params so eSTS can identify the agentic sessionCOMMENT
Slop Phrases11 hits · 20 pts
SeverityFileLineSnippetContext
LOWscripts/live_test/sendemail.py530 # there are a lot of useful properties, make sure to go over docs and check them outSTRING
MEDIUM…ure-cli/azure/cli/command_modules/appservice/custom.py12863 # For debugging purposes only, you can change the async deployment into a sync deployment by polling the API statusSTRING
MEDIUM…odules/appservice/tests/latest/test_webapp_commands.py31# you can use to rebuild the repositoryCOMMENT
MEDIUM…s/appservice/tests/latest/test_functionapp_commands.py27# you can use to rebuild the repositoryCOMMENT
MEDIUM…ules/appservice/tests/latest/test_logicapp_commands.py25# you can use to rebuild the repositoryCOMMENT
LOW…/command_modules/profile/tests/latest/test_auth_e2e.py45 # In the browser, if the user already exists, make sure to logout first and re-login to clear browser cacheCOMMENT
LOW…ules/eventgrid/tests/latest/test_eventgrid_commands.py1245 # Make sure to replace these with proper values for re-recording the tests.COMMENT
LOW…mmand_modules/backup/tests/latest/test_sql_commands.py33 # Please make sure you have the following setup in place before running the tests -COMMENT
LOW…mand_modules/backup/tests/latest/test_hana_commands.py28 # Please make sure you have the following setup in place before running the tests -COMMENT
MEDIUM…odules/eventhubs/tests/latest/test_cluster_commands.py37 # Same resource group can be used to rerun the test or you can change the resource-group by replacing test-migraCOMMENT
LOWsrc/azure-cli-core/azure/cli/core/tests/test_profile.py52 # If acquire_token_scopes is checked, make sure to create a new instance of MsalCredentialStubCOMMENT
Overly Generic Function Names7 hits · 7 pts
SeverityFileLineSnippetContext
LOWsrc/azure-cli-core/azure/cli/core/aaz/_base.py45 def process_data(self, data, **kwargs):CODE
LOWsrc/azure-cli-core/azure/cli/core/aaz/_field_type.py29 def process_data(self, data, **kwargs):CODE
LOWsrc/azure-cli-core/azure/cli/core/aaz/_field_type.py74 def process_data(self, data, **kwargs):CODE
LOWsrc/azure-cli-core/azure/cli/core/aaz/_field_type.py119 def process_data(self, data, **kwargs):CODE
LOWsrc/azure-cli-core/azure/cli/core/aaz/_field_type.py238 def process_data(self, data, **kwargs):CODE
LOWsrc/azure-cli-core/azure/cli/core/aaz/_field_type.py334 def process_data(self, data, **kwargs):CODE
LOWsrc/azure-cli-core/azure/cli/core/aaz/_field_type.py437 def process_data(self, data, **kwargs):CODE
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUM.x/tools/reviewer/policy/analysis.py50CODE
MEDIUM.x/tools/reviewer/policy/analysis.py82CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOW⚡…ommand_modules/acs/tests/latest/test_aks_safeguards.py16 # TODO: add tests hereCOMMENT
LOW…azure-cli/azure/cli/command_modules/resource/custom.py3783 # TODO: Add validation for that case too?COMMENT