AI Slop Code Risk Monitor

hashicorp/terraform-provider-azurerm

SlopCodeMonitor badge for hashicorp/terraform-provider-azurerm Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Terraform provider for Azure Resource Manager

0.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for hashicorp/terraform-provider-azurerm, a Go project with 4,981 GitHub stars. SynthScan examined 1,589,468 lines of code across 9533 source files, recording 326 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 0.5 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

0.5
Adjusted Signal
0.5
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
5.0K
Stars
Go
Language
1.6M
Lines of Code
9.5K
Files
326
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 1.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.2/100 · LOW

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

Agent Over-Engineering Ratio 0.4/100 · LOW

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

PR Review Velocity Impact 2.4/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 33HIGH 5MEDIUM 55LOW 233

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 326 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hallucination Indicators33 hits · 330 pts
SeverityFileLineSnippetContext
CRITICAL…vices/appservice/windows_function_app_slot_resource.go371 storageDomainSuffix, ok := metadata.Client.Account.Environment.Storage.DomainSuffix()CODE
CRITICAL…vices/appservice/windows_function_app_slot_resource.go871 storageDomainSuffix, ok := metadata.Client.Account.Environment.Storage.DomainSuffix()CODE
CRITICAL…nal/services/appservice/linux_function_app_resource.go389 storageDomainSuffix, ok := metadata.Client.Account.Environment.Storage.DomainSuffix()CODE
CRITICAL…nal/services/appservice/linux_function_app_resource.go886 storageDomainSuffix, ok := metadata.Client.Account.Environment.Storage.DomainSuffix()CODE
CRITICAL…ervices/appservice/linux_function_app_slot_resource.go363 storageDomainSuffix, ok := metadata.Client.Account.Environment.Storage.DomainSuffix()CODE
CRITICAL…ervices/appservice/linux_function_app_slot_resource.go851 storageDomainSuffix, ok := metadata.Client.Account.Environment.Storage.DomainSuffix()CODE
CRITICAL…l/services/appservice/windows_function_app_resource.go381 storageDomainSuffix, ok := metadata.Client.Account.Environment.Storage.DomainSuffix()CODE
CRITICAL…l/services/appservice/windows_function_app_resource.go885 storageDomainSuffix, ok := metadata.Client.Account.Environment.Storage.DomainSuffix()CODE
CRITICAL…s/appservice/function_app_flex_consumption_resource.go357 storageDomainSuffix, ok := metadata.Client.Account.Environment.Storage.DomainSuffix()CODE
CRITICAL…s/appservice/function_app_flex_consumption_resource.go775 storageDomainSuffix, ok := metadata.Client.Account.Environment.Storage.DomainSuffix()CODE
CRITICAL…us_database_cross_region_disaster_recovery_resource.go358 resp, err := metadata.Client.Oracle.OracleClient.AutonomousDatabases.Get(ctx, *id)CODE
CRITICAL…onfiguration/resources/app_configuration_key/r_read.go34 domainSuffix, ok := metadata.Client.Account.Environment.AppConfiguration.DomainSuffix()CODE
CRITICAL…guration/resources/app_configuration_feature/r_read.go35 domainSuffix, ok := metadata.Client.Account.Environment.AppConfiguration.DomainSuffix()CODE
CRITICAL…ervices/logic/resources/logic_app_standard/r_create.go433 suffix, _ := metadata.Client.Account.Environment.Storage.DomainSuffix()CODE
CRITICAL…g/machine_learning_datastore_datalake_gen2_resource.go190 resourceId, ok := metadata.Client.Account.Environment.DataLake.ResourceIdentifier()CODE
CRITICAL…g/machine_learning_datastore_datalake_gen2_resource.go255 resourceId, ok := metadata.Client.Account.Environment.DataLake.ResourceIdentifier()CODE
CRITICAL…rdware_security_module_key_rotation_policy_resource.go93 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…rdware_security_module_key_rotation_policy_resource.go150 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…rdware_security_module_key_rotation_policy_resource.go180 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…rdware_security_module_key_rotation_policy_resource.go222 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…ardware_security_module_role_definition_data_source.go138 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…vault_managed_hardware_security_module_key_resource.go189 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…vault_managed_hardware_security_module_key_resource.go305 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…vault_managed_hardware_security_module_key_resource.go371 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…vault_managed_hardware_security_module_key_resource.go469 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…d_hardware_security_module_role_assignment_resource.go113 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…d_hardware_security_module_role_assignment_resource.go184 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…d_hardware_security_module_role_assignment_resource.go243 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…d_hardware_security_module_role_definition_resource.go176 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…d_hardware_security_module_role_definition_resource.go265 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…d_hardware_security_module_role_definition_resource.go326 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…d_hardware_security_module_role_definition_resource.go385 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
CRITICAL…lt_managed_hardware_security_module_key_data_source.go113 domainSuffix, ok := metadata.Client.Account.Environment.ManagedHSM.DomainSuffix()CODE
Self-Referential Comments28 hits · 111 pts
SeverityFileLineSnippetContext
MEDIUM⚡…kubernetes_cluster_extension/testdata/install_agent.py131 # Creating the helm folder if it doesn't existCOMMENT
MEDIUM⚡…kubernetes_cluster_extension/testdata/install_agent.py149 # Creating the compressed helm binariesCOMMENT
MEDIUM⚡…ubernetes_flux_configuration/testdata/install_agent.py131 # Creating the helm folder if it doesn't existCOMMENT
MEDIUM⚡…ubernetes_flux_configuration/testdata/install_agent.py149 # Creating the compressed helm binariesCOMMENT
MEDIUM⚡…urces/arc_kubernetes_cluster/testdata/install_agent.py131 # Creating the helm folder if it doesn't existCOMMENT
MEDIUM⚡…urces/arc_kubernetes_cluster/testdata/install_agent.py149 # Creating the compressed helm binariesCOMMENT
MEDIUM⚡…al/services/extendedlocation/testdata/install_agent.py134 # Creating the helm folder if it doesn't existCOMMENT
MEDIUM⚡…al/services/extendedlocation/testdata/install_agent.py152 # Creating the compressed helm binariesCOMMENT
MEDIUM⚡…ded_location_custom_location/testdata/install_agent.py134 # Creating the helm folder if it doesn't existCOMMENT
MEDIUM⚡…ded_location_custom_location/testdata/install_agent.py152 # Creating the compressed helm binariesCOMMENT
MEDIUM…resources/cdn_frontdoor_custom_domain/resource_test.go316 # Create a delegated child zone inside the test RG.COMMENT
MEDIUM…resources/cdn_frontdoor_custom_domain/resource_test.go376 # Create a delegated child zone inside the test RG.COMMENT
MEDIUM…sources/cdn_frontdoor_security_policy/resource_test.go186 # Create a delegated child zone inside the test RG.COMMENT
MEDIUM…n_frontdoor_custom_domain_association/resource_test.go195 # Create a delegated child zone inside the test RG.COMMENT
MEDIUM…dn/actions/azure_front_door_cache_purge/action_test.go142 # Create a delegated child zone inside the test RG.COMMENT
MEDIUM⚡examples/netapp/protocol_conversion/main.tf14# Create the resource groupCOMMENT
MEDIUM⚡examples/netapp/protocol_conversion/main.tf23# Create the virtual networkCOMMENT
MEDIUM⚡examples/netapp/protocol_conversion/main.tf31# Create the subnetCOMMENT
MEDIUM⚡examples/netapp/protocol_conversion/main.tf48# Create the NetApp accountCOMMENT
MEDIUM⚡examples/netapp/protocol_conversion/main.tf55# Create the NetApp poolCOMMENT
MEDIUM⚡examples/netapp/protocol_conversion/main.tf65# Create a NetApp volume with NFSv3 protocol (initial state)COMMENT
MEDIUM⚡examples/arckubernetes/testdata/install_agent.py131 # Creating the helm folder if it doesn't existCOMMENT
MEDIUM⚡examples/arckubernetes/testdata/install_agent.py149 # Creating the compressed helm binariesCOMMENT
MEDIUMexamples/virtual-networks/azure-firewall/main.tf8# Create a resource groupCOMMENT
MEDIUM.github/workflows/pr-comment-failure.yaml9 # This file is reused, and called from other workflowsCOMMENT
MEDIUM.github/workflows/pr-comment-failure-outdated.yaml9 # This file is reused, and called from other workflowsCOMMENT
MEDIUM.github/workflows/pr-save-artifacts.yaml14 # This file is reused, and called from other workflowsCOMMENT
MEDIUM.github/workflows/issue-remove-label.yaml12 # This file is reused, and called from other workflowsCOMMENT
Over-Commented Block74 hits · 74 pts
SeverityFileLineSnippetContext
LOWcontributing/topics/guide-new-resource.md281 // update the Resource GroupCOMMENT
LOWcontributing/topics/guide-new-resource.md361COMMENT
LOWcontributing/topics/guide-new-data-source.md221COMMENT
LOW…ternal/tools/preview-api-version-linter/exceptions.yml1# Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/tools/pr-guide-suggestions/main.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOW…al/tools/pr-guide-suggestions/schematree/schematree.go41 Schema *SchemaLitCOMMENT
LOWinternal/tools/pr-guide-suggestions/rules/rules.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/tools/teamcity-test-reporter/main.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/features/six_point_oh.go21COMMENT
LOWinternal/features/dynamic_test_locations.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/acceptance/plugin_sdk_aliases.go61// TestMatchOutput is a wrapper to enable builds to continueCOMMENT
LOWinternal/sdk/resource.go61COMMENT
LOWinternal/sdk/resource.go121 // IdentityType returns the type of resource ID, this is used to influence schema generation behavioursCOMMENT
LOWinternal/sdk/service_registration.go41 SupportedResources() map[string]*pluginsdk.ResourceCOMMENT
LOWinternal/services/springcloud/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/mssqlmanagedinstance/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/domainservices/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOW…urces/active_directory_domain_service/resource_test.go21// To generate a suitable cert for AADDS:COMMENT
LOWinternal/services/securitycenter/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/keyvault/key_vault_resource.go361 meta.(*clients.Client).KeyVault.AddToCache(id, vaultUri)COMMENT
LOWinternal/services/keyvault/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/keyvault/migration/key_vault.go441 // The Azure API force-upgraded all Key Vaults so that Soft Delete was enabled on 2020-12-15COMMENT
LOWinternal/services/keyvault/client/populate_cache.go21 // Whilst we've historically used the Resources API to query the single Key Vault in questionCOMMENT
LOWinternal/services/web/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/frontdoor/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/datafactory/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/networkgateway/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/network/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/cosmos/cosmosdb_account_resource.go981 // Incident : #383341730COMMENT
LOW…bricks/resources/databricks_workspace/resource_test.go581 Config: r.enhancedSecurityCompliance(data, "premium", true, false, []string{"PCI_DSS", "HIPAA"}, true),COMMENT
LOWinternal/services/appgateway/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/appgateway/resourceids.go21//go:generate go run ../../tools/generator-resource-id/main.go -path=./ -name=SslProfile -id=/subscriptions/12345678-123COMMENT
LOWinternal/services/iothub/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/loadbalancer/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/storage/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/firewall/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/applicationinsights/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/cdn/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOW…ervices/cdn/resources/cdn_frontdoor_origin/r_delete.go21 id, err := afdorigins.ParseOriginGroupOriginID(d.Id())COMMENT
LOW…resources/cdn_frontdoor_custom_domain/resource_test.go161 },COMMENT
LOW…resources/cdn_frontdoor_custom_domain/resource_test.go281// TODO: Add test case that uses pre_validated_custom_domain_resource_idCOMMENT
LOW…resources/cdn_frontdoor_custom_domain/resource_test.go701// dns_zone_id = azurerm_dns_zone.child.idCOMMENT
LOW…rchestrated_virtual_machine_scale_set/resource_test.go341 },COMMENT
LOW…rchestrated_virtual_machine_scale_set/resource_test.go361// func TestAccOrchestratedVirtualMachineScaleSet_basicWindows_managedDisk_resize(t *testing.T) {COMMENT
LOW…rchestrated_virtual_machine_scale_set/resource_test.go481 })COMMENT
LOW…rchestrated_virtual_machine_scale_set/resource_test.go501// data := acceptance.BuildTestData(t, "azurerm_orchestrated_virtual_machine_scale_set", "test")COMMENT
LOW…rchestrated_virtual_machine_scale_set/resource_test.go521// {COMMENT
LOW…rchestrated_virtual_machine_scale_set/resource_test.go541// check.That(data.ResourceName).Key("rolling_upgrade_policy.0.max_unhealthy_upgraded_instance_percent").HasValue("2COMMENT
LOWinternal/services/managedhsm/client/helpers.go121func (c *Client) cacheKeyForManagedHSM(name string) string {COMMENT
LOW…services/containers/helpers/kubernetes_version_diff.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOW…omanage/resources/automanage_configuration/r_schema.go121 },COMMENT
LOWinternal/services/synapse/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/synapse/resourceids.go21//go:generate go run ../../tools/generator-resource-id/main.go -path=./ -name=WorkspaceExtendedAuditingPolicy -id=/subscCOMMENT
LOWinternal/services/mssql/mssql_database_resource.go841 }COMMENT
LOWinternal/services/mssql/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/policy/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/services/costmanagement/resourceids.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOW…vices/managedredis/resources/managed_redis/resource.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOW…rnal/services/managedredis/databaselink/link_unlink.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWinternal/resourceproviders/required.go1// Copyright IBM Corp. 2014, 2026COMMENT
14 more matches not shown…
Excessive Try-Catch Wrapping48 hits · 60 pts
SeverityFileLineSnippetContext
LOW…kubernetes_cluster_extension/testdata/install_agent.py30 except Exception as e:CODE
LOW…kubernetes_cluster_extension/testdata/install_agent.py35 except Exception as e:CODE
LOW⚡…kubernetes_cluster_extension/testdata/install_agent.py135 except Exception as e:CODE
LOW⚡…kubernetes_cluster_extension/testdata/install_agent.py143 except Exception as e:CODE
LOW⚡…kubernetes_cluster_extension/testdata/install_agent.py153 except Exception as e:CODE
LOW⚡…kubernetes_cluster_extension/testdata/install_agent.py162 except Exception as e:CODE
LOW…kubernetes_cluster_extension/testdata/install_agent.py217 except Exception as e:CODE
LOW…kubernetes_cluster_extension/testdata/install_agent.py223 except Exception as e:CODE
LOW…ubernetes_flux_configuration/testdata/install_agent.py30 except Exception as e:CODE
LOW…ubernetes_flux_configuration/testdata/install_agent.py35 except Exception as e:CODE
LOW⚡…ubernetes_flux_configuration/testdata/install_agent.py135 except Exception as e:CODE
LOW⚡…ubernetes_flux_configuration/testdata/install_agent.py143 except Exception as e:CODE
LOW⚡…ubernetes_flux_configuration/testdata/install_agent.py153 except Exception as e:CODE
LOW⚡…ubernetes_flux_configuration/testdata/install_agent.py162 except Exception as e:CODE
LOW…ubernetes_flux_configuration/testdata/install_agent.py217 except Exception as e:CODE
LOW…ubernetes_flux_configuration/testdata/install_agent.py223 except Exception as e:CODE
LOW…urces/arc_kubernetes_cluster/testdata/install_agent.py30 except Exception as e:CODE
LOW…urces/arc_kubernetes_cluster/testdata/install_agent.py35 except Exception as e:CODE
LOW⚡…urces/arc_kubernetes_cluster/testdata/install_agent.py135 except Exception as e:CODE
LOW⚡…urces/arc_kubernetes_cluster/testdata/install_agent.py143 except Exception as e:CODE
LOW⚡…urces/arc_kubernetes_cluster/testdata/install_agent.py153 except Exception as e:CODE
LOW⚡…urces/arc_kubernetes_cluster/testdata/install_agent.py162 except Exception as e:CODE
LOW…urces/arc_kubernetes_cluster/testdata/install_agent.py217 except Exception as e:CODE
LOW…urces/arc_kubernetes_cluster/testdata/install_agent.py223 except Exception as e:CODE
LOW…al/services/extendedlocation/testdata/install_agent.py33 except Exception as e:CODE
LOW…al/services/extendedlocation/testdata/install_agent.py38 except Exception as e:CODE
LOW⚡…al/services/extendedlocation/testdata/install_agent.py138 except Exception as e:CODE
LOW⚡…al/services/extendedlocation/testdata/install_agent.py146 except Exception as e:CODE
LOW⚡…al/services/extendedlocation/testdata/install_agent.py156 except Exception as e:CODE
LOW⚡…al/services/extendedlocation/testdata/install_agent.py165 except Exception as e:CODE
LOW…al/services/extendedlocation/testdata/install_agent.py225 except Exception as e:CODE
LOW…al/services/extendedlocation/testdata/install_agent.py231 except Exception as e:CODE
LOW…ded_location_custom_location/testdata/install_agent.py33 except Exception as e:CODE
LOW…ded_location_custom_location/testdata/install_agent.py38 except Exception as e:CODE
LOW⚡…ded_location_custom_location/testdata/install_agent.py138 except Exception as e:CODE
LOW⚡…ded_location_custom_location/testdata/install_agent.py146 except Exception as e:CODE
LOW⚡…ded_location_custom_location/testdata/install_agent.py156 except Exception as e:CODE
LOW⚡…ded_location_custom_location/testdata/install_agent.py165 except Exception as e:CODE
LOW…ded_location_custom_location/testdata/install_agent.py225 except Exception as e:CODE
LOW…ded_location_custom_location/testdata/install_agent.py231 except Exception as e:CODE
LOWexamples/arckubernetes/testdata/install_agent.py30 except Exception as e:CODE
LOWexamples/arckubernetes/testdata/install_agent.py35 except Exception as e:CODE
LOW⚡examples/arckubernetes/testdata/install_agent.py135 except Exception as e:CODE
LOW⚡examples/arckubernetes/testdata/install_agent.py143 except Exception as e:CODE
LOW⚡examples/arckubernetes/testdata/install_agent.py153 except Exception as e:CODE
LOW⚡examples/arckubernetes/testdata/install_agent.py162 except Exception as e:CODE
LOWexamples/arckubernetes/testdata/install_agent.py217 except Exception as e:CODE
LOWexamples/arckubernetes/testdata/install_agent.py223 except Exception as e:CODE
Decorative Section Separators17 hits · 51 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/pr-checks-combined.yaml25 # ==========================================COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml27 # ==========================================COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml42 # ==========================================COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml78 # ==========================================COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml80 # ==========================================COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml128 # ------------------------------------------COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml174 # ------------------------------------------COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml223 # ------------------------------------------COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml269 # ------------------------------------------COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml314 # ------------------------------------------COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml363 # ------------------------------------------COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml408 # ==========================================COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml410 # ==========================================COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml463 # ------------------------------------------COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml530 # ------------------------------------------COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml583 # ------------------------------------------COMMENT
MEDIUM.github/workflows/pr-checks-combined.yaml652 # ------------------------------------------COMMENT
TODO Padding32 hits · 48 pts
SeverityFileLineSnippetContext
LOW…ools/document-fmt/rule/rule_s005_attributes_heading.go53 // TODO: implement templating of new section when validating/templating properties has been added.COMMENT
LOW…tools/document-fmt/rule/rule_s004_arguments_heading.go53 // TODO: implement templating of new section when validating/templating of all properties has been added.COMMENT
LOW…s/kusto/kusto_cluster_customer_managed_key_resource.go196 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…ed_instance_active_directory_administrator_resource.go129 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…naged_instance_transparent_data_encryption_resource.go140 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…apimanagement/api_management_custom_domain_resource.go151 // TODO: implement callback, requires migrating to an ID implementing `resourceids.ResourceId`COMMENT
LOW…/resources/active_directory_domain_service/r_create.go119 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…rces/active_directory_domain_service_trust/r_create.go88 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…l/services/network/virtual_network_peering_resource.go190 // TODO: implement `CallbackThenPoll`, rework to remove StateChangeConfCOMMENT
LOW…int_application_security_group_association_resource.go146 // TODO: implement callback, requires migrating to an ID implementing `resourceids.ResourceId`COMMENT
LOWinternal/services/network/private_endpoint_resource.go383 // TODO: implement callbackCOMMENT
LOWinternal/services/network/ip_group_cidr_resource.go113 // TODO: implement callback, requires migrating to an ID implementing `resourceids.ResourceId`COMMENT
LOW…rvices/network/virtual_network_dns_servers_resource.go98 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…/resources/lb_backend_address_pool_address/r_create.go123 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…ervices/loadbalancer/resources/lb_nat_pool/r_create.go77 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…al/services/storage/storage_account_sas_data_source.go231 // TODO: implement support for signedEncryptionScopeCOMMENT
LOW…all/resources/firewall_nat_rule_collection/r_create.go105 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…resources/firewall_network_rule_collection/r_create.go106 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…urces/firewall_application_rule_collection/r_create.go104 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…resources/cdn_frontdoor_custom_domain/resource_test.go281// TODO: Add test case that uses pre_validated_custom_domain_resource_idCOMMENT
LOW…resources/cdn_frontdoor_custom_domain/resource_test.go292// TODO: Add test case that uses CMK, this cannot be a test cert or a selfCOMMENT
LOW…ces/cdn/resources/cdn_frontdoor_route/resource_test.go21// TODO: Add test with real custom domain once I figure out how to do thatCOMMENT
LOW…urces/virtual_machine_data_disk_attachment/r_create.go127 // TODO: implement `CallbackThenPoll` on Create, requires updated resource ID implementing `resourceids.ResourceId`COMMENT
LOW…ual_machine_gallery_application_assignment/r_create.go91 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…ual_machine_implicit_data_disk_from_source/r_create.go96 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…ible_server_active_directory_administrator_resource.go121 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…eamanalytics/stream_analytics_job_schedule_resource.go131 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…esources/container_registry_token_password/r_create.go55 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…s/mssql/mssql_server_security_alert_policy_resource.go175 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…l_server_microsoft_support_auditing_policy_resource.go135 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…l/mssql_server_transparent_data_encryption_resource.go138 // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
LOW…s/virtualwan/virtual_hub_route_table_route_resource.go156 // // TODO: implement `CallbackThenPoll`, requires migrating to an ID that implements `resourceids.ResourceId`COMMENT
Fake / Example Data43 hits · 43 pts
SeverityFileLineSnippetContext
LOWinternal/provider/provider_schema_test.go334 allowsPlaceholderValue := runInputForValidateFunction(field.ValidateFunc, "placeholder")CODE
LOW…nagement_notification_recipient_email_resource_test.go89 email = "foo@bar.com"CODE
LOW…services/apimanagement/api_management_resource_test.go1343 text = "Lorem Ipsum Dolor Morty"CODE
LOW…ices/apimanagement/api_management_api_resource_test.go821 email = "test@test.com"CODE
LOW…ices/apimanagement/api_management_api_resource_test.go1110 email = "test@test.com"CODE
LOW…ices/apimanagement/api_management_api_resource_test.go1139 email = "test@test.com"CODE
LOW…anagement_notification_recipient_user_resource_test.go93 email = "foo@bar.com"CODE
LOW…urces/active_directory_domain_service/resource_test.go350 additional_recipients = ["notifyA@example.net", "notifyB@example.org"]CODE
LOW…al/services/qumulo/qumulo_file_system_resource_test.go120 email = "test@test.com"CODE
LOW…al/services/qumulo/qumulo_file_system_resource_test.go138 email = "test@test.com"CODE
LOW…al/services/qumulo/qumulo_file_system_resource_test.go179 email = "test@test.com"CODE
LOW…tabase_cross_region_disaster_recovery_resource_test.go49 check.That(data.ResourceName).Key("customer_contacts.0").HasValue("test@test.com"),CODE
LOW…tabase_cross_region_disaster_recovery_resource_test.go236 customer_contacts = ["test@test.com"]CODE
LOW…autonomous_database_clone_from_backup_resource_test.go176 customer_contacts = ["test@test.com"]CODE
LOW…/oracle/oracle_exadata_infrastructure_resource_test.go171 customer_contacts = ["test@test.com"]CODE
LOW…ces/oracle/oracle_autonomous_database_resource_test.go215 customer_contacts = ["test@test.com"]CODE
LOW…ase_cross_region_disaster_recovery_data_source_test.go30 check.That(data.ResourceName).Key("customer_contacts.0").HasValue("test@test.com"),CODE
LOW…ernal/services/nginx/nginx_deployment_resource_test.go44 check.That(data.ResourceName).Key("email").HasValue("test@test.com"),CODE
LOW…ernal/services/nginx/nginx_deployment_resource_test.go207 email = "test@test.com"CODE
LOW…ernal/services/nginx/nginx_deployment_resource_test.go245 email = "test@test.com"CODE
LOW…ernal/services/nginx/nginx_deployment_resource_test.go285 email = "test@test.com"CODE
LOW…ernal/services/nginx/nginx_deployment_resource_test.go331 email = "test@test.com"CODE
LOW…ernal/services/nginx/nginx_deployment_resource_test.go448 email = "test@test.com"CODE
LOW…ernal/services/nginx/nginx_deployment_resource_test.go519 email = "test@test.com"CODE
LOW…ernal/services/nginx/nginx_deployment_resource_test.go557 email = "test@test.com"CODE
LOW…ernal/services/nginx/nginx_deployment_resource_test.go590 email = "test@test.com"CODE
LOW…ernal/services/nginx/nginx_deployment_resource_test.go750 email = "test@test.com"CODE
LOW…/services/hdinsight/hdinsight_cluster_resource_test.go189 additional_recipients = ["notifyA@example.net", "notifyB@example.org"]CODE
LOW…nagement/resources/cost_anomaly_alert/resource_test.go121 email_addresses = ["test@test.com", "test@hashicorp.developer"]CODE
LOW…nagement/resources/cost_anomaly_alert/resource_test.go137 email_addresses = ["test@test.com", "test@hashicorp.developer"]CODE
LOW…nagement/resources/cost_anomaly_alert/resource_test.go156 email_addresses = ["test@test.com", "test@hashicorp.developer"]CODE
LOW…nagement/resources/cost_anomaly_alert/resource_test.go205 email_addresses = ["tester@test.com", "test2@hashicorp.developer", "test@test.com"]CODE
LOW…rces/cost_management_scheduled_action/resource_test.go108 Config: r.emailAddressSender(data, "test@test.com"),CODE
LOW…rces/cost_management_scheduled_action/resource_test.go156 email_addresses = ["test@test.com", "hashicorp@test.com"]CODE
LOW…rces/cost_management_scheduled_action/resource_test.go157 email_address_sender = "test@test.com"CODE
LOW…rces/cost_management_scheduled_action/resource_test.go185 email_addresses = ["test@test.com", "hashicorp@test.com"]CODE
LOW…rces/cost_management_scheduled_action/resource_test.go186 email_address_sender = "test@test.com"CODE
LOW…rces/cost_management_scheduled_action/resource_test.go216 email_addresses = ["test@test.com", "hashicorp@test.com"]CODE
LOW…rces/cost_management_scheduled_action/resource_test.go217 email_address_sender = "test@test.com"CODE
LOW…rces/cost_management_scheduled_action/resource_test.go247 email_addresses = ["test@test.com", "hashicorp@test.com"]CODE
LOW…rces/cost_management_scheduled_action/resource_test.go248 email_address_sender = "test@test.com"CODE
LOW…rces/cost_management_scheduled_action/resource_test.go299 email_addresses = ["test@test.com", "hashicorp@test.com"]CODE
LOWexamples/hdinsight/enterprise-security-package/main.tf156 additional_recipients = ["notifyA@example.net", "notifyB@example.org"]CODE
Structural Annotation Overuse22 hits · 35 pts
SeverityFileLineSnippetContext
LOWcontributing/topics/guide-new-resource.md32### Step 1: Ensure the Tools are installedCOMMENT
LOWcontributing/topics/guide-new-resource.md36### Step 2: Add an SDK Client (if required)COMMENT
LOWcontributing/topics/guide-new-resource.md89### Step 3: Define the Resource IDCOMMENT
LOWcontributing/topics/guide-new-resource.md95### Step 4: Scaffold an empty/new ResourceCOMMENT
LOW⚡contributing/topics/guide-new-resource.md705### Step 5: Adding Resource Identity (Required)COMMENT
LOW⚡contributing/topics/guide-new-resource.md709### Step 6: Adding a List Resource (Required)COMMENT
LOW⚡contributing/topics/guide-new-resource.md713### Step 7: Register the new ResourceCOMMENT
LOWcontributing/topics/guide-new-resource.md797### Step 8: Add Acceptance Test(s) for this ResourceCOMMENT
LOWcontributing/topics/guide-new-resource.md955### Step 9: Run the Acceptance Test(s)COMMENT
LOWcontributing/topics/guide-new-resource.md988### Step 10: Add Documentation for this ResourceCOMMENT
LOWcontributing/topics/guide-new-resource.md1058### Step 11: Send the Pull RequestCOMMENT
LOWcontributing/topics/guide-new-data-source.md28### Step 1: Ensure the Tools are installedCOMMENT
LOWcontributing/topics/guide-new-data-source.md32### Step 2: Add an SDK Client (if required)COMMENT
LOWcontributing/topics/guide-new-data-source.md87### Step 3: Define the Resource IDCOMMENT
LOWcontributing/topics/guide-new-data-source.md93### Step 4: Scaffold an empty/new Data SourceCOMMENT
LOWcontributing/topics/guide-new-data-source.md350### Step 5: Register the new Data SourceCOMMENT
LOWcontributing/topics/guide-new-data-source.md433### Step 6: Add Acceptance Test(s) for this Data SourceCOMMENT
LOWcontributing/topics/guide-new-data-source.md500### Step 7: Run the Acceptance Test(s)COMMENT
LOWcontributing/topics/guide-new-data-source.md523### Step 8: Add Documentation for this Data SourceCOMMENT
LOWcontributing/topics/guide-new-data-source.md583### Step 9: Send the Pull RequestCOMMENT
LOW…services/oracle/oracle_autonomous_database_resource.go356 // Step 1: Handle general updates (everything except backup schedule)COMMENT
LOW…services/oracle/oracle_autonomous_database_resource.go411 // Step 2: Handle backup schedule update separatelyCOMMENT
Synthetic Comment Markers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHscripts/automation/pr-close-failing-ci.sh226 echo "Run \`make generate\` to regenerate any auto-generated code, then commit the changes."CODE
HIGH.github/workflows/pr-comment-failure.yaml51 'Generation Check': 'Run `make generate` locally to regenerate any auto-generated code, then commit the reCODE
HIGH.github/workflows/pr-checks-combined.yaml555 echo "Run 'make generate' locally to regenerate auto-generated code, then commit the changes."CODE
Verbosity Indicators9 hits · 14 pts
SeverityFileLineSnippetContext
LOW…services/oracle/oracle_autonomous_database_resource.go356 // Step 1: Handle general updates (everything except backup schedule)COMMENT
LOW…services/oracle/oracle_autonomous_database_resource.go411 // Step 2: Handle backup schedule update separatelyCOMMENT
LOW…sources/cdn_frontdoor_firewall_policy/resource_test.go264 // from the config we need to check if the reset to defaultCOMMENT
LOW…sources/cdn_frontdoor_firewall_policy/resource_test.go307 // from the config we need to check if the reset to defaultCOMMENT
LOW…es/container_app_environment_custom_domain/r_update.go40 // We need to check if a log analytic is attached and must get the shared key if it doesCOMMENT
LOW…es/container_app_environment_custom_domain/r_delete.go34 // We need to check if a log analytic is attached and must get the shared key if it doesCOMMENT
LOW…es/container_app_environment_custom_domain/r_create.go52 // We need to check if a log analytic is attached and must get the shared key if it doesCOMMENT
LOW…ices/containers/helpers/kubernetes_cluster_validate.go73 // if it's an existing cluster, we need to check if there's currently a SP used on this cluster that isn'tCOMMENT
LOW…/management_group_subscription_association_resource.go121 // There is no "read" function on the appropriate client so we need to check if the Subscription is in the Management GCOMMENT
Modern AI Meta-Vocabulary5 hits · 13 pts
SeverityFileLineSnippetContext
MEDIUMcontributing/topics/guide-new-fields-to-data-source.md19The location of the new property within this list is determined based on the order found in [adding a new data source](gCODE
MEDIUMcontributing/topics/guide-new-fields-to-resource.md17The position of the new property is determined based on the order found in [adding a new resource](guide-new-resource.mdCODE
MEDIUMinternal/tools/document-fmt/cmd/flags.go26// FlagsScaffold should contain the flags required by `website-scaffold` once that functionalityCOMMENT
MEDIUM…rchestrated_virtual_machine_scale_set/resource_test.go906 # Flexible orchestration mode allows for heterogeneous VMs and more flexibilityCOMMENT
MEDIUMscripts/website-scaffold.sh47 # Temporary - `website-scaffold` tool should be merged into the `document-fmt` toolCOMMENT
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…ers/resources/kubernetes_cluster_node_pool/r_update.go275 // to provide a seamless updating experience for the node pool we need to cycle it by provisioning a temporary one,COMMENT
MEDIUM…es/containers/resources/kubernetes_cluster/r_update.go656 // to provide a seamless updating experience for the vm size of the default node pool we need to cycle the defaultCOMMENT
MEDIUMinternal/resourceproviders/required.go106// All is intended to be a complete set of RPs that might be needed to utilize any functionality in the provider.COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHinternal/services/storage/storage_account_resource.go1699 // to fix this, I have added this code to explicitly to set the value to true if is nil to workaround the Portal UI buCOMMENT
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippetContext
LOWscripts/checks/gradually-deprecated.sh39 # Check if the line itself contains lintignore:<rule> (allowing optional spaces)COMMENT
LOWscripts/checks/gradually-deprecated.sh44 # Check if the preceding line exists and contains lintignore:<rule>COMMENT
LOWscripts/checks/enforce-list-for-new-resources.sh39 # Check if the list file exists in the repo (already present or added in this PR)COMMENT
LOWscripts/automation/pr-close-failing-ci.sh304# Check if we already left a warning comment (uses a hidden HTML marker)COMMENT
LOW.teamcity/scripts/post_github_comment.sh491 # Check if minimization was successfulCOMMENT
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMinternal/services/keyvault/client/populate_cache.go36 // Finally, it's worth noting that we intentionally List ALL the Key Vaults within a SubscriptionCOMMENT
MEDIUMinternal/services/managedhsm/client/helpers.go142 // Finally, it's worth noting that we intentionally List ALL the Managed HSMs within a SubscriptionCOMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…/function-python/SampleApp/PythonSampleApp/__init__.py16except ValueError:CODE