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_returns_empty_for_no_token
Should return empty string when no access_token in output.
unit-tests/pam/test_kcm_import.py:3608
Method
test_returns_empty_on_failure
(self, mock_run)
unit-tests/pam/test_kcm_import.py:3778
Method
test_returns_empty_string_when_no_refs
(self, mock_post)
unit-tests/pam/test_get_config_uid_via_pam_link.py:45
Method
test_returns_empty_string_when_response_is_none
(self, mock_post)
unit-tests/pam/test_get_config_uid_via_pam_link.py:50
Method
test_returns_empty_when_details_fail
(self)
tests/test_cyberark_pam_import.py:3309
Method
test_returns_empty_when_no_linked
(self)
tests/test_cyberark_pam_import.py:3302
Method
test_returns_empty_when_no_resource_vertex
(self)
unit-tests/pam/test_dag_layer_b_migration.py:732
Method
test_returns_env_uid_for_slack_sync_down
(self)
unit-tests/service/test_protected_records.py:364
Method
test_returns_env_uid_regardless_of_explicit_dash_r_value
Never derived from the admin's own -r value -- always the env-pinned UID.
unit-tests/service/test_protected_records.py:370
Method
test_returns_error_when_both_reads_fail
(self)
unit-tests/test_thycotic_migration.py:164
Method
test_returns_false_after_exhausting_retries
(self)
unit-tests/service/test_tailscale_config.py:35
Method
test_returns_false_on_nonzero_exit
Both the scoped command and the reset fallback failing, with the target confirmed still active, is a genuine failure.
unit-tests/service/test_tunneling.py:362
Method
test_returns_false_when_command_fails
(self)
unit-tests/service/test_tunneling.py:482
Method
test_returns_false_when_username_unavailable
(self)
unit-tests/service/test_tunneling.py:460
Method
test_returns_first_ip
(self, mock_run)
unit-tests/pam/test_kcm_import.py:3771
Method
test_returns_folder_containing_a_protected_record
(self)
unit-tests/service/test_protected_records.py:435
Method
test_returns_full_allowlist_minus_banned
(self)
unit-tests/service/test_command_policy.py:49
Method
test_returns_none_for_missing_config
Should return (None, None) if config UID not found.
unit-tests/pam/test_kcm_import.py:3235
Method
test_returns_none_for_missing_record_uid
(self)
unit-tests/pam/test_cnapp.py:849
Method
test_returns_none_for_non_owned_only
(self)
unit-tests/service/test_docker_setup_ownership.py:216
Method
test_returns_none_for_normal_account
(self)
tests/test_cyberark_pam_import.py:3335
Method
test_returns_none_on_403
(self, mock_dns, mock_requests)
tests/test_cyberark_pam_import.py:4046
Method
test_returns_none_on_failure
(self, mock_dns, mock_requests)
tests/test_cyberark_pam_import.py:3246
Method
test_returns_none_on_network_error
(self, mock_dns, mock_requests)
tests/test_cyberark_pam_import.py:4058
Method
test_returns_none_when_api_key_field_missing
(self, mock_load)
unit-tests/service/test_vault_metadata.py:44
Method
test_returns_none_when_api_key_value_empty
(self, mock_load)
unit-tests/service/test_vault_metadata.py:49
Method
test_returns_none_when_checkout_owner_is_missing
(self)
unit-tests/pam/test_workflow_my_access_checkout.py:69
Method
test_returns_none_when_custom_is_empty
(self, mock_load)
unit-tests/service/test_vault_metadata.py:54
Method
test_returns_none_when_load_raises
(self, mock_load)
unit-tests/service/test_vault_metadata.py:66
Method
test_returns_none_when_only_shared_match
(self, mock_load, mock_extract)
unit-tests/test_email_config_ownership.py:64
Method
test_returns_none_when_only_shared_match
(self, mock_find)
unit-tests/service/test_service_config.py:195
Method
test_returns_none_when_owner_cache_missing
(self, mock_load, mock_extract)
unit-tests/test_email_config_ownership.py:79
Method
test_returns_none_when_owner_cache_missing
(self, mock_find)
unit-tests/service/test_service_config.py:208
Method
test_returns_none_when_record_is_not_typed
(self, mock_load)
unit-tests/service/test_vault_metadata.py:59
Method
test_returns_nsf_folder_containing_a_protected_record
(self)
unit-tests/service/test_protected_records.py:455
Method
test_returns_only_launch_credential_users
(self)
unit-tests/pam/test_dag_layer_b_migration.py:725
Method
test_returns_only_matching_protected_records
(self)
unit-tests/service/test_protected_records.py:61
Method
test_returns_owned_record
(self, mock_load, mock_extract)
unit-tests/test_email_config_ownership.py:91
Method
test_returns_pid_when_ngrok_stays_running
(self)
unit-tests/service/test_tunneling.py:30
Method
test_returns_policy_on_success
(self, mock_dns, mock_requests)
tests/test_cyberark_pam_import.py:4028
Method
test_returns_public_url_and_pid_in_correct_order
(self)
unit-tests/service/test_tunneling.py:206
Method
test_returns_string
(self)
unit-tests/pam/test_pam_project_export.py:137
Method
test_returns_the_popen_object
(self)
unit-tests/service/test_process_util.py:52
Method
test_returns_true_immediately_when_already_active
(self)
unit-tests/service/test_tailscale_config.py:21
Method
test_returns_true_on_success
(self)
unit-tests/service/test_tunneling.py:355
Method
test_returns_url_when_process_is_alive
(self)
unit-tests/service/test_tunneling.py:57
Method
test_returns_valid_secret_labeled_key
(self)
unit-tests/pam/test_cnapp.py:804
Method
test_returns_zero_when_no_rotation_after_sync
(self)
unit-tests/pam/test_pam_rotation.py:1300
Method
test_returns_zero_when_no_rotation_after_sync
(self)
unit-tests/pam/test_pam_rotation.py:1346
Method
test_reuses_owned_app_from_get_app_record_fallback
( self, _printer, _find_owned, mock_get_app )
unit-tests/service/test_docker_setup_ownership.py:245
Method
test_reuses_owned_folder_when_squat_also_present
(self, _printer)
unit-tests/service/test_docker_setup_ownership.py:98
Method
test_reuses_owned_record
(self, _printer, mock_get)
unit-tests/service/test_docker_setup_ownership.py:160
Method
test_revoke_already_denied_sends_nothing
(self)
unit-tests/test_nested_share_folder.py:3415
Method
test_revoke_direct_sends_remove
(self)
unit-tests/test_nested_share_folder.py:3411
Method
test_revoke_folder_access_subfolder_team
Revoking team access on an NSF subfolder uses server accessor UIDs.
unit-tests/test_nested_share_folder.py:2319
Method
test_revoke_folder_access_subfolder_team_inherited
Inherited access on a subfolder breaks inheritance then revokes.
unit-tests/test_nested_share_folder.py:2375
Method
test_revoke_inherited_sends_denial_without_key
(self)
unit-tests/test_nested_share_folder.py:3404
Method
test_rewrite_resources_and_users
Should replace project_name prefix with actual folder names.
unit-tests/pam/test_kcm_import.py:3122
Method
test_rfc1918_10
(self)
unit-tests/pam/test_kcm_import.py:2866
Method
test_rfc1918_172
(self)
unit-tests/pam/test_kcm_import.py:2869
Method
test_rfc1918_192
(self)
unit-tests/pam/test_kcm_import.py:2872
Method
test_risk_filter
(self)
tests/test_pam_recording_commands.py:242
Method
test_risk_management_enterprise_stat_details
(self)
unit-tests/test_command_risk_management.py:121
Method
test_risk_management_enterprise_stat_json
(self)
unit-tests/test_command_risk_management.py:102
Method
test_risk_management_enterprise_stat_plain
(self)
unit-tests/test_command_risk_management.py:99
Method
test_risk_management_get_security_benchmarks
(self)
unit-tests/test_command_risk_management.py:174
Method
test_risk_management_security_alerts_detail
(self)
unit-tests/test_command_risk_management.py:157
Method
test_risk_management_security_alerts_summary
(self)
unit-tests/test_command_risk_management.py:136
Method
test_risk_management_set_security_benchmarks
(self)
unit-tests/test_command_risk_management.py:191
Method
test_rm_add_user_to_group_json
(self)
tests/test_credential_provision_kc1035.py:134
Method
test_rm_create_user_json
(self)
tests/test_credential_provision_kc1035.py:108
Method
test_rm_create_user_optional_fields
Optional fields should not be present when not provided.
tests/test_credential_provision_kc1035.py:123
Method
test_rm_delete_user_json
(self)
tests/test_credential_provision_kc1035.py:146
Method
test_role_create
(self)
tests/test_cross_commands.py:218
Method
test_roles_off_blocks_invite_add_role
(self)
unit-tests/service/test_sailpoint_pending.py:782
Method
test_rollback_ad_and_pam_user
Rollback with both AD user and PAM User created — LIFO order.
tests/test_credential_provision_kc1035.py:416
Method
test_rollback_ad_only
Rollback with AD user created but PAM User creation failed.
tests/test_credential_provision_kc1035.py:436
Method
test_rollback_deletes_pam_user
Test rollback deletes PAM User if created.
unit-tests/test_credential_provision.py:784
Method
test_rollback_deletes_pam_user_only
Test rollback deletes PAM User (Login records no longer created).
unit-tests/test_credential_provision.py:771
Method
test_rollback_failure_does_not_mask_the_original_error
stop_tailscale_funnel itself failing during rollback must not swallow or replace the original 'Funnel never became active' error.
unit-tests/service/test_tailscale_config.py:69
Method
test_rollback_handles_deletion_errors
Test rollback continues even if deletion fails.
unit-tests/test_credential_provision.py:797
Method
test_rollback_nothing_created
Rollback with nothing created — should not fail.
tests/test_credential_provision_kc1035.py:453
Method
test_rollback_pam_user_only
Rollback with only PAM User created (no AD user).
tests/test_credential_provision_kc1035.py:405
Method
test_rollback_with_folder_created
Test rollback tracks folder creation state (Login records removed).
unit-tests/test_credential_provision.py:813
Method
test_rollback_with_no_resources
Test rollback gracefully handles empty state.
unit-tests/test_credential_provision.py:757
Method
test_rolls_back_and_raises_when_funnel_never_becomes_active
(self)
unit-tests/service/test_tailscale_config.py:55
Method
test_rop_false_omits_immediate_action
(self)
tests/test_credential_provision_dryrun.py:221
Method
test_rotate_immediately_failure_warning_branches_on_mode
Regression for review #A (round 3): when _rotate_immediately fails, the remediation hint must reflect the rotation mode. on_demand mode
tests/test_credential_provision_execute.py:259
Method
test_rotate_on_provision_false_validates
(self)
tests/test_credential_provision_validation.py:284
Method
test_rotate_on_provision_string_rejected
(self)
tests/test_credential_provision_validation.py:288
Method
test_rotate_on_provision_true_validates
(self)
tests/test_credential_provision_validation.py:280
Method
test_rotation_and_hard_clear_repair_align_admin_summary
(self)
tests/test_security_audit_refresh.py:217
Method
test_rotation_complexity_used_when_no_existing_password
(self)
tests/test_credential_provision_execute.py:52
Method
test_rotation_configured_log_gated_on_real_success
Regression for round-5 review finding: the '✅ Rotation configured' log line must only fire when _configure_rotation actually configured
tests/test_credential_provision_execute.py:413
Method
test_rotation_present_includes_configure_action
(self)
tests/test_credential_provision_dryrun.py:212
Function
test_rotation_proto_disabled_with_empty_schedule
Clear-schedule case: disabled=True, schedule='[]' (or empty) — krouter clears scheduler.
unit-tests/pam/test_dag_layer_b_set_record_rotation.py:163
Function
test_rotation_proto_full_shape_roundtrips
()
unit-tests/pam/test_dag_layer_b_set_record_rotation.py:125
Function
test_rotation_proto_iam_noop_variant
IAM users: resourceUid empty, noop=False (links to config directly).
unit-tests/pam/test_dag_layer_b_set_record_rotation.py:151
Function
test_rotation_proto_minimal
()
unit-tests/pam/test_dag_layer_b_set_record_rotation.py:117
Method
test_rotation_resolver_loads_nsf_uid
(self, mock_load)
tests/test_cyberark_pam_import.py:1472
← previous
next →
11,401–11,500 of 12,579, ranked by callers