Azure Command-Line Interface
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | azure-pipelines.yml | 730 | # ============================================================================ | COMMENT |
| MEDIUM | azure-pipelines.yml | 734 | # ============================================================================ | COMMENT |
| MEDIUM | tools/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/__init__.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/setup.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/setup.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/__init__.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/__main__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/__main__.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/util.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/util.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/__init__.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rule_decorators.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rule_decorators.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/linter.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/linter.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/tests/test_linter.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/tests/test_linter.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rules/help_rules.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rules/help_rules.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rules/parameter_rules.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rules/parameter_rules.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rules/command_rules.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/cli_linter/rules/command_rules.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ols/automation/cli_linter/rules/command_group_rules.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ols/automation/cli_linter/rules/command_group_rules.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_load_all.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_load_all.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/doc_source_map.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/doc_source_map.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_commands.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_commands.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/default_modules.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/default_modules.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_module_load_times.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_module_load_times.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/__init__.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/__init__.py | 20 | license_header = """# -------------------------------------------------------------------------------------------- | CODE |
| MEDIUM | tools/automation/verify/__init__.py | 23 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_packages.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/verify/verify_packages.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/setup/install_modules.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/setup/install_modules.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/setup/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/setup/__init__.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/check_vcr_recordings.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/check_vcr_recordings.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/nose_helper.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/nose_helper.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/verify_package_versions.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/verify_package_versions.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/__init__.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/verify_readme_history.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/verify_readme_history.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/main.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/automation/tests/main.py | 4 | # -------------------------------------------------------------------------------------------- | COMMENT |
| 10354 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/automation/cli_linter/linter.py | 53 | def get_command_group_metadata(self, command_group_name): | CODE |
| LOW | tools/automation/cli_linter/linter.py | 65 | def get_help_entry_parameter_names(self, entry_name): | CODE |
| LOW | tools/automation/cli_linter/linter.py | 69 | def is_valid_parameter_help_name(self, entry_name, param_name): | CODE |
| LOW | tools/automation/cli_linter/linter.py | 128 | def _get_loaded_help_description(self, entry): | CODE |
| LOW | tools/automation/cli_linter/tests/test_linter.py | 17 | def create_invoker_and_load_cmds_and_args(cli): | CODE |
| LOW | tools/automation/cli_linter/tests/test_linter.py | 30 | def get_command_modules_paths(**_): | CODE |
| LOW | tools/automation/cli_linter/tests/test_linter.py | 56 | def test_module_extension_inclusion(self): | CODE |
| LOW | tools/automation/cli_linter/tests/test_linter.py | 98 | def fail_for_every_command_rule(linter, command_name): | CODE |
| LOW | tools/automation/cli_linter/rules/help_rules.py | 23 | def unrecognized_help_entry_rule(linter, help_entry): | CODE |
| LOW | tools/automation/cli_linter/rules/help_rules.py | 37 | def unrecognized_help_parameter_rule(linter, help_entry): | CODE |
| LOW | tools/automation/cli_linter/rules/help_rules.py | 61 | def faulty_help_example_parameters_rule(linter, help_entry): | CODE |
| LOW | tools/automation/cli_linter/rules/help_rules.py | 131 | def _extract_commands_from_example(example_text): | CODE |
| LOW | tools/automation/verify/verify_load_all.py | 36 | def extension_failed_load_handler(_, **kwargs): | CODE |
| LOW | tools/automation/verify/doc_source_map.py | 28 | def _map_help_files_not_found(help_files_in_map): | CODE |
| LOW | tools/automation/verify/verify_packages.py | 30 | def test_azure_cli_module_manifest_and_azure_bdist(self): | CODE |
| LOW | tools/automation/verify/verify_packages.py | 44 | def test_azure_cli_installation(self): | CODE |
| LOW | tools/automation/verify/verify_packages.py | 48 | def test_azure_cli_module_installation(self): | CODE |
| LOW | tools/automation/tests/verify_package_versions.py | 32 | def changes_require_version_bump(mod_name, mod_version, mod_path, base_repo=None, base_tag=None): | CODE |
| LOW | tools/automation/tests/__init__.py | 65 | def _extract_top_level_modified_modules(): | CODE |
| LOW⚡ | tools/automation/utilities/path.py | 46 | def get_command_modules_paths(include_prefix=False): | CODE |
| LOW⚡ | tools/automation/utilities/path.py | 56 | def get_command_modules_paths_with_tests(profile): | CODE |
| LOW⚡ | tools/automation/utilities/path.py | 60 | def get_core_modules_paths_with_tests(profile): | CODE |
| LOW | tools/automation/utilities/path.py | 75 | def get_module_paths_with_tests(modules, profile): | CODE |
| LOW | tools/automation/utilities/path.py | 119 | def filter_blacklisted_modules(*black_list_modules): | CODE |
| LOW | tools/automation/utilities/path.py | 129 | def filter_user_selected_modules(user_input_modules): | CODE |
| LOW | tools/automation/utilities/path.py | 148 | def filter_user_selected_modules_with_tests(user_input_modules=None, profile=None): | CODE |
| LOW | tools/aaz-flow/src/aaz-flow/prompt_templates.py | 35 | def get_testgen_static_instructions() -> str: | STRING |
| LOW | tools/aaz-flow/src/aaz-flow/testgen.py | 40 | def extract_generated_examples(module_path: Path) -> dict[str, str]: | CODE |
| LOW | tools/aaz-flow/src/aaz-flow/main.py | 87 | async def generate_code_direct_help(ctx: Context): | CODE |
| LOW | tools/aaz-flow/src/aaz-flow/helpers.py | 24 | def _resolve_python_candidates() -> list[str]: | CODE |
| LOW | build_scripts/windows/scripts/patch_models_v2.py | 252 | def find_autorest_generated_folder(module_prefix="azure.mgmt"): | CODE |
| LOW | scripts/generate_latest_indices.py | 50 | def _isolated_cli_environment(): | CODE |
| LOW | scripts/generate_latest_indices.py | 79 | def _order_keys_like_template(generated, template): | CODE |
| LOW | scripts/generate_latest_indices.py | 99 | def _extract_builtin_module_name(command): | CODE |
| LOW | scripts/compact_aaz.py | 81 | def find_code_piece_in_parent(self, key, code): | CODE |
| LOW | scripts/compact_aaz.py | 175 | def _create_compact_aaz_folder(self): | STRING |
| LOW | scripts/compact_aaz.py | 182 | def compact_sub_resource_groups(self, ctx: CompactorCtx, dirs): | STRING |
| LOW | scripts/compact_aaz.py | 202 | def compact_resource_group_commands(self, ctx: CompactorCtx, dirs): | STRING |
| LOW | scripts/trim_sdk.py | 57 | def remove_unused_api_versions(resource_type): | CODE |
| LOW | scripts/curl_install_pypi/install.py | 69 | def prompt_input_with_default(msg, default): | STRING |
| LOW | scripts/curl_install_pypi/install.py | 209 | def _default_rc_file_creation_step(): | STRING |
| LOW | scripts/curl_install_pypi/install.py | 235 | def create_tab_completion_file(filename): | STRING |
| LOW | scripts/curl_install_pypi/install.py | 270 | def handle_path_and_tab_completion(completion_file_path, exec_filepath, exec_dir): | STRING |
| LOW | scripts/curl_install_pypi/install.py | 303 | def _native_dependencies_for_dist(verify_cmd_args, install_cmd_args, dep_list): | STRING |
| LOW | scripts/curl_install_pypi/install.py | 336 | def verify_native_dependencies(): | STRING |
| LOW | scripts/curl_install_pypi/install.py | 374 | def verify_install_dir_exec_path_conflict(install_dir, exec_path): | STRING |
| LOW | scripts/ci/automation_full_test.py | 622 | def run_extension_instance_modules(self, instance_modules): | CODE |
| LOW | scripts/ci/validate_external_source_urls.py | 92 | def _extract_filename_from_url(line: str) -> str: | CODE |
| LOW | scripts/release/macos/build_binary_tar_gz.py | 302 | def _generate_shell_completions(venv_dir: Path, install_dir: Path) -> None: | CODE |
| LOW | scripts/release/homebrew/docker/formula_generate.py | 46 | def generate_formula_with_template() -> str: | CODE |
| LOW | scripts/sdk_process/patch_models.py | 203 | def find_autorest_generated_folder(module_prefix="azure.mgmt"): | CODE |
| LOW | scripts/temp_help/help_convert.py | 69 | def create_invoker_and_load_cmds_and_args(cli_ctx): | CODE |
| LOW | scripts/regression_test/update_api_profile.py | 44 | def _replace_resource_type_line(line): | CODE |
| LOW | scripts/regression_test/update_api_profile.py | 61 | def _replace_sdk_profile_line(line): | CODE |
| LOW | doc/authoring_tests.md | 97 | def test_list_storage_account(self): | CODE |
| LOW | doc/authoring_tests.md | 111 | def test_list_storage_account(self): | CODE |
| LOW | doc/authoring_tests.md | 130 | def test_list_storage_account(self): | CODE |
| LOW | doc/authoring_tests.md | 149 | def test_create_storage_account(self, resource_group): | CODE |
| LOW | doc/authoring_tests.md | 168 | def test_create_storage_account(self, group_name, group_location): | CODE |
| LOW | doc/authoring_tests.md | 190 | def test_create_storage_account(self, resource_group, location): | CODE |
| 17706 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …mand_modules/postgresql/utils/_flexible_server_util.py | 21 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL | …ure/cli/command_modules/postgresql/utils/validators.py | 20 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL | …command_modules/postgresql/commands/custom_commands.py | 15 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL⚡ | …mand_modules/postgresql/commands/parameter_commands.py | 8 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …ommand_modules/postgresql/commands/replica_commands.py | 10 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL⚡ | …ules/postgresql/commands/threat_protection_commands.py | 7 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …li/azure/cli/command_modules/ams/_exception_handler.py | 8 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …azure/cli/command_modules/ams/operations/encryption.py | 8 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL | …ure-cli/azure/cli/command_modules/ams/operations/sp.py | 16 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL | …azure/cli/command_modules/ams/operations/live_event.py | 168 | instance.preview.access_control.ip.allow.append(create_ip_range(instance.name, ip)) | CODE |
| CRITICAL | …azure/cli/command_modules/ams/operations/live_event.py | 176 | instance.input.access_control.ip.allow.append(create_ip_range(instance.name, ip)) | CODE |
| CRITICAL⚡ | …li/azure/cli/command_modules/ams/operations/account.py | 7 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …/azure-cli/azure/cli/command_modules/advisor/custom.py | 150 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | src/azure-cli/azure/cli/command_modules/role/custom.py | 27 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL | …ure/cli/command_modules/role/tests/latest/test_role.py | 83 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …zure/cli/command_modules/monitor/_exception_handler.py | 8 | from azure.core.exceptions import HttpResponseError, ODataV4Format | CODE |
| CRITICAL | …les/monitor/tests/latest/test_activity_log_scenario.py | 17 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …nitor/tests/latest/test_monitor_diagnostic_settings.py | 8 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …r/tests/latest/test_monitor_log_analytics_workspace.py | 8 | from azure.core.exceptions import HttpResponseError, ResourceExistsError | CODE |
| CRITICAL | …r/tests/latest/test_monitor_log_analytics_workspace.py | 478 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL | …r/tests/latest/test_monitor_log_analytics_workspace.py | 774 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …or/tests/latest/test_monitor_metric_alert_scenarios.py | 103 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL | …mmand_modules/monitor/operations/monitor_clone_util.py | 119 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …mand_modules/monitor/operations/activity_log_alerts.py | 9 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 233 | disc_microsoft__azure__monitor__multiple_resource_multiple_metric_criteria = cls._schema_on_200.value.Elemen | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 238 | all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azure | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 241 | _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azu | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 285 | failing_periods = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Micros | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 295 | disc_static_threshold_criterion = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odat | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 303 | disc_microsoft__azure__monitor__single_resource_multiple_metric_criteria = cls._schema_on_200.value.Element. | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 308 | all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azure | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 311 | _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azu | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 523 | disc_microsoft__azure__monitor__multiple_resource_multiple_metric_criteria = cls._schema_on_200.value.Elemen | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 528 | all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azure | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 531 | _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azu | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 575 | failing_periods = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Micros | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 585 | disc_static_threshold_criterion = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odat | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 593 | disc_microsoft__azure__monitor__single_resource_multiple_metric_criteria = cls._schema_on_200.value.Element. | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 598 | all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azure | CODE |
| CRITICAL⚡ | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 601 | _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azu | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 265 | dimensions = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.A | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 269 | disc_dynamic_threshold_criterion = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("oda | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 341 | dimensions = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.A | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 345 | disc_microsoft__azure__monitor__webtest_location_availability_criteria = cls._schema_on_200.value.Element.pr | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 555 | dimensions = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.A | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 559 | disc_dynamic_threshold_criterion = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("oda | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 631 | dimensions = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.A | CODE |
| CRITICAL | …ules/monitor/aaz/latest/monitor/metrics/alert/_list.py | 635 | disc_microsoft__azure__monitor__webtest_location_availability_criteria = cls._schema_on_200.value.Element.pr | CODE |
| CRITICAL⚡ | …/command_modules/monitor/_legacy/_exception_handler.py | 8 | from azure.core.exceptions import HttpResponseError, ODataV4Format | CODE |
| CRITICAL | …dules/monitor/_legacy/operations/monitor_clone_util.py | 109 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …ules/monitor/_legacy/operations/activity_log_alerts.py | 15 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py | 233 | disc_microsoft__azure__monitor__multiple_resource_multiple_metric_criteria = cls._schema_on_200.value.Elemen | CODE |
| CRITICAL⚡ | …itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py | 238 | all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azure | CODE |
| CRITICAL⚡ | …itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py | 241 | _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azu | CODE |
| CRITICAL⚡ | …itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py | 285 | failing_periods = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Micros | CODE |
| CRITICAL⚡ | …itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py | 295 | disc_static_threshold_criterion = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odat | CODE |
| CRITICAL⚡ | …itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py | 303 | disc_microsoft__azure__monitor__single_resource_multiple_metric_criteria = cls._schema_on_200.value.Element. | CODE |
| CRITICAL⚡ | …itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py | 308 | all_of = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azure | CODE |
| CRITICAL⚡ | …itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py | 311 | _element = cls._schema_on_200.value.Element.properties.criteria.discriminate_by("odata.type", "Microsoft.Azu | CODE |
| CRITICAL⚡ | …itor/_legacy/aaz/latest/monitor/metrics/alert/_list.py | 523 | disc_microsoft__azure__monitor__multiple_resource_multiple_metric_criteria = cls._schema_on_200.value.Elemen | CODE |
| 567 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/automation/verify/verify_module_load_times.py | 6 | CODE | |
| LOW | tools/automation/verify/verify_packages.py | 11 | CODE | |
| LOW | tools/automation/setup/install_modules.py | 7 | CODE | |
| LOW | tools/automation/tests/main.py | 9 | CODE | |
| LOW | tools/automation/tests/main.py | 10 | CODE | |
| LOW | tools/automation/tests/main.py | 10 | CODE | |
| LOW | bin/extract-loc.py | 9 | CODE | |
| LOW | scripts/dump_help.py | 9 | CODE | |
| LOW | scripts/dump_help.py | 10 | CODE | |
| LOW | scripts/dump_command_table.py | 7 | CODE | |
| LOW | scripts/dump_command_table.py | 9 | CODE | |
| LOW | scripts/trim_sdk.py | 21 | CODE | |
| LOW | scripts/release/macos/build_binary_tar_gz.py | 59 | CODE | |
| LOW | scripts/release/homebrew/docker/formula_generate.py | 7 | CODE | |
| LOW | scripts/release/homebrew/docker/formula_generate.py | 9 | CODE | |
| LOW | scripts/release/homebrew/docker/formula_generate.py | 9 | CODE | |
| LOW | scripts/live_test/generate_index.py | 12 | CODE | |
| LOW | scripts/live_test/generate_index.py | 13 | CODE | |
| LOW | scripts/live_test/generate_index.py | 14 | CODE | |
| LOW | doc/sphinx/cligroup/cligroup.py | 6 | CODE | |
| LOW | doc/sphinx/cligroup/cligroup.py | 11 | CODE | |
| LOW | doc/sphinx/cligroup/cligroup.py | 13 | CODE | |
| LOW | …c/azure-cli/azure/cli/command_modules/maps/__init__.py | 8 | CODE | |
| LOW | …e-cli/azure/cli/command_modules/postgresql/__init__.py | 13 | CODE | |
| LOW | …st/test_postgres_flexible_commands_fabric_mirroring.py | 11 | CODE | |
| LOW | …st/test_postgres_flexible_commands_fabric_mirroring.py | 11 | CODE | |
| LOW | …l/tests/latest/test_postgres_flexible_commands_vnet.py | 6 | CODE | |
| LOW | …d_modules/postgresql/aaz/latest/network/__cmd_group.py | 11 | CODE | |
| LOW | …mand_modules/postgresql/aaz/latest/network/__init__.py | 11 | CODE | |
| LOW | …ules/postgresql/aaz/latest/network/vnet/__cmd_group.py | 11 | CODE | |
| LOW | …modules/postgresql/aaz/latest/network/vnet/__init__.py | 11 | CODE | |
| LOW | …modules/postgresql/aaz/latest/network/vnet/__init__.py | 12 | CODE | |
| LOW | …modules/postgresql/aaz/latest/network/vnet/__init__.py | 13 | CODE | |
| LOW | …modules/postgresql/aaz/latest/network/vnet/__init__.py | 14 | CODE | |
| LOW | …_modules/postgresql/aaz/latest/network/vnet/_create.py | 11 | CODE | |
| LOW | …nd_modules/postgresql/aaz/latest/network/vnet/_show.py | 11 | CODE | |
| LOW | …_modules/postgresql/aaz/latest/network/vnet/_update.py | 11 | CODE | |
| LOW | …stgresql/aaz/latest/network/vnet/subnet/__cmd_group.py | 11 | CODE | |
| LOW | …/postgresql/aaz/latest/network/vnet/subnet/__init__.py | 11 | CODE | |
| LOW | …/postgresql/aaz/latest/network/vnet/subnet/__init__.py | 12 | CODE | |
| LOW | …/postgresql/aaz/latest/network/vnet/subnet/__init__.py | 13 | CODE | |
| LOW | …/postgresql/aaz/latest/network/vnet/subnet/__init__.py | 14 | CODE | |
| LOW | …s/postgresql/aaz/latest/network/vnet/subnet/_create.py | 11 | CODE | |
| LOW | …les/postgresql/aaz/latest/network/vnet/subnet/_show.py | 11 | CODE | |
| LOW | …s/postgresql/aaz/latest/network/vnet/subnet/_update.py | 11 | CODE | |
| LOW | …e-cli/azure/cli/command_modules/servicebus/__init__.py | 9 | CODE | |
| LOW | …re-cli/azure/cli/command_modules/servicebus/_params.py | 17 | CODE | |
| LOW | …re-cli/azure/cli/command_modules/servicebus/_params.py | 17 | CODE | |
| LOW | …re-cli/azure/cli/command_modules/servicebus/_params.py | 17 | CODE | |
| LOW | …re-cli/azure/cli/command_modules/servicebus/_params.py | 17 | CODE | |
| LOW | …bus/tests/latest/test_servicebus_namespace_commands.py | 9 | CODE | |
| LOW | …bus/tests/latest/test_servicebus_namespace_commands.py | 10 | CODE | |
| LOW | …us/tests/latest/test_servicebus_encryption_commands.py | 8 | CODE | |
| LOW | …us/tests/latest/test_servicebus_encryption_commands.py | 9 | CODE | |
| LOW | …us/tests/latest/test_servicebus_encryption_commands.py | 10 | CODE | |
| LOW | …cebus/tests/latest/test_servicebus_network_commands.py | 8 | CODE | |
| LOW | …cebus/tests/latest/test_servicebus_network_commands.py | 9 | CODE | |
| LOW | …cebus/tests/latest/test_servicebus_network_commands.py | 10 | CODE | |
| LOW | …s/servicebus/tests/latest/test_servicebus_auth_rule.py | 8 | CODE | |
| LOW | …s/servicebus/tests/latest/test_servicebus_auth_rule.py | 9 | CODE | |
| 5910 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | scripts/ci/breaking_change_test.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | scripts/ci/notify_ci_errors.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/ci/automation_full_test.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/ci/check_pull_request.py | 68 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | scripts/ci/codegen_report.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/live_test/generate_index.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/live_test/sendemail.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | scripts/regression_test/update_api_profile.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | …d_modules/postgresql/aaz/latest/network/__cmd_group.py | 20 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …ules/postgresql/aaz/latest/network/vnet/__cmd_group.py | 22 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …_modules/postgresql/aaz/latest/network/vnet/_create.py | 3289 | __all__ = ["Create"] | CODE |
| LOW | …nd_modules/postgresql/aaz/latest/network/vnet/_show.py | 2450 | __all__ = ["Show"] | CODE |
| LOW | …_modules/postgresql/aaz/latest/network/vnet/_update.py | 2837 | __all__ = ["Update"] | CODE |
| LOW | …stgresql/aaz/latest/network/vnet/subnet/__cmd_group.py | 22 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …s/postgresql/aaz/latest/network/vnet/subnet/_create.py | 2633 | __all__ = ["Create"] | CODE |
| LOW | …les/postgresql/aaz/latest/network/vnet/subnet/_show.py | 2263 | __all__ = ["Show"] | CODE |
| LOW | …s/postgresql/aaz/latest/network/vnet/subnet/_update.py | 2817 | __all__ = ["Update"] | CODE |
| LOW | …odules/servicebus/aaz/latest/servicebus/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …vicebus/aaz/latest/servicebus/namespace/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …ervicebus/aaz/latest/servicebus/namespace/_failover.py | 224 | __all__ = ["Failover"] | CODE |
| LOW | …es/servicebus/aaz/latest/servicebus/namespace/_wait.py | 418 | __all__ = ["Wait"] | CODE |
| LOW | …/servicebus/aaz/latest/servicebus/namespace/_create.py | 754 | __all__ = ["Create"] | CODE |
| LOW | …es/servicebus/aaz/latest/servicebus/namespace/_list.py | 661 | __all__ = ["List"] | CODE |
| LOW | …es/servicebus/aaz/latest/servicebus/namespace/_show.py | 394 | __all__ = ["Show"] | CODE |
| LOW | …/servicebus/aaz/latest/servicebus/namespace/_update.py | 928 | __all__ = ["Update"] | CODE |
| LOW | …/servicebus/aaz/latest/servicebus/namespace/_delete.py | 167 | __all__ = ["Delete"] | CODE |
| LOW | …/servicebus/aaz/latest/servicebus/namespace/_exists.py | 173 | __all__ = ["Exists"] | CODE |
| LOW | …t/servicebus/namespace/network_rule_set/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …atest/servicebus/namespace/network_rule_set/_create.py | 347 | __all__ = ["Create"] | CODE |
| LOW | …/latest/servicebus/namespace/network_rule_set/_list.py | 252 | __all__ = ["List"] | CODE |
| LOW | …/latest/servicebus/namespace/network_rule_set/_show.py | 244 | __all__ = ["Show"] | CODE |
| LOW | …atest/servicebus/namespace/network_rule_set/_update.py | 500 | __all__ = ["Update"] | CODE |
| LOW | …vicebus/namespace/private_link_resource/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …st/servicebus/namespace/private_link_resource/_show.py | 196 | __all__ = ["Show"] | CODE |
| LOW | …servicebus/namespace/authorization_rule/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …est/servicebus/namespace/authorization_rule/_create.py | 263 | __all__ = ["Create"] | CODE |
| LOW | …atest/servicebus/namespace/authorization_rule/_list.py | 223 | __all__ = ["List"] | CODE |
| LOW | …atest/servicebus/namespace/authorization_rule/_show.py | 229 | __all__ = ["Show"] | CODE |
| LOW | …est/servicebus/namespace/authorization_rule/_update.py | 412 | __all__ = ["Update"] | CODE |
| LOW | …est/servicebus/namespace/authorization_rule/_delete.py | 156 | __all__ = ["Delete"] | CODE |
| LOW | …cebus/namespace/authorization_rule/keys/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …servicebus/namespace/authorization_rule/keys/_renew.py | 244 | __all__ = ["Renew"] | CODE |
| LOW | …/servicebus/namespace/authorization_rule/keys/_list.py | 208 | __all__ = ["List"] | CODE |
| LOW | …s/namespace/private_endpoint_connection/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …vicebus/namespace/private_endpoint_connection/_wait.py | 231 | __all__ = ["Wait"] | CODE |
| LOW | …cebus/namespace/private_endpoint_connection/_create.py | 327 | __all__ = ["Create"] | CODE |
| LOW | …vicebus/namespace/private_endpoint_connection/_list.py | 230 | __all__ = ["List"] | CODE |
| LOW | …vicebus/namespace/private_endpoint_connection/_show.py | 232 | __all__ = ["Show"] | CODE |
| LOW | …cebus/namespace/private_endpoint_connection/_update.py | 455 | __all__ = ["Update"] | CODE |
| LOW | …cebus/namespace/private_endpoint_connection/_delete.py | 174 | __all__ = ["Delete"] | CODE |
| LOW | …/servicebus/aaz/latest/servicebus/topic/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …ules/servicebus/aaz/latest/servicebus/topic/_create.py | 381 | __all__ = ["Create"] | CODE |
| LOW | …odules/servicebus/aaz/latest/servicebus/topic/_list.py | 312 | __all__ = ["List"] | CODE |
| LOW | …odules/servicebus/aaz/latest/servicebus/topic/_show.py | 295 | __all__ = ["Show"] | CODE |
| LOW | …ules/servicebus/aaz/latest/servicebus/topic/_update.py | 540 | __all__ = ["Update"] | CODE |
| LOW | …ules/servicebus/aaz/latest/servicebus/topic/_delete.py | 152 | __all__ = ["Delete"] | CODE |
| LOW | …est/servicebus/topic/authorization_rule/__cmd_group.py | 23 | __all__ = ["__CMDGroup"] | CODE |
| LOW | …/latest/servicebus/topic/authorization_rule/_create.py | 275 | __all__ = ["Create"] | CODE |
| LOW | …az/latest/servicebus/topic/authorization_rule/_list.py | 235 | __all__ = ["List"] | CODE |
| LOW | …az/latest/servicebus/topic/authorization_rule/_show.py | 242 | __all__ = ["Show"] | CODE |
| 2612 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …zure-cli/azure/cli/command_modules/postgresql/_help.py | 0 | type: group short-summary: manage firewall rules for a server. | STRING |
| HIGH | src/azure-cli/azure/cli/command_modules/mysql/_help.py | 0 | type: group short-summary: manage firewall rules for a server. | STRING |
| HIGH | src/azure-cli/azure/cli/command_modules/rdbms/_help.py | 0 | type: group short-summary: manage firewall rules for a server. | STRING |
| HIGH | …ure/cli/command_modules/postgresql/utils/validators.py | 0 | fetch resource group from server name :param str server_name: name of the server :return: resource group name or none :r | STRING |
| HIGH | …ure-cli/azure/cli/command_modules/mysql/_validators.py | 0 | fetch resource group from server name :param str server_name: name of the server :return: resource group name or none :r | STRING |
| HIGH | …zure-cli/azure/cli/command_modules/rdbms/validators.py | 0 | fetch resource group from server name :param str server_name: name of the server :return: resource group name or none :r | STRING |
| HIGH | …ure/cli/command_modules/postgresql/utils/validators.py | 0 | # regex not working for re.(regex, '255.255.255.255'). hence commenting it out for now regex = r'^(25[0-5]|2[0-4][0-9]|[ | STRING |
| HIGH | …ure-cli/azure/cli/command_modules/mysql/_validators.py | 0 | # regex not working for re.(regex, '255.255.255.255'). hence commenting it out for now regex = r'^(25[0-5]|2[0-4][0-9]|[ | STRING |
| HIGH | …zure-cli/azure/cli/command_modules/rdbms/validators.py | 0 | # regex not working for re.(regex, '255.255.255.255'). hence commenting it out for now regex = r'^(25[0-5]|2[0-4][0-9]|[ | STRING |
| HIGH | …ules/postgresql/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …/profile_2020_09_01_hybrid/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …ules/appservice/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …/profile_2019_03_01_hybrid/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …and_modules/aro/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …modules/network/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …dules/container/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …mand_modules/vm/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …s/servicefabric/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …dules/hdinsight/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …d_modules/mysql/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …es/containerapp/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …d_modules/rdbms/aaz/latest/network/vnet/__cmd_group.py | 0 | check if a private ip address is available for use within a virtual network. to learn more about virtual networks visit | STRING |
| HIGH | …_modules/postgresql/aaz/latest/network/vnet/_create.py | 0 | create a virtual network. you may also create a subnet at the same time by specifying a subnet name and (optionally) an | STRING |
| HIGH | …d_modules/container/aaz/latest/network/vnet/_create.py | 0 | create a virtual network. you may also create a subnet at the same time by specifying a subnet name and (optionally) an | STRING |
| HIGH | …mmand_modules/mysql/aaz/latest/network/vnet/_create.py | 0 | create a virtual network. you may also create a subnet at the same time by specifying a subnet name and (optionally) an | STRING |
| HIGH | …mmand_modules/rdbms/aaz/latest/network/vnet/_create.py | 0 | create a virtual network. you may also create a subnet at the same time by specifying a subnet name and (optionally) an | STRING |
| HIGH | …nd_modules/postgresql/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …nd_modules/appservice/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …i/command_modules/aro/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …mmand_modules/network/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …and_modules/container/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …command_modules/mysql/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …_modules/containerapp/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …command_modules/rdbms/aaz/latest/network/vnet/_show.py | 0 | get the details of a virtual network. :example: get details for myvnet. az network vnet show -g myresourcegroup -n myvne | STRING |
| HIGH | …_modules/postgresql/aaz/latest/network/vnet/_update.py | 0 | update a virtual network. :example: update a virtual network with the ip address of a dns server. az network vnet update | STRING |
| HIGH | …mmand_modules/mysql/aaz/latest/network/vnet/_update.py | 0 | update a virtual network. :example: update a virtual network with the ip address of a dns server. az network vnet update | STRING |
| HIGH | …mmand_modules/rdbms/aaz/latest/network/vnet/_update.py | 0 | update a virtual network. :example: update a virtual network with the ip address of a dns server. az network vnet update | STRING |
| HIGH | …stgresql/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …e_2020_09_01_hybrid/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …pservice/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …e_2019_03_01_hybrid/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …ules/aro/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …/network/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …ontainer/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …dules/vm/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …cefabric/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …dinsight/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …es/mysql/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …es/rdbms/aaz/latest/network/vnet/subnet/__cmd_group.py | 0 | manage subnets in an azure virtual network. to learn more about subnets visit https://learn.microsoft.com/azure/virtual- | STRING |
| HIGH | …s/postgresql/aaz/latest/network/vnet/subnet/_create.py | 0 | create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cus | STRING |
| HIGH | …ules/network/aaz/latest/network/vnet/subnet/_create.py | 0 | create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cus | STRING |
| HIGH | …es/container/aaz/latest/network/vnet/subnet/_create.py | 0 | create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cus | STRING |
| HIGH | …d_modules/vm/aaz/latest/network/vnet/subnet/_create.py | 0 | create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cus | STRING |
| HIGH | …ervicefabric/aaz/latest/network/vnet/subnet/_create.py | 0 | create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cus | STRING |
| HIGH | …odules/mysql/aaz/latest/network/vnet/subnet/_create.py | 0 | create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cus | STRING |
| HIGH | …odules/rdbms/aaz/latest/network/vnet/subnet/_create.py | 0 | create a subnet and associate an existing nsg and route table. :example: create new subnet attached to an nsg with a cus | STRING |
| HIGH | …les/postgresql/aaz/latest/network/vnet/subnet/_show.py | 0 | show details of a subnet. :example: show the details of a subnet associated with a virtual network. az network vnet subn | STRING |
| HIGH | …profile_2020_09_01_hybrid/network/vnet/subnet/_show.py | 0 | show details of a subnet. :example: show the details of a subnet associated with a virtual network. az network vnet subn | STRING |
| HIGH | …les/appservice/aaz/latest/network/vnet/subnet/_show.py | 0 | show details of a subnet. :example: show the details of a subnet associated with a virtual network. az network vnet subn | STRING |
| HIGH | …profile_2019_03_01_hybrid/network/vnet/subnet/_show.py | 0 | show details of a subnet. :example: show the details of a subnet associated with a virtual network. az network vnet subn | STRING |
| 386 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/automation/tests/nose_helper.py | 24 | CODE | |
| LOW | src/azure-cli/azure/cli/command_modules/maps/custom.py | 13 | CODE | |
| LOW | …li/azure/cli/command_modules/postgresql/_db_context.py | 15 | CODE | |
| LOW | …ure/cli/command_modules/postgresql/utils/validators.py | 154 | CODE | |
| LOW | …_modules/postgresql/aaz/latest/network/vnet/_create.py | 603 | CODE | |
| LOW | …nd_modules/postgresql/aaz/latest/network/vnet/_show.py | 74 | CODE | |
| LOW | …_modules/postgresql/aaz/latest/network/vnet/_update.py | 236 | CODE | |
| LOW | …s/postgresql/aaz/latest/network/vnet/subnet/_create.py | 300 | CODE | |
| LOW | …les/postgresql/aaz/latest/network/vnet/subnet/_show.py | 80 | CODE | |
| LOW | …s/postgresql/aaz/latest/network/vnet/subnet/_update.py | 376 | CODE | |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 67 | CODE | |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 328 | CODE | |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 418 | CODE | |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 691 | CODE | |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 774 | CODE | |
| LOW | …ommand_modules/postgresql/commands/replica_commands.py | 32 | CODE | |
| LOW | …mand_modules/servicebus/operations/namespace_custom.py | 36 | CODE | |
| LOW | …mand_modules/servicebus/operations/namespace_custom.py | 264 | CODE | |
| LOW | …ervicebus/aaz/latest/servicebus/namespace/_failover.py | 89 | CODE | |
| LOW | …es/servicebus/aaz/latest/servicebus/namespace/_wait.py | 73 | CODE | |
| LOW | …/servicebus/aaz/latest/servicebus/namespace/_create.py | 291 | CODE | |
| LOW | …es/servicebus/aaz/latest/servicebus/namespace/_show.py | 78 | CODE | |
| LOW | …/servicebus/aaz/latest/servicebus/namespace/_update.py | 332 | CODE | |
| LOW | …/servicebus/aaz/latest/servicebus/namespace/_exists.py | 69 | CODE | |
| LOW | …atest/servicebus/namespace/network_rule_set/_create.py | 133 | CODE | |
| LOW | …/latest/servicebus/namespace/network_rule_set/_show.py | 74 | CODE | |
| LOW | …atest/servicebus/namespace/network_rule_set/_update.py | 159 | CODE | |
| LOW | …est/servicebus/namespace/authorization_rule/_create.py | 99 | CODE | |
| LOW | …atest/servicebus/namespace/authorization_rule/_show.py | 87 | CODE | |
| LOW | …est/servicebus/namespace/authorization_rule/_update.py | 117 | CODE | |
| LOW | …servicebus/namespace/authorization_rule/keys/_renew.py | 106 | CODE | |
| LOW | …/servicebus/namespace/authorization_rule/keys/_list.py | 85 | CODE | |
| LOW | …vicebus/namespace/private_endpoint_connection/_wait.py | 79 | CODE | |
| LOW | …cebus/namespace/private_endpoint_connection/_create.py | 105 | CODE | |
| LOW | …vicebus/namespace/private_endpoint_connection/_show.py | 80 | CODE | |
| LOW | …cebus/namespace/private_endpoint_connection/_update.py | 125 | CODE | |
| LOW | …ules/servicebus/aaz/latest/servicebus/topic/_create.py | 141 | CODE | |
| LOW | …odules/servicebus/aaz/latest/servicebus/topic/_show.py | 83 | CODE | |
| LOW | …ules/servicebus/aaz/latest/servicebus/topic/_update.py | 169 | CODE | |
| LOW | …/latest/servicebus/topic/authorization_rule/_create.py | 107 | CODE | |
| LOW | …az/latest/servicebus/topic/authorization_rule/_show.py | 96 | CODE | |
| LOW | …/latest/servicebus/topic/authorization_rule/_update.py | 126 | CODE | |
| LOW | …est/servicebus/topic/authorization_rule/keys/_renew.py | 112 | CODE | |
| LOW | …test/servicebus/topic/authorization_rule/keys/_list.py | 93 | CODE | |
| LOW | …us/aaz/latest/servicebus/topic/subscription/_create.py | 179 | CODE | |
| LOW | …ebus/aaz/latest/servicebus/topic/subscription/_show.py | 93 | CODE | |
| LOW | …us/aaz/latest/servicebus/topic/subscription/_update.py | 213 | CODE | |
| LOW | …z/latest/servicebus/topic/subscription/rule/_create.py | 204 | CODE | |
| LOW | …aaz/latest/servicebus/topic/subscription/rule/_show.py | 103 | CODE | |
| LOW | …z/latest/servicebus/topic/subscription/rule/_update.py | 242 | CODE | |
| LOW | …bus/aaz/latest/servicebus/georecovery_alias/_create.py | 97 | CODE | |
| LOW | …cebus/aaz/latest/servicebus/georecovery_alias/_show.py | 84 | CODE | |
| LOW | …bus/aaz/latest/servicebus/georecovery_alias/_exists.py | 84 | CODE | |
| LOW | …rvicebus/georecovery_alias/authorization_rule/_show.py | 94 | CODE | |
| LOW | …bus/georecovery_alias/authorization_rule/keys/_list.py | 91 | CODE | |
| LOW | …ules/servicebus/aaz/latest/servicebus/queue/_create.py | 166 | CODE | |
| LOW | …odules/servicebus/aaz/latest/servicebus/queue/_show.py | 83 | CODE | |
| LOW | …ules/servicebus/aaz/latest/servicebus/queue/_update.py | 181 | CODE | |
| LOW | …/latest/servicebus/queue/authorization_rule/_create.py | 107 | CODE | |
| LOW | …az/latest/servicebus/queue/authorization_rule/_show.py | 96 | CODE | |
| 2014 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …es/templates/macos/macos-cask-generation-and-tests.yml | 176 | # Create a temporary tap (named distinctly to avoid conflict with real Azure/homebrew-azure-cli) | COMMENT |
| MEDIUM⚡ | scripts/release/debian/prepare.sh | 9 | # Create the debian/ directory for building the azure-cli Debian package | COMMENT |
| MEDIUM | scripts/release/rpm/pipeline.sh | 21 | # Create a container image that includes the source code and a built RPM using this file. | COMMENT |
| MEDIUM | scripts/release/rpm/pipeline_azurelinux.sh | 17 | # Create a container image that includes the source code and a built RPM using this file. | COMMENT |
| MEDIUM | .github/workflows/CCOA.yml | 24 | # Define the block date (Jan 7, 2025) | COMMENT |
| MEDIUM⚡ | doc/sphinx/conf.py | 11 | # This file is execfile()d with the current directory set to its | COMMENT |
| MEDIUM⚡ | …ests/latest/test_postgres_flexible_commands_replica.py | 43 | # Create a server | COMMENT |
| MEDIUM⚡ | …ests/latest/test_postgres_flexible_commands_replica.py | 210 | # Create a virtual network and subnet for server one | COMMENT |
| MEDIUM⚡ | …ests/latest/test_postgres_flexible_commands_replica.py | 218 | # Create a subnet for server two | COMMENT |
| MEDIUM⚡ | …ests/latest/test_postgres_flexible_commands_replica.py | 226 | # Create a private DNS zone for server one | COMMENT |
| MEDIUM⚡ | …ests/latest/test_postgres_flexible_commands_replica.py | 229 | # Create a private DNS zone for server two | COMMENT |
| MEDIUM | …ests/latest/test_postgres_flexible_commands_replica.py | 330 | # Create a server | COMMENT |
| MEDIUM | …t/test_postgres_flexible_commands_private_endpoints.py | 62 | # Create a private endpoint connection | COMMENT |
| MEDIUM | …t/test_postgres_flexible_commands_private_endpoints.py | 104 | # Create a private endpoint connection | COMMENT |
| MEDIUM | …t/test_postgres_flexible_commands_private_endpoints.py | 154 | # Create a private endpoint connection | COMMENT |
| MEDIUM⚡ | …st/test_postgres_flexible_commands_fabric_mirroring.py | 25 | # Create a database | COMMENT |
| MEDIUM | …l/tests/latest/test_postgres_flexible_commands_vnet.py | 49 | # Create a virtual network and subnet for server. | COMMENT |
| MEDIUM | …l/tests/latest/test_postgres_flexible_commands_vnet.py | 57 | # Create a private DNS zone for server. | COMMENT |
| MEDIUM | …l/tests/latest/test_postgres_flexible_commands_vnet.py | 104 | # Create a virtual network and subnet for server. | COMMENT |
| MEDIUM | …l/tests/latest/test_postgres_flexible_commands_vnet.py | 112 | # Create a private DNS zone for server. | COMMENT |
| MEDIUM | …l/tests/latest/test_postgres_flexible_commands_vnet.py | 158 | # Create a virtual network and subnet for server in its own resource group. | COMMENT |
| MEDIUM | …l/tests/latest/test_postgres_flexible_commands_vnet.py | 166 | # Create a private DNS zone for server. | COMMENT |
| MEDIUM | …atest/test_servicebus_commands_privateendpoint_test.py | 49 | # Create a private endpoint connection | COMMENT |
| MEDIUM | src/azure-cli/azure/cli/command_modules/role/custom.py | 1705 | # Create a PEM file ~/tmpxxxxxxxx.pem with both PRIVATE KEY & CERTIFICATE so users can use to log in. | COMMENT |
| MEDIUM | src/azure-cli/azure/cli/command_modules/role/custom.py | 1721 | # Create a key pair | COMMENT |
| MEDIUM | src/azure-cli/azure/cli/command_modules/role/custom.py | 1725 | # Create a self-signed cert | COMMENT |
| MEDIUM⚡ | …r/grammar/metric_alert/MetricAlertConditionListener.py | 14 | # This class defines a complete listener for a parse tree produced by MetricAlertConditionParser. | COMMENT |
| MEDIUM | …/grammar/metric_alert/MetricAlertConditionValidator.py | 39 | # This class defines a complete listener for a parse tree produced by MetricAlertConditionParser. | COMMENT |
| MEDIUM⚡ | …onitor/grammar/autoscale/AutoscaleConditionListener.py | 13 | # This class defines a complete listener for a parse tree produced by AutoscaleConditionParser. | COMMENT |
| MEDIUM | …nitor/grammar/autoscale/AutoscaleConditionValidator.py | 19 | # This class defines a complete listener for a parse tree produced by MetricAlertConditionParser. | COMMENT |
| MEDIUM | …onitor/tests/latest/test_monitor_private_link_scope.py | 87 | # Create a private endpoint connection | COMMENT |
| MEDIUM⚡ | …y/grammar/metric_alert/MetricAlertConditionListener.py | 14 | # This class defines a complete listener for a parse tree produced by MetricAlertConditionParser. | COMMENT |
| MEDIUM | …/grammar/metric_alert/MetricAlertConditionValidator.py | 39 | # This class defines a complete listener for a parse tree produced by MetricAlertConditionParser. | COMMENT |
| MEDIUM⚡ | …legacy/grammar/autoscale/AutoscaleConditionListener.py | 13 | # This class defines a complete listener for a parse tree produced by AutoscaleConditionParser. | COMMENT |
| MEDIUM | …egacy/grammar/autoscale/AutoscaleConditionValidator.py | 19 | # This class defines a complete listener for a parse tree produced by MetricAlertConditionParser. | COMMENT |
| MEDIUM | …ure/cli/command_modules/util/tests/latest/test_rest.py | 70 | # Create a storage account | COMMENT |
| MEDIUM⚡ | …ure/cli/command_modules/util/tests/latest/test_rest.py | 84 | # Create an account SAS token https://learn.microsoft.com/en-us/rest/api/storageservices/create-account-sas | COMMENT |
| MEDIUM⚡ | …ure/cli/command_modules/util/tests/latest/test_rest.py | 89 | # Create a container with the SAS token | COMMENT |
| MEDIUM⚡ | …ure/cli/command_modules/util/tests/latest/test_rest.py | 99 | # Create a blob | COMMENT |
| MEDIUM | …odules/keyvault/tests/latest/test_keyvault_commands.py | 504 | # Create a private endpoint connection | COMMENT |
| MEDIUM | …odules/keyvault/tests/latest/test_keyvault_commands.py | 580 | # Create a private endpoint connection | COMMENT |
| MEDIUM⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3204 | # Create the SiteContainer directly (not via create_webapp_sitecontainers) | COMMENT |
| MEDIUM | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3067 | # Create an app setting with a namespaced key to avoid collisions | COMMENT |
| MEDIUM | …odules/appservice/tests/latest/test_webapp_commands.py | 428 | # Create a webapp backup | COMMENT |
| MEDIUM | …odules/appservice/tests/latest/test_webapp_commands.py | 458 | # Create a webapp slot backup | COMMENT |
| MEDIUM | …odules/appservice/tests/latest/test_webapp_commands.py | 496 | # Create a webapp backup | COMMENT |
| MEDIUM | …s/appservice/tests/latest/test_functionapp_commands.py | 1585 | # Create a flex consumption function app | COMMENT |
| MEDIUM | …s/appservice/tests/latest/test_functionapp_commands.py | 1623 | # Create a Flex Consumption function app | COMMENT |
| MEDIUM | …s/appservice/tests/latest/test_functionapp_commands.py | 1667 | # Create a Flex Consumption function app | COMMENT |
| MEDIUM | …s/appservice/tests/latest/test_functionapp_commands.py | 1709 | # Create a Flex Consumption function app | COMMENT |
| MEDIUM | …s/appservice/tests/latest/test_functionapp_commands.py | 1752 | # Create a Flex Consumption function app | COMMENT |
| MEDIUM | …/signalr/tests/latest/test_signalr_private_endpoint.py | 46 | # Create a private endpoint connection | COMMENT |
| MEDIUM | src/azure-cli/azure/cli/command_modules/aro/custom.py | 758 | # Create the role assignment if it doesn't exist | COMMENT |
| MEDIUM | …_modules/network/tests/latest/test_network_commands.py | 308 | # Create a private endpoint connection | COMMENT |
| MEDIUM | …_modules/network/tests/latest/test_network_commands.py | 7970 | # Create a profile with record-type A | COMMENT |
| MEDIUM | …_modules/network/tests/latest/test_network_commands.py | 8008 | # Create a profile without record-type | COMMENT |
| MEDIUM | …_modules/network/tests/latest/test_network_commands.py | 8714 | # Create the NVA | COMMENT |
| MEDIUM | …network/tests/latest/test_private_endpoint_commands.py | 98 | # Create a private endpoint connection | COMMENT |
| MEDIUM | …network/tests/latest/test_private_endpoint_commands.py | 205 | # Create a private endpoint connection | COMMENT |
| MEDIUM | …network/tests/latest/test_private_endpoint_commands.py | 321 | # Create a private endpoint connection | COMMENT |
| 181 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | requirements.txt | 1 | # basic | COMMENT |
| LOW | tools/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | tools/automation/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | tools/automation/setup/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | tools/automation/utilities/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | tools/aaz-flow/src/aaz-flow/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | .azure-pipelines/macos-standalone-release.yml | 1 | # Azure CLI - macOS Release Pipeline (Build → Sign → Test → Publish) | COMMENT |
| LOW | …pipelines/templates/macos/macos-sign-notarize-jobs.yml | 1 | # macOS Sign and Notarize Jobs Template (Matrix Strategy) | COMMENT |
| LOW | .azure-pipelines/templates/macos/macos-publish-jobs.yml | 1 | # macOS Publish Jobs Template | COMMENT |
| LOW | .azure-pipelines/templates/macos/macos-build-jobs.yml | 1 | # macOS Build Jobs Template | COMMENT |
| LOW | …es/templates/macos/macos-cask-generation-and-tests.yml | 1 | # macOS Cask Generation and Test Jobs Template | COMMENT |
| LOW | build_scripts/windows/resources/ThirdPartyNotices.txt | 881 | # and/or other materials provided with the distribution. | COMMENT |
| LOW | build_scripts/windows/resources/ThirdPartyNotices.txt | 2881 | # restriction, including without limitation the rights to use, | COMMENT |
| LOW | scripts/install_full.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/get-python-version.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | scripts/curl_install_pypi/install.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | scripts/ci/update_docs.sh | 41 | # ... | COMMENT |
| LOW | scripts/ci/check_pull_request.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | scripts/ci/test_extensions.sh | 21 | # Disable azure-cli-ml: https://github.com/Azure/azure-cli-extensions/issues/826 | COMMENT |
| LOW | scripts/release/generate_history_notes.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | scripts/release/macos/resources/ThirdPartyNotices.txt | 881 | # and/or other materials provided with the distribution. | COMMENT |
| LOW | scripts/release/macos/resources/ThirdPartyNotices.txt | 2881 | # restriction, including without limitation the rights to use, | COMMENT |
| LOW | scripts/release/debian/deb_install.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/release/rpm/pipeline.sh | 41 | # Extract the built RPM so that it can be distributed independently. | COMMENT |
| LOW | scripts/release/rpm/pipeline_azurelinux.sh | 41 | COMMENT | |
| LOW | doc/sphinx/conf.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | doc/sphinx/conf.py | 61 | master_doc = 'ind' | COMMENT |
| LOW | doc/sphinx/conf.py | 81 | # Usually you set "language" from the command line for these cases. | COMMENT |
| LOW | doc/sphinx/conf.py | 101 | # default_role = None | COMMENT |
| LOW | doc/sphinx/conf.py | 121 | # modindex_common_prefix = [] | COMMENT |
| LOW | doc/sphinx/conf.py | 141 | # html_theme_options = {} | COMMENT |
| LOW | doc/sphinx/conf.py | 161 | # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 | COMMENT |
| LOW | doc/sphinx/conf.py | 181 | # html_last_updated_fmt = None | COMMENT |
| LOW | doc/sphinx/conf.py | 201 | # If false, no index is generated. | COMMENT |
| LOW | doc/sphinx/conf.py | 221 | # If true, an OpenSearch description file will be output, and all pages will | COMMENT |
| LOW | doc/sphinx/conf.py | 241 | # html_search_options = {'type': 'default'} | COMMENT |
| LOW | doc/sphinx/conf.py | 261 | COMMENT | |
| LOW | doc/sphinx/conf.py | 281 | # | COMMENT |
| LOW | doc/sphinx/conf.py | 321 | COMMENT | |
| LOW | doc/sphinx/conf.py | 341 | # texinfo_show_urls = 'footnote' | COMMENT |
| LOW | doc/sphinx/azhelpgen/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | doc/sphinx/cligroup/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | src/azure-cli/azure/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | src/azure-cli/azure/cli/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …e-cli/azure/cli/command_modules/maps/tests/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …zure/cli/command_modules/maps/tests/latest/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …ure/cli/command_modules/postgresql/_breaking_change.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …/cli/command_modules/postgresql/randomname/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …azure/cli/command_modules/postgresql/tests/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …/cli/command_modules/postgresql/tests/unit/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …li/command_modules/postgresql/tests/latest/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …azure/cli/command_modules/postgresql/utils/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …i/azure/cli/command_modules/postgresql/aaz/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …/cli/command_modules/postgresql/aaz/latest/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …mand_modules/postgresql/aaz/latest/network/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …modules/postgresql/aaz/latest/network/vnet/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …/postgresql/aaz/latest/network/vnet/subnet/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …re/cli/command_modules/postgresql/commands/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …azure/cli/command_modules/servicebus/tests/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …li/command_modules/servicebus/tests/latest/__init__.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| 624 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/automation/tests/verify_package_versions.py | 62 | except Exception as ex: | CODE |
| LOW | tools/automation/tests/__init__.py | 241 | except Exception as ex: | CODE |
| LOW | tools/automation/tests/__init__.py | 296 | except Exception: | STRING |
| LOW | tools/aaz-flow/src/aaz-flow/testgen.py | 200 | except Exception as ex: | CODE |
| LOW | tools/aaz-flow/src/aaz-flow/main.py | 17 | except Exception as e: | CODE |
| LOW | tools/aaz-flow/src/aaz-flow/helpers.py | 67 | except Exception: | CODE |
| LOW | tools/aaz-flow/src/aaz-flow/helpers.py | 97 | except Exception: | CODE |
| LOW | tools/aaz-flow/src/aaz-flow/helpers.py | 117 | except Exception: | CODE |
| LOW | tools/aaz-flow/src/aaz-flow/helpers.py | 138 | except Exception: | CODE |
| LOW | tools/aaz-flow/src/aaz-flow/helpers.py | 370 | except Exception as e: | CODE |
| LOW | scripts/curl_install_pypi/install.py | 324 | except Exception as e: | STRING |
| LOW | scripts/curl_install_pypi/install.py | 394 | except Exception as e: | STRING |
| MEDIUM | scripts/curl_install_pypi/install.py | 191 | def _backup_rc(rc_file): | CODE |
| LOW | scripts/ci/automation_full_test.py | 258 | except Exception: | CODE |
| LOW | scripts/ci/automation_full_test.py | 268 | except Exception: | CODE |
| LOW | scripts/ci/automation_full_test.py | 281 | except Exception: | CODE |
| MEDIUM | scripts/ci/automation_full_test.py | 254 | def install_extension(extension_module): | CODE |
| MEDIUM | scripts/ci/automation_full_test.py | 264 | def remove_extension(extension_module): | CODE |
| MEDIUM | scripts/ci/automation_full_test.py | 274 | def rerun_setup(cli_repo_path, extension_repo_path): | CODE |
| LOW | scripts/ci/validate_external_source_urls.py | 176 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | scripts/release/macos/build_binary_tar_gz.py | 510 | except Exception as e: | CODE |
| LOW | scripts/temp_help/help_convert.py | 61 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | scripts/live_test/sendemail.py | 321 | except Exception: | STRING |
| LOW | scripts/live_test/sendemail.py | 330 | except Exception: | STRING |
| LOW | scripts/live_test/sendemail.py | 398 | except Exception as e: | STRING |
| LOW | scripts/live_test/sendemail.py | 437 | except Exception as e: | STRING |
| LOW | scripts/live_test/test_data.py | 46 | except Exception: | CODE |
| LOW | doc/sphinx/azhelpgen/azhelpgen.py | 87 | except Exception: | CODE |
| LOW | doc/sphinx/azhelpgen/azhelpgen.py | 91 | except Exception: | CODE |
| LOW | src/azure-cli/azure/cli/__main__.py | 109 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | src/azure-cli/azure/cli/__main__.py | 115 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | …ure/cli/command_modules/postgresql/utils/validators.py | 715 | except Exception as ex: | CODE |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 411 | except Exception as e: | CODE |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 656 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | …command_modules/postgresql/commands/custom_commands.py | 721 | except Exception as e: | CODE |
| LOW | …ommand_modules/postgresql/commands/replica_commands.py | 56 | except Exception as e: | CODE |
| LOW | …ommand_modules/postgresql/commands/replica_commands.py | 167 | except Exception as e: | CODE |
| LOW | …_modules/postgresql/commands/firewall_rule_commands.py | 28 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | …mmand_modules/postgresql/commands/database_commands.py | 62 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | src/azure-cli/azure/cli/command_modules/ams/_utils.py | 72 | except Exception: # pylint: disable=W0703 | CODE |
| LOW | …and_modules/ams/tests/latest/test_ams_job_scenarios.py | 109 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …les/ams/tests/latest/test_ams_asset_track_scenarios.py | 63 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …les/ams/tests/latest/test_ams_asset_track_scenarios.py | 121 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …les/ams/tests/latest/test_ams_asset_track_scenarios.py | 178 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …les/ams/tests/latest/test_ams_asset_track_scenarios.py | 241 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …les/ams/tests/latest/test_ams_asset_track_scenarios.py | 307 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …ure-cli/azure/cli/command_modules/ams/operations/sp.py | 275 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | …ure-cli/azure/cli/command_modules/ams/operations/sp.py | 316 | except Exception as ex: # pylint: disable=broad-except | CODE |
| MEDIUM | …ure-cli/azure/cli/command_modules/ams/operations/sp.py | 313 | def update_application(client, app_object_id, display_name): | CODE |
| LOW | src/azure-cli/azure/cli/command_modules/role/custom.py | 326 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | src/azure-cli/azure/cli/command_modules/role/custom.py | 1551 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | src/azure-cli/azure/cli/command_modules/role/custom.py | 1578 | except Exception as ex: | CODE |
| LOW | …re/cli/command_modules/role/tests/latest/test_graph.py | 821 | except Exception: | STRING |
| MEDIUM | …re/cli/command_modules/role/tests/latest/test_graph.py | 813 | def clean_resource(self, resource, type='group'): | CODE |
| LOW | src/azure-cli/azure/cli/command_modules/util/custom.py | 203 | except Exception as ex: # pylint: disable=broad-except | CODE |
| MEDIUM | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 1995 | def _is_guid(guid): | CODE |
| MEDIUM | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 2611 | def _save_to_local_file(file_path, security_domain): | CODE |
| LOW | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 1202 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 1217 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 1237 | except Exception: # pylint: disable=broad-except | CODE |
| 652 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/automation/cli_linter/rule_decorators.py | 21 | CODE | |
| LOW | tools/automation/cli_linter/rule_decorators.py | 22 | CODE | |
| LOW | tools/automation/cli_linter/rule_decorators.py | 23 | CODE | |
| LOW | tools/automation/cli_linter/linter.py | 178 | CODE | |
| LOW | tools/automation/cli_linter/linter.py | 217 | CODE | |
| LOW | tools/automation/cli_linter/rules/help_rules.py | 131 | CODE | |
| LOW | tools/automation/verify/verify_module_load_times.py | 60 | CODE | |
| LOW | tools/automation/verify/__init__.py | 15 | CODE | |
| LOW | tools/automation/tests/check_vcr_recordings.py | 13 | CODE | |
| LOW | tools/automation/tests/verify_package_versions.py | 32 | CODE | |
| LOW | tools/automation/tests/__init__.py | 96 | CODE | |
| LOW | tools/automation/tests/__init__.py | 246 | CODE | |
| LOW | tools/automation/tests/main.py | 50 | CODE | |
| LOW | tools/automation/style/pylint_disable_check.py | 22 | CODE | |
| LOW | tools/automation/utilities/path.py | 60 | CODE | |
| LOW | tools/aaz-flow/src/aaz-flow/testgen.py | 40 | CODE | |
| LOW | tools/aaz-flow/src/aaz-flow/testgen.py | 78 | CODE | |
| LOW | tools/aaz-flow/src/aaz-flow/helpers.py | 101 | CODE | |
| LOW | tools/aaz-flow/src/aaz-flow/helpers.py | 166 | CODE | |
| LOW | build_scripts/windows/scripts/patch_models_v2.py | 137 | CODE | |
| LOW | scripts/generate_latest_indices.py | 50 | CODE | |
| LOW | scripts/compact_aaz.py | 202 | CODE | |
| LOW | scripts/compact_aaz.py | 279 | CODE | |
| LOW | scripts/compact_aaz.py | 346 | CODE | |
| LOW | scripts/compact_aaz.py | 391 | CODE | |
| LOW | scripts/dump_command_table.py | 23 | CODE | |
| LOW | scripts/dump_command_table.py | 72 | CODE | |
| LOW | scripts/curl_install_pypi/install.py | 152 | CODE | |
| LOW | scripts/curl_install_pypi/install.py | 218 | CODE | |
| LOW | scripts/ci/breaking_change_test.py | 70 | CODE | |
| LOW | scripts/ci/breaking_change_test.py | 84 | CODE | |
| LOW | scripts/ci/automation_full_test.py | 377 | CODE | |
| LOW | scripts/ci/automation_full_test.py | 426 | CODE | |
| LOW | scripts/ci/check_pull_request.py | 98 | CODE | |
| LOW | scripts/ci/check_pull_request.py | 125 | CODE | |
| LOW | scripts/ci/codegen_report.py | 22 | CODE | |
| LOW | scripts/ci/a01/docker_app/collect_tests.py | 41 | CODE | |
| LOW | scripts/release/generate_history_notes.py | 44 | CODE | |
| LOW | scripts/release/macos/build_binary_tar_gz.py | 431 | CODE | |
| LOW | scripts/release/homebrew/docker/formula_generate.py | 127 | CODE | |
| LOW | scripts/sdk_process/patch_models.py | 127 | CODE | |
| LOW | scripts/temp_help/help_convert.py | 174 | CODE | |
| LOW | scripts/live_test/clean.py | 183 | CODE | |
| LOW | scripts/live_test/clean.py | 280 | CODE | |
| LOW | scripts/live_test/sendemail.py | 377 | CODE | |
| LOW | scripts/live_test/sendemail.py | 476 | CODE | |
| LOW | scripts/live_test/test_data.py | 21 | CODE | |
| LOW | scripts/regression_test/update_api_profile.py | 71 | CODE | |
| LOW | doc/sphinx/azhelpgen/azhelpgen.py | 30 | CODE | |
| LOW | …re-cli/azure/cli/command_modules/postgresql/_params.py | 26 | CODE | |
| LOW | …re-cli/azure/cli/command_modules/postgresql/_params.py | 815 | CODE | |
| LOW | …azure/cli/command_modules/postgresql/_config_reader.py | 31 | CODE | |
| LOW | …/cli/command_modules/postgresql/utils/_transformers.py | 48 | CODE | |
| LOW | …/cli/command_modules/postgresql/utils/_transformers.py | 70 | CODE | |
| LOW | …/cli/command_modules/postgresql/utils/_transformers.py | 107 | CODE | |
| LOW | …l/utils/_flexible_server_location_capabilities_util.py | 45 | CODE | |
| LOW | …_modules/postgresql/commands/firewall_rule_commands.py | 33 | CODE | |
| LOW | …li/azure/cli/command_modules/servicebus/_validators.py | 22 | CODE | |
| LOW | …ure-cli/azure/cli/command_modules/servicebus/action.py | 19 | CODE | |
| LOW | …ure-cli/azure/cli/command_modules/servicebus/action.py | 57 | CODE | |
| 726 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/curl_install_pypi/install.py | 48 | COMPREPLY=( $(IFS="$IFS" COMP_LINE="$COMP_LINE" COMP_POINT="$COMP_POINT" | CODE |
| HIGH | scripts/live_test/sendemail.py | 140 | if (iter === null) { | CODE |
| HIGH | scripts/live_test/sendemail.py | 141 | return null; | CODE |
| HIGH | scripts/live_test/sendemail.py | 185 | return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); | CODE |
| HIGH | …i/command_modules/ams/operations/content_key_policy.py | 350 | # Returns string if not null, or an empty string otherwise. | COMMENT |
| HIGH | src/azure-cli/azure/cli/command_modules/role/_help.py | 761 | "canDelegate": null, | CODE |
| HIGH | …/command_modules/keyvault/security_domain/sp800_108.py | 64 | a. K(i) := PRF (KI, [i]2 || Label || 0x00 || Context || [L]2) | STRING |
| HIGH | …/azure-cli/azure/cli/command_modules/security/_help.py | 927 | az security automation create_or_update -g Sample-RG -n sampleAutomation -l eastus --scopes '[{\"description\": | CODE |
| HIGH | …/azure-cli/azure/cli/command_modules/security/_help.py | 936 | az security automation validate -g Sample-RG -n sampleAutomation -l eastus --scopes '[{\"description\": \"Scope | CODE |
| HIGH | …urity/tests/latest/test_security_securityconnectors.py | 38 | nexttoken = base64.b64encode('{"next_link": null, "offset": 0}'.encode()).decode() | CODE |
| HIGH | …ity/tests/latest/test_security_automations_scenario.py | 59 | # self.cmd("az security automation create_or_update -g Sample-RG -n ExportToWorkspaceTemp --scopes [{\"descripti | COMMENT |
| HIGH | …ity/tests/latest/test_security_automations_scenario.py | 62 | # self.cmd("az security automation validate -g Sample-RG -n ExportToWorkspaceTemp --scopes [{\"description\":\"4 | COMMENT |
| HIGH⚡ | …security/tests/latest/test_security_api_collections.py | 18 | nexttoken = base64.b64encode('{"next_link": null, "offset": 0}'.encode()).decode() | CODE |
| HIGH⚡ | …ests/latest/test_security_securityconnectors_devops.py | 17 | nexttoken = base64.b64encode('{"next_link": null, "offset": 0}'.encode()).decode() | CODE |
| HIGH | …ests/latest/test_security_securityconnectors_devops.py | 91 | nexttoken = base64.b64encode('{"next_link": null, "offset": 0}'.encode()).decode() | CODE |
| HIGH | …ests/latest/test_security_securityconnectors_devops.py | 126 | nexttoken = base64.b64encode('{"next_link": null, "offset": 0}'.encode()).decode() | CODE |
| HIGH | …mmand_modules/network/tests/latest/test_nw_flow_log.py | 122 | 'filtering_criteria': 'dstip=20.252.145.59 || DstPort=8080', | CODE |
| HIGH | …_modules/network/tests/latest/test_network_commands.py | 2888 | '--log-scrubbing-state Enabled --scrubbing-rules [{{"state":"Enabled","match-variable":"RequestArgNames | CODE |
| HIGH | …_modules/network/tests/latest/test_network_commands.py | 2997 | '--log-scrubbing-state Enabled --scrubbing-rules [{{"state":"Enabled","match-variable":"RequestArgNames | CODE |
| HIGH⚡ | …odules/network/tests/latest/test_network_unit_tests.py | 17 | # 1 - Test that if ip_configurations property is null, error is thrown | COMMENT |
| HIGH | …network/aaz/latest/network/watcher/flow_log/_create.py | 45 | az network watcher flow-log create --location westus --resource-group MtRGContainingVNet --name MyVNetName-flowl | STRING |
| HIGH | …network/aaz/latest/network/watcher/flow_log/_create.py | 48 | az network watcher flow-log create --resource-group rg1 --network-watcher-name nw1 --name fl --location centralu | STRING |
| HIGH | …network/aaz/latest/network/watcher/flow_log/_update.py | 42 | az network watcher flow-log update --resource-group rg1 --network-watcher-name nw1 --name fl --location centralu | STRING |
| HIGH | …work/aaz/latest/network/application_gateway/_create.py | 1404 | help="The list of rules that will be disabled. If null, all rules of the rule group will be disabled.", | CODE |
| HIGH | …plication_gateway/waf_policy/policy_setting/_update.py | 24 | az network application-gateway waf-policy policy-setting update -g MyResourceGroup --policy-name MyPolicySetting | STRING |
| HIGH | src/azure-cli/azure/cli/command_modules/acs/_format.py | 159 | fqdn: fqdn || privateFqdn | CODE |
| HIGH | src/azure-cli/azure/cli/command_modules/acr/task.py | 241 | # BUG: Discriminator type is absent or null, use base class TaskStepProperties. | COMMENT |
| HIGH | src/azure-cli/azure/cli/command_modules/acr/task.py | 400 | # If given context is /dev/null, set it to None. | COMMENT |
| HIGH | src/azure-cli/azure/cli/command_modules/acr/_help.py | 737 | text: az acr manifest list-metadata -r myregistry -n hello-world --query "[?tags==null]" | CODE |
| HIGH⚡ | …and_modules/acr/tests/latest/test_acr_task_commands.py | 12 | # @unittest.skip("task.py line 250, BUG: Discriminator type is absent or null, use base class TaskStepProperties.") | COMMENT |
| HIGH | …azure-cli/azure/cli/command_modules/storage/_params.py | 195 | 'Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.') | CODE |
| HIGH | …azure-cli/azure/cli/command_modules/storage/_params.py | 706 | '(Use `--enable-change-feed` without `--change-feed-days` to indicate null)') | CODE |
| HIGH | …onfig/tests/latest/test_appconfig_json_content_type.py | 150 | json_content_type_07 = 'application/json+null;charset=utf-8;' | CODE |
| HIGH | …onfig/tests/latest/test_appconfig_json_content_type.py | 189 | entry_value = '[\\"text\\",true,null]' | CODE |
| HIGH | …onfig/tests/latest/test_appconfig_json_content_type.py | 218 | entry_value = '{\\"MyNullValue\\":null,\\"MyObject\\":{\\"Property\\":{\\"Name\\":{\\"Name1\\":\\"Value1\\",\\"N | CODE |
| HIGH | src/azure-cli/azure/cli/command_modules/vm/_help.py | 1858 | text: az vm run-command invoke -g MyResourceGroup -n MyVm --command-id RunShellScript --scripts "sudo apt-get update | CODE |
| HIGH | src/azure-cli/azure/cli/command_modules/vm/_help.py | 2657 | --instance-id 0 --scripts "sudo apt-get update && sudo apt-get install -y nginx" | CODE |
| HIGH | …ure/cli/command_modules/vm/_vmss_application_health.py | 57 | apt-get update -y && apt-get upgrade -y | CODE |
| HIGH | src/azure-cli/azure/cli/command_modules/vm/commands.py | 367 | table_transformer='{Name:name, ResourceGroup: | CODE |
| HIGH | …li/command_modules/vm/tests/latest/test_vm_commands.py | 6726 | self.cmd('vmss extension set -g {rg} --vmss-name {vmss} -n customScript --publisher Microsoft.Azure.Extensions - | CODE |
| HIGH | …li/command_modules/vm/tests/latest/test_vm_commands.py | 6819 | self.cmd('vm run-command invoke -g {rg} -n{vm} --command-id RunShellScript --script "sudo apt-get update && sudo | CODE |
| HIGH | …li/command_modules/vm/tests/latest/test_vm_commands.py | 6934 | self.cmd('vmss run-command invoke --ids {instance_ids} --command-id RunShellScript --script "sudo apt-get update | CODE |
| HIGH | …li/command_modules/vm/tests/latest/test_vm_commands.py | 7709 | "commandToExecute": "sudo apt-get update && sudo apt-get install -y nginx", | CODE |
| HIGH | …li/command_modules/vm/tests/latest/test_vm_commands.py | 7795 | self.cmd('vm run-command invoke -g {rg} -n {vm1} --command-id RunShellScript --scripts "sudo apt-get update && s | CODE |
| HIGH | …li/command_modules/vm/tests/latest/test_vm_commands.py | 7796 | self.cmd('vm run-command invoke -g {rg} -n {vm2} --command-id RunShellScript --scripts "sudo apt-get update && s | CODE |
| HIGH | …i/azure/cli/command_modules/containerapp/_constants.py | 82 | LOGS_STRING = '[{"category":"ContainerAppConsoleLogs","categoryGroup":null,"enabled":true,"retentionPolicy":{"days":0,"e | STRING |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 305 | "MinBatchRows": null, | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 307 | "PrepareDatabaseForBulkImportTaskCount": null, | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 309 | "PrepareTableForBulkImportTaskCount": null, | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 315 | "MaxBatchCacheSizeMb": null, | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 317 | "ThrottleQueryTableDataRangeTaskAtAvailableMemoryMb": null, | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 357 | "userName": "user name", // if this is missing or null, you will be prompted | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 358 | "password": null, // if this is missing or null (highly recommended) you will be prompted | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 367 | "userName": "user name", // if this is missing or null, you will be prompted | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 368 | "password": null, // if this is missing or null (highly recommended) you will be prompted | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 378 | "userName": "user name", // if this is missing or null, you will be prompted | CODE |
| HIGH⚡ | src/azure-cli/azure/cli/command_modules/dms/_help.py | 379 | "password": null, // if this is missing or null (highly recommended) you will be prompted | CODE |
| HIGH | …/azure-cli/azure/cli/command_modules/resource/_help.py | 110 | 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.py | 113 | 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.py | 265 | short-summary: Updates the display name of the management group. If null, no change is made. | CODE |
| 18 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 206 | "placeholder": "testPassword0", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 210 | "placeholder": "@PasswordPassword1!", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 214 | "placeholder": "verySecret123", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 218 | "placeholder": "verySecret!!!", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 222 | "placeholder": "admin123", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 226 | "placeholder": "verySecret!", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 230 | "placeholder": "testpassword", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 234 | "placeholder": "verySecret1", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 238 | "placeholder": "UserInput012345", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 242 | "placeholder": "Password1!", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 246 | "placeholder": "SecretPassword123", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 250 | "placeholder": "AZURE_CLIENT_SECRET", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 254 | "placeholder": "pass1234", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 479 | "placeholder": "test_secret", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 483 | "placeholder": "0abf356884d74b4aacbd7b1ebd3da0f7", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 487 | "placeholder": "Docker!", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 491 | "placeholder": "myPwd", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 495 | "placeholder": "5+36OCtbIwfy8g5glC4bQQrFsfmMc3iD", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 510 | "placeholder": "lrCy/cm87CTTLd8yfM/ojizRGUNceCr6nWajz1mWKN45lMTJcGPF4zet+H+SkXYgJ5BGD3ab4m4b7U+wAwpC2A==", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 514 | "placeholder": "eAS2NXIlOIAA8ovAf8a5RxnVXil/3CyuMt9cDBGUi1w7810IHN/5MF21otvBrTPOLAUFq/2sjA3dKYY7IvTpXA==", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 518 | "placeholder": "f6Nx8en4sIJQryYFVVj%2B5BdU7bho96jAgOzLO40Twkg%3D", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 522 | "placeholder": "v2ARnkP152N6wq+QI45wBiP9Eh5NdOkWH53N3urvHE0=", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 526 | "placeholder": "QUKBIZRD6uGApr/mOThKl6SauZcrzABCDsNLhnfM940=", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 530 | "placeholder": "7DaUM+56maPqMUUWQ5wwIIJSYeqyy3RsTirVvku97wQ=", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 534 | "placeholder": "txeOurx1BqKWK5Wo3Z+qJ4HTMgQUmFXvuONj708MIs4=", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 544 | "placeholder": "Pass123!@#", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 554 | "placeholder": "VRfRrd1AhEh/NynHfUWeN+m7jmnY4HF2bUQJWj5SqAw=", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 558 | "placeholder": "9A8sOpoHOuBOhb3EgdN8LOyI1hwkerpTHC96Q2IygfU=", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 602 | "placeholder": "\"sharedKey\":\"abc123\"", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 606 | "placeholder": "\"primarySharedKey\":\"abc123\"", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 610 | "placeholder": "abc123", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 614 | "placeholder": "test12", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 688 | "placeholder": "asdfghjkl", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 692 | "placeholder": "secret_123", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 696 | "placeholder": "client_id_456", | CODE |
| LOW⚡ | scripts/ci/credscan/CredScanSuppressions.json | 700 | "placeholder": "mypass", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 5 | "placeholder": "r7rpDQLwRhJQF/WoSPp6sMKJB9GQJCsZ9/o8xkqP/xM=", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 9 | "placeholder": "1w4F14PX8TKt7rMaG1bymhJlfjab4cocxoL7edC9zJI=", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 164 | "placeholder": "+XLy+MVZ+aTeOnVzN2kLeB16O+kSxmz6g3rS6fAf6rw=", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 168 | "placeholder": "RTNrGy6n%2Fs2uLLZFuVHBIJtdxIJP1LuKfhKjHwwbu7A%3D", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 356 | "placeholder": "SqlPassword", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 360 | "placeholder": "ADPassword", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 384 | "placeholder": "registry_password", | CODE |
| LOW | scripts/ci/credscan/CredScanSuppressions.json | 627 | "placeholder": "abc@123.com", | CODE |
| LOW | …odules/keyvault/tests/latest/test_keyvault_commands.py | 2297 | self.cmd('keyvault certificate contact add --vault-name {kv} --email admin@contoso.com --name "John Doe" --phone | CODE |
| LOW | …odules/keyvault/tests/latest/test_keyvault_commands.py | 2343 | self.check('emailAddress', 'test@test.com'), | CODE |
| LOW | …test/recordings/test_keyvault_certificate_issuers.yaml | 365 | "Admin", "email": "test@test.com", "phone": "123-456-7890"}]}}' | CODE |
| LOW | …test/recordings/test_keyvault_certificate_issuers.yaml | 383 | string: '{"id":"https://cli-test-kv-ct-is-000002.vault.azure.net/certificates/issuers/issuer1","provider":"Test"," | CODE |
| LOW | …test/recordings/test_keyvault_certificate_issuers.yaml | 425 | string: '{"id":"https://cli-test-kv-ct-is-000002.vault.azure.net/certificates/issuers/issuer1","provider":"Test"," | CODE |
| LOW | …test/recordings/test_keyvault_certificate_issuers.yaml | 454 | "Admin", "email": "test@test.com", "phone": "123-456-7890"}, {"email": "test2@test.com"}]}}' | CODE |
| LOW | …test/recordings/test_keyvault_certificate_issuers.yaml | 472 | string: '{"id":"https://cli-test-kv-ct-is-000002.vault.azure.net/certificates/issuers/issuer1","provider":"Test"," | CODE |
| LOW | …test/recordings/test_keyvault_certificate_issuers.yaml | 514 | string: '{"id":"https://cli-test-kv-ct-is-000002.vault.azure.net/certificates/issuers/issuer1","provider":"Test"," | CODE |
| LOW | …test/recordings/test_keyvault_certificate_issuers.yaml | 556 | string: '{"id":"https://cli-test-kv-ct-is-000002.vault.azure.net/certificates/issuers/issuer1","provider":"Test"," | CODE |
| LOW | …est/recordings/test_keyvault_certificate_contacts.yaml | 91 | body: '{"contacts": [{"email": "admin@contoso.com", "name": "John Doe", "phone": | CODE |
| LOW | …est/recordings/test_keyvault_certificate_contacts.yaml | 182 | body: '{"contacts": [{"email": "admin@contoso.com", "name": "John Doe", "phone": | CODE |
| LOW⚡ | …est/test_app_service_environment_commands_thru_mock.py | 108 | fake_data = {"id": "1", "addressPrefix": "10.10.10.10/25", "delegations": [{"id": "1", "serviceName": "Microsoft | CODE |
| LOW⚡ | …est/test_app_service_environment_commands_thru_mock.py | 109 | show.return_value = fake_data | CODE |
| LOW⚡ | …est/test_app_service_environment_commands_thru_mock.py | 117 | fake_data = {"id": "1", "addressPrefix": "10.10.10.10/24", "delegations": [{"id": "1", "serviceName": "Microsoft | CODE |
| LOW⚡ | …est/test_app_service_environment_commands_thru_mock.py | 118 | show.return_value = fake_data | CODE |
| LOW | …est/test_app_service_environment_commands_thru_mock.py | 203 | fake_data = { | CODE |
| 114 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .githooks/azdev_active.sh | 3 | # Check if in the python environment | COMMENT |
| LOW | .githooks/azdev_active.sh | 25 | # Check if the directory exists | COMMENT |
| LOW | .githooks/pre-push.sh | 12 | # Check if azure-cli is installed in editable mode | COMMENT |
| LOW | .githooks/pre-push.sh | 34 | # Check if current branch needs rebasing | COMMENT |
| LOW | .githooks/pre-commit.sh | 24 | # Check if the file contains secrets | COMMENT |
| LOW⚡ | …ts/latest/test_postgres_flexible_commands_migration.py | 29 | # Set this to True or False depending on whether we are in live mode or test mode | COMMENT |
| LOW | …ts/latest/test_postgres_flexible_commands_migration.py | 81 | # Set this to True or False depending on whether we are in live mode or test mode | COMMENT |
| LOW | …bus/tests/latest/test_servicebus_namespace_commands.py | 78 | # Set disableLocalAuth to False using update command | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/role/custom.py | 1246 | # Check if the user tries to delete any ResourceAccess that is not required. | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 2632 | # Set linuxFxVersion to SITECONTAINERS | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 861 | # Read file content | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 916 | # Read file content | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3342 | # Set linuxFxVersion to docker | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3610 | # Check if the app setting is propagated to the Kudu site correctly by calling api/settings endpoint | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 5002 | # Check if this is an asynchronous operation (202) | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 5175 | # Check if this is an asynchronous operation | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 5873 | # Check if user-assigned identities exist | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 6853 | # Check if this is a Flex Consumption function app | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 6905 | # Check if this is a Flex Consumption function app | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 6917 | # Check if this is a Flex Consumption function app | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 6933 | # Check if this is a Flex Consumption function app | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 7052 | # Check if this is a Flex Consumption function app | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 7115 | # Check if this is a Flex Consumption function app | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 7204 | # Check if this is a Flex Consumption function app | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 8869 | # Check if using --consumption-plan-location OR --plan with a consumption SKU (Dynamic tier) | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 12024 | # Check if workflow exists in repo, otherwise push | STRING |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 12131 | # Check if workflow exists in repo and remove | STRING |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 12311 | # Check if workflow exists in repo, otherwise push | STRING |
| LOW | …ure-cli/azure/cli/command_modules/appservice/custom.py | 12432 | # Check if workflow exists in repo and remove | STRING |
| LOW | …li/azure/cli/command_modules/appservice/_validators.py | 234 | # Check if Linux (reserved=True) | COMMENT |
| LOW | …network/tests/latest/test_private_endpoint_commands.py | 2260 | # Check if second endpoint is gone | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/acs/custom.py | 1969 | # Check if users section exists and has at least one user | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/acs/custom.py | 1977 | # Check if command is kubelogin | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/acs/custom.py | 1982 | # Check if args contains --login and devicecode | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/acs/custom.py | 227 | # Check if Deployment Safeguards already exists before attempting create | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/acs/custom.py | 238 | # Check if resource already exists | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/acs/custom.py | 707 | # Check if KUBECONFIG environmental variable is set | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/acs/custom.py | 1915 | # Check if KUBECONFIG environmental variable is set | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/acs/custom.py | 1937 | # Check if kubeconfig requires kubelogin with devicecode and convert it | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/acs/custom.py | 3970 | # Iterate over items within pages | COMMENT |
| LOW⚡ | …e/cli/command_modules/acs/managed_cluster_decorator.py | 2767 | # Check if monitoring is being enabled via enable_addons parameter (for create scenarios) | COMMENT |
| LOW⚡ | …e/cli/command_modules/acs/managed_cluster_decorator.py | 2771 | # Check if monitoring is already enabled on the cluster | COMMENT |
| LOW⚡ | …e/cli/command_modules/acs/managed_cluster_decorator.py | 2780 | # Check if ACNS is being enabled or already enabled | COMMENT |
| LOW⚡ | …e/cli/command_modules/acs/managed_cluster_decorator.py | 2787 | # Check if network dataplane is set to cilium (either via parameter or already on the cluster) | COMMENT |
| LOW | …e/cli/command_modules/acs/managed_cluster_decorator.py | 2819 | # Check if container network logs are being enabled | COMMENT |
| LOW | …e/cli/command_modules/acs/managed_cluster_decorator.py | 5210 | # Check if service mesh is enabled before allowing changes | COMMENT |
| LOW | …e/cli/command_modules/acs/managed_cluster_decorator.py | 9141 | # Check if CNL is already enabled on the cluster — cannot disable HLSM while CNL is active | COMMENT |
| LOW | …e/cli/command_modules/acs/managed_cluster_decorator.py | 9865 | # Check if the parameter was explicitly provided | COMMENT |
| LOW | …e/cli/command_modules/acs/managed_cluster_decorator.py | 10015 | # Check if we are trying to disable container storage v1 | COMMENT |
| LOW | …e/cli/command_modules/acs/managed_cluster_decorator.py | 10659 | # Check if auto_upgrade_channel is set to "none" | COMMENT |
| LOW | …-cli/azure/cli/command_modules/acs/_roleassignments.py | 329 | # Check if the ACR exists by resource ID. | COMMENT |
| LOW | …-cli/azure/cli/command_modules/acs/_roleassignments.py | 341 | # Check if the ACR exists by name accross all resource groups. | COMMENT |
| LOW⚡ | …li/azure/cli/command_modules/acs/addonconfiguration.py | 887 | # Check if monitoring addon enabled with useAADAuth = True, if it does, ignore role assignment | COMMENT |
| LOW⚡ | …li/azure/cli/command_modules/acs/addonconfiguration.py | 888 | # Check if service principal exists, if it does, assign permissions to service principal | COMMENT |
| LOW | …li/azure/cli/command_modules/acs/addonconfiguration.py | 774 | # Check if any scoped resource has the same linkedResourceId | COMMENT |
| LOW | …li/azure/cli/command_modules/acs/addonconfiguration.py | 793 | # Check if the resource is already scoped to the AMPLS | COMMENT |
| LOW | …li/azure/cli/command_modules/acs/addonconfiguration.py | 951 | # Check if service principal exists, if it does, assign permissions to service principal | COMMENT |
| LOW | …li/azure/cli/command_modules/acs/addonconfiguration.py | 1057 | # Check if service principal exists, if it does, assign permissions to service principal | COMMENT |
| LOW | …modules/acs/azuremonitormetrics/azuremonitorprofile.py | 147 | # Check if already onboarded | COMMENT |
| LOW | …li/command_modules/acs/azuremonitormetrics/amg/link.py | 32 | # Check if 'identity' and 'type' exist in the response | COMMENT |
| 71 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …azure-cli/azure/cli/command_modules/monitor/actions.py | 79 | # simply return value if a valid ISO8601 string is supplied | COMMENT |
| LOW | …i/azure/cli/command_modules/monitor/_legacy/actions.py | 79 | # simply return value if a valid ISO8601 string is supplied | COMMENT |
| LOW | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 905 | # if we didn't modify the network rules just return the vault as is | COMMENT |
| LOW | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 996 | # if we didn't modify the network rules just return the vault as is | COMMENT |
| LOW | …azure-cli/azure/cli/command_modules/keyvault/custom.py | 1031 | # if we didn't modify the network rules just return the vault as is | COMMENT |
| LOW | …odules/keyvault/tests/latest/test_keyvault_commands.py | 65 | # There's no generic way to get the object id of signed in user/sp, just use a fixed one | COMMENT |
| LOW | …security/tests/latest/test_security_va_sql_scenario.py | 64 | # "Allow Azure Services" firewall rule below, so we cannot just set | COMMENT |
| MEDIUM | …atest/test_appservice_plan_managedinstance_commands.py | 619 | # Create comprehensive managed instance plan with all features | COMMENT |
| MEDIUM | …atest/test_appservice_plan_managedinstance_commands.py | 782 | # Now perform comprehensive update with all managed instance features | COMMENT |
| MEDIUM | …atest/test_appservice_plan_managedinstance_commands.py | 790 | # Verify all features were set correctly via comprehensive show command | COMMENT |
| LOW | …service/tests/latest/test_webapp_commands_thru_mock.py | 91 | # Don't do an actual call, just return the incoming user | COMMENT |
| MEDIUM | …storage/aaz/latest/storage/account/migration/_start.py | 19 | """Account Migration request can be triggered for a storage account to change its redundancy level. The migration up | STRING |
| MEDIUM | …ules/hdinsight/tests/latest/test_hdinsight_commands.py | 524 | # to get robust | COMMENT |
| MEDIUM | …ules/hdinsight/tests/latest/test_hdinsight_commands.py | 543 | # to get robust | COMMENT |
| MEDIUM | …e-cli/azure/cli/command_modules/batch/_command_type.py | 30 | """Load a model class from the SDK in order to inspect for | STRING |
| MEDIUM | …azure-cli/azure/cli/command_modules/resource/custom.py | 462 | # In order to facilitate subsequent parsing, it is converted into a dict first | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/botservice/custom.py | 122 | # If display name was not provided, just use the resource name | COMMENT |
| LOW | …ure-cli/azure/cli/command_modules/botservice/custom.py | 135 | # Registration bots: simply call ARM and create the bot | COMMENT |
| MEDIUM | …/azure/cli/command_modules/cognitiveservices/custom.py | 1935 | # A more robust approach would be to: | COMMENT |
| LOW | src/azure-cli-core/azure/cli/core/cloud.py | 132 | # Can't simply use hasattr here as we override __getattribute__ below. | COMMENT |
| LOW | src/azure-cli-core/azure/cli/core/util.py | 782 | # In track2 SDK, there is no parameter 'polling' in SDK, but just use '**kwargs'. | COMMENT |
| LOW | src/azure-cli-core/azure/cli/core/util.py | 1454 | # if powershell.exe or pwsh.exe is not the grandparent, simply return the parent's name. | COMMENT |
| MEDIUM⚡ | src/azure-cli-core/azure/cli/core/mock.py | 10 | """A dummy CLI instance can be used to facilitate automation""" | STRING |
| MEDIUM | src/azure-cli-core/azure/cli/core/auth/identity.py | 443 | # TODO: Integrate with Identity and utilize MSAL HTTP and token cache to officially implement | COMMENT |
| MEDIUM | src/azure-cli-core/azure/cli/core/aaz/_error_format.py | 43 | # Required fields, but assume they could be missing still to be robust | COMMENT |
| MEDIUM | src/azure-cli-core/azure/cli/core/commands/arm.py | 309 | # show warning if names are used in conjunction with --ids | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/release/macos/build_binary_tar_gz.py | 192 | # Step 1: install every package found under SRC_DIR from source, without pulling | COMMENT |
| LOW | scripts/release/macos/build_binary_tar_gz.py | 211 | # Step 2: install all pinned transitive dependencies so every package | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 2917 | # Step 1: Decode and parse compose YAML | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 2945 | # Step 2: Get shared ACR auth configuration | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 2966 | # Step 3: Parse each service | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3110 | # Step 4: Determine main container | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3147 | # Step 5: Print all collected warnings | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3172 | # Step 6: Create/update app settings for environment variables | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3180 | # Step 7: Determine auth type (shared across all containers from site config) | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3198 | # Step 8: Create sitecontainer resources | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3254 | # Step 9: Set linuxFxVersion to SITECONTAINERS | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 653 | # Step 1: init .zip.tmp | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 657 | # Step 2: append webapp project references to .zip.tmp + compute new webapp .csproj | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 667 | # Step 3: append transitive project references to .zip.tmp | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 672 | # Step 4: copy the content from the original .zip archive to the .zip.tmp archive | COMMENT |
| LOW | …i/azure/cli/command_modules/appservice/_create_util.py | 687 | # Step 5: remove original .zip and rename de .zip.tmp | COMMENT |
| LOW | …e/cli/command_modules/acs/managed_cluster_decorator.py | 5375 | # in enable case, we need to check if OIDC issuer has been enabled | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 69 | # Step 1: Validate if storagepool could be created. | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 100 | # Step 3: Configure the storagepool parameters | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 204 | # Step 5: Install the k8s_extension 'microsoft.azurecontainerstorage' | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 391 | # Step 1: Perform validation if accepted by user | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 480 | # Step 2: If the extension is installed and validation succeeded or skipped, | COMMENT |
| LOW | src/azure-cli/azure/cli/command_modules/acr/policy.py | 175 | # On AzureStackHub, the 2019-05-01 API version is still in use, so we need to check if the | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/vm/custom.py | 2071 | # Step 1: Force deallocate the VM | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/vm/custom.py | 2093 | # Step 2: PUT VM (with updated zone if applicable) | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/vm/custom.py | 2110 | # Step 3: Start VM | COMMENT |
| LOW⚡ | …c/azure-cli/azure/cli/command_modules/backup/custom.py | 1999 | # Step 1: Stop protection in old vault (retain data) | STRING |
| LOW⚡ | …c/azure-cli/azure/cli/command_modules/backup/custom.py | 2004 | # Step 2: Enable protection in new vault | STRING |
| LOW⚡ | src/azure-cli-core/azure/cli/core/_profile.py | 316 | # Step 1: Remove the account from MSAL token cache and SP store (SP only) | COMMENT |
| LOW⚡ | src/azure-cli-core/azure/cli/core/_profile.py | 322 | # Step 2: Remove the account from CLI profile | COMMENT |
| LOW | …e-cli-core/azure/cli/core/extension/dynamic_install.py | 193 | # install the extension and rerun the command infinitely. So we need to check if the latest version of the | COMMENT |
| LOW⚡ | src/azure-cli-core/azure/cli/core/auth/identity.py | 220 | # Step 1: Remove SP from MSAL token cache | COMMENT |
| LOW⚡ | src/azure-cli-core/azure/cli/core/auth/identity.py | 225 | # Step 2: Remove SP from SP store | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/release/macos/build_binary_tar_gz.py | 192 | # Step 1: install every package found under SRC_DIR from source, without pulling | COMMENT |
| LOW | scripts/release/macos/build_binary_tar_gz.py | 211 | # Step 2: install all pinned transitive dependencies so every package | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 2917 | # Step 1: Decode and parse compose YAML | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 2945 | # Step 2: Get shared ACR auth configuration | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 2966 | # Step 3: Parse each service | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3110 | # Step 4: Determine main container | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3147 | # Step 5: Print all collected warnings | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3172 | # Step 6: Create/update app settings for environment variables | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3180 | # Step 7: Determine auth type (shared across all containers from site config) | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3198 | # Step 8: Create sitecontainer resources | COMMENT |
| LOW⚡ | …ure-cli/azure/cli/command_modules/appservice/custom.py | 3254 | # Step 9: Set linuxFxVersion to SITECONTAINERS | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 653 | # Step 1: init .zip.tmp | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 657 | # Step 2: append webapp project references to .zip.tmp + compute new webapp .csproj | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 667 | # Step 3: append transitive project references to .zip.tmp | COMMENT |
| LOW⚡ | …i/azure/cli/command_modules/appservice/_create_util.py | 672 | # Step 4: copy the content from the original .zip archive to the .zip.tmp archive | COMMENT |
| LOW | …i/azure/cli/command_modules/appservice/_create_util.py | 687 | # Step 5: remove original .zip and rename de .zip.tmp | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 69 | # Step 1: Validate if storagepool could be created. | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 100 | # Step 3: Configure the storagepool parameters | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 204 | # Step 5: Install the k8s_extension 'microsoft.azurecontainerstorage' | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 391 | # Step 1: Perform validation if accepted by user | COMMENT |
| LOW | …ommand_modules/acs/azurecontainerstorage/acstor_ops.py | 480 | # Step 2: If the extension is installed and validation succeeded or skipped, | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/vm/custom.py | 2071 | # Step 1: Force deallocate the VM | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/vm/custom.py | 2093 | # Step 2: PUT VM (with updated zone if applicable) | COMMENT |
| LOW⚡ | src/azure-cli/azure/cli/command_modules/vm/custom.py | 2110 | # Step 3: Start VM | COMMENT |
| LOW⚡ | …c/azure-cli/azure/cli/command_modules/backup/custom.py | 1999 | # Step 1: Stop protection in old vault (retain data) | STRING |
| LOW⚡ | …c/azure-cli/azure/cli/command_modules/backup/custom.py | 2004 | # Step 2: Enable protection in new vault | STRING |
| LOW⚡ | src/azure-cli-core/azure/cli/core/_profile.py | 316 | # Step 1: Remove the account from MSAL token cache and SP store (SP only) | COMMENT |
| LOW⚡ | src/azure-cli-core/azure/cli/core/_profile.py | 322 | # Step 2: Remove the account from CLI profile | COMMENT |
| LOW⚡ | src/azure-cli-core/azure/cli/core/auth/identity.py | 220 | # Step 1: Remove SP from MSAL token cache | COMMENT |
| LOW⚡ | src/azure-cli-core/azure/cli/core/auth/identity.py | 225 | # Step 2: Remove SP from SP store | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/azure/cli/command_modules/cognitiveservices/custom.py | 509 | Validate and extract the tag from a Docker image URI. This function ensures the image URI includes a tag, whic | STRING |
| HIGH | …/azure/cli/command_modules/cognitiveservices/custom.py | 559 | Validate a file system path for safe use in subprocess calls. Checks for dangerous shell metacharacters, null | STRING |
| HIGH | …/azure/cli/command_modules/cognitiveservices/custom.py | 651 | Build Docker image locally using docker build command. Retries up to 3 times on transient failures (Docker dae | STRING |
| HIGH | …/azure/cli/command_modules/cognitiveservices/custom.py | 841 | Build Docker image using Azure Container Registry Task. Uses buildpacks (az acr pack build) if no Dockerfile ex | STRING |
| HIGH | …/azure/cli/command_modules/cognitiveservices/custom.py | 1098 | Stream logs from an agent container. Args: cmd: CLI command context client: Service client (AI | STRING |
| HIGH | …/azure/cli/command_modules/cognitiveservices/custom.py | 1198 | Wait for agent deployment to be ready with progress indicator. Args: cmd: CLI command context (for pro | STRING |
| HIGH | …azure/cli/command_modules/cognitiveservices/_params.py | 36 | Parse environment variable in key=value format. Args: value: String in format 'KEY=value' Returns | STRING |
| HIGH | src/azure-cli-core/azure/cli/core/extension/_resolve.py | 83 | Gets the download Url and digest for the matching extension Args: extension_name (str): Name of cur | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …odules/appservice/tests/latest/test_compose_convert.py | 564 | # Helpers to build mocked objects for orchestration tests | COMMENT |
| MEDIUM | …i/azure/cli/command_modules/acs/agentpool_decorator.py | 955 | # For multi-agent pool, use the az aks nodepool command | COMMENT |
| MEDIUM | …d_modules/acs/tests/latest/test_agentpool_decorator.py | 940 | # fail on multi-agent pool | COMMENT |
| MEDIUM⚡ | src/azure-cli/azure/cli/command_modules/vm/custom.py | 2061 | # Zone move orchestration: force deallocate → PUT with new zone → start | COMMENT |
| MEDIUM⚡ | …li/command_modules/vm/tests/latest/test_vm_commands.py | 4609 | self.cmd('vmss create -g {rg} -n {vmss1} --image MicrosoftWindowsServer:WindowsServer:2022-datacenter-smalldisk- | CODE |
| MEDIUM⚡ | …li/command_modules/vm/tests/latest/test_vm_commands.py | 4614 | self.cmd('vmss create -g {rg} -n {vmss2} --image MicrosoftWindowsServer:WindowsServer:2022-datacenter-smalldisk- | CODE |
| MEDIUM⚡ | …li/command_modules/vm/tests/latest/test_vm_commands.py | 5178 | self.cmd('vmss create -n {vmss1} -g {rg} --image Debian:debian-10:10:latest --vm-sku Standard_B2ms --zone-placem | CODE |
| MEDIUM⚡ | …li/command_modules/vm/tests/latest/test_vm_commands.py | 5185 | self.cmd('vmss create -n {vmss2} -g {rg} --image Debian:debian-10:10:latest --vm-sku Standard_B2ms --admin-usern | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 3570 | '--admin-password TestTest12#$ --orchestration-mode Uniform --vm-sku Standard_D2s_v3') | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 4645 | self.cmd('vmss create -n {vmss} -g {rg} --image OpenLogic:CentOS:7.7:latest --admin-username clittester --lb-sku | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 5088 | '--admin-username clitester --admin-password TestTest12#$ --orchestration-mode Uniform --lb-sku Standar | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 5288 | self.cmd('vmss create -g {rg} -n {vmss} --image Win2022Datacenter --admin-username clitest1234 --admin-password | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 5406 | self.cmd('vmss create -n {vmss2} -g {rg} --image {img2} --admin-username vmtest --admin-password Test123456789# | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 5861 | '--admin-username admin123 --admin-password TestTest12#$ --instance-count {count} --orchestration-mode | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 5905 | '--admin-password TestTest12#$ --instance-count {count} --orchestration-mode Uniform --lb-sku Standard' | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 12097 | "--vm-domain-name {dns_label} --public-ip-per-vm --dns-servers 10.0.0.6 10.0.0.5 --nsg {nsg} --admin-usernam | CODE |
| MEDIUM | …li/command_modules/vm/tests/latest/test_vm_commands.py | 12118 | "--vm-domain-name {dns_label} --public-ip-per-vm --dns-servers 10.0.0.6 10.0.0.5 --nsg {nsg} --admin-us | CODE |
| MEDIUM | …azure-cli-core/azure/cli/core/auth/msal_credentials.py | 53 | # Apply agentic session parameters for user identity flows | COMMENT |
| MEDIUM | …azure-cli-core/azure/cli/core/auth/msal_credentials.py | 57 | # Both paths: client_session in data and params so eSTS can identify the agentic session | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/live_test/sendemail.py | 530 | # there are a lot of useful properties, make sure to go over docs and check them out | STRING |
| MEDIUM | …ure-cli/azure/cli/command_modules/appservice/custom.py | 11551 | # For debugging purposes only, you can change the async deployment into a sync deployment by polling the API status | STRING |
| MEDIUM | …odules/appservice/tests/latest/test_webapp_commands.py | 31 | # you can use to rebuild the repository | COMMENT |
| MEDIUM | …s/appservice/tests/latest/test_functionapp_commands.py | 25 | # you can use to rebuild the repository | COMMENT |
| MEDIUM | …ules/appservice/tests/latest/test_logicapp_commands.py | 25 | # you can use to rebuild the repository | COMMENT |
| LOW | …/command_modules/profile/tests/latest/test_auth_e2e.py | 45 | # In the browser, if the user already exists, make sure to logout first and re-login to clear browser cache | COMMENT |
| LOW | …ules/eventgrid/tests/latest/test_eventgrid_commands.py | 1245 | # Make sure to replace these with proper values for re-recording the tests. | COMMENT |
| LOW | …mmand_modules/backup/tests/latest/test_sql_commands.py | 31 | # Please make sure you have the following setup in place before running the tests - | COMMENT |
| LOW | …mand_modules/backup/tests/latest/test_hana_commands.py | 28 | # Please make sure you have the following setup in place before running the tests - | COMMENT |
| MEDIUM | …odules/eventhubs/tests/latest/test_cluster_commands.py | 37 | # Same resource group can be used to rerun the test or you can change the resource-group by replacing test-migra | COMMENT |
| LOW | src/azure-cli-core/azure/cli/core/tests/test_profile.py | 52 | # If acquire_token_scopes is checked, make sure to create a new instance of MsalCredentialStub | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/azure-cli-core/azure/cli/core/aaz/_base.py | 45 | def process_data(self, data, **kwargs): | CODE |
| LOW | src/azure-cli-core/azure/cli/core/aaz/_field_type.py | 29 | def process_data(self, data, **kwargs): | CODE |
| LOW | src/azure-cli-core/azure/cli/core/aaz/_field_type.py | 74 | def process_data(self, data, **kwargs): | CODE |
| LOW | src/azure-cli-core/azure/cli/core/aaz/_field_type.py | 119 | def process_data(self, data, **kwargs): | CODE |
| LOW | src/azure-cli-core/azure/cli/core/aaz/_field_type.py | 238 | def process_data(self, data, **kwargs): | CODE |
| LOW | src/azure-cli-core/azure/cli/core/aaz/_field_type.py | 334 | def process_data(self, data, **kwargs): | CODE |
| LOW | src/azure-cli-core/azure/cli/core/aaz/_field_type.py | 437 | def process_data(self, data, **kwargs): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ommand_modules/acs/tests/latest/test_aks_safeguards.py | 16 | # TODO: add tests here | COMMENT |
| LOW | …azure-cli/azure/cli/command_modules/resource/custom.py | 3732 | # TODO: Add validation for that case too? | COMMENT |