Repository Analysis

Azure/azure-cli

Azure Command-Line Interface

8.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Azure/azure-cli, a Python project with 4,582 GitHub stars. SynthScan v2.0 examined 8,187,556 lines of code across 8591 source files, recording 42911 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 8.6 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

8.6
Adjusted Score
8.6
Raw Score
100%
Time Factor
2026-07-14
Last Push
4.6K
Stars
Python
Language
8.2M
Lines of Code
8.6K
Files
42.9K
Pattern Hits
2026-07-14
Scan Date
0.13
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 627HIGH 532MEDIUM 10786LOW 30966

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 42911 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators10414 hits · 31974 pts
SeverityFileLineSnippetContext
MEDIUMazure-pipelines.yml730# ============================================================================COMMENT
MEDIUMazure-pipelines.yml734# ============================================================================COMMENT
MEDIUMtools/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/__init__.py4# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/setup.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/setup.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
MEDIUMtools/automation/tests/main.py1# --------------------------------------------------------------------------------------------COMMENT
MEDIUMtools/automation/tests/main.py4# --------------------------------------------------------------------------------------------COMMENT
10354 more matches not shown…
Hyper-Verbose Identifiers17766 hits · 16017 pts
SeverityFileLineSnippetContext
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
LOWtools/automation/utilities/path.py46def get_command_modules_paths(include_prefix=False):CODE
LOWtools/automation/utilities/path.py56def get_command_modules_paths_with_tests(profile):CODE
LOWtools/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
LOWtools/aaz-flow/src/aaz-flow/prompt_templates.py35def get_testgen_static_instructions() -> str:STRING
LOWtools/aaz-flow/src/aaz-flow/testgen.py40def extract_generated_examples(module_path: Path) -> dict[str, str]:CODE
LOWtools/aaz-flow/src/aaz-flow/main.py87async def generate_code_direct_help(ctx: Context):CODE
LOWtools/aaz-flow/src/aaz-flow/helpers.py24def _resolve_python_candidates() -> list[str]:CODE
LOWbuild_scripts/windows/scripts/patch_models_v2.py252def find_autorest_generated_folder(module_prefix="azure.mgmt"):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
LOWscripts/compact_aaz.py81 def find_code_piece_in_parent(self, key, code):CODE
LOWscripts/compact_aaz.py175 def _create_compact_aaz_folder(self):STRING
LOWscripts/compact_aaz.py182 def compact_sub_resource_groups(self, ctx: CompactorCtx, dirs):STRING
LOWscripts/compact_aaz.py202 def compact_resource_group_commands(self, ctx: CompactorCtx, dirs):STRING
LOWscripts/trim_sdk.py57def remove_unused_api_versions(resource_type):CODE
LOWscripts/curl_install_pypi/install.py69def prompt_input_with_default(msg, default):STRING
LOWscripts/curl_install_pypi/install.py209def _default_rc_file_creation_step():STRING
LOWscripts/curl_install_pypi/install.py235def create_tab_completion_file(filename):STRING
LOWscripts/curl_install_pypi/install.py270def handle_path_and_tab_completion(completion_file_path, exec_filepath, exec_dir):STRING
LOWscripts/curl_install_pypi/install.py303def _native_dependencies_for_dist(verify_cmd_args, install_cmd_args, dep_list):STRING
LOWscripts/curl_install_pypi/install.py336def verify_native_dependencies():STRING
LOWscripts/curl_install_pypi/install.py374def verify_install_dir_exec_path_conflict(install_dir, exec_path):STRING
LOWscripts/ci/automation_full_test.py622 def run_extension_instance_modules(self, instance_modules):CODE
LOWscripts/ci/validate_external_source_urls.py92def _extract_filename_from_url(line: str) -> str:CODE
LOWscripts/release/macos/build_binary_tar_gz.py302def _generate_shell_completions(venv_dir: Path, install_dir: Path) -> None:CODE
LOWscripts/release/homebrew/docker/formula_generate.py46def generate_formula_with_template() -> str:CODE
LOWscripts/sdk_process/patch_models.py203def find_autorest_generated_folder(module_prefix="azure.mgmt"):CODE
LOWscripts/temp_help/help_convert.py69def create_invoker_and_load_cmds_and_args(cli_ctx):CODE
LOWscripts/regression_test/update_api_profile.py44def _replace_resource_type_line(line):CODE
LOWscripts/regression_test/update_api_profile.py61def _replace_sdk_profile_line(line):CODE
LOWdoc/authoring_tests.md97 def test_list_storage_account(self):CODE
LOWdoc/authoring_tests.md111 def test_list_storage_account(self):CODE
LOWdoc/authoring_tests.md130 def test_list_storage_account(self):CODE
LOWdoc/authoring_tests.md149 def test_create_storage_account(self, resource_group):CODE
LOWdoc/authoring_tests.md168 def test_create_storage_account(self, group_name, group_location):CODE
LOWdoc/authoring_tests.md190 def test_create_storage_account(self, resource_group, location):CODE
17706 more matches not shown…
Hallucination Indicators627 hits · 6515 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.py15from 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
CRITICALsrc/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…/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
CRITICAL…itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py303 disc_microsoft__azure__monitor__single_resource_multiple_metric_criteria = cls._schema_on_200.value.Element.CODE
CRITICAL…itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py308 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.py311 _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.AzuCODE
CRITICAL…itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py523 disc_microsoft__azure__monitor__multiple_resource_multiple_metric_criteria = cls._schema_on_200.value.ElemenCODE
567 more matches not shown…
Unused Imports5970 hits · 5680 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
LOWscripts/dump_help.py9CODE
LOWscripts/dump_help.py10CODE
LOWscripts/dump_command_table.py7CODE
LOWscripts/dump_command_table.py9CODE
LOWscripts/trim_sdk.py21CODE
LOWscripts/release/macos/build_binary_tar_gz.py59CODE
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
LOW…cebus/tests/latest/test_servicebus_network_commands.py8CODE
LOW…cebus/tests/latest/test_servicebus_network_commands.py9CODE
LOW…cebus/tests/latest/test_servicebus_network_commands.py10CODE
LOW…s/servicebus/tests/latest/test_servicebus_auth_rule.py8CODE
LOW…s/servicebus/tests/latest/test_servicebus_auth_rule.py9CODE
5910 more matches not shown…
Modern Structural Boilerplate2672 hits · 2540 pts
SeverityFileLineSnippetContext
LOWscripts/ci/breaking_change_test.py15logger = logging.getLogger(__name__)CODE
LOWscripts/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
LOWscripts/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
LOWscripts/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.py418__all__ = ["Wait"]CODE
LOW…/servicebus/aaz/latest/servicebus/namespace/_create.py754__all__ = ["Create"]CODE
LOW…es/servicebus/aaz/latest/servicebus/namespace/_list.py661__all__ = ["List"]CODE
LOW…es/servicebus/aaz/latest/servicebus/namespace/_show.py394__all__ = ["Show"]CODE
LOW…/servicebus/aaz/latest/servicebus/namespace/_update.py928__all__ = ["Update"]CODE
LOW…/servicebus/aaz/latest/servicebus/namespace/_delete.py167__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.py252__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.py196__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.py223__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.py230__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.py174__all__ = ["Delete"]CODE
LOW…/servicebus/aaz/latest/servicebus/topic/__cmd_group.py23__all__ = ["__CMDGroup"]CODE
LOW…ules/servicebus/aaz/latest/servicebus/topic/_create.py381__all__ = ["Create"]CODE
LOW…odules/servicebus/aaz/latest/servicebus/topic/_list.py312__all__ = ["List"]CODE
LOW…odules/servicebus/aaz/latest/servicebus/topic/_show.py295__all__ = ["Show"]CODE
LOW…ules/servicebus/aaz/latest/servicebus/topic/_update.py540__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.py235__all__ = ["List"]CODE
LOW…az/latest/servicebus/topic/authorization_rule/_show.py242__all__ = ["Show"]CODE
2612 more matches not shown…
Cross-File Repetition446 hits · 2230 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
386 more matches not shown…
AI Structural Patterns2074 hits · 1740 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.py154CODE
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.py328CODE
LOW…command_modules/postgresql/commands/custom_commands.py418CODE
LOW…command_modules/postgresql/commands/custom_commands.py691CODE
LOW…command_modules/postgresql/commands/custom_commands.py774CODE
LOW…ommand_modules/postgresql/commands/replica_commands.py32CODE
LOW…mand_modules/servicebus/operations/namespace_custom.py36CODE
LOW…mand_modules/servicebus/operations/namespace_custom.py264CODE
LOW…ervicebus/aaz/latest/servicebus/namespace/_failover.py89CODE
LOW…es/servicebus/aaz/latest/servicebus/namespace/_wait.py73CODE
LOW…/servicebus/aaz/latest/servicebus/namespace/_create.py291CODE
LOW…es/servicebus/aaz/latest/servicebus/namespace/_show.py78CODE
LOW…/servicebus/aaz/latest/servicebus/namespace/_update.py332CODE
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.py141CODE
LOW…odules/servicebus/aaz/latest/servicebus/topic/_show.py83CODE
LOW…ules/servicebus/aaz/latest/servicebus/topic/_update.py169CODE
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.py179CODE
LOW…ebus/aaz/latest/servicebus/topic/subscription/_show.py93CODE
LOW…us/aaz/latest/servicebus/topic/subscription/_update.py213CODE
LOW…z/latest/servicebus/topic/subscription/rule/_create.py204CODE
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.py97CODE
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.py166CODE
LOW…odules/servicebus/aaz/latest/servicebus/queue/_show.py83CODE
LOW…ules/servicebus/aaz/latest/servicebus/queue/_update.py181CODE
LOW…/latest/servicebus/queue/authorization_rule/_create.py107CODE
LOW…az/latest/servicebus/queue/authorization_rule/_show.py96CODE
2014 more matches not shown…
Self-Referential Comments241 hits · 735 pts
SeverityFileLineSnippetContext
MEDIUM…es/templates/macos/macos-cask-generation-and-tests.yml176 # Create a temporary tap (named distinctly to avoid conflict with real Azure/homebrew-azure-cli)COMMENT
MEDIUMscripts/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.sh17# 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
MEDIUMdoc/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.py3204 # Create the SiteContainer directly (not via create_webapp_sitecontainers)COMMENT
MEDIUM…ure-cli/azure/cli/command_modules/appservice/custom.py3067 # 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.py1585 # Create a flex consumption function appCOMMENT
MEDIUM…s/appservice/tests/latest/test_functionapp_commands.py1623 # Create a Flex Consumption function appCOMMENT
MEDIUM…s/appservice/tests/latest/test_functionapp_commands.py1667 # Create a Flex Consumption function appCOMMENT
MEDIUM…s/appservice/tests/latest/test_functionapp_commands.py1709 # Create a Flex Consumption function appCOMMENT
MEDIUM…s/appservice/tests/latest/test_functionapp_commands.py1752 # 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.py758 # Create the role assignment if it doesn't existCOMMENT
MEDIUM…_modules/network/tests/latest/test_network_commands.py308 # Create a private endpoint connectionCOMMENT
MEDIUM…_modules/network/tests/latest/test_network_commands.py7970 # Create a profile with record-type ACOMMENT
MEDIUM…_modules/network/tests/latest/test_network_commands.py8008 # Create a profile without record-typeCOMMENT
MEDIUM…_modules/network/tests/latest/test_network_commands.py8714 # 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
MEDIUM…network/tests/latest/test_private_endpoint_commands.py321 # Create a private endpoint connectionCOMMENT
181 more matches not shown…
Over-Commented Block684 hits · 668 pts
SeverityFileLineSnippetContext
LOWrequirements.txt1# basicCOMMENT
LOWtools/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOWtools/automation/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOWtools/automation/setup/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOWtools/automation/utilities/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOWtools/aaz-flow/src/aaz-flow/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
LOW.azure-pipelines/macos-standalone-release.yml1# Azure CLI - macOS Release Pipeline (Build → Sign → Test → Publish)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-publish-jobs.yml1# macOS Publish Jobs TemplateCOMMENT
LOW.azure-pipelines/templates/macos/macos-build-jobs.yml1# macOS Build Jobs TemplateCOMMENT
LOW…es/templates/macos/macos-cask-generation-and-tests.yml1# macOS Cask Generation and Test 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/macos/resources/ThirdPartyNotices.txt881# and/or other materials provided with the distribution.COMMENT
LOWscripts/release/macos/resources/ThirdPartyNotices.txt2881# restriction, including without limitation the rights to use,COMMENT
LOWscripts/release/debian/deb_install.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/release/rpm/pipeline.sh41# Extract the built RPM so that it can be distributed independently.COMMENT
LOWscripts/release/rpm/pipeline_azurelinux.sh41COMMENT
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
LOW…li/command_modules/servicebus/tests/latest/__init__.py1# --------------------------------------------------------------------------------------------COMMENT
624 more matches not shown…
Excessive Try-Catch Wrapping712 hits · 658 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
LOWtools/aaz-flow/src/aaz-flow/testgen.py200 except Exception as ex:CODE
LOWtools/aaz-flow/src/aaz-flow/main.py17 except Exception as e:CODE
LOWtools/aaz-flow/src/aaz-flow/helpers.py67 except Exception:CODE
LOWtools/aaz-flow/src/aaz-flow/helpers.py97 except Exception:CODE
LOWtools/aaz-flow/src/aaz-flow/helpers.py117 except Exception:CODE
LOWtools/aaz-flow/src/aaz-flow/helpers.py138 except Exception:CODE
LOWtools/aaz-flow/src/aaz-flow/helpers.py370 except Exception as e:CODE
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/macos/build_binary_tar_gz.py510 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.py715 except Exception as ex:CODE
LOW…command_modules/postgresql/commands/custom_commands.py411 except Exception as e:CODE
LOW…command_modules/postgresql/commands/custom_commands.py656 except Exception as ex: # pylint: disable=broad-exceptCODE
LOW…command_modules/postgresql/commands/custom_commands.py721 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.py62 except Exception as ex: # pylint: disable=broad-exceptCODE
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.py1995def _is_guid(guid):CODE
MEDIUM…azure-cli/azure/cli/command_modules/keyvault/custom.py2611def _save_to_local_file(file_path, security_domain):CODE
LOW…azure-cli/azure/cli/command_modules/keyvault/custom.py1202 except Exception: # pylint: disable=broad-exceptCODE
LOW…azure-cli/azure/cli/command_modules/keyvault/custom.py1217 except Exception: # pylint: disable=broad-exceptCODE
LOW…azure-cli/azure/cli/command_modules/keyvault/custom.py1237 except Exception: # pylint: disable=broad-exceptCODE
652 more matches not shown…
Deep Nesting786 hits · 601 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
LOWtools/aaz-flow/src/aaz-flow/testgen.py40CODE
LOWtools/aaz-flow/src/aaz-flow/testgen.py78CODE
LOWtools/aaz-flow/src/aaz-flow/helpers.py101CODE
LOWtools/aaz-flow/src/aaz-flow/helpers.py166CODE
LOWbuild_scripts/windows/scripts/patch_models_v2.py137CODE
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/macos/build_binary_tar_gz.py431CODE
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.py815CODE
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
726 more matches not shown…
Cross-Language Confusion78 hits · 450 pts
SeverityFileLineSnippetContext
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.py2888 '--log-scrubbing-state Enabled --scrubbing-rules [{{"state":"Enabled","match-variable":"RequestArgNamesCODE
HIGH…_modules/network/tests/latest/test_network_commands.py2997 '--log-scrubbing-state Enabled --scrubbing-rules [{{"state":"Enabled","match-variable":"RequestArgNamesCODE
HIGH…odules/network/tests/latest/test_network_unit_tests.py17 # 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.py1404 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.py737 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.py195 '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.py706 '(Use `--enable-change-feed` without `--change-feed-days` to indicate null)')CODE
HIGH…onfig/tests/latest/test_appconfig_json_content_type.py150 json_content_type_07 = 'application/json+null;charset=utf-8;'CODE
HIGH…onfig/tests/latest/test_appconfig_json_content_type.py189 entry_value = '[\\"text\\",true,null]'CODE
HIGH…onfig/tests/latest/test_appconfig_json_content_type.py218 entry_value = '{\\"MyNullValue\\":null,\\"MyObject\\":{\\"Property\\":{\\"Name\\":{\\"Name1\\":\\"Value1\\",\\"NCODE
HIGHsrc/azure-cli/azure/cli/command_modules/vm/_help.py1858 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.py2657 --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.py367 table_transformer='{Name:name, ResourceGroup:CODE
HIGH…li/command_modules/vm/tests/latest/test_vm_commands.py6726 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.py6819 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.py6934 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.py7709 "commandToExecute": "sudo apt-get update && sudo apt-get install -y nginx",CODE
HIGH…li/command_modules/vm/tests/latest/test_vm_commands.py7795 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.py7796 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
HIGHsrc/azure-cli/azure/cli/command_modules/dms/_help.py305 "MinBatchRows": null,CODE
HIGHsrc/azure-cli/azure/cli/command_modules/dms/_help.py307 "PrepareDatabaseForBulkImportTaskCount": null,CODE
HIGHsrc/azure-cli/azure/cli/command_modules/dms/_help.py309 "PrepareTableForBulkImportTaskCount": null,CODE
HIGHsrc/azure-cli/azure/cli/command_modules/dms/_help.py315 "MaxBatchCacheSizeMb": null,CODE
HIGHsrc/azure-cli/azure/cli/command_modules/dms/_help.py317 "ThrottleQueryTableDataRangeTaskAtAvailableMemoryMb": null,CODE
HIGHsrc/azure-cli/azure/cli/command_modules/dms/_help.py357 "userName": "user name", // if this is missing or null, you will be promptedCODE
HIGHsrc/azure-cli/azure/cli/command_modules/dms/_help.py358 "password": null, // if this is missing or null (highly recommended) you will be promptedCODE
HIGHsrc/azure-cli/azure/cli/command_modules/dms/_help.py367 "userName": "user name", // if this is missing or null, you will be promptedCODE
HIGHsrc/azure-cli/azure/cli/command_modules/dms/_help.py368 "password": null, // if this is missing or null (highly recommended) you will be promptedCODE
HIGHsrc/azure-cli/azure/cli/command_modules/dms/_help.py378 "userName": "user name", // if this is missing or null, you will be promptedCODE
HIGHsrc/azure-cli/azure/cli/command_modules/dms/_help.py379 "password": null, // if this is missing or null (highly recommended) you will be promptedCODE
HIGH…/azure-cli/azure/cli/command_modules/resource/_help.py110 short-summary: Sets the display name of the management group. If null, the group name is set as the display name.CODE
HIGH…/azure-cli/azure/cli/command_modules/resource/_help.py113 short-summary: Sets the parent of the management group. Can be the fully qualified id or the name of the management CODE
HIGH…/azure-cli/azure/cli/command_modules/resource/_help.py265 short-summary: Updates the display name of the management group. If null, no change is made.CODE
18 more matches not shown…
Fake / Example Data174 hits · 166 pts
SeverityFileLineSnippetContext
LOWscripts/ci/credscan/CredScanSuppressions.json206 "placeholder": "testPassword0",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json210 "placeholder": "@PasswordPassword1!",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json214 "placeholder": "verySecret123",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json218 "placeholder": "verySecret!!!",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json222 "placeholder": "admin123",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json226 "placeholder": "verySecret!",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json230 "placeholder": "testpassword",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json234 "placeholder": "verySecret1",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json238 "placeholder": "UserInput012345",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json242 "placeholder": "Password1!",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json246 "placeholder": "SecretPassword123",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json250 "placeholder": "AZURE_CLIENT_SECRET",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json254 "placeholder": "pass1234",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json479 "placeholder": "test_secret",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json483 "placeholder": "0abf356884d74b4aacbd7b1ebd3da0f7",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json487 "placeholder": "Docker!",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json491 "placeholder": "myPwd",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json495 "placeholder": "5+36OCtbIwfy8g5glC4bQQrFsfmMc3iD",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json510 "placeholder": "lrCy/cm87CTTLd8yfM/ojizRGUNceCr6nWajz1mWKN45lMTJcGPF4zet+H+SkXYgJ5BGD3ab4m4b7U+wAwpC2A==",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json514 "placeholder": "eAS2NXIlOIAA8ovAf8a5RxnVXil/3CyuMt9cDBGUi1w7810IHN/5MF21otvBrTPOLAUFq/2sjA3dKYY7IvTpXA==",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json518 "placeholder": "f6Nx8en4sIJQryYFVVj%2B5BdU7bho96jAgOzLO40Twkg%3D",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json522 "placeholder": "v2ARnkP152N6wq+QI45wBiP9Eh5NdOkWH53N3urvHE0=",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json526 "placeholder": "QUKBIZRD6uGApr/mOThKl6SauZcrzABCDsNLhnfM940=",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json530 "placeholder": "7DaUM+56maPqMUUWQ5wwIIJSYeqyy3RsTirVvku97wQ=",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json534 "placeholder": "txeOurx1BqKWK5Wo3Z+qJ4HTMgQUmFXvuONj708MIs4=",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json544 "placeholder": "Pass123!@#",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json554 "placeholder": "VRfRrd1AhEh/NynHfUWeN+m7jmnY4HF2bUQJWj5SqAw=",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json558 "placeholder": "9A8sOpoHOuBOhb3EgdN8LOyI1hwkerpTHC96Q2IygfU=",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json602 "placeholder": "\"sharedKey\":\"abc123\"",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json606 "placeholder": "\"primarySharedKey\":\"abc123\"",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json610 "placeholder": "abc123",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json614 "placeholder": "test12",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json688 "placeholder": "asdfghjkl",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json692 "placeholder": "secret_123",CODE
LOWscripts/ci/credscan/CredScanSuppressions.json696 "placeholder": "client_id_456",CODE
LOWscripts/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
114 more matches not shown…
Redundant / Tautological Comments131 hits · 164 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.py2632 # Set linuxFxVersion to SITECONTAINERSCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py861 # Read file contentCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py916 # Read file contentCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py3342 # Set linuxFxVersion to dockerCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py3610# 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.py5002 # Check if this is an asynchronous operation (202)COMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py5175 # Check if this is an asynchronous operationCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py5873 # Check if user-assigned identities existCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py6853 # Check if this is a Flex Consumption function appCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py6905 # Check if this is a Flex Consumption function appCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py6917 # Check if this is a Flex Consumption function appCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py6933 # Check if this is a Flex Consumption function appCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py7052 # Check if this is a Flex Consumption function appCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py7115 # Check if this is a Flex Consumption function appCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py7204 # Check if this is a Flex Consumption function appCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py8869 # Check if using --consumption-plan-location OR --plan with a consumption SKU (Dynamic tier)COMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py12024 # Check if workflow exists in repo, otherwise pushSTRING
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py12131 # Check if workflow exists in repo and removeSTRING
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py12311 # Check if workflow exists in repo, otherwise pushSTRING
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py12432 # Check if workflow exists in repo and removeSTRING
LOW…li/azure/cli/command_modules/appservice/_validators.py234 # Check if Linux (reserved=True)COMMENT
LOW…network/tests/latest/test_private_endpoint_commands.py2260 # Check if second endpoint is goneCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acs/custom.py1969 # Check if users section exists and has at least one userCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acs/custom.py1977 # Check if command is kubeloginCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acs/custom.py1982 # Check if args contains --login and devicecodeCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acs/custom.py227 # Check if Deployment Safeguards already exists before attempting createCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acs/custom.py238 # Check if resource already existsCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acs/custom.py707 # Check if KUBECONFIG environmental variable is setCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acs/custom.py1915 # Check if KUBECONFIG environmental variable is setCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acs/custom.py1937 # Check if kubeconfig requires kubelogin with devicecode and convert itCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/acs/custom.py3970 # Iterate over items within pagesCOMMENT
LOW…e/cli/command_modules/acs/managed_cluster_decorator.py2767 # Check if monitoring is being enabled via enable_addons parameter (for create scenarios)COMMENT
LOW…e/cli/command_modules/acs/managed_cluster_decorator.py2771 # Check if monitoring is already enabled on the clusterCOMMENT
LOW…e/cli/command_modules/acs/managed_cluster_decorator.py2780 # Check if ACNS is being enabled or already enabledCOMMENT
LOW…e/cli/command_modules/acs/managed_cluster_decorator.py2787 # 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.py2819 # Check if container network logs are being enabledCOMMENT
LOW…e/cli/command_modules/acs/managed_cluster_decorator.py5210 # Check if service mesh is enabled before allowing changesCOMMENT
LOW…e/cli/command_modules/acs/managed_cluster_decorator.py9141 # 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.py9865 # Check if the parameter was explicitly providedCOMMENT
LOW…e/cli/command_modules/acs/managed_cluster_decorator.py10015 # Check if we are trying to disable container storage v1COMMENT
LOW…e/cli/command_modules/acs/managed_cluster_decorator.py10659 # 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.py887 # Check if monitoring addon enabled with useAADAuth = True, if it does, ignore role assignmentCOMMENT
LOW…li/azure/cli/command_modules/acs/addonconfiguration.py888 # Check if service principal exists, if it does, assign permissions to service principalCOMMENT
LOW…li/azure/cli/command_modules/acs/addonconfiguration.py774 # Check if any scoped resource has the same linkedResourceIdCOMMENT
LOW…li/azure/cli/command_modules/acs/addonconfiguration.py793 # Check if the resource is already scoped to the AMPLSCOMMENT
LOW…li/azure/cli/command_modules/acs/addonconfiguration.py951 # Check if service principal exists, if it does, assign permissions to service principalCOMMENT
LOW…li/azure/cli/command_modules/acs/addonconfiguration.py1057 # Check if service principal exists, if it does, assign permissions to service principalCOMMENT
LOW…modules/acs/azuremonitormetrics/azuremonitorprofile.py147 # Check if already onboardedCOMMENT
LOW…li/command_modules/acs/azuremonitormetrics/amg/link.py32 # Check if 'identity' and 'type' exist in the responseCOMMENT
71 more matches not shown…
AI Slop Vocabulary26 hits · 53 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.py905 # if we didn't modify the network rules just return the vault as isCOMMENT
LOW…azure-cli/azure/cli/command_modules/keyvault/custom.py996 # if we didn't modify the network rules just return the vault as isCOMMENT
LOW…azure-cli/azure/cli/command_modules/keyvault/custom.py1031 # 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.py91 # 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.py462 # 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.py1935 # 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.py1454 # if powershell.exe or pwsh.exe is not the grandparent, simply return the parent's name.COMMENT
MEDIUMsrc/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.py443 # 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.py309 # show warning if names are used in conjunction with --idsCOMMENT
Verbosity Indicators33 hits · 52 pts
SeverityFileLineSnippetContext
LOWscripts/release/macos/build_binary_tar_gz.py192 # Step 1: install every package found under SRC_DIR from source, without pullingCOMMENT
LOWscripts/release/macos/build_binary_tar_gz.py211 # Step 2: install all pinned transitive dependencies so every packageCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py2917 # Step 1: Decode and parse compose YAMLCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py2945 # Step 2: Get shared ACR auth configurationCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py2966 # Step 3: Parse each serviceCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py3110 # Step 4: Determine main containerCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py3147 # Step 5: Print all collected warningsCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py3172 # Step 6: Create/update app settings for environment variablesCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py3180 # Step 7: Determine auth type (shared across all containers from site config)COMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py3198 # Step 8: Create sitecontainer resourcesCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py3254 # 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.py5375 # 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
LOWsrc/azure-cli/azure/cli/command_modules/vm/custom.py2071 # Step 1: Force deallocate the VMCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/vm/custom.py2093 # Step 2: PUT VM (with updated zone if applicable)COMMENT
LOWsrc/azure-cli/azure/cli/command_modules/vm/custom.py2110 # Step 3: Start VMCOMMENT
LOW…c/azure-cli/azure/cli/command_modules/backup/custom.py1999 # Step 1: Stop protection in old vault (retain data)STRING
LOW…c/azure-cli/azure/cli/command_modules/backup/custom.py2004 # Step 2: Enable protection in new vaultSTRING
LOWsrc/azure-cli-core/azure/cli/core/_profile.py316 # Step 1: Remove the account from MSAL token cache and SP store (SP only)COMMENT
LOWsrc/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
LOWsrc/azure-cli-core/azure/cli/core/auth/identity.py220 # Step 1: Remove SP from MSAL token cacheCOMMENT
LOWsrc/azure-cli-core/azure/cli/core/auth/identity.py225 # Step 2: Remove SP from SP storeCOMMENT
Structural Annotation Overuse30 hits · 48 pts
SeverityFileLineSnippetContext
LOWscripts/release/macos/build_binary_tar_gz.py192 # Step 1: install every package found under SRC_DIR from source, without pullingCOMMENT
LOWscripts/release/macos/build_binary_tar_gz.py211 # Step 2: install all pinned transitive dependencies so every packageCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py2917 # Step 1: Decode and parse compose YAMLCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py2945 # Step 2: Get shared ACR auth configurationCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py2966 # Step 3: Parse each serviceCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py3110 # Step 4: Determine main containerCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py3147 # Step 5: Print all collected warningsCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py3172 # Step 6: Create/update app settings for environment variablesCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py3180 # Step 7: Determine auth type (shared across all containers from site config)COMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py3198 # Step 8: Create sitecontainer resourcesCOMMENT
LOW…ure-cli/azure/cli/command_modules/appservice/custom.py3254 # 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
LOWsrc/azure-cli/azure/cli/command_modules/vm/custom.py2071 # Step 1: Force deallocate the VMCOMMENT
LOWsrc/azure-cli/azure/cli/command_modules/vm/custom.py2093 # Step 2: PUT VM (with updated zone if applicable)COMMENT
LOWsrc/azure-cli/azure/cli/command_modules/vm/custom.py2110 # Step 3: Start VMCOMMENT
LOW…c/azure-cli/azure/cli/command_modules/backup/custom.py1999 # Step 1: Stop protection in old vault (retain data)STRING
LOW…c/azure-cli/azure/cli/command_modules/backup/custom.py2004 # Step 2: Enable protection in new vaultSTRING
LOWsrc/azure-cli-core/azure/cli/core/_profile.py316 # Step 1: Remove the account from MSAL token cache and SP store (SP only)COMMENT
LOWsrc/azure-cli-core/azure/cli/core/_profile.py322 # Step 2: Remove the account from CLI profileCOMMENT
LOWsrc/azure-cli-core/azure/cli/core/auth/identity.py220 # Step 1: Remove SP from MSAL token cacheCOMMENT
LOWsrc/azure-cli-core/azure/cli/core/auth/identity.py225 # Step 2: Remove SP from SP storeCOMMENT
Docstring Block Structure8 hits · 40 pts
SeverityFileLineSnippetContext
HIGH…/azure/cli/command_modules/cognitiveservices/custom.py509 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.py559 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.py651 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.py841 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.py1098 Stream logs from an agent container. Args: cmd: CLI command context client: Service client (AISTRING
HIGH…/azure/cli/command_modules/cognitiveservices/custom.py1198 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-Vocabulary19 hits · 34 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.py955 # 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
MEDIUMsrc/azure-cli/azure/cli/command_modules/vm/custom.py2061 # Zone move orchestration: force deallocate → PUT with new zone → startCOMMENT
MEDIUM…li/command_modules/vm/tests/latest/test_vm_commands.py4609 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.py4614 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.py5178 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.py5185 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.py3570 '--admin-password TestTest12#$ --orchestration-mode Uniform --vm-sku Standard_D2s_v3')CODE
MEDIUM…li/command_modules/vm/tests/latest/test_vm_commands.py4645 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.py5088 '--admin-username clitester --admin-password TestTest12#$ --orchestration-mode Uniform --lb-sku StandarCODE
MEDIUM…li/command_modules/vm/tests/latest/test_vm_commands.py5288 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.py5406 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.py5861 '--admin-username admin123 --admin-password TestTest12#$ --instance-count {count} --orchestration-mode CODE
MEDIUM…li/command_modules/vm/tests/latest/test_vm_commands.py5905 '--admin-password TestTest12#$ --instance-count {count} --orchestration-mode Uniform --lb-sku Standard'CODE
MEDIUM…li/command_modules/vm/tests/latest/test_vm_commands.py12097 "--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.py12118 "--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.py11551 # 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.py25# 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.py31 # 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
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.py3732 # TODO: Add validation for that case too?COMMENT