Skip to main content

Module powershell

Module powershell 

Source
Expand description

PowerShell tool module

Re-exports§

pub use command_semantics::interpret_command_result;
pub use common_parameters::common_parameters;
pub use destructive_command_warning::get_destructive_command_warning;
pub use git_safety::is_dot_git_path_ps;
pub use git_safety::is_git_internal_path_ps;
pub use mode_validation::PermissionBehavior;
pub use mode_validation::PermissionModeResult;
pub use mode_validation::check_permission_mode;
pub use path_validation::check_path_constraints;
pub use path_validation::dangerous_removal_deny;
pub use path_validation::get_cmdlet_path_config;
pub use path_validation::is_dangerous_removal_path;
pub use powershell_security::PowerShellSecurityResult;
pub use powershell_security::SecurityBehavior;
pub use powershell_security::powershell_command_is_safe;
pub use powershell_tool::PowerShellTool;
pub use prompt::get_default_timeout_ms;
pub use prompt::get_max_timeout_ms;
pub use read_only_validation::has_sync_security_concerns;
pub use read_only_validation::is_cwd_changing_cmdlet;
pub use read_only_validation::is_external_command_safe;
pub use read_only_validation::is_read_only_command;
pub use read_only_validation::resolve_to_canonical;
pub use tool_name::POWERSHELL_TOOL_NAME;

Modules§

command_semantics
Command semantics configuration for interpreting exit codes in PowerShell.
common_parameters
PowerShell Common Parameters
destructive_command_warning
Detects potentially destructive PowerShell commands and returns a warning
git_safety
Git security checks for PowerShell tool
mode_validation
PowerShell permission mode validation.
path_validation
PowerShell-specific path validation for command arguments.
powershell_security
PowerShell-specific security analysis for command validation.
powershell_tool
PowerShell tool - executes PowerShell commands
prompt
PowerShell tool prompt
read_only_validation
PowerShell read-only command validation.
tool_name
PowerShell tool name constant