docs(security): 建立高價值配置控管清冊 [skip ci]
This commit is contained in:
@@ -29,7 +29,7 @@ class TestSSHRecognition:
|
||||
|
||||
def test_ssh_with_options(self):
|
||||
p = parse_operation_from_action(
|
||||
"ssh -o StrictHostKeyChecking=no wooo@192.168.0.188 'systemctl restart ollama'"
|
||||
"ssh -o StrictHostKeyChecking=accept-new wooo@192.168.0.188 'systemctl restart ollama'"
|
||||
)
|
||||
assert p.operation_type == OperationType.SSH_HOST
|
||||
assert p.resource_name == "192.168.0.188"
|
||||
|
||||
Reference in New Issue
Block a user