Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Keeper-Security/Commander
/ functions
Functions
12,579 in github.com/Keeper-Security/Commander
⨍
Functions
12,579
◇
Types & classes
2,082
↳
Endpoints
532
Method
test_cloud_host_refuses_a_key
(self)
unit-tests/test_self_managed_server_key.py:458
Method
test_cloud_host_refuses_insecure
(self)
unit-tests/test_self_managed_server_key.py:450
Method
test_cloud_host_uses_built_in_keys
(self, mock_get)
unit-tests/test_self_managed_server_key.py:161
Method
test_cloud_platform_variants_map_to_rbi
(self, platform_id, expected_url, expected_page)
tests/test_cyberark_pam_import.py:217
Method
test_cloud_rbi_user_is_promoted_for_autofill_resolution
(self)
tests/test_cyberark_pam_import.py:1231
Method
test_cloudflare_and_ngrok_mutual_exclusion
Test that Cloudflare and ngrok cannot be used together.
unit-tests/service/test_create_service.py:183
Method
test_cloudflare_domain_validation
Test Cloudflare custom domain validation.
unit-tests/service/test_create_service.py:333
Method
test_cloudflare_enabled_produces_cf_and_cfd_flags_unchanged
(self)
unit-tests/service/test_compose_builder.py:83
Method
test_cloudflare_streamlined_configuration
Test streamlined configuration with Cloudflare tunnel.
unit-tests/service/test_create_service.py:94
Method
test_cloudflare_token_validation
Test Cloudflare token format validation.
unit-tests/service/test_create_service.py:303
Method
test_cloudflare_tunnel_startup_failure
Test Cloudflare tunnel startup failure due to firewall.
unit-tests/service/test_create_service.py:255
Method
test_cloudflare_tunnel_startup_success
Test successful Cloudflare tunnel startup.
unit-tests/service/test_create_service.py:214
Method
test_cloudflare_validation_missing_domain
Test validation error when Cloudflare domain is missing but token is provided.
unit-tests/service/test_create_service.py:153
Method
test_cloudflare_validation_missing_token
Test validation error when Cloudflare token is missing but domain is provided.
unit-tests/service/test_create_service.py:123
Function
test_cnapp_configuration
Probe the provider with the supplied credentials without persisting anything. Returns None on success; raises on validation failure (RRC_BAD_REQU
keepercommander/commands/pam/cnapp_helper.py:153
Function
test_cnapp_encrypter
Issue a `GET <url>/health` against the customer-deployed Encrypter via krouter. Used by the UI/CLI to check that the Encrypter URL is reachable b
keepercommander/commands/pam/cnapp_helper.py:166
Function
test_collect_nsf_subtree_uids_survives_parent_cycle
()
unit-tests/pam/test_pam_project_import_nsf.py:503
Function
test_collect_nsf_subtree_uids_walks_descendants_breadth_first
()
unit-tests/pam/test_pam_project_import_nsf.py:488
Method
test_combine_multiple_new_args
(self)
unit-tests/pam/test_pam_rbi_edit.py:202
Method
test_combine_new_args_with_existing
(self)
unit-tests/pam/test_pam_rbi_edit.py:217
Method
test_combined_include_and_exclude
(self)
unit-tests/pam/test_kcm_import.py:3734
Method
test_comma_separated_patterns
(self)
unit-tests/test_apply_membership_pam.py:164
Method
test_command_aliases_do_not_bypass_host_path_checks
(self)
unit-tests/service/test_verified_command.py:362
Method
test_command_error_handler
(self)
unit-tests/test_nested_share_folder.py:645
Method
test_command_error_status_change_is_limited_to_bulk_json_commands
(self)
unit-tests/service/test_command.py:227
Method
test_command_execution_error_is_sanitized_in_logs
(self)
unit-tests/service/test_log_sanitization.py:151
Method
test_command_execution_failure
Test command execution failure
unit-tests/service/test_command.py:91
Method
test_command_execution_success
Test successful command execution
unit-tests/service/test_command.py:76
Method
test_command_import
(self)
unit-tests/test_cli.py:12
Method
test_command_matches_unordered_results_by_uid
(self, mock_convert)
unit-tests/test_classic_to_nsf_conversion.py:377
Method
test_command_naming
(self)
unit-tests/service/test_gchat_app_setup.py:25
Method
test_command_rejects_known_nested_share_record
(self, mock_convert)
unit-tests/test_classic_to_nsf_conversion.py:286
Method
test_command_rejects_unresolved_folder
(self, _mock_resolve_folder, mock_convert)
unit-tests/test_classic_to_nsf_conversion.py:278
Method
test_commands
(self)
tests/test_enterprise_commands.py:85
Method
test_commands
(self)
tests/test_vault_commands.py:136
Method
test_commands_config_strips_commands_outside_terraform_allowlist
(self, mock_runtime_config)
unit-tests/service/test_terraform_app_setup.py:82
Method
test_commands_config_uses_fixed_allowlist
(self, mock_runtime_config)
unit-tests/service/test_terraform_app_setup.py:67
Method
test_commands_config_wraps_validation_error
(self, mock_runtime_config)
unit-tests/service/test_terraform_app_setup.py:94
Method
test_comment_blocks_rest_of_line
(self)
unit-tests/test_connect_security.py:112
Method
test_complete_and_fail_flags_accepted
(self)
unit-tests/pam/test_uss_frame_parser.py:35
Method
test_complete_identity_sso_opens_browser_and_polls
(self, monkeypatch)
tests/test_cyberark_pam_import.py:922
Method
test_complete_identity_sso_pin_success
(self, monkeypatch)
tests/test_cyberark_pam_import.py:888
Method
test_complete_identity_sso_uses_pin_when_required
(self, monkeypatch)
tests/test_cyberark_pam_import.py:946
Method
test_complete_records_unchanged
Records with all required fields stay in their original folder.
unit-tests/pam/test_kcm_import.py:1885
Method
test_complexity_always_forwarded
(self)
tests/test_credential_provision_execute.py:137
Method
test_compose_collision_gets_suffix
(self)
unit-tests/pam/test_pam_import_playground.py:353
Method
test_compose_project_name_set
(self)
unit-tests/pam/test_pam_import_playground.py:265
Method
test_compose_uses_terraform_service_and_container_names
(self)
unit-tests/service/test_terraform_app_setup.py:38
Method
test_compute_optimal_no_throttle
No throttle: budget-based batch, call-proportional delays.
unit-tests/pam/test_kcm_import.py:2946
Method
test_compute_optimal_with_throttle
Probe throttle: conservative params.
unit-tests/pam/test_kcm_import.py:2961
Method
test_concurrent_writers_agree_on_one_value
(self)
unit-tests/test_thycotic_access.py:1297
Method
test_config_certificate_check_false_disables_verify
(self)
unit-tests/test_ssl_verify.py:41
Method
test_config_delete_success
(self)
unit-tests/pam/test_cnapp.py:482
Method
test_config_error_within_window_closes_tube
(self)
unit-tests/pam/test_route_message_to_rust_gateway_error.py:92
Method
test_config_field_reads_by_label
(self)
unit-tests/test_pam_cloud_credentials.py:18
Method
test_config_file_blocked_config_base64_allowed
(self)
unit-tests/service/test_verified_command.py:637
Method
test_config_happy_path_uses_configure_network_graph
is_config=True flips the call to configure_network_graph with the inner allowedSettings dict (matches edit_tunneling_config's shape).
unit-tests/pam/test_dag_layer_b_migration.py:1106
Method
test_config_not_found
Raises error when config UID doesn't exist.
tests/test_pam_privileged_cloud.py:173
Method
test_config_not_found_raises
Should raise if config UID doesn't exist in vault.
unit-tests/pam/test_kcm_import.py:3261
Method
test_config_permission_denied_with_fallback_invokes_legacy
is_config=True + env=1 + RRC denial on configure_network_graph -> legacy add_data + save runs (same shape as edit_tunneling_config).
unit-tests/pam/test_dag_layer_b_migration.py:1178
Method
test_config_read_handles_none_response
(self)
unit-tests/pam/test_cnapp.py:477
Method
test_config_read_json_format
(self)
unit-tests/pam/test_cnapp.py:458
Method
test_config_read_table_format
(self)
unit-tests/pam/test_cnapp.py:441
Method
test_config_set_blank_secret_passes_through
Edge case: the CLI must forward an empty secret unchanged so krouter can keep the existing value.
unit-tests/pam/test_cnapp.py:359
Method
test_config_set_calls_helper_with_resolved_provider
(self)
unit-tests/pam/test_cnapp.py:335
Method
test_config_set_invalid_provider_raises
(self)
unit-tests/pam/test_cnapp.py:391
Method
test_config_set_omitted_secret_keeps_existing
(self)
unit-tests/pam/test_cnapp.py:376
Method
test_config_test_encrypter_success
(self)
unit-tests/pam/test_cnapp.py:432
Method
test_config_test_prints_success
(self)
unit-tests/pam/test_cnapp.py:403
Method
test_config_test_propagates_helper_error
(self)
unit-tests/pam/test_cnapp.py:419
Function
test_configure_resource_falls_back_on_404_when_env_on
Opt-in path: KEEPER_DAG_LB_FALLBACK=1 makes 404 fall back for `configure_resource` too.
unit-tests/pam/test_dag_layer_b_fallback.py:315
Function
test_configure_resource_hits_correct_url
POSTs to /api/user/configure_resource.
unit-tests/pam/test_dag_layer_b_configure_resource.py:94
Function
test_configure_resource_proto_all_fields_together
All-fields construction — useful as a smoke for proto schema completeness.
unit-tests/pam/test_dag_layer_b_configure_resource.py:181
Function
test_configure_resource_proto_connect_users_uid_list
()
unit-tests/pam/test_dag_layer_b_configure_resource.py:152
Function
test_configure_resource_proto_domainUid
()
unit-tests/pam/test_dag_layer_b_configure_resource.py:160
Function
test_configure_resource_proto_full_credential_link
A typical 'configure resource with admin credential' shape.
unit-tests/pam/test_dag_layer_b_configure_resource.py:140
Function
test_configure_resource_proto_jit_settings
()
unit-tests/pam/test_dag_layer_b_configure_resource.py:171
Function
test_configure_resource_proto_keeper_ai_settings
()
unit-tests/pam/test_dag_layer_b_configure_resource.py:176
Function
test_configure_resource_proto_meta_bytes
()
unit-tests/pam/test_dag_layer_b_configure_resource.py:165
Function
test_configure_resource_proto_recordUid_only
()
unit-tests/pam/test_dag_layer_b_configure_resource.py:133
Function
test_configure_resource_raises_keeper_api_error_on_http_4xx
An HTTP 4xx from krouter surfaces as KeeperApiError (not RouterResponseError).
unit-tests/pam/test_dag_layer_b_configure_resource.py:246
Function
test_configure_resource_raises_router_response_error_on_non_permission_codes
Non-permission errors also surface as RouterResponseError; callers don't fall back on these.
unit-tests/pam/test_dag_layer_b_configure_resource.py:231
Function
test_configure_resource_raises_router_response_error_on_permission_denied
Verify Commander parses the responseCode and surfaces it via RouterResponseError.
unit-tests/pam/test_dag_layer_b_configure_resource.py:219
Function
test_configure_resource_sends_protobuf_body
Body is the AES-GCM-encrypted PAMResourceConfig protobuf — not plaintext proto, not JSON.
unit-tests/pam/test_dag_layer_b_configure_resource.py:104
Function
test_configure_resource_strict_on_404_when_env_unset
Mature endpoint `configure_resource`: 404 propagates when env var is unset (strict default). Opt INTO fallback by setting KEEPER_DAG_LB_FALLBACK=1
unit-tests/pam/test_dag_layer_b_fallback.py:305
Function
test_configure_resource_strict_on_rrc_when_env_unset
Mature endpoint, RRC denial: propagates when env var is unset. This is the security-relevant default — denials are real and should not silently
unit-tests/pam/test_dag_layer_b_fallback.py:327
Method
test_configure_resource_unauthorized_record_returns_not_allowed
Sending configure_resource with a recordUid we don't own should fail with RRC_NOT_ALLOWED.
tests/test_dag_integration.py:113
Method
test_configured_key_wins
(self, mock_get)
unit-tests/test_self_managed_server_key.py:200
Method
test_confirmation_escapes_control_characters_in_title
(self, _mock_choice, mock_convert)
unit-tests/test_classic_to_nsf_conversion.py:342
Method
test_connect_and_validate_schema
Connect to real DB and validate guacamole schema exists.
unit-tests/pam/test_kcm_import.py:2074
Method
test_connection
Test connection to email provider. Returns: True if connection successful, False otherwise
keepercommander/email_service.py:320
Method
test_connection
Test SendGrid API connection. Returns: True if API key is valid
keepercommander/email_service.py:503
Method
test_connection
Test AWS SES connection and verify email address. Returns: True if connection successful and sender email verified
keepercommander/email_service.py:601
Method
test_connection
Test Gmail OAuth connection. Returns: True if credentials are valid
keepercommander/email_service.py:770
Method
test_connection
Test Microsoft OAuth connection. Returns: True if credentials are valid
keepercommander/email_service.py:950
Method
test_connection_close_is_idempotent
close() should not raise when called twice.
unit-tests/pam/test_kcm_import.py:2114
Method
test_connection_uid_requires_record_uid
(self)
tests/test_pam_recording_commands.py:357
Method
test_connection_use_ssl_is_ignored
(self)
unit-tests/pam/test_pam_launch_database_settings.py:38
Method
test_connections_active
(self)
tests/test_cyberark_pam_import.py:3755
Method
test_connections_inactive
(self)
tests/test_cyberark_pam_import.py:3763
← previous
next →
8,901–9,000 of 12,579, ranked by callers