docs(security): 建立高價值配置控管清冊 [skip ci]

This commit is contained in:
Your Name
2026-06-11 11:28:36 +08:00
parent e427af3cb2
commit 6efd186750
17 changed files with 295 additions and 54 deletions

View File

@@ -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"