AI Slop Code RIsk Monitor

nginx/kubernetes-ingress

NGINX and NGINX Plus Ingress Controllers for Kubernetes

6.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for nginx/kubernetes-ingress, a Go project with 5,082 GitHub stars. SynthScan examined 362,866 lines of code across 2203 source files, recording 1480 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 6.5 (Moderate pattern signal); it is not an authorship estimate.

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

6.5
Adjusted Signal
6.5
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
5.1K
Stars
Go
Language
362.9K
Lines of Code
2.2K
Files
1.5K
Pattern Hits
2026-10-12
Scan Date
0.04
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 21.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 14.6/100 · LOW

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

PR Review Velocity Impact 24.4/100 · LOW

Which changes need focused human review? 1480 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 1HIGH 79MEDIUM 73LOW 1327

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 1480 distinct pattern matches across 18 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.

Structural Annotation Overuse425 hits · 777 pts
SeverityFileLineSnippetContext
LOWtests/requirements.txt1029# WARNING: The following packages were not pinned, but pip requires them to beCOMMENT
LOWtests/README.md24#### Step 1 - Create a Minikube ClusterCOMMENT
LOWtests/README.md30#### Step 2 - Run the TestsCOMMENT
LOWtests/README.md88#### Step 1 - Create a Kind ClusterCOMMENT
LOWtests/README.md94#### Step 2 - Run the TestsCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py179 # Step 2: conf file was removed — no traffic served for this TSCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py184 # Step 3: traffic is rejected/no response for this TSCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py267 # Step 1: TS has valid config and serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py276 # Step 2: patch TS with invalid server snippetCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py287 # Step 3: TS traffic still works — invalid config was rolled backCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py295 # Step 4: TS config rolled back, invalid directive absent from confCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py305 # Step 5: TS is Invalid, status contains actual nginx error and rollback confirmationCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py388 # Step 2: VS serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py391 # Step 3: apply ConfigMap with invalid settingCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py421 # Step 5: VS still serves traffic — Valid statusCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py425 # Step 6: TS traffic still worksCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py433 # Step 7: TS config unchangedCOMMENT
LOWtests/suite/test_config_rollback_ts.py166 # Step 1: TS is Invalid — no previous config to fall back toCOMMENT
LOWtests/suite/test_config_rollback_ts.py319 # Step 6: VS still serves traffic — unaffected by TS rollbackCOMMENT
LOWtests/suite/test_config_rollback_ts.py373 # Step 1: capture TS config before change, verify trafficCOMMENT
LOWtests/suite/test_config_rollback_ts.py402 # Step 4: IC logs confirm main config rollbackCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py68 # Step 1: create VS with invalid server-snippet baked in (sub_filter_once invalid)COMMENT
LOW⚡tests/suite/test_config_rollback_vs.py75 # Step 2: VS is Invalid — no previous config to fall back to, status contains actual nginx errorCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py176 # Step 1: valid VS serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py178 # Step 2: load VS YAML, apply invalid patch, send to clusterCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py268 # Step 1: VS serves traffic, capture TS configCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py277 # Step 2: apply ConfigMap with invalid settingCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py287 # Step 3: IC logs confirm rollback with actual nginx errorCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py305 # Step 4: VS still responds — nginx.conf was rolled back, VS not affectedCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py308 # Step 5: TS config unchangedCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py357 # Step 2: capture TS config before ConfigMap changeCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py366 # Step 3: apply ConfigMap with invalid location-snippetsCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py421 # Step 6: ConfigMap event reflects partial failureCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py431 # Step 7: restoring the ConfigMap returns the controller to the normal stateCOMMENT
LOWtests/suite/test_config_rollback_vs.py87 # Step 3: conf file was removed — no traffic served for this hostCOMMENT
LOWtests/suite/test_config_rollback_vs.py189 # Step 3: traffic still works — invalid config was rolled backCOMMENT
LOWtests/suite/test_config_rollback_vs.py200 # Step 4: VS is Invalid, status contains actual nginx error and rollback confirmationCOMMENT
LOWtests/suite/test_config_rollback_vs.py213 # Step 5: add new VS to prove nginx -t still passes after rollbackCOMMENT
LOWtests/suite/test_config_rollback_vs.py333 # Step 1: create three valid VirtualServersCOMMENT
LOWtests/suite/test_config_rollback_vs.py377 # Step 4: the later VS resources fail; the controller then takes the shared-input early-exit pathCOMMENT
LOWtests/suite/test_config_rollback_vs.py410 # Step 5: TS config unchanged (stream blocks not affected by location-snippets)COMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py88 # Step 1: create Ingress with invalid server-snippet baked inCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py96 # Step 2: conf file removed — no traffic servedCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py218 # Step 1: Ingress serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py221 # Step 2: patch Ingress with invalid annotation(s)COMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py230 # Step 3: traffic still works — invalid config rolled backCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py293 # Step 1: Ingress serves traffic, capture TS configCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py303 # Step 2: apply ConfigMap with invalid settingCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py333 # Step 4: Ingress still respondsCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py336 # Step 5: TS config unchangedCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py379 # Step 2: capture TS config before ConfigMap changeCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py388 # Step 3: apply ConfigMap with invalid location-snippetsCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py399 # Step 4: logs show threshold-triggered early exit; previous-good traffic keeps workingCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py409 # Step 5: TS config unchanged (stream blocks not affected by location-snippets)COMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py420 # Step 6: ConfigMap event reflects partial failureCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py430 # Step 7: restoring the ConfigMap returns the controller to the normal stateCOMMENT
LOWtests/suite/test_config_rollback_ingress.py110 # Step 3: event contains actual nginx error, but no "rolled back" (nothing to roll back to)COMMENT
LOWtests/suite/test_config_rollback_ingress.py241 # Step 4: event contains actual nginx error and rollback confirmationCOMMENT
LOWtests/suite/test_config_rollback_ingress.py314 # Step 3: IC logs confirm rollback with actual nginx errorCOMMENT
LOWtests/suite/test_config_rollback_ingress.py363 # Step 1: create three valid IngressesCOMMENT
365 more matches not shown…
Hyper-Verbose Identifiers546 hits · 547 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py163def pytest_collection_modifyitems(config, items) -> None:CODE
LOWtests/conftest.py221def pytest_runtest_makereport(item) -> None:CODE
LOWtests/suite/test_filter_secrets.py15def setup_single_secret_and_ns(request, kube_apis):CODE
LOWtests/suite/test_filter_secrets.py39 def test_filter_secret_single_namespace(self, request, kube_apis, ingress_controller, setup_single_secret_and_ns):CODE
LOWtests/suite/test_filter_secrets.py52 def test_filter_secret_created_after_ic(self, request, kube_apis, ingress_controller):CODE
LOWtests/suite/test_filter_secrets.py69def setup_multiple_ns_and_multiple_secrets(request, kube_apis):CODE
LOWtests/suite/test_filter_secrets.py106 def test_filter_secret_multi_namespace(CODE
LOWtests/suite/test_filter_secrets.py121 def test_filter_secret_multiplue_created_after_ic(self, request, kube_apis, ingress_controller):CODE
LOWtests/suite/test_watch_namespace_label.py98def create_and_setup_namespace(kube_apis, ingress_controller_endpoint, ns_name, is_vs=False):CODE
LOWtests/suite/test_ingress_mtls_ingress.py73 def setup_invalid_ingress_mtls(self, kube_apis, test_namespace):CODE
LOWtests/suite/test_ingress_mtls_ingress.py91 def test_ingress_mtls_policy_ingress(CODE
LOWtests/suite/test_ingress_mtls_ingress.py189 def test_ingress_mtls_policy_ingress_with_opaque_secret(CODE
LOWtests/suite/test_ingress_mtls_ingress.py267 def test_invalid_ingress_mtls_policy_ingress(CODE
LOWtests/suite/test_ingress_mtls_ingress.py346 def test_ingress_mtls_chain_validation(CODE
LOWtests/suite/test_ingress_mtls_ingress.py449 def test_ingress_mtls_missing_secret_ingress(CODE
LOWtests/suite/test_config_rollback_ts.py348 def test_configmap_main_snippet_rollback(CODE
LOWtests/suite/test_app_protect_integration.py165 def test_ap_nginx_config_entries(self, kube_apis, crd_ingress_controller_with_ap, appprotect_setup, test_namespace):CODE
LOWtests/suite/test_app_protect_integration.py194 def test_ap_enable_true_policy_correct(CODE
LOWtests/suite/test_app_protect_integration.py217 def test_ap_enable_false_policy_correct(CODE
LOWtests/suite/test_app_protect_integration.py241 def test_ap_enable_true_policy_incorrect(CODE
LOWtests/suite/test_app_protect_integration.py268 def test_ap_enable_false_policy_incorrect(CODE
LOWtests/suite/test_app_protect_integration.py408 def test_ap_enable_true_policy_correct_uds(CODE
LOWtests/suite/test_virtual_server_validation.py12def assert_reject_events_emitted(virtual_server_setup, new_list, previous_list, expected_amount):CODE
LOWtests/suite/test_virtual_server_validation.py20def assert_event_count_increased_in_list(virtual_server_setup, new_list, previous_list):CODE
LOWtests/suite/test_virtual_server_validation.py50 def test_virtual_server_behavior(CODE
LOWtests/suite/test_hsts.py126 def test_headers_without_secret(self, kube_apis, hsts_setup, ingress_controller_prerequisites):CODE
LOWtests/suite/test_jwt_policies_jwksuri.py265 def test_jwt_invalid_policy_jwksuri(CODE
LOWtests/suite/test_jwt_policies_jwksuri.py327 def test_jwt_policy_subroute_jwksuri(CODE
LOWtests/suite/test_jwt_policies_jwksuri.py395 def test_jwt_policy_subroute_jwksuri_multiple_vs(CODE
LOWtests/suite/test_config_rollback_vs.py249 def test_configmap_main_snippet_rollback(CODE
LOWtests/suite/test_config_rollback_vs.py319 def test_configmap_partial_rollback(CODE
LOWtests/suite/test_v_s_route_regexp_location.py74 def test_response_for_regex_location(CODE
LOWtests/suite/test_v_s_route_regexp_location.py135 def test_flow_for_invalid_vsr(CODE
LOWtests/suite/test_v_s_route_regexp_location.py236 def test_exact_match_overrides_all(CODE
LOWtests/suite/test_v_s_route_regexp_location.py249 def test_regexp_overrides_prefix(CODE
LOWtests/suite/test_v_s_route_regexp_location.py270 def test_longest_prefix_overrides_regexp(CODE
LOWtests/suite/test_v_s_route_regexp_location.py346 def test_response_for_regex_location(CODE
LOWtests/suite/test_v_s_route_regexp_location.py417 def test_flow_for_invalid_vsr(CODE
LOWtests/suite/test_v_s_route_regexp_location.py480def vsr_selector_regexp_setup(CODE
LOWtests/suite/test_v_s_route_regexp_location.py530 def test_exact_match_overrides_all(CODE
LOWtests/suite/test_v_s_route_regexp_location.py543 def test_regexp_overrides_prefix(CODE
LOWtests/suite/test_v_s_route_regexp_location.py567 def test_longest_prefix_overrides_regexp(CODE
LOWtests/suite/test_rewrite_target.py83 def test_static_rewrite_target(self, rewrite_target_setup):CODE
LOWtests/suite/test_rewrite_target.py102 def test_regex_rewrite_target(self, rewrite_target_setup):CODE
LOWtests/suite/test_v_s_route_split_traffic.py26def get_upstreams_of_splitting(file) -> []:CODE
LOWtests/suite/test_oidc_native_ingress.py43def get_oidc_native_policy_file(oidc_type):CODE
LOWtests/suite/test_app_protect_waf_bundle_source_ing.py85 def test_bundle_source_block_ingress(CODE
LOWtests/suite/test_app_protect_waf_bundle_source_ing.py130 def test_bundle_source_mtls_block_ingress(CODE
LOW⚡tests/suite/test_external_auth_policies_vsr.py484 def test_tls_ssl_enabled_only(CODE
LOW⚡tests/suite/test_external_auth_policies_vsr.py629 def test_tls_nonexistent_ca_secret(CODE
LOW⚡tests/suite/test_external_auth_policies_vsr.py932 def test_tls_policy_override_vs_vsr(CODE
LOWtests/suite/test_external_auth_policies_vsr.py94 def test_external_auth_policy_credentials(CODE
LOWtests/suite/test_external_auth_policies_vsr.py142 def test_external_auth_policy_valid(CODE
LOWtests/suite/test_external_auth_policies_vsr.py193 def test_external_auth_policy_invalid_rejected_by_crd(CODE
LOWtests/suite/test_external_auth_policies_vsr.py213 def test_external_auth_policy_nonexistent_svc(CODE
LOWtests/suite/test_external_auth_policies_vsr.py252 def test_external_auth_policy_delete_policy(CODE
LOWtests/suite/test_external_auth_policies_vsr.py317 def test_external_auth_policy_override(CODE
LOWtests/suite/test_external_auth_policies_vsr.py373 def test_external_auth_policy_override_vs_vsr(CODE
LOWtests/suite/test_external_auth_policies_vsr.py668 def test_tls_ca_secret_missing_ca_crt(CODE
LOWtests/suite/test_external_auth_policies_vsr.py758 def test_tls_verify_no_trusted_cert(CODE
486 more matches not shown…
Cross-File Repetition74 hits · 370 pts
SeverityFileLineSnippetContext
HIGHtests/suite/test_app_protect_integration.py0encapsulate the example details. attributes: req_url (str):STRING
HIGHtests/suite/test_app_protect_watch_namespace.py0encapsulate the example details. attributes: req_url (str):STRING
HIGHtests/suite/test_app_protect_watch_namespace_label.py0encapsulate the example details. attributes: req_url (str):STRING
HIGHperf-tests/suite/test_ap_reload_perf.py0encapsulate the example details. attributes: req_url (str):STRING
HIGHtests/suite/test_app_protect_integration.py0deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request:STRING
HIGHperf-tests/suite/test_ap_reload_perf.py0deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request:STRING
HIGHtests/suite/test_batch_reloads.py0deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request:STRING
HIGHtests/suite/test_ingress_class.py0deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request:STRING
HIGHtests/suite/test_batch_startup_times.py0deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request:STRING
HIGHtests/suite/test_app_protect_waf_policies.py0deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request:STRING
HIGHtests/suite/test_app_protect_integration.py0assert responses when policy config is blocking requests :param response: responseSTRING
HIGHtests/suite/test_app_protect_waf_policies.py0assert responses when policy config is blocking requests :param response: responseSTRING
HIGHperf-tests/suite/test_ap_reload_perf.py0assert responses when policy config is blocking requests :param response: responseSTRING
HIGHtests/suite/test_v_s_route_regexp_location.py0prepare an example app for advanced routing vsr. single namespace with vs+vsr and simple app. :param request: internal pSTRING
HIGHtests/suite/test_v_s_route_advanced_routing.py0prepare an example app for advanced routing vsr. single namespace with vs+vsr and simple app. :param request: internal pSTRING
HIGHtests/suite/test_v_s_route_focused_canary.py0prepare an example app for advanced routing vsr. single namespace with vs+vsr and simple app. :param request: internal pSTRING
HIGHtests/suite/test_v_s_route_split_traffic.py0parse yaml file into an array of upstreams. :param file: an absolute path to file :return: []STRING
HIGHtests/suite/test_v_s_route_focused_canary.py0parse yaml file into an array of upstreams. :param file: an absolute path to file :return: []STRING
HIGHtests/suite/test_virtual_server_split_traffic.py0parse yaml file into an array of upstreams. :param file: an absolute path to file :return: []STRING
HIGHtests/suite/test_virtual_server_focused_canary.py0parse yaml file into an array of upstreams. :param file: an absolute path to file :return: []STRING
HIGHtests/suite/test_external_auth_policies_vsr.py0test that a policy with an invalid authuri (no leading slash) is rejected at the crd validation level by the kubernetes STRING
HIGHtests/suite/test_external_auth_policies_ingress.py0test that a policy with an invalid authuri (no leading slash) is rejected at the crd validation level by the kubernetes STRING
HIGHtests/suite/test_external_auth_policies_vs.py0test that a policy with an invalid authuri (no leading slash) is rejected at the crd validation level by the kubernetes STRING
HIGHtests/suite/test_jwt_policies_vsr.py0test if requests result in 500 when secret is deletedSTRING
HIGHtests/suite/test_auth_basic_policies_vsr.py0test if requests result in 500 when secret is deletedSTRING
HIGHtests/suite/test_jwt_policies.py0test if requests result in 500 when secret is deletedSTRING
HIGHtests/suite/test_auth_basic_policies.py0test if requests result in 500 when secret is deletedSTRING
HIGHtests/suite/test_jwt_policies_vsr.py0test if requests result in 500 when policy is deletedSTRING
HIGHtests/suite/test_auth_basic_policies_vsr.py0test if requests result in 500 when policy is deletedSTRING
HIGHtests/suite/test_jwt_policies.py0test if requests result in 500 when policy is deletedSTRING
HIGHtests/suite/test_auth_basic_policies.py0test if requests result in 500 when policy is deletedSTRING
HIGHtests/suite/test_transport_server_status.py0function to revert a transportserver resource to a valid state.STRING
HIGHtests/suite/test_transport_server_tcp_load_balance.py0function to revert a transportserver resource to a valid state.STRING
HIGHtests/suite/test_transport_server_udp_load_balance.py0function to revert a transportserver resource to a valid state.STRING
HIGHtests/suite/test_app_protect_wafv5_integration.py0function to revert vsr selector deployments to standard stateSTRING
HIGHtests/suite/test_app_protect_wafv5_integration_rorfs.py0function to revert vsr selector deployments to standard stateSTRING
HIGHtests/suite/test_app_protect_waf_policies.py0function to revert vsr selector deployments to standard stateSTRING
HIGHtests/suite/test_virtual_server_external_name.py0encapsulate externalname example details. attributes: ic_pod_name: external_host: external service hostSTRING
HIGHtests/suite/test_virtual_server_backup_service.py0encapsulate externalname example details. attributes: ic_pod_name: external_host: external service hostSTRING
HIGHtests/suite/test_transport_server_external_name.py0encapsulate externalname example details. attributes: ic_pod_name: external_host: external service hostSTRING
HIGHtests/suite/test_transport_server_backup_service.py0encapsulate externalname example details. attributes: ic_pod_name: external_host: external service hostSTRING
HIGHtests/suite/test_batch_reloads.py0encapsulate the smoke example details. attributes: public_endpoint (publicendpoint): ingress_host (str):STRING
HIGHtests/suite/test_smoke.py0encapsulate the smoke example details. attributes: public_endpoint (publicendpoint): ingress_host (str):STRING
HIGHtests/suite/test_prometheus_metrics.py0encapsulate the smoke example details. attributes: public_endpoint (publicendpoint): ingress_host (str):STRING
HIGHtests/suite/test_batch_startup_times.py0encapsulate the smoke example details. attributes: public_endpoint (publicendpoint): ingress_host (str):STRING
HIGHtests/suite/test_batch_reloads.py0deploy a simple application and appprotect manifests. :param request: pytest fixture :param kube_apis: client apis :paraSTRING
HIGHtests/suite/test_app_protect_watch_namespace.py0deploy a simple application and appprotect manifests. :param request: pytest fixture :param kube_apis: client apis :paraSTRING
HIGHtests/suite/test_app_protect_watch_namespace_label.py0deploy a simple application and appprotect manifests. :param request: pytest fixture :param kube_apis: client apis :paraSTRING
HIGHtests/suite/test_batch_startup_times.py0deploy a simple application and appprotect manifests. :param request: pytest fixture :param kube_apis: client apis :paraSTRING
HIGHtests/suite/test_virtual_server_configmap_keys.py0assert that an event with specific type, reason, and message substring exists. :param event_list: list of events :param STRING
HIGHtests/suite/test_zone_sync.py0assert that an event with specific type, reason, and message substring exists. :param event_list: list of events :param STRING
HIGHtests/suite/test_mgmt_configmap_keys.py0assert that an event with specific type, reason, and message substring exists. :param event_list: list of events :param STRING
HIGHtests/suite/test_ac_policies_vsr.py0replace configmap to add "set-real-ip-from" :param request: pytest fixture :param kube_apis: client apis :param ingress_STRING
HIGHtests/suite/test_ac_policies_ingress.py0replace configmap to add "set-real-ip-from" :param request: pytest fixture :param kube_apis: client apis :param ingress_STRING
HIGHtests/suite/test_ac_polices_vs.py0replace configmap to add "set-real-ip-from" :param request: pytest fixture :param kube_apis: client apis :param ingress_STRING
HIGHtests/suite/test_ac_policies_ingress.py0encapsulate annotations example details. attributes: public_endpoint: publicendpoint ingress_src_file: ingress_name: ingSTRING
HIGHtests/suite/test_annotations.py0encapsulate annotations example details. attributes: public_endpoint: publicendpoint ingress_src_file: ingress_name: ingSTRING
HIGHtests/suite/test_rl_ingress.py0encapsulate annotations example details. attributes: public_endpoint: publicendpoint ingress_src_file: ingress_name: ingSTRING
HIGHtests/suite/test_transport_server_backup_service.py0encapsulate transport server details. attributes: public_endpoint (object): ts_resource (dict): name (str): namespace (sSTRING
HIGHtests/suite/test_ts_tls_passthrough.py0encapsulate transport server details. attributes: public_endpoint (object): ts_resource (dict): name (str): namespace (sSTRING
14 more matches not shown…
Over-Commented Block188 hits · 182 pts
SeverityFileLineSnippetContext
LOW.goreleaser.yml21 main: ./cmd/nginx-ingress/COMMENT
LOW.goreleaser.yml41 # - awsCOMMENT
LOW.goreleaser.yml61 # - linuxCOMMENT
LOW.goreleaser.yml81 # flags:COMMENT
LOWtests/requirements.txt1#COMMENT
LOWtests/requirements.txt841 # -r requirements.inCOMMENT
LOWtests/requirements.txt981 --hash=sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0 \COMMENT
LOWtests/requirements.txt1001six==1.17.0 \COMMENT
LOWtests/requirements.txt1021 # requestsCOMMENT
LOWtests/suite/test_oidc_native.py281 ingress_controller_endpoint,COMMENT
LOW…a/oidc-native/scenarios/vs/test-8a-njs-and-native.yaml1# Test 8a: NJS OIDC on spec, Native on route (same VS).COMMENT
LOW…/oidc-native/scenarios/vs/test-16-cross-namespace.yaml1# Test 16: Cross-namespace policy reference.COMMENT
LOW…c-native/scenarios/vs/test-7-same-policy-multi-vs.yaml1# Test 7: Two VirtualServers sharing the same OIDCNative policy.COMMENT
LOWinternal/nginxconf/tokenizer_test.go41 t.Errorf("%-28s value=%-14q tokenizer fail=%v, nginx fail=%v err=%v", c.note, c.value, got, c.wantFail, err)COMMENT
LOWinternal/nginxconf/tokenizer.go1// Package nginxconf tokenizes NGINX configuration the way NGINX itself does.COMMENT
LOWinternal/nginxconf/tokenizer.go21// syntax — instead of grepping the rendered output for suspicious substrings.COMMENT
LOWinternal/nginxconf/tokenizer.go261// The first word of an entry in one of these is a key chosen by the user, not aCOMMENT
LOWinternal/k8s/transportserver_injection_test.go21 name stringCOMMENT
LOWinternal/k8s/controller.go1381 // Step 2: Generate all NGINX config files from the accumulatedCOMMENT
LOWinternal/k8s/controller.go1401 // minutes at scale for leader podCOMMENT
LOWinternal/k8s/controller.go1621 changes, problems = lbc.configuration.AddOrUpdateVirtualServer(vs)COMMENT
LOWinternal/k8s/controller.go1681 return trueCOMMENT
LOWinternal/k8s/controller.go2441 // and there is nothing to apply in place.COMMENT
LOWinternal/k8s/controller.go2581COMMENT
LOWinternal/k8s/controller.go2601const leaderPollInterval = 500 * time.MillisecondCOMMENT
LOWinternal/k8s/controller.go4761COMMENT
LOWinternal/k8s/batch_sync_test.go141// updateAllConfigsOnBatch flag is cleared at the end of every batch drain.COMMENT
LOWinternal/k8s/weight_update_test.go221 wantIndexes: [][3]int{{2, 70, 30}},COMMENT
LOWinternal/k8s/annotation_injection_test.go41 name stringCOMMENT
LOWinternal/k8s/virtualserver_injection_test.go261// TestVirtualServerCannotInjectConfiguration asserts, for the VirtualServerCOMMENT
LOWinternal/k8s/configuration_test.go6821// production symptom of the unsorted VSR slice.COMMENT
LOWinternal/k8s/split_clients_index_test.go61// subroutes start at within its referencing VirtualServer's split_clientsCOMMENT
LOWinternal/k8s/weight_fast_lane_test.go301 }COMMENT
LOWinternal/k8s/weight_fast_lane_test.go461 }COMMENT
LOWinternal/k8s/weight_fast_lane_test.go541// reported to the user twice for a single sync.COMMENT
LOWinternal/k8s/weight_fast_lane_test.go781 stored := lbc.configuration.GetVirtualServerRoute("default/coffee")COMMENT
LOWinternal/k8s/weight_fast_lane_test.go901COMMENT
LOWinternal/k8s/weight_fast_lane_test.go1221// haltIfVS(R)ConfigInvalid deadlock guard.COMMENT
LOWinternal/nginx/rollback_manager.go201COMMENT
LOWinternal/nginx/rollback_manager.go241COMMENT
LOWinternal/nginx/rollback_manager.go381 if _, tracked := cm.batchFiles[path]; tracked {COMMENT
LOWinternal/configs/policy.go101 replicas intCOMMENT
LOWinternal/configs/policy.go141 oidcNativeRoleLogout = "logout"COMMENT
LOWinternal/configs/virtualserver_routing_test.go4881 t.Errorf("split_clients index %d is beyond the %d generated blocks", idx, test.wantSplitClientBlocks)COMMENT
LOWinternal/configs/version1/header_parsing_helper.go21// Returns error messages (empty when valid).COMMENT
LOWinternal/configs/wafbundle/s3.go61// A fresh S3 client is built per fetch call from the passed-in S3Config.COMMENT
LOWinternal/certmanager/helper.go41 issuerKindCmField = "tls.cert-manager.issuer-kind"COMMENT
LOWinternal/certmanager/helper.go61// usages: "digital signature,key encipherment"COMMENT
LOWinternal/certmanager/cm_controller.go181// - controller: true since owner refsCOMMENT
LOWinternal/telemetry/collector_test.go2781 return secrets.NewLocalSecretStore(configurator)COMMENT
LOWinternal/validation/data_types.go261//COMMENT
LOWinternal/validation/nginx.go21// The contract is not free to choose for an existing field. It is decided byCOMMENT
LOWinternal/validation/nginx.go41// protocol, and the templates render .SSLProtocols/.Protocols unquoted (forCOMMENT
LOWinternal/validation/nginx.go61// It does not reject quotes, because NGINX does not: a quote is ordinaryCOMMENT
LOWinternal/validation/nginx.go81// for NGINX variable expansion, while still rejecting an unescaped double quoteCOMMENT
LOWinternal/validation/nginx.go181//COMMENT
LOWinternal/validation/nginx.go201// branch, so a backslash escapes the next character in any context. It canCOMMENT
LOWinternal/validation/nginx.go221// hash $scheme";ip_hash;#" consistent;COMMENT
LOWinternal/validation/nginx.go341 }COMMENT
LOWinternal/validation/nginx.go441 if _, ok := validTLSProtocols[strings.ToLower(protocol)]; !ok {COMMENT
128 more matches not shown…
Verbosity Indicators93 hits · 167 pts
SeverityFileLineSnippetContext
LOW⚡tests/suite/test_config_rollback_ts.py179 # Step 2: conf file was removed — no traffic served for this TSCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py184 # Step 3: traffic is rejected/no response for this TSCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py267 # Step 1: TS has valid config and serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py276 # Step 2: patch TS with invalid server snippetCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py287 # Step 3: TS traffic still works — invalid config was rolled backCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py295 # Step 4: TS config rolled back, invalid directive absent from confCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py305 # Step 5: TS is Invalid, status contains actual nginx error and rollback confirmationCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py388 # Step 2: VS serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py391 # Step 3: apply ConfigMap with invalid settingCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py421 # Step 5: VS still serves traffic — Valid statusCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py425 # Step 6: TS traffic still worksCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py433 # Step 7: TS config unchangedCOMMENT
LOWtests/suite/test_config_rollback_ts.py166 # Step 1: TS is Invalid — no previous config to fall back toCOMMENT
LOWtests/suite/test_config_rollback_ts.py319 # Step 6: VS still serves traffic — unaffected by TS rollbackCOMMENT
LOWtests/suite/test_config_rollback_ts.py373 # Step 1: capture TS config before change, verify trafficCOMMENT
LOWtests/suite/test_config_rollback_ts.py402 # Step 4: IC logs confirm main config rollbackCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py68 # Step 1: create VS with invalid server-snippet baked in (sub_filter_once invalid)COMMENT
LOW⚡tests/suite/test_config_rollback_vs.py75 # Step 2: VS is Invalid — no previous config to fall back to, status contains actual nginx errorCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py176 # Step 1: valid VS serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py178 # Step 2: load VS YAML, apply invalid patch, send to clusterCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py268 # Step 1: VS serves traffic, capture TS configCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py277 # Step 2: apply ConfigMap with invalid settingCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py287 # Step 3: IC logs confirm rollback with actual nginx errorCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py305 # Step 4: VS still responds — nginx.conf was rolled back, VS not affectedCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py308 # Step 5: TS config unchangedCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py357 # Step 2: capture TS config before ConfigMap changeCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py366 # Step 3: apply ConfigMap with invalid location-snippetsCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py421 # Step 6: ConfigMap event reflects partial failureCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py431 # Step 7: restoring the ConfigMap returns the controller to the normal stateCOMMENT
LOWtests/suite/test_config_rollback_vs.py87 # Step 3: conf file was removed — no traffic served for this hostCOMMENT
LOWtests/suite/test_config_rollback_vs.py189 # Step 3: traffic still works — invalid config was rolled backCOMMENT
LOWtests/suite/test_config_rollback_vs.py200 # Step 4: VS is Invalid, status contains actual nginx error and rollback confirmationCOMMENT
LOWtests/suite/test_config_rollback_vs.py213 # Step 5: add new VS to prove nginx -t still passes after rollbackCOMMENT
LOWtests/suite/test_config_rollback_vs.py333 # Step 1: create three valid VirtualServersCOMMENT
LOWtests/suite/test_config_rollback_vs.py377 # Step 4: the later VS resources fail; the controller then takes the shared-input early-exit pathCOMMENT
LOWtests/suite/test_config_rollback_vs.py410 # Step 5: TS config unchanged (stream blocks not affected by location-snippets)COMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py88 # Step 1: create Ingress with invalid server-snippet baked inCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py96 # Step 2: conf file removed — no traffic servedCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py218 # Step 1: Ingress serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py221 # Step 2: patch Ingress with invalid annotation(s)COMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py230 # Step 3: traffic still works — invalid config rolled backCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py293 # Step 1: Ingress serves traffic, capture TS configCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py303 # Step 2: apply ConfigMap with invalid settingCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py333 # Step 4: Ingress still respondsCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py336 # Step 5: TS config unchangedCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py379 # Step 2: capture TS config before ConfigMap changeCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py388 # Step 3: apply ConfigMap with invalid location-snippetsCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py399 # Step 4: logs show threshold-triggered early exit; previous-good traffic keeps workingCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py409 # Step 5: TS config unchanged (stream blocks not affected by location-snippets)COMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py420 # Step 6: ConfigMap event reflects partial failureCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py430 # Step 7: restoring the ConfigMap returns the controller to the normal stateCOMMENT
LOWtests/suite/test_config_rollback_ingress.py110 # Step 3: event contains actual nginx error, but no "rolled back" (nothing to roll back to)COMMENT
LOWtests/suite/test_config_rollback_ingress.py241 # Step 4: event contains actual nginx error and rollback confirmationCOMMENT
LOWtests/suite/test_config_rollback_ingress.py314 # Step 3: IC logs confirm rollback with actual nginx errorCOMMENT
LOWtests/suite/test_config_rollback_ingress.py363 # Step 1: create three valid IngressesCOMMENT
LOWtests/suite/test_virtual_server_configmap_keys.py461 # Step 1: Update ConfigMap with valid parametersCOMMENT
LOWtests/suite/test_virtual_server_configmap_keys.py488 # Step 2: Update ConfigMap with invalid parametersCOMMENT
LOW⚡tests/suite/test_config_rollback_vsr.py81 # Step 1: verify traffic on both VSR routesCOMMENT
LOW⚡tests/suite/test_config_rollback_vsr.py87 # Step 2: patch either VS or VSR with invalid snippetCOMMENT
LOWtests/suite/test_config_rollback_vsr.py118 # Step 3: traffic still works on both routes — invalid config was rolled backCOMMENT
33 more matches not shown…
Decorative Section Separators48 hits · 156 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/suite/test_external_auth_policies_vsr.py480 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/suite/test_external_auth_policies_vsr.py482 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/suite/test_external_auth_policies_vsr.py625 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/suite/test_external_auth_policies_vsr.py627 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/suite/test_external_auth_policies_vsr.py927 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/suite/test_external_auth_policies_vsr.py929 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py715 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py717 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py797 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py799 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/suite/utils/external_auth_utils.py26# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/suite/utils/external_auth_utils.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py71# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py73# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py116# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py118# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py169# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py171# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py241# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py243# ---------------------------------------------------------------------------COMMENT
MEDIUMinternal/k8s/validation_test.go6029 // ── Valid inputs ──────────────────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6086 // ── Invalid: $ character ─────────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6117 // ── Invalid: malformed header names ──────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6156 // ── Edge: empty entries are skipped ───────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6189 // ── Multiple errors in one annotation ────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6207 // ── Edge: special chars in value (non-$) ─────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6219 // ── Edge: whitespace handling ────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6231 // ── Edge: empty name combined with dollar in value ───────────COMMENT
MEDIUMinternal/k8s/validation_test.go6242 // ── Valid: properly escaped quotes and backslashes ──────────COMMENT
MEDIUMinternal/k8s/validation_test.go6259 // ── Invalid: unescaped quotes and backslashes ─────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6300 // ── Valid inputs ──────────────────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6348 // ── Invalid: $ in value ───────────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6364 // ── Invalid: bad header name ──────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6380 // ── Invalid: bad always flag ──────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6396 // ── Invalid: empty entries ────────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6412 // ── Invalid: unescaped characters in value ────────────────────COMMENT
MEDIUM.github/scripts/tech-specs-update.py28# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py30# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py71# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py73# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py92# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py94# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py264# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py266# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py296# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py298# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py374# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py376# ---------------------------------------------------------------------------COMMENT
Excessive Try-Catch Wrapping36 hits · 46 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py280 except Exception as e:CODE
LOWtests/scripts/check_container_packages.py150 except Exception as e: # noqa: BLE001 - one broken image must not hide the restCODE
LOWtests/scripts/check_container_packages.py185 except Exception as e: # noqa: BLE001 - record and carry on with the next packageCODE
LOWtests/suite/test_agent.py40 except Exception as e:CODE
MEDIUMtests/suite/test_agent.py41 print(f"Error: {e}")CODE
LOWtests/suite/test_build_info.py53 except Exception as ex:CODE
LOWtests/suite/test_build_info.py67 except Exception:CODE
LOWtests/suite/test_app_protect_agent.py43 except Exception as e:CODE
MEDIUMtests/suite/test_app_protect_agent.py44 print(f"Error: {e}")CODE
LOWtests/suite/test_app_protect_waf_policies_grpc.py81 except Exception:CODE
LOWtests/suite/test_virtual_server_foreign_upstream.py94 except Exception as ex:CODE
LOWtests/suite/test_virtual_server_grpc.py76 except Exception:CODE
LOWtests/suite/test_v_s_route_grpc.py46 except Exception:CODE
LOWtests/suite/test_virtual_server_mixed_grpc.py50 except Exception:CODE
LOWtests/suite/utils/custom_resources_utils.py25 except Exception as ex:CODE
LOWtests/suite/utils/custom_resources_utils.py104 except Exception:CODE
LOWtests/suite/utils/bundle_source_utils.py120 except Exception as ex:CODE
LOWtests/suite/utils/vs_vsr_resources_utils.py62 except Exception:CODE
LOWtests/suite/utils/vs_vsr_resources_utils.py130 except Exception as ex:CODE
LOWtests/suite/utils/vs_vsr_resources_utils.py193 except Exception as ex:CODE
LOW⚡tests/suite/utils/policy_resources_utils.py159 except Exception:CODE
LOW⚡tests/suite/utils/policy_resources_utils.py165 except Exception:CODE
LOW⚡tests/suite/utils/policy_resources_utils.py172 except Exception:CODE
LOWtests/suite/utils/external_auth_utils.py290 except Exception:CODE
LOWtests/suite/utils/external_auth_utils.py327 except Exception:CODE
LOWtests/suite/utils/external_auth_utils.py350 except Exception:CODE
MEDIUMtests/suite/utils/external_auth_utils.py287def fin():CODE
MEDIUM⚡tests/suite/utils/resources_utils.py2265 print(f"Error: {e}")CODE
MEDIUM⚡tests/suite/utils/resources_utils.py2273 print(f"Error: {e}")CODE
MEDIUMtests/suite/utils/resources_utils.py966 print(f"Error: {e}")CODE
MEDIUMtests/suite/utils/resources_utils.py2349 print(f"Error in pod restart: {e}")CODE
LOWtests/suite/utils/resources_utils.py965 except Exception as e:CODE
LOWtests/suite/utils/resources_utils.py1747 except Exception as ex:CODE
LOWtests/suite/utils/resources_utils.py2348 except Exception as e:CODE
LOW.github/scripts/pull-release-notes.py132 except Exception as e:CODE
MEDIUM.github/scripts/pull-release-notes.py128def get_pr_labels(repo, pr_number):CODE
Self-Referential Comments10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMtests/suite/test_jwt_policies_jwksuri.py91 # Create a user and set credentialsCOMMENT
MEDIUMtests/suite/test_jwt_policies_jwksuri.py106 # Create a clientCOMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py692 # Create the Secret so the reference resolves but lacks the required keyCOMMENT
MEDIUMtests/suite/test_oidc.py89 # Create a user and set credentialsCOMMENT
MEDIUMtests/suite/test_oidc_native.py92 # Create a user and set credentialsCOMMENT
MEDIUMtests/suite/test_oidc_fclo.py87 # Create a user and set credentialsCOMMENT
MEDIUMtests/suite/grpc/helloworld_pb2_grpc.py49 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMcharts/nginx-ingress/values.yaml320 ## Create the HorizontalPodAutoscaler resource. This can be set to false to manage the HPA externally.COMMENT
MEDIUMcharts/nginx-ingress/values.yaml780 ## Create a NetworkPolicy that targets the controller pods.COMMENT
MEDIUM.github/workflows/cherry-pick.yml171 # Create a PR only if one doesn't already exist for this branchCOMMENT
Deep Nesting26 hits · 22 pts
SeverityFileLineSnippetContext
LOWtests/scripts/check_container_packages.py141CODE
LOWtests/scripts/check_container_packages.py293CODE
LOWtests/suite/test_oidc_native_scenarios.py78CODE
LOWtests/suite/test_oidc_native_scenarios.py125CODE
LOWtests/suite/test_oidc_native_scenarios.py401CODE
LOWtests/suite/test_transport_server_backup_service.py239CODE
LOWtests/suite/test_dos.py310CODE
LOWtests/suite/test_virtual_server_dos.py290CODE
LOWtests/suite/test_virtual_server_dos.py358CODE
LOWtests/suite/test_oidc_native_scenarios_ingress.py121CODE
LOWtests/suite/test_oidc_native_scenarios_ingress.py347CODE
LOWtests/suite/utils/dos_utils.py9CODE
LOWtests/suite/utils/custom_assertions.py353CODE
LOWtests/suite/utils/yaml_utils.py110CODE
LOWtests/suite/utils/vs_vsr_resources_utils.py43CODE
LOWtests/suite/utils/resources_utils.py46CODE
LOWtests/suite/utils/resources_utils.py71CODE
LOWtests/suite/utils/resources_utils.py95CODE
LOWtests/suite/utils/resources_utils.py119CODE
LOWtests/suite/utils/resources_utils.py1566CODE
LOWtests/suite/utils/resources_utils.py1587CODE
LOWtests/suite/utils/resources_utils.py1704CODE
LOWtests/suite/utils/resources_utils.py1894CODE
LOWtests/suite/utils/resources_utils.py2252CODE
LOW.github/scripts/tech-specs-update.py379CODE
LOW.github/scripts/pull-release-notes.py68CODE
Empty Error Handlers4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHtests/suite/test_config_rollback_ts.py191except (requests.exceptions.ConnectionError, requests.exceptions.ReadTimeout):CODE
HIGHtests/suite/test_config_rollback_ts.py202except (ConnectionRefusedError, ConnectionResetError, socket.timeout, OSError):CODE
HIGHtests/suite/test_transport_server_udp_load_balance.py39except ValueError:CODE
HIGHtests/suite/utils/vs_vsr_resources_utils.py62except Exception:CODE
Redundant / Tautological Comments11 hits · 18 pts
SeverityFileLineSnippetContext
LOWtests/suite/test_custom_annotations.py83 "# Print the value assigned to the annotation: 512",CODE
LOWtests/suite/test_custom_annotations.py96 "# Print the value assigned to the annotation: 512",CODE
LOW…sts/data/custom-annotations/standard/nginx-config.yaml16 # Print the value assigned to the annotation: {{$value}}COMMENT
LOW…ts/data/custom-annotations/mergeable/nginx-config.yaml16 # Print the value assigned to the annotation: {{$value}}COMMENT
LOW.github/scripts/pull-release-notes.py72 # Check if the line starts with a section headerCOMMENT
LOW.github/scripts/pull-release-notes.py86 # Check if the line starts with "* " or "- "COMMENT
LOW⚡.github/scripts/pull-release-notes.py192 # Check if the PR has a "dependencies" label"COMMENT
LOW⚡.github/scripts/pull-release-notes.py194 # Check if the PR has a "docker" label, if so add to docker dependencies groupCOMMENT
LOW⚡.github/scripts/pull-release-notes.py197 # Check if the PR has "go", "python" or "github_actions" label, if so add to go dependencies groupCOMMENT
LOW.github/scripts/pull-release-notes.py231# Check if version is a patch release or a minor/major releaseCOMMENT
LOW.github/scripts/docker-updater.sh25# Check if the file existsCOMMENT
AI Slop Vocabulary9 hits · 12 pts
SeverityFileLineSnippetContext
LOWtests/suite/test_v_s_route.py236 # reset count to 0 because we want to check that the event is added, not just updated, and the event is about deCOMMENT
LOWtests/suite/test_v_s_route.py264 # restore of the VSRoute gets an event about update but not about add, so count is not increased but just set toCOMMENT
MEDIUMtests/suite/utils/ap_resources_utils.py1"""Describe methods to utilize the AppProtect resources."""STRING
MEDIUMtests/suite/utils/custom_resources_utils.py1"""Describe methods to utilize the kubernetes-client."""STRING
MEDIUMtests/suite/utils/vs_vsr_resources_utils.py1"""Describe methods to utilize the VS/VSR resources."""STRING
MEDIUMtests/suite/utils/policy_resources_utils.py1"""Describe methods to utilize the Policy resource."""STRING
MEDIUMtests/suite/utils/resources_utils.py1"""Describe methods to utilize the kubernetes-client."""STRING
MEDIUMinternal/validation/validation.go101// ValidateURI is a more robust extensible function to validate URIs. ItCOMMENT
LOW.github/scripts/release-docs.sh219# If same year: just add to existing indexCOMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICAL.github/workflows/external-pr.yml40 core.setOutput('is_fork', pr.data.head.repo.fork.toString());CODE
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWhack/secrets.json1877 "name": "Jane Doe",CODE
LOWhack/secrets.json1895 "name": "John Doe",CODE
LOW⚡…custom-resources/rate-limit-tiered-jwt-claim/README.md74 "name": "John Doe"CODE
LOW…custom-resources/rate-limit-tiered-jwt-claim/README.md118 "name": "Jane Doe"CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/skills/nic-code-review/SKILL.md17## Review guardrailsCOMMENT
Cross-Language Confusion1 hit · 2 pts
SeverityFileLineSnippetContext
HIGHtests/suite/test_external_auth_policies_tls_vs.py281 verify path is gated by SSLEnabled && SSLVerify (policy.go:309),STRING
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/suite/grpc/helloworld_pb2_grpc.py57CODE
LOWtests/suite/utils/resources_utils.py1878CODE
Modern Structural Boilerplate1 hit · 2 pts
SeverityFileLineSnippetContext
LOW⚡tests/suite/utils/external_auth_utils.py24logger = logging.getLogger(__name__)CODE