selftests/unit/utils/process.py
Function call with shell=True parameter identified, possible security issue. Open
Open
p = process.SubProcess(cmd="ls -l", sudo=True, shell=True)
- Exclude checks
Function call with shell=True parameter identified, possible security issue. Open
Open
p = process.run(cmd="ls -l", sudo=True, shell=True, ignore_status=True)
- Exclude checks
Function call with shell=True parameter identified, possible security issue. Open
Open
p = process.SubProcess(cmd="ls -l", sudo=True, shell=True)
- Exclude checks
Function call with shell=True parameter identified, possible security issue. Open
Open
p = process.SubProcess(cmd="ls -l", sudo=True, shell=True)
- Exclude checks
Function call with shell=True parameter identified, possible security issue. Open
Open
p = process.run(cmd="ls -l", sudo=True, shell=True, ignore_status=True)
- Exclude checks
Function call with shell=True parameter identified, possible security issue. Open
Open
p = process.run(cmd="ls -l", sudo=True, shell=True, ignore_status=True)
- Exclude checks
File process.py
has 691 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import io
import logging
import os
import sys
import time
Function test_kill_process_tree_timeout_3s
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def test_kill_process_tree_timeout_3s(
Function test_kill_process_tree_dont_timeout_3s
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def test_kill_process_tree_dont_timeout_3s(
Function test_send_signal_sudo_enabled_with_exception
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def test_send_signal_sudo_enabled_with_exception(
Function test_kill_process_tree_dont_timeout_infinity
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def test_kill_process_tree_dont_timeout_infinity(
Function test_send_signal_sudo_enabled
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def test_send_signal_sudo_enabled(self, run, get_children, get_pid, sudo, _):