NGINX and NGINX Plus Ingress Controllers for Kubernetes
This report summarizes scanner evidence for nginx/kubernetes-ingress, a Go project with 5,093 GitHub stars. SynthScan examined 372,402 lines of code across 2240 source files, recording 1520 pattern matches distributed across 19 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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 1345 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 725 finding(s).
Which changes need focused human review? 1520 finding(s).
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.
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.
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.
The scanner identified 1520 distinct pattern matches across 19 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/README.md | 24 | #### Step 1 - Create a Minikube Cluster | COMMENT |
| LOW | tests/README.md | 30 | #### Step 2 - Run the Tests | COMMENT |
| LOW | tests/README.md | 88 | #### Step 1 - Create a Kind Cluster | COMMENT |
| LOW | tests/README.md | 94 | #### Step 2 - Run the Tests | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 183 | # Step 2: conf file was removed — no traffic served for this TS | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 188 | # Step 3: traffic is rejected/no response for this TS | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 271 | # Step 1: TS has valid config and serves traffic | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 280 | # Step 2: patch TS with invalid server snippet | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 291 | # Step 3: TS traffic still works — invalid config was rolled back | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 299 | # Step 4: TS config rolled back, invalid directive absent from conf | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 309 | # Step 5: TS is Invalid, status contains actual nginx error and rollback confirmation | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 395 | # Step 2: VS serves traffic | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 398 | # Step 3: apply ConfigMap with invalid setting | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 428 | # Step 5: VS still serves traffic — Valid status | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 432 | # Step 6: TS traffic still works | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 440 | # Step 7: TS config unchanged | COMMENT |
| LOW | tests/suite/test_config_rollback_ts.py | 170 | # Step 1: TS is Invalid — no previous config to fall back to | COMMENT |
| LOW | tests/suite/test_config_rollback_ts.py | 323 | # Step 6: VS still serves traffic — unaffected by TS rollback | COMMENT |
| LOW | tests/suite/test_config_rollback_ts.py | 380 | # Step 1: capture TS config before change, verify traffic | COMMENT |
| LOW | tests/suite/test_config_rollback_ts.py | 409 | # Step 4: IC logs confirm main config rollback | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 69 | # Step 1: create VS with invalid server-snippet baked in (sub_filter_once invalid) | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 76 | # Step 2: VS is Invalid — no previous config to fall back to, status contains actual nginx error | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 177 | # Step 1: valid VS serves traffic | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 179 | # Step 2: load VS YAML, apply invalid patch, send to cluster | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 272 | # Step 1: VS serves traffic, capture TS config | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 281 | # Step 2: apply ConfigMap with invalid setting | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 291 | # Step 3: IC logs confirm rollback with actual nginx error | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 309 | # Step 4: VS still responds — nginx.conf was rolled back, VS not affected | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 312 | # Step 5: TS config unchanged | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 361 | # Step 2: capture TS config before ConfigMap change | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 370 | # Step 3: apply ConfigMap with invalid location-snippets | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 425 | # Step 6: ConfigMap event reflects partial failure | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 435 | # Step 7: restoring the ConfigMap returns the controller to the normal state | COMMENT |
| LOW | tests/suite/test_config_rollback_vs.py | 88 | # Step 3: conf file was removed — no traffic served for this host | COMMENT |
| LOW | tests/suite/test_config_rollback_vs.py | 190 | # Step 3: traffic still works — invalid config was rolled back | COMMENT |
| LOW | tests/suite/test_config_rollback_vs.py | 201 | # Step 4: VS is Invalid, status contains actual nginx error and rollback confirmation | COMMENT |
| LOW | tests/suite/test_config_rollback_vs.py | 214 | # Step 5: add new VS to prove nginx -t still passes after rollback | COMMENT |
| LOW | tests/suite/test_config_rollback_vs.py | 337 | # Step 1: create three valid VirtualServers | COMMENT |
| LOW | tests/suite/test_config_rollback_vs.py | 381 | # Step 4: the later VS resources fail; the controller then takes the shared-input early-exit path | COMMENT |
| LOW | tests/suite/test_config_rollback_vs.py | 414 | # Step 5: TS config unchanged (stream blocks not affected by location-snippets) | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 91 | # Step 1: create Ingress with invalid server-snippet baked in | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 99 | # Step 2: conf file removed — no traffic served | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 222 | # Step 1: Ingress serves traffic | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 225 | # Step 2: patch Ingress with invalid annotation(s) | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 234 | # Step 3: traffic still works — invalid config rolled back | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 300 | # Step 1: Ingress serves traffic, capture TS config | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 310 | # Step 2: apply ConfigMap with invalid setting | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 340 | # Step 4: Ingress still responds | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 343 | # Step 5: TS config unchanged | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 386 | # Step 2: capture TS config before ConfigMap change | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 395 | # Step 3: apply ConfigMap with invalid location-snippets | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 406 | # Step 4: logs show threshold-triggered early exit; previous-good traffic keeps working | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 416 | # Step 5: TS config unchanged (stream blocks not affected by location-snippets) | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 427 | # Step 6: ConfigMap event reflects partial failure | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 437 | # Step 7: restoring the ConfigMap returns the controller to the normal state | COMMENT |
| LOW | tests/suite/test_config_rollback_ingress.py | 113 | # Step 3: event contains actual nginx error, but no "rolled back" (nothing to roll back to) | COMMENT |
| LOW | tests/suite/test_config_rollback_ingress.py | 245 | # Step 4: event contains actual nginx error and rollback confirmation | COMMENT |
| LOW | tests/suite/test_config_rollback_ingress.py | 321 | # Step 3: IC logs confirm rollback with actual nginx error | COMMENT |
| LOW | tests/suite/test_config_rollback_ingress.py | 370 | # Step 1: create three valid Ingresses | COMMENT |
| LOW | tests/suite/test_virtual_server_configmap_keys.py | 468 | # Step 1: Update ConfigMap with valid parameters | COMMENT |
| 365 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 169 | def pytest_collection_modifyitems(config, items) -> None: | CODE |
| LOW | tests/conftest.py | 227 | def pytest_runtest_makereport(item) -> None: | CODE |
| LOW | tests/suite/test_filter_secrets.py | 16 | def setup_single_secret_and_ns(request, kube_apis): | CODE |
| LOW | tests/suite/test_filter_secrets.py | 40 | def test_filter_secret_single_namespace(self, request, kube_apis, ingress_controller, setup_single_secret_and_ns): | CODE |
| LOW | tests/suite/test_filter_secrets.py | 53 | def test_filter_secret_created_after_ic(self, request, kube_apis, ingress_controller): | CODE |
| LOW | tests/suite/test_filter_secrets.py | 70 | def setup_multiple_ns_and_multiple_secrets(request, kube_apis): | CODE |
| LOW | tests/suite/test_filter_secrets.py | 107 | def test_filter_secret_multi_namespace( | CODE |
| LOW | tests/suite/test_filter_secrets.py | 122 | def test_filter_secret_multiplue_created_after_ic(self, request, kube_apis, ingress_controller): | CODE |
| LOW | tests/suite/test_watch_namespace_label.py | 104 | def create_and_setup_namespace(kube_apis, ingress_controller_endpoint, ns_name, e2e_run_id, is_vs=False): | CODE |
| LOW | tests/suite/test_ingress_mtls_ingress.py | 74 | def setup_invalid_ingress_mtls(self, kube_apis, test_namespace): | CODE |
| LOW | tests/suite/test_ingress_mtls_ingress.py | 92 | def test_ingress_mtls_policy_ingress( | CODE |
| LOW | tests/suite/test_ingress_mtls_ingress.py | 191 | def test_ingress_mtls_policy_ingress_with_opaque_secret( | CODE |
| LOW | tests/suite/test_ingress_mtls_ingress.py | 270 | def test_invalid_ingress_mtls_policy_ingress( | CODE |
| LOW | tests/suite/test_ingress_mtls_ingress.py | 350 | def test_ingress_mtls_chain_validation( | CODE |
| LOW | tests/suite/test_ingress_mtls_ingress.py | 454 | def test_ingress_mtls_missing_secret_ingress( | CODE |
| LOW | tests/suite/test_config_rollback_ts.py | 355 | def test_configmap_main_snippet_rollback( | CODE |
| LOW | tests/suite/test_app_protect_integration.py | 169 | def test_ap_nginx_config_entries( | CODE |
| LOW | tests/suite/test_app_protect_integration.py | 206 | def test_ap_enable_true_policy_correct( | CODE |
| LOW | tests/suite/test_app_protect_integration.py | 229 | def test_ap_enable_false_policy_correct( | CODE |
| LOW | tests/suite/test_app_protect_integration.py | 253 | def test_ap_enable_true_policy_incorrect( | CODE |
| LOW | tests/suite/test_app_protect_integration.py | 280 | def test_ap_enable_false_policy_incorrect( | CODE |
| LOW | tests/suite/test_app_protect_integration.py | 420 | def test_ap_enable_true_policy_correct_uds( | CODE |
| LOW | tests/suite/test_virtual_server_validation.py | 12 | def assert_reject_events_emitted(virtual_server_setup, new_list, previous_list, expected_amount): | CODE |
| LOW | tests/suite/test_virtual_server_validation.py | 20 | def assert_event_count_increased_in_list(virtual_server_setup, new_list, previous_list): | CODE |
| LOW | tests/suite/test_virtual_server_validation.py | 50 | def test_virtual_server_behavior( | CODE |
| LOW | tests/suite/test_hsts.py | 129 | def test_headers_without_secret(self, kube_apis, hsts_setup, ingress_controller_prerequisites): | CODE |
| LOW | tests/suite/test_jwt_policies_jwksuri.py | 268 | def test_jwt_invalid_policy_jwksuri( | CODE |
| LOW | tests/suite/test_jwt_policies_jwksuri.py | 330 | def test_jwt_policy_subroute_jwksuri( | CODE |
| LOW | tests/suite/test_jwt_policies_jwksuri.py | 398 | def test_jwt_policy_subroute_jwksuri_multiple_vs( | CODE |
| LOW | tests/suite/test_config_rollback_vs.py | 253 | def test_configmap_main_snippet_rollback( | CODE |
| LOW | tests/suite/test_config_rollback_vs.py | 323 | def test_configmap_partial_rollback( | CODE |
| LOW | tests/suite/test_v_s_route_regexp_location.py | 77 | def test_response_for_regex_location( | CODE |
| LOW | tests/suite/test_v_s_route_regexp_location.py | 138 | def test_flow_for_invalid_vsr( | CODE |
| LOW | tests/suite/test_v_s_route_regexp_location.py | 240 | def test_exact_match_overrides_all( | CODE |
| LOW | tests/suite/test_v_s_route_regexp_location.py | 253 | def test_regexp_overrides_prefix( | CODE |
| LOW | tests/suite/test_v_s_route_regexp_location.py | 274 | def test_longest_prefix_overrides_regexp( | CODE |
| LOW | tests/suite/test_v_s_route_regexp_location.py | 350 | def test_response_for_regex_location( | CODE |
| LOW | tests/suite/test_v_s_route_regexp_location.py | 421 | def test_flow_for_invalid_vsr( | CODE |
| LOW | tests/suite/test_v_s_route_regexp_location.py | 484 | def vsr_selector_regexp_setup( | CODE |
| LOW | tests/suite/test_v_s_route_regexp_location.py | 535 | def test_exact_match_overrides_all( | CODE |
| LOW | tests/suite/test_v_s_route_regexp_location.py | 548 | def test_regexp_overrides_prefix( | CODE |
| LOW | tests/suite/test_v_s_route_regexp_location.py | 572 | def test_longest_prefix_overrides_regexp( | CODE |
| LOW | tests/suite/test_rewrite_target.py | 85 | def test_static_rewrite_target(self, rewrite_target_setup): | CODE |
| LOW | tests/suite/test_rewrite_target.py | 104 | def test_regex_rewrite_target(self, rewrite_target_setup): | CODE |
| LOW | tests/suite/test_v_s_route_split_traffic.py | 26 | def get_upstreams_of_splitting(file) -> []: | CODE |
| LOW | tests/suite/test_oidc_native_ingress.py | 45 | def get_oidc_native_policy_file(oidc_type): | CODE |
| LOW | tests/suite/test_app_protect_waf_bundle_source_ing.py | 86 | def test_bundle_source_block_ingress( | CODE |
| LOW | tests/suite/test_app_protect_waf_bundle_source_ing.py | 131 | def test_bundle_source_mtls_block_ingress( | CODE |
| LOW⚡ | tests/suite/test_external_auth_policies_vsr.py | 543 | def test_tls_ssl_enabled_only( | CODE |
| LOW⚡ | tests/suite/test_external_auth_policies_vsr.py | 688 | def test_tls_nonexistent_ca_secret( | CODE |
| LOW⚡ | tests/suite/test_external_auth_policies_vsr.py | 991 | def test_tls_policy_override_vs_vsr( | CODE |
| LOW | tests/suite/test_external_auth_policies_vsr.py | 94 | def test_external_auth_policy_credentials( | CODE |
| LOW | tests/suite/test_external_auth_policies_vsr.py | 142 | def test_external_auth_policy_spoofed_headers_and_non_get( | CODE |
| LOW | tests/suite/test_external_auth_policies_vsr.py | 201 | def test_external_auth_policy_valid( | CODE |
| LOW | tests/suite/test_external_auth_policies_vsr.py | 252 | def test_external_auth_policy_invalid_rejected_by_crd( | CODE |
| LOW | tests/suite/test_external_auth_policies_vsr.py | 272 | def test_external_auth_policy_nonexistent_svc( | CODE |
| LOW | tests/suite/test_external_auth_policies_vsr.py | 311 | def test_external_auth_policy_delete_policy( | CODE |
| LOW | tests/suite/test_external_auth_policies_vsr.py | 376 | def test_external_auth_policy_override( | CODE |
| LOW | tests/suite/test_external_auth_policies_vsr.py | 432 | def test_external_auth_policy_override_vs_vsr( | CODE |
| LOW | tests/suite/test_external_auth_policies_vsr.py | 727 | def test_tls_ca_secret_missing_ca_crt( | CODE |
| 494 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/suite/test_app_protect_integration.py | 0 | encapsulate the example details. attributes: req_url (str): | STRING |
| HIGH | tests/suite/test_app_protect_watch_namespace.py | 0 | encapsulate the example details. attributes: req_url (str): | STRING |
| HIGH | tests/suite/test_app_protect_watch_namespace_label.py | 0 | encapsulate the example details. attributes: req_url (str): | STRING |
| HIGH | perf-tests/suite/test_ap_reload_perf.py | 0 | encapsulate the example details. attributes: req_url (str): | STRING |
| HIGH | tests/suite/test_app_protect_integration.py | 0 | deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request: | STRING |
| HIGH | perf-tests/suite/test_ap_reload_perf.py | 0 | deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request: | STRING |
| HIGH | tests/suite/test_batch_reloads.py | 0 | deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request: | STRING |
| HIGH | tests/suite/test_ingress_class.py | 0 | deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request: | STRING |
| HIGH | tests/suite/test_batch_startup_times.py | 0 | deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request: | STRING |
| HIGH | tests/suite/test_app_protect_waf_policies.py | 0 | deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request: | STRING |
| HIGH | tests/suite/test_app_protect_integration.py | 0 | assert responses when policy config is blocking requests :param response: response | STRING |
| HIGH | tests/suite/test_app_protect_waf_policies.py | 0 | assert responses when policy config is blocking requests :param response: response | STRING |
| HIGH | perf-tests/suite/test_ap_reload_perf.py | 0 | assert responses when policy config is blocking requests :param response: response | STRING |
| HIGH | tests/suite/test_v_s_route_regexp_location.py | 0 | prepare an example app for advanced routing vsr. single namespace with vs+vsr and simple app. :param request: internal p | STRING |
| HIGH | tests/suite/test_v_s_route_advanced_routing.py | 0 | prepare an example app for advanced routing vsr. single namespace with vs+vsr and simple app. :param request: internal p | STRING |
| HIGH | tests/suite/test_v_s_route_focused_canary.py | 0 | prepare an example app for advanced routing vsr. single namespace with vs+vsr and simple app. :param request: internal p | STRING |
| HIGH | tests/suite/test_v_s_route_split_traffic.py | 0 | parse yaml file into an array of upstreams. :param file: an absolute path to file :return: [] | STRING |
| HIGH | tests/suite/test_v_s_route_focused_canary.py | 0 | parse yaml file into an array of upstreams. :param file: an absolute path to file :return: [] | STRING |
| HIGH | tests/suite/test_virtual_server_split_traffic.py | 0 | parse yaml file into an array of upstreams. :param file: an absolute path to file :return: [] | STRING |
| HIGH | tests/suite/test_virtual_server_focused_canary.py | 0 | parse yaml file into an array of upstreams. :param file: an absolute path to file :return: [] | STRING |
| HIGH | tests/suite/test_external_auth_policies_vsr.py | 0 | test external-auth policy boundary on virtualserver with client-supplied spoofed headers and non-get (post) request. ver | STRING |
| HIGH | tests/suite/test_external_auth_policies_ingress.py | 0 | test external-auth policy boundary on virtualserver with client-supplied spoofed headers and non-get (post) request. ver | STRING |
| HIGH | tests/suite/test_external_auth_policies_vs.py | 0 | test external-auth policy boundary on virtualserver with client-supplied spoofed headers and non-get (post) request. ver | STRING |
| HIGH | tests/suite/test_external_auth_policies_vsr.py | 0 | test that a policy with an invalid authuri (no leading slash) is rejected at the crd validation level by the kubernetes | STRING |
| HIGH | tests/suite/test_external_auth_policies_ingress.py | 0 | test that a policy with an invalid authuri (no leading slash) is rejected at the crd validation level by the kubernetes | STRING |
| HIGH | tests/suite/test_external_auth_policies_vs.py | 0 | test that a policy with an invalid authuri (no leading slash) is rejected at the crd validation level by the kubernetes | STRING |
| HIGH | tests/suite/test_jwt_policies_vsr.py | 0 | test if requests result in 500 when secret is deleted | STRING |
| HIGH | tests/suite/test_auth_basic_policies_vsr.py | 0 | test if requests result in 500 when secret is deleted | STRING |
| HIGH | tests/suite/test_jwt_policies.py | 0 | test if requests result in 500 when secret is deleted | STRING |
| HIGH | tests/suite/test_auth_basic_policies.py | 0 | test if requests result in 500 when secret is deleted | STRING |
| HIGH | tests/suite/test_jwt_policies_vsr.py | 0 | test if requests result in 500 when policy is deleted | STRING |
| HIGH | tests/suite/test_auth_basic_policies_vsr.py | 0 | test if requests result in 500 when policy is deleted | STRING |
| HIGH | tests/suite/test_jwt_policies.py | 0 | test if requests result in 500 when policy is deleted | STRING |
| HIGH | tests/suite/test_auth_basic_policies.py | 0 | test if requests result in 500 when policy is deleted | STRING |
| HIGH | tests/suite/test_transport_server_status.py | 0 | function to revert a transportserver resource to a valid state. | STRING |
| HIGH | tests/suite/test_transport_server_tcp_load_balance.py | 0 | function to revert a transportserver resource to a valid state. | STRING |
| HIGH | tests/suite/test_transport_server_udp_load_balance.py | 0 | function to revert a transportserver resource to a valid state. | STRING |
| HIGH | tests/suite/test_app_protect_wafv5_integration.py | 0 | function to revert vsr selector deployments to standard state | STRING |
| HIGH | tests/suite/test_app_protect_wafv5_integration_rorfs.py | 0 | function to revert vsr selector deployments to standard state | STRING |
| HIGH | tests/suite/test_app_protect_waf_policies.py | 0 | function to revert vsr selector deployments to standard state | STRING |
| HIGH | tests/suite/test_virtual_server_external_name.py | 0 | encapsulate externalname example details. attributes: ic_pod_name: external_host: external service host | STRING |
| HIGH | tests/suite/test_virtual_server_backup_service.py | 0 | encapsulate externalname example details. attributes: ic_pod_name: external_host: external service host | STRING |
| HIGH | tests/suite/test_transport_server_external_name.py | 0 | encapsulate externalname example details. attributes: ic_pod_name: external_host: external service host | STRING |
| HIGH | tests/suite/test_transport_server_backup_service.py | 0 | encapsulate externalname example details. attributes: ic_pod_name: external_host: external service host | STRING |
| HIGH | tests/suite/test_batch_reloads.py | 0 | encapsulate the smoke example details. attributes: public_endpoint (publicendpoint): ingress_host (str): | STRING |
| HIGH | tests/suite/test_smoke.py | 0 | encapsulate the smoke example details. attributes: public_endpoint (publicendpoint): ingress_host (str): | STRING |
| HIGH | tests/suite/test_prometheus_metrics.py | 0 | encapsulate the smoke example details. attributes: public_endpoint (publicendpoint): ingress_host (str): | STRING |
| HIGH | tests/suite/test_batch_startup_times.py | 0 | encapsulate the smoke example details. attributes: public_endpoint (publicendpoint): ingress_host (str): | STRING |
| HIGH | tests/suite/test_batch_reloads.py | 0 | deploy a simple application and appprotect manifests. :param request: pytest fixture :param kube_apis: client apis :para | STRING |
| HIGH | tests/suite/test_app_protect_watch_namespace.py | 0 | deploy a simple application and appprotect manifests. :param request: pytest fixture :param kube_apis: client apis :para | STRING |
| HIGH | tests/suite/test_app_protect_watch_namespace_label.py | 0 | deploy a simple application and appprotect manifests. :param request: pytest fixture :param kube_apis: client apis :para | STRING |
| HIGH | tests/suite/test_batch_startup_times.py | 0 | deploy a simple application and appprotect manifests. :param request: pytest fixture :param kube_apis: client apis :para | STRING |
| HIGH | tests/suite/test_virtual_server_configmap_keys.py | 0 | assert that an event with specific type, reason, and message substring exists. :param event_list: list of events :param | STRING |
| HIGH | tests/suite/test_zone_sync.py | 0 | assert that an event with specific type, reason, and message substring exists. :param event_list: list of events :param | STRING |
| HIGH | tests/suite/test_mgmt_configmap_keys.py | 0 | assert that an event with specific type, reason, and message substring exists. :param event_list: list of events :param | STRING |
| HIGH | tests/suite/test_ac_policies_vsr.py | 0 | replace configmap to add "set-real-ip-from" :param request: pytest fixture :param kube_apis: client apis :param ingress_ | STRING |
| HIGH | tests/suite/test_ac_policies_ingress.py | 0 | replace configmap to add "set-real-ip-from" :param request: pytest fixture :param kube_apis: client apis :param ingress_ | STRING |
| HIGH | tests/suite/test_ac_polices_vs.py | 0 | replace configmap to add "set-real-ip-from" :param request: pytest fixture :param kube_apis: client apis :param ingress_ | STRING |
| HIGH | tests/suite/test_ac_policies_ingress.py | 0 | encapsulate annotations example details. attributes: public_endpoint: publicendpoint ingress_src_file: ingress_name: ing | STRING |
| HIGH | tests/suite/test_annotations.py | 0 | encapsulate annotations example details. attributes: public_endpoint: publicendpoint ingress_src_file: ingress_name: ing | STRING |
| 17 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .goreleaser.yml | 21 | main: ./cmd/nginx-ingress/ | COMMENT |
| LOW | .goreleaser.yml | 41 | # - aws | COMMENT |
| LOW | .goreleaser.yml | 61 | # - linux | COMMENT |
| LOW | .goreleaser.yml | 81 | # flags: | COMMENT |
| LOW | tests/requirements.txt | 1781 | --hash=sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5 | COMMENT |
| LOW | …a/oidc-native/scenarios/vs/test-8a-njs-and-native.yaml | 1 | # Test 8a: NJS OIDC on spec, Native on route (same VS). | COMMENT |
| LOW | …/oidc-native/scenarios/vs/test-16-cross-namespace.yaml | 1 | # Test 16: Cross-namespace policy reference. | COMMENT |
| LOW | …c-native/scenarios/vs/test-7-same-policy-multi-vs.yaml | 1 | # Test 7: Two VirtualServers sharing the same OIDCNative policy. | COMMENT |
| LOW | internal/nginxconf/tokenizer_test.go | 41 | t.Errorf("%-28s value=%-14q tokenizer fail=%v, nginx fail=%v err=%v", c.note, c.value, got, c.wantFail, err) | COMMENT |
| LOW | internal/nginxconf/tokenizer.go | 1 | // Package nginxconf tokenizes NGINX configuration the way NGINX itself does. | COMMENT |
| LOW | internal/nginxconf/tokenizer.go | 21 | // syntax — instead of grepping the rendered output for suspicious substrings. | COMMENT |
| LOW | internal/nginxconf/tokenizer.go | 261 | // The first word of an entry in one of these is a key chosen by the user, not a | COMMENT |
| LOW | internal/k8s/transportserver_injection_test.go | 21 | name string | COMMENT |
| LOW | internal/k8s/controller.go | 1321 | case configMap: | COMMENT |
| LOW | internal/k8s/controller.go | 1421 | // This decouples readiness from status API calls, which can take | COMMENT |
| LOW | internal/k8s/controller.go | 1461 | // Step 4: Flush deferred status updates in a background goroutine | COMMENT |
| LOW | internal/k8s/controller.go | 1521 | // funnel through. See DeletePoliciesForNamespace for why iterating the | COMMENT |
| LOW | internal/k8s/controller.go | 1681 | } | COMMENT |
| LOW | internal/k8s/controller.go | 1801 | // and emits the usual status and events, skipping template regeneration and | COMMENT |
| LOW | internal/k8s/controller.go | 2441 | // problems is the global rebuildHosts() output and can hold | COMMENT |
| LOW | internal/k8s/controller.go | 2501 | return false | COMMENT |
| LOW | internal/k8s/controller.go | 2641 | } | COMMENT |
| LOW | internal/k8s/controller.go | 2661 | // writes and relying on OnStartedLeading to compensate. | COMMENT |
| LOW | internal/k8s/controller.go | 4821 | return epx | COMMENT |
| LOW | internal/k8s/batch_sync_test.go | 141 | } | COMMENT |
| LOW | internal/k8s/batch_sync_test.go | 201 | t.Fatal("batch 2: updateAllConfigsOnBatch became true without a ConfigMap task in the batch") | COMMENT |
| LOW | internal/k8s/batch_sync_test.go | 221 | // controller does not track". | COMMENT |
| LOW | internal/k8s/batch_sync_test.go | 321 | t.Fatalf("issue #10397 fix: after %d syncs with continuous churn and a %s batch window, "+ | COMMENT |
| LOW | internal/k8s/batch_sync_test.go | 341 | // own"); each cycle enqueues one "real" config-relevant task (T1) plus three | COMMENT |
| LOW | internal/k8s/batch_sync_test.go | 421 | // mode is active and the queue is dominated by endpointslice events that | COMMENT |
| LOW | internal/k8s/batch_sync_test.go | 481 | // Configurator.AddOrUpdateIngress for every Ingress using rate-limit scaling | COMMENT |
| LOW | internal/k8s/batch_sync_test.go | 581 | // sync(): a window-triggered flush (syncQueue.Len() != 0 but batchReloadWindow has | COMMENT |
| LOW | internal/k8s/batch_sync_test.go | 601 | // and returns two closures used to drive sustained EndpointSlice churn for that | COMMENT |
| LOW | internal/k8s/namespaced_informer_registry_test.go | 221 | for _, nsi := range []*namespacedInformer{stuck, other} { | COMMENT |
| LOW | internal/k8s/configuration.go | 421 | // IngressClass or that fail validation — because getPolicies performs | COMMENT |
| LOW | internal/k8s/configuration.go | 1221 | // informer's Policy lister currently contains. | COMMENT |
| LOW | internal/k8s/configuration.go | 2181 | // Sort before building the output slices. The vsrs slice ends up as | COMMENT |
| LOW | internal/k8s/weight_update_test.go | 221 | wantIndexes: [][3]int{{2, 70, 30}}, | COMMENT |
| LOW | internal/k8s/annotation_injection_test.go | 41 | name string | COMMENT |
| LOW | internal/k8s/virtualserver_injection_test.go | 261 | // TestVirtualServerCannotInjectConfiguration asserts, for the VirtualServer | COMMENT |
| LOW | internal/k8s/controller_test.go | 2881 | // policy informer cache (policyLister) directly. | COMMENT |
| LOW | internal/k8s/configuration_test.go | 6821 | // production symptom of the unsorted VSR slice. | COMMENT |
| LOW | internal/k8s/reload_invariant_test.go | 21 | // Configurator.reloadDeferred to know a written-but-unapplied config is | COMMENT |
| LOW | internal/k8s/reload_invariant_test.go | 41 | // files, matches `*.configurator.<Method>(...)` call expressions). It does | COMMENT |
| LOW | internal/k8s/reload_invariant_test.go | 61 | "AddOrUpdateMergeableIngress": true, | COMMENT |
| LOW | internal/k8s/crdschema_test.go | 21 | // which is what the API server does before the controller ever sees it. | COMMENT |
| LOW | internal/k8s/split_clients_index_test.go | 61 | // subroutes start at within its referencing VirtualServer's split_clients | COMMENT |
| LOW | internal/k8s/weight_fast_lane_test.go | 301 | } | COMMENT |
| LOW | internal/k8s/weight_fast_lane_test.go | 461 | } | COMMENT |
| LOW | internal/k8s/weight_fast_lane_test.go | 541 | // reported to the user twice for a single sync. | COMMENT |
| LOW | internal/k8s/weight_fast_lane_test.go | 781 | stored := lbc.configuration.GetVirtualServerRoute("default/coffee") | COMMENT |
| LOW | internal/k8s/weight_fast_lane_test.go | 901 | COMMENT | |
| LOW | internal/k8s/weight_fast_lane_test.go | 1221 | // haltIfVS(R)ConfigInvalid deadlock guard. | COMMENT |
| LOW | internal/nginx/rollback_manager.go | 201 | COMMENT | |
| LOW | internal/nginx/rollback_manager.go | 241 | COMMENT | |
| LOW | internal/nginx/rollback_manager.go | 381 | if _, tracked := cm.batchFiles[path]; tracked { | COMMENT |
| LOW | internal/configs/configmap_injection_test.go | 141 | {key: "zone-sync-resolver-valid", benign: "10s", companions: zoneSyncOn}, | COMMENT |
| LOW | internal/configs/policy.go | 101 | replicas int | COMMENT |
| LOW | internal/configs/policy.go | 141 | oidcNativeRoleLogout = "logout" | COMMENT |
| LOW | internal/configs/batch_reload_test.go | 81 | // failingStreamPlusAPIManager is the TransportServer/stream-upstream | COMMENT |
| 153 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 183 | # Step 2: conf file was removed — no traffic served for this TS | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 188 | # Step 3: traffic is rejected/no response for this TS | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 271 | # Step 1: TS has valid config and serves traffic | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 280 | # Step 2: patch TS with invalid server snippet | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 291 | # Step 3: TS traffic still works — invalid config was rolled back | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 299 | # Step 4: TS config rolled back, invalid directive absent from conf | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 309 | # Step 5: TS is Invalid, status contains actual nginx error and rollback confirmation | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 395 | # Step 2: VS serves traffic | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 398 | # Step 3: apply ConfigMap with invalid setting | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 428 | # Step 5: VS still serves traffic — Valid status | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 432 | # Step 6: TS traffic still works | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ts.py | 440 | # Step 7: TS config unchanged | COMMENT |
| LOW | tests/suite/test_config_rollback_ts.py | 170 | # Step 1: TS is Invalid — no previous config to fall back to | COMMENT |
| LOW | tests/suite/test_config_rollback_ts.py | 323 | # Step 6: VS still serves traffic — unaffected by TS rollback | COMMENT |
| LOW | tests/suite/test_config_rollback_ts.py | 380 | # Step 1: capture TS config before change, verify traffic | COMMENT |
| LOW | tests/suite/test_config_rollback_ts.py | 409 | # Step 4: IC logs confirm main config rollback | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 69 | # Step 1: create VS with invalid server-snippet baked in (sub_filter_once invalid) | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 76 | # Step 2: VS is Invalid — no previous config to fall back to, status contains actual nginx error | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 177 | # Step 1: valid VS serves traffic | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 179 | # Step 2: load VS YAML, apply invalid patch, send to cluster | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 272 | # Step 1: VS serves traffic, capture TS config | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 281 | # Step 2: apply ConfigMap with invalid setting | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 291 | # Step 3: IC logs confirm rollback with actual nginx error | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 309 | # Step 4: VS still responds — nginx.conf was rolled back, VS not affected | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 312 | # Step 5: TS config unchanged | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 361 | # Step 2: capture TS config before ConfigMap change | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 370 | # Step 3: apply ConfigMap with invalid location-snippets | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 425 | # Step 6: ConfigMap event reflects partial failure | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vs.py | 435 | # Step 7: restoring the ConfigMap returns the controller to the normal state | COMMENT |
| LOW | tests/suite/test_config_rollback_vs.py | 88 | # Step 3: conf file was removed — no traffic served for this host | COMMENT |
| LOW | tests/suite/test_config_rollback_vs.py | 190 | # Step 3: traffic still works — invalid config was rolled back | COMMENT |
| LOW | tests/suite/test_config_rollback_vs.py | 201 | # Step 4: VS is Invalid, status contains actual nginx error and rollback confirmation | COMMENT |
| LOW | tests/suite/test_config_rollback_vs.py | 214 | # Step 5: add new VS to prove nginx -t still passes after rollback | COMMENT |
| LOW | tests/suite/test_config_rollback_vs.py | 337 | # Step 1: create three valid VirtualServers | COMMENT |
| LOW | tests/suite/test_config_rollback_vs.py | 381 | # Step 4: the later VS resources fail; the controller then takes the shared-input early-exit path | COMMENT |
| LOW | tests/suite/test_config_rollback_vs.py | 414 | # Step 5: TS config unchanged (stream blocks not affected by location-snippets) | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 91 | # Step 1: create Ingress with invalid server-snippet baked in | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 99 | # Step 2: conf file removed — no traffic served | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 222 | # Step 1: Ingress serves traffic | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 225 | # Step 2: patch Ingress with invalid annotation(s) | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 234 | # Step 3: traffic still works — invalid config rolled back | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 300 | # Step 1: Ingress serves traffic, capture TS config | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 310 | # Step 2: apply ConfigMap with invalid setting | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 340 | # Step 4: Ingress still responds | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 343 | # Step 5: TS config unchanged | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 386 | # Step 2: capture TS config before ConfigMap change | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 395 | # Step 3: apply ConfigMap with invalid location-snippets | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 406 | # Step 4: logs show threshold-triggered early exit; previous-good traffic keeps working | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 416 | # Step 5: TS config unchanged (stream blocks not affected by location-snippets) | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 427 | # Step 6: ConfigMap event reflects partial failure | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_ingress.py | 437 | # Step 7: restoring the ConfigMap returns the controller to the normal state | COMMENT |
| LOW | tests/suite/test_config_rollback_ingress.py | 113 | # Step 3: event contains actual nginx error, but no "rolled back" (nothing to roll back to) | COMMENT |
| LOW | tests/suite/test_config_rollback_ingress.py | 245 | # Step 4: event contains actual nginx error and rollback confirmation | COMMENT |
| LOW | tests/suite/test_config_rollback_ingress.py | 321 | # Step 3: IC logs confirm rollback with actual nginx error | COMMENT |
| LOW | tests/suite/test_config_rollback_ingress.py | 370 | # Step 1: create three valid Ingresses | COMMENT |
| LOW | tests/suite/test_virtual_server_configmap_keys.py | 468 | # Step 1: Update ConfigMap with valid parameters | COMMENT |
| LOW | tests/suite/test_virtual_server_configmap_keys.py | 495 | # Step 2: Update ConfigMap with invalid parameters | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vsr.py | 82 | # Step 1: verify traffic on both VSR routes | COMMENT |
| LOW⚡ | tests/suite/test_config_rollback_vsr.py | 88 | # Step 2: patch either VS or VSR with invalid snippet | COMMENT |
| LOW | tests/suite/test_config_rollback_vsr.py | 119 | # Step 3: traffic still works on both routes — invalid config was rolled back | COMMENT |
| 33 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/suite/test_external_auth_policies_vsr.py | 539 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/suite/test_external_auth_policies_vsr.py | 541 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/suite/test_external_auth_policies_vsr.py | 684 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/suite/test_external_auth_policies_vsr.py | 686 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/suite/test_external_auth_policies_vsr.py | 986 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/suite/test_external_auth_policies_vsr.py | 988 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/suite/test_external_auth_policies_vsr.py | 774 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/suite/test_external_auth_policies_vsr.py | 776 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/suite/test_external_auth_policies_vsr.py | 856 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/suite/test_external_auth_policies_vsr.py | 858 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/suite/utils/external_auth_utils.py | 28 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/suite/utils/external_auth_utils.py | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/suite/utils/external_auth_utils.py | 73 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/suite/utils/external_auth_utils.py | 75 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/suite/utils/external_auth_utils.py | 119 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/suite/utils/external_auth_utils.py | 121 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/suite/utils/external_auth_utils.py | 172 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/suite/utils/external_auth_utils.py | 174 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/suite/utils/external_auth_utils.py | 248 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/suite/utils/external_auth_utils.py | 250 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6030 | // ── Valid inputs ────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6129 | // ── Invalid: $ character without curly braces ───────────────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6160 | // ── Invalid: malformed header names ────────────────────────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6199 | // ── Edge: empty entries are skipped ─────────────────────────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6232 | // ── Multiple errors in one annotation ──────────────────────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6250 | // ── Edge: special chars in value (non-$) ───────────────────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6262 | // ── Edge: whitespace handling ──────────────────────────────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6274 | // ── Edge: empty name combined with dollar in value ─────────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6285 | // ── Valid: properly escaped quotes and backslashes ────────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6302 | // ── Invalid: unescaped quotes and backslashes ───────────────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6318 | // ── Invalid: variable syntax and Plus-only restrictions ─────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6389 | // ── Valid inputs ────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6437 | // ── Invalid: $ in value ─────────────────────────────────────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6453 | // ── Invalid: bad header name ────────────────────────────────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6469 | // ── Invalid: bad always flag ────────────────────────────────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6485 | // ── Invalid: empty entries ──────────────────────────────────── | COMMENT |
| MEDIUM | internal/k8s/validation_test.go | 6501 | // ── Invalid: unescaped characters in value ──────────────────── | COMMENT |
| MEDIUM | .github/scripts/tech-specs-update.py | 28 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/scripts/tech-specs-update.py | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/scripts/tech-specs-update.py | 71 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/scripts/tech-specs-update.py | 73 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/scripts/tech-specs-update.py | 92 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/scripts/tech-specs-update.py | 94 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/scripts/tech-specs-update.py | 264 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/scripts/tech-specs-update.py | 266 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/scripts/tech-specs-update.py | 296 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/scripts/tech-specs-update.py | 298 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/scripts/tech-specs-update.py | 374 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/scripts/tech-specs-update.py | 376 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 264 | except Exception as e: | CODE |
| LOW | tests/conftest.py | 293 | except Exception as e: | CODE |
| LOW | tests/scripts/check_container_packages.py | 150 | except Exception as e: # noqa: BLE001 - one broken image must not hide the rest | CODE |
| LOW | tests/scripts/check_container_packages.py | 185 | except Exception as e: # noqa: BLE001 - record and carry on with the next package | CODE |
| LOW | tests/suite/test_agent.py | 40 | except Exception as e: | CODE |
| MEDIUM | tests/suite/test_agent.py | 41 | print(f"Error: {e}") | CODE |
| LOW | tests/suite/test_build_info.py | 53 | except Exception as ex: | CODE |
| LOW | tests/suite/test_build_info.py | 67 | except Exception: | CODE |
| LOW | tests/suite/test_app_protect_agent.py | 43 | except Exception as e: | CODE |
| MEDIUM | tests/suite/test_app_protect_agent.py | 44 | print(f"Error: {e}") | CODE |
| LOW | tests/suite/test_app_protect_waf_policies_grpc.py | 87 | except Exception: | CODE |
| LOW | tests/suite/test_virtual_server_foreign_upstream.py | 102 | except Exception as ex: | CODE |
| LOW | tests/suite/test_virtual_server_grpc.py | 78 | except Exception: | CODE |
| LOW | tests/suite/test_v_s_route_grpc.py | 48 | except Exception: | CODE |
| LOW | tests/suite/test_virtual_server_mixed_grpc.py | 52 | except Exception: | CODE |
| LOW | tests/suite/utils/custom_resources_utils.py | 25 | except Exception as ex: | CODE |
| LOW | tests/suite/utils/custom_resources_utils.py | 104 | except Exception: | CODE |
| LOW | tests/suite/utils/bundle_source_utils.py | 124 | except Exception as ex: | CODE |
| LOW | tests/suite/utils/vs_vsr_resources_utils.py | 62 | except Exception: | CODE |
| LOW | tests/suite/utils/vs_vsr_resources_utils.py | 130 | except Exception as ex: | CODE |
| LOW | tests/suite/utils/vs_vsr_resources_utils.py | 193 | except Exception as ex: | CODE |
| LOW⚡ | tests/suite/utils/policy_resources_utils.py | 169 | except Exception: | CODE |
| LOW⚡ | tests/suite/utils/policy_resources_utils.py | 175 | except Exception: | CODE |
| LOW⚡ | tests/suite/utils/policy_resources_utils.py | 182 | except Exception: | CODE |
| LOW | tests/suite/utils/external_auth_utils.py | 298 | except Exception: | CODE |
| LOW | tests/suite/utils/external_auth_utils.py | 337 | except Exception: | CODE |
| LOW | tests/suite/utils/external_auth_utils.py | 360 | except Exception: | CODE |
| MEDIUM | tests/suite/utils/external_auth_utils.py | 295 | def fin(): | CODE |
| MEDIUM⚡ | tests/suite/utils/resources_utils.py | 2287 | print(f"Error: {e}") | CODE |
| MEDIUM⚡ | tests/suite/utils/resources_utils.py | 2295 | print(f"Error: {e}") | CODE |
| MEDIUM | tests/suite/utils/resources_utils.py | 988 | print(f"Error: {e}") | CODE |
| MEDIUM | tests/suite/utils/resources_utils.py | 2371 | print(f"Error in pod restart: {e}") | CODE |
| LOW | tests/suite/utils/resources_utils.py | 987 | except Exception as e: | CODE |
| LOW | tests/suite/utils/resources_utils.py | 1769 | except Exception as ex: | CODE |
| LOW | tests/suite/utils/resources_utils.py | 2370 | except Exception as e: | CODE |
| LOW | .github/scripts/pull-release-notes.py | 132 | except Exception as e: | CODE |
| MEDIUM | .github/scripts/pull-release-notes.py | 128 | def get_pr_labels(repo, pr_number): | CODE |
| LOW | perf-tests/conftest.py | 165 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/suite/test_jwt_policies_jwksuri.py | 94 | # Create a user and set credentials | COMMENT |
| MEDIUM | tests/suite/test_jwt_policies_jwksuri.py | 109 | # Create a client | COMMENT |
| MEDIUM | tests/suite/test_external_auth_policies_vsr.py | 751 | # Create the Secret so the reference resolves but lacks the required key | COMMENT |
| MEDIUM | tests/suite/test_oidc.py | 92 | # Create a user and set credentials | COMMENT |
| MEDIUM | tests/suite/test_oidc_native.py | 96 | # Create a user and set credentials | COMMENT |
| MEDIUM | tests/suite/test_oidc_fclo.py | 91 | # Create a user and set credentials | COMMENT |
| MEDIUM | tests/suite/grpc/helloworld_pb2_grpc.py | 49 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | charts/nginx-ingress/values.yaml | 323 | ## Create the HorizontalPodAutoscaler resource. This can be set to false to manage the HPA externally. | COMMENT |
| MEDIUM | charts/nginx-ingress/values.yaml | 792 | ## Create a NetworkPolicy that targets the controller pods. | COMMENT |
| MEDIUM | .github/workflows/cherry-pick.yml | 171 | # Create a PR only if one doesn't already exist for this branch | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/scripts/check_container_packages.py | 141 | CODE | |
| LOW | tests/scripts/check_container_packages.py | 293 | CODE | |
| LOW | tests/suite/test_oidc_native_scenarios.py | 79 | CODE | |
| LOW | tests/suite/test_oidc_native_scenarios.py | 126 | CODE | |
| LOW | tests/suite/test_oidc_native_scenarios.py | 402 | CODE | |
| LOW | tests/suite/test_transport_server_backup_service.py | 258 | CODE | |
| LOW | tests/suite/test_dos.py | 308 | CODE | |
| LOW | tests/suite/test_virtual_server_dos.py | 289 | CODE | |
| LOW | tests/suite/test_virtual_server_dos.py | 357 | CODE | |
| LOW | tests/suite/test_oidc_native_scenarios_ingress.py | 124 | CODE | |
| LOW | tests/suite/test_oidc_native_scenarios_ingress.py | 351 | CODE | |
| LOW | tests/suite/utils/dos_utils.py | 9 | CODE | |
| LOW | tests/suite/utils/custom_assertions.py | 353 | CODE | |
| LOW | tests/suite/utils/yaml_utils.py | 110 | CODE | |
| LOW | tests/suite/utils/vs_vsr_resources_utils.py | 43 | CODE | |
| LOW | tests/suite/utils/resources_utils.py | 74 | CODE | |
| LOW | tests/suite/utils/resources_utils.py | 99 | CODE | |
| LOW | tests/suite/utils/resources_utils.py | 123 | CODE | |
| LOW | tests/suite/utils/resources_utils.py | 147 | CODE | |
| LOW | tests/suite/utils/resources_utils.py | 1588 | CODE | |
| LOW | tests/suite/utils/resources_utils.py | 1609 | CODE | |
| LOW | tests/suite/utils/resources_utils.py | 1726 | CODE | |
| LOW | tests/suite/utils/resources_utils.py | 1916 | CODE | |
| LOW | tests/suite/utils/resources_utils.py | 2274 | CODE | |
| LOW | .github/scripts/tech-specs-update.py | 379 | CODE | |
| LOW | .github/scripts/pull-release-notes.py | 68 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/suite/test_config_rollback_ts.py | 195 | except (requests.exceptions.ConnectionError, requests.exceptions.ReadTimeout): | CODE |
| HIGH | tests/suite/test_config_rollback_ts.py | 206 | except (ConnectionRefusedError, ConnectionResetError, socket.timeout, OSError): | CODE |
| HIGH | tests/suite/test_transport_server_udp_load_balance.py | 39 | except ValueError: | CODE |
| HIGH | tests/suite/utils/vs_vsr_resources_utils.py | 62 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/suite/test_custom_annotations.py | 84 | "# Print the value assigned to the annotation: 512", | CODE |
| LOW | tests/suite/test_custom_annotations.py | 97 | "# Print the value assigned to the annotation: 512", | CODE |
| LOW | …sts/data/custom-annotations/standard/nginx-config.yaml | 16 | # Print the value assigned to the annotation: {{$value}} | COMMENT |
| LOW | …ts/data/custom-annotations/mergeable/nginx-config.yaml | 16 | # Print the value assigned to the annotation: {{$value}} | COMMENT |
| LOW | .github/scripts/pull-release-notes.py | 72 | # Check if the line starts with a section header | COMMENT |
| LOW | .github/scripts/pull-release-notes.py | 86 | # Check if the line starts with "* " or "- " | COMMENT |
| LOW⚡ | .github/scripts/pull-release-notes.py | 192 | # Check if the PR has a "dependencies" label" | COMMENT |
| LOW⚡ | .github/scripts/pull-release-notes.py | 194 | # Check if the PR has a "docker" label, if so add to docker dependencies group | COMMENT |
| LOW⚡ | .github/scripts/pull-release-notes.py | 197 | # Check if the PR has "go", "python" or "github_actions" label, if so add to go dependencies group | COMMENT |
| LOW | .github/scripts/pull-release-notes.py | 231 | # Check if version is a patch release or a minor/major release | COMMENT |
| LOW | .github/scripts/docker-updater.sh | 25 | # Check if the file exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/suite/test_v_s_route.py | 237 | # reset count to 0 because we want to check that the event is added, not just updated, and the event is about de | COMMENT |
| LOW | tests/suite/test_v_s_route.py | 265 | # restore of the VSRoute gets an event about update but not about add, so count is not increased but just set to | COMMENT |
| MEDIUM | tests/suite/utils/ap_resources_utils.py | 1 | """Describe methods to utilize the AppProtect resources.""" | STRING |
| MEDIUM | tests/suite/utils/custom_resources_utils.py | 1 | """Describe methods to utilize the kubernetes-client.""" | STRING |
| MEDIUM | tests/suite/utils/vs_vsr_resources_utils.py | 1 | """Describe methods to utilize the VS/VSR resources.""" | STRING |
| MEDIUM | tests/suite/utils/policy_resources_utils.py | 1 | """Describe methods to utilize the Policy resource.""" | STRING |
| MEDIUM | tests/suite/utils/resources_utils.py | 1 | """Describe methods to utilize the kubernetes-client.""" | STRING |
| MEDIUM | internal/validation/validation.go | 101 | // ValidateURI is a more robust extensible function to validate URIs. It | COMMENT |
| LOW | .github/scripts/release-docs.sh | 219 | # If same year: just add to existing index | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | .github/workflows/external-pr.yml | 40 | core.setOutput('is_fork', pr.data.head.repo.fork.toString()); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CODE_OF_CONDUCT.md | 41 | 5. **Undisclosed or unreviewed AI-generated contributions.** Submitting code, bug reports, documentation, issues, or oth | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/secrets.json | 1877 | "name": "Jane Doe", | CODE |
| LOW | hack/secrets.json | 1895 | "name": "John Doe", | CODE |
| LOW⚡ | …custom-resources/rate-limit-tiered-jwt-claim/README.md | 74 | "name": "John Doe" | CODE |
| LOW | …custom-resources/rate-limit-tiered-jwt-claim/README.md | 118 | "name": "Jane Doe" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/skills/nic-code-review/SKILL.md | 17 | ## Review guardrails | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/suite/test_external_auth_policies_tls_vs.py | 281 | verify path is gated by SSLEnabled && SSLVerify (policy.go:309), | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/suite/grpc/helloworld_pb2_grpc.py | 57 | CODE | |
| LOW | tests/suite/utils/resources_utils.py | 1900 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/suite/utils/external_auth_utils.py | 26 | logger = logging.getLogger(__name__) | CODE |