Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/OpenShell
/ functions
Functions
9,017 in github.com/NVIDIA/OpenShell
⨍
Functions
9,017
◇
Types & classes
806
Function
test_host_wildcard_matches_subdomain
HW-1: host wildcard matches single-label subdomains.
e2e/python/test_sandbox_policy.py:1849
Function
test_host_wildcard_rejects_bare_domain
HW-2: host wildcard does NOT match the bare domain.
e2e/python/test_sandbox_policy.py:1888
Function
test_host_wildcard_rejects_deep_subdomain
HW-3: host wildcard does NOT match a deep subdomain. Single * matches one DNS label only (does not cross . boundaries).
e2e/python/test_sandbox_policy.py:1916
Function
test_http_activity_builder
()
crates/openshell-ocsf/src/builders/http.rs:123
Function
test_http_activity_builder_with_status_detail
()
crates/openshell-ocsf/src/builders/http.rs:146
Function
test_http_activity_serialization
()
crates/openshell-ocsf/src/events/http_activity.rs:106
Function
test_http_activity_shorthand
()
crates/openshell-ocsf/src/format/shorthand.rs:509
Function
test_http_activity_shorthand_denied_shows_reason
()
crates/openshell-ocsf/src/format/shorthand.rs:626
Function
test_http_activity_shorthand_non_default_port
()
crates/openshell-ocsf/src/format/shorthand.rs:753
Function
test_http_request_serialization
()
crates/openshell-ocsf/src/objects/http.rs:95
Function
test_http_response
()
crates/openshell-ocsf/src/objects/http.rs:142
Function
test_implicit_allowed_ips_allows_rfc1918
()
crates/openshell-supervisor-network/src/proxy.rs:6987
Function
test_implicit_allowed_ips_returns_empty_for_hostname
()
crates/openshell-supervisor-network/src/proxy.rs:7631
Function
test_implicit_allowed_ips_returns_empty_for_wildcard
()
crates/openshell-supervisor-network/src/proxy.rs:7637
Function
test_implicit_allowed_ips_returns_ip_for_ipv4_literal
()
crates/openshell-supervisor-network/src/proxy.rs:7618
Function
test_implicit_allowed_ips_skips_ipv6_loopback
()
crates/openshell-supervisor-network/src/proxy.rs:7624
Function
test_implicit_allowed_ips_skips_link_local
()
crates/openshell-supervisor-network/src/proxy.rs:6975
Function
test_implicit_allowed_ips_skips_loopback
()
crates/openshell-supervisor-network/src/proxy.rs:6969
Function
test_implicit_allowed_ips_skips_unspecified
()
crates/openshell-supervisor-network/src/proxy.rs:6981
Function
test_include_workdir_default
()
crates/openshell-prover/src/lib.rs:116
Function
test_include_workdir_false
()
crates/openshell-prover/src/lib.rs:130
Function
test_include_workdir_no_duplicate
()
crates/openshell-prover/src/lib.rs:145
Function
test_inference_call_routed_to_backend
OpenAI chat request to `inference.local` is intercepted and routed.
e2e/python/test_inference_routing.py:195
Function
test_inference_set_cluster_forwards_no_verify_flag
()
python/openshell/sandbox_test.py:1335
Function
test_insert_implicit_platform_build_args_cross_compile
()
crates/openshell-bootstrap/src/build.rs:650
Function
test_insert_implicit_platform_build_args_native
()
crates/openshell-bootstrap/src/build.rs:633
Function
test_insert_implicit_platform_build_args_trailing_slash_rejected
()
crates/openshell-bootstrap/src/build.rs:665
Function
test_internal_ip_allows_public
()
crates/openshell-core/src/net.rs:535
Function
test_internal_ip_cgnat
()
crates/openshell-core/src/net.rs:551
Function
test_internal_ip_ipv4_mapped_v6
()
crates/openshell-core/src/net.rs:543
Function
test_internal_ip_ipv6_mapped_cgnat
()
crates/openshell-core/src/net.rs:583
Function
test_internal_ip_link_local
()
crates/openshell-core/src/net.rs:512
Function
test_internal_ip_loopback
()
crates/openshell-core/src/net.rs:506
Function
test_internal_ip_rfc1918
()
crates/openshell-core/src/net.rs:499
Function
test_internal_ip_special_use_ranges
()
crates/openshell-core/src/net.rs:566
Function
test_internal_ip_unspecified
()
crates/openshell-core/src/net.rs:519
Function
test_internal_ip_v6_ula
()
crates/openshell-core/src/net.rs:525
Function
test_iommu_group_devices_lists_all_members
()
crates/openshell-vfio/src/sysfs.rs:322
Function
test_iommu_group_devices_single_device
()
crates/openshell-vfio/src/sysfs.rs:350
Function
test_is_bodiless_response
()
crates/openshell-supervisor-network/src/l7/rest.rs:3401
Function
test_is_cloud_metadata_ip_allows_other_ipv4_mapped_link_local
()
crates/openshell-supervisor-network/src/proxy.rs:5567
Function
test_is_cloud_metadata_ip_allows_other_link_local
()
crates/openshell-supervisor-network/src/proxy.rs:5532
Function
test_is_cloud_metadata_ip_allows_private_and_public
()
crates/openshell-supervisor-network/src/proxy.rs:5543
Function
test_is_cloud_metadata_ip_blocks_ipv4_mapped_metadata
()
crates/openshell-supervisor-network/src/proxy.rs:5554
Function
test_is_cloud_metadata_ip_blocks_known_metadata_ip
()
crates/openshell-supervisor-network/src/proxy.rs:5525
Function
test_is_gpu_class
()
crates/openshell-vfio/src/gpu.rs:229
Function
test_is_host_gateway_alias_is_case_insensitive
()
crates/openshell-supervisor-network/src/proxy.rs:5507
Function
test_is_host_gateway_alias_recognises_known_aliases
()
crates/openshell-supervisor-network/src/proxy.rs:5500
Function
test_is_host_gateway_alias_rejects_unknown_hosts
()
crates/openshell-supervisor-network/src/proxy.rs:5514
Function
test_is_ignored_directory_prefix
()
crates/openshell-bootstrap/src/build.rs:598
Function
test_item_to_json
(item: &TestItem)
crates/openshell-cli/src/output.rs:309
Function
test_json_error_response_403
()
crates/openshell-supervisor-network/src/proxy.rs:7726
Function
test_json_error_response_502
()
crates/openshell-supervisor-network/src/proxy.rs:7750
Function
test_json_error_response_content_length_matches
()
crates/openshell-supervisor-network/src/proxy.rs:7768
Function
test_json_roundtrip
()
crates/openshell-ocsf/src/enums/http_method.rs:119
Function
test_json_roundtrip_other
()
crates/openshell-ocsf/src/enums/http_method.rs:129
Function
test_jsonl_layer_creation
()
crates/openshell-ocsf/src/tracing_layers/jsonl_layer.rs:83
Function
test_keepalive_denies_non_inference_after_routed
()
crates/openshell-supervisor-network/src/proxy.rs:7660
Function
test_known_metadata_hostname_accepts_gcp_variants
()
crates/openshell-core/src/net.rs:231
Function
test_known_metadata_hostname_emits_link_local_finding
()
crates/openshell-prover/src/lib.rs:242
Function
test_known_metadata_hostname_rejects_public_hosts
()
crates/openshell-core/src/net.rs:238
Function
test_l4_binary_restricted_denies_wrong_binary
L4-3: Policy restricted to specific binary denies others. Policy allows /usr/bin/curl -> api.anthropic.com:443. Python (exec_python uses pyth
e2e/python/test_sandbox_policy.py:472
Function
test_l4_cross_policy_denied
L4-5: Multiple disjoint policies -> cross-policy access denied. Policy A: python -> api.anthropic.com:443 Policy B: curl -> example.com:443
e2e/python/test_sandbox_policy.py:527
Function
test_l4_log_fields
L4-7: CONNECT log contains structured fields for allow and deny.
e2e/python/test_sandbox_policy.py:604
Function
test_l4_no_policy_denies_all
L4-1: No matching endpoint in any network policy -> CONNECT denied. We need at least one network policy so the proxy and network namespace st
e2e/python/test_sandbox_policy.py:416
Function
test_l4_non_connect_method_rejected
L4-6: Non-CONNECT HTTP method -> rejected with 403.
e2e/python/test_sandbox_policy.py:569
Function
test_l4_wildcard_binary_allows_any_binary
L4-2: Wildcard binary glob allows python (and anything else) to connect.
e2e/python/test_sandbox_policy.py:444
Function
test_l4_wrong_port_denied
L4-4: Correct host but wrong port -> denied.
e2e/python/test_sandbox_policy.py:499
Function
test_l7_query_matchers_enforced
L7-T9: Query matcher glob/any allows and denies as expected.
e2e/python/test_sandbox_policy.py:1208
Function
test_l7_rule_without_query_matcher_allows_any_query_params
L7-T10: Rule without query matcher allows any query params.
e2e/python/test_sandbox_policy.py:1319
Function
test_l7_tls_audit_mode_allows_but_logs
L7-T3: TLS terminate + enforcement=audit logs but allows HTTPS POST.
e2e/python/test_sandbox_policy.py:984
Function
test_l7_tls_ca_trust_store_injected
L7-T5: Sandbox CA is injected into trust store environment variables.
e2e/python/test_sandbox_policy.py:1083
Function
test_l7_tls_deny_response_format
L7-T6: L7 deny response is valid JSON with expected fields.
e2e/python/test_sandbox_policy.py:1125
Function
test_l7_tls_explicit_path_rules
L7-T4: TLS terminate with explicit path rules.
e2e/python/test_sandbox_policy.py:1027
Function
test_l7_tls_full_access_allows_all
L7-T1: TLS terminate + access=full allows HTTPS GET through.
e2e/python/test_sandbox_policy.py:904
Function
test_l7_tls_log_fields
L7-T7: L7 request logging includes structured fields.
e2e/python/test_sandbox_policy.py:1169
Function
test_l7_tls_read_only_denies_post
L7-T2: TLS terminate + access=read-only denies HTTPS POST (enforce).
e2e/python/test_sandbox_policy.py:940
Function
test_landlock_allows_read_on_read_only_path
Reads from read-only paths (/usr, /etc) are allowed.
e2e/python/test_sandbox_landlock.py:150
Function
test_landlock_allows_write_to_read_write_path
Writes to read-write paths (/tmp, /sandbox) are allowed.
e2e/python/test_sandbox_landlock.py:136
Function
test_landlock_blocks_access_outside_policy
Paths not listed in the policy (/opt, /root) are blocked entirely. When Landlock is enforced, any path not covered by a rule is denied by def
e2e/python/test_sandbox_landlock.py:164
Function
test_landlock_blocks_user_owned_path_outside_policy
Landlock blocks access to /home/sandbox even though the sandbox user owns it. This is the key distinction between Landlock and Unix DAC permissio
e2e/python/test_sandbox_landlock.py:185
Function
test_landlock_blocks_write_to_read_only_path
Writes to read-only paths (/usr) are blocked by Landlock.
e2e/python/test_sandbox_landlock.py:123
Function
test_launch_type_json_roundtrip
()
crates/openshell-ocsf/src/enums/launch.rs:56
Function
test_launch_type_labels
()
crates/openshell-ocsf/src/enums/launch.rs:47
Function
test_lifecycle_shorthand
()
crates/openshell-ocsf/src/format/shorthand.rs:871
Function
test_link_local_ip_not_loopback
()
crates/openshell-core/src/net.rs:274
Function
test_link_local_ip_not_public
()
crates/openshell-core/src/net.rs:293
Function
test_link_local_ip_not_rfc1918
()
crates/openshell-core/src/net.rs:286
Function
test_link_local_ip_not_unspecified
()
crates/openshell-core/src/net.rs:280
Function
test_link_local_ip_not_v6_mapped_loopback
()
crates/openshell-core/src/net.rs:301
Function
test_link_local_ip_v4
()
crates/openshell-core/src/net.rs:246
Function
test_link_local_ip_v6_fe80
()
crates/openshell-core/src/net.rs:257
Function
test_link_local_ip_v6_mapped_v4
()
crates/openshell-core/src/net.rs:268
Function
test_load_class_schemas
()
crates/openshell-ocsf/src/validation/schema.rs:83
Function
test_load_cluster_bearer_token_handles_non_ascii_utf8_oidc
(tmp_path: Path)
python/openshell/sandbox_test.py:1374
Function
test_load_cluster_bearer_token_reads_oidc_token_json
(tmp_path: Path)
python/openshell/sandbox_test.py:257
Function
test_load_cluster_bearer_token_rejects_missing_access_token
( tmp_path: Path, )
python/openshell/sandbox_test.py:289
Function
test_load_cluster_bearer_token_returns_none_when_missing
( tmp_path: Path, )
python/openshell/sandbox_test.py:274
Function
test_load_cluster_bearer_token_tolerates_unreadable_file
( tmp_path: Path, )
python/openshell/sandbox_test.py:280
Function
test_long_path_exceeding_100_bytes
()
crates/openshell-bootstrap/src/build.rs:548
← previous
next →
8,001–8,100 of 9,017, ranked by callers