MCPcopy Create free account

hub / github.com/Zen-Open-Source/AgentArmor / functions

Functions75 in github.com/Zen-Open-Source/AgentArmor

↓ 28 callersFunctionget_str
(config: &'a Value, path: &str)
src/utils/config.rs:32
↓ 15 callersFunctionget
Traverse a config value using a dot-separated path (e.g. "gateway.auth.mode").
src/utils/config.rs:24
↓ 12 callersFunctionget_bool
(config: &Value, path: &str)
src/utils/config.rs:36
↓ 10 callersFunctionset_config_value
Set a value at a dot-separated config path, creating intermediate objects as needed.
src/fixer.rs:674
↓ 6 callersFunctioncheck_permissions
(path: &Path)
src/utils/fs.rs:12
↓ 6 callersFunctionneeds_perm_fix
(path: &Path, target: u32)
src/fixer.rs:632
↓ 3 callersFunctionget_array
(config: &'a Value, path: &str)
src/utils/config.rs:40
↓ 3 callersMethodname
(&self)
src/agents/openclaw/mod.rs:11
↓ 3 callersFunctionparse_version_string
Parse a version string, handling formats like "openclaw vYYYY.M.DD", "openclaw YYYY.M.DD", "vYYYY.M.DD", or bare "YYYY.M.DD".
src/agents/openclaw/checks/cve.rs:94
↓ 3 callersFunctionread_config
Parse openclaw.json (JSON5 format) from the base directory. Returns an empty object if the file doesn't exist.
src/utils/config.rs:7
↓ 3 callersFunctionrun_scan
(agent_name: Option<&str>)
src/scanner.rs:6
↓ 2 callersFunctionbase_path
()
src/agents/openclaw/mod.rs:36
↓ 2 callersFunctionfind_auth_profiles
Find agent auth-profile files under base_path/agents/*/agent/auth-profiles.json
src/utils/fs.rs:56
↓ 2 callersFunctionfind_credential_files
Recursively find credential files under base_path/credentials/
src/utils/fs.rs:34
↓ 2 callersFunctionremove_config_value
Remove a value at a dot-separated config path.
src/fixer.rs:690
↓ 2 callersFunctionscore_color
(earned: u32, possible: u32)
src/utils/report.rs:4
↓ 1 callersFunctionall_plugins
()
src/agents/mod.rs:5
↓ 1 callersFunctionapply_config_remove
(fix: &FixAction, config: &mut Value)
src/fixer.rs:551
↓ 1 callersFunctionapply_config_set
(fix: &FixAction, config: &mut Value)
src/fixer.rs:460
↓ 1 callersFunctionapply_fix
(fix: &FixAction, config: &mut Value, base: &Path, _verbose: bool)
src/fixer.rs:413
↓ 1 callersFunctionapply_permission_fix
(fix: &FixAction, _base: &Path)
src/fixer.rs:422
↓ 1 callersFunctionapply_token_gen
(_fix: &FixAction, config: &mut Value)
src/fixer.rs:596
↓ 1 callersFunctionbuild_categories
(checks: &[CheckResult])
src/scanner.rs:55
↓ 1 callersFunctioncollect_string_values
(value: &Value, path: &str, out: &mut Vec<(String, String)>)
src/agents/openclaw/checks/secrets.rs:26
↓ 1 callersFunctioncreate_backup
(base: &Path, backup_root: &Path)
src/fixer.rs:644
↓ 1 callersFunctiondefault_backup_root
()
src/fixer.rs:616
↓ 1 callersMethoddetect
(&self)
src/agents/openclaw/mod.rs:19
↓ 1 callersFunctiondetect_from_command
()
src/agents/openclaw/checks/cve.rs:53
↓ 1 callersFunctiondetect_from_package_json
()
src/agents/openclaw/checks/cve.rs:72
↓ 1 callersFunctiondetect_from_version_file
()
src/agents/openclaw/checks/cve.rs:65
↓ 1 callersFunctiondetect_version
Detect the installed OpenClaw version by trying multiple methods.
src/agents/openclaw/checks/cve.rs:34
↓ 1 callersMethoddisplay_name
(&self)
src/agents/openclaw/mod.rs:15
↓ 1 callersFunctionensure_base_dir
(base: &Path)
src/fixer.rs:623
↓ 1 callersFunctiongenerate_hex_token
(num_bytes: usize)
src/fixer.rs:666
↓ 1 callersFunctionopenclaw_base
()
src/fixer.rs:610
↓ 1 callersFunctionplan_fixes
(config: &Value, base: &Path)
src/fixer.rs:195
↓ 1 callersFunctionrun_fix
(opts: FixOptions)
src/fixer.rs:54
↓ 1 callersMethodscan
(&self)
src/agents/openclaw/mod.rs:23
↓ 1 callersFunctionstatus_icon
(status: &CheckStatus)
src/utils/report.rs:18
↓ 1 callersFunctionwrite_config_atomic
Write config JSON atomically: write to temp file then rename.
src/fixer.rs:716
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/mdns.rs:6
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/tool_authorization.rs:8
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/dm_security.rs:6
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/sandbox.rs:6
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/cve.rs:320
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/dangerous_flags.rs:6
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/group_security.rs:6
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/exec_security.rs:8
Functioncheck
(config: &Value, base: &Path)
src/agents/openclaw/checks/logging.rs:7
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/control_ui.rs:6
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/auth.rs:6
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/plugins.rs:6
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/network.rs:6
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/reverse_proxy.rs:6
Functioncheck
(_config: &Value, base: &Path)
src/agents/openclaw/checks/file_permissions.rs:6
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/prompt_injection.rs:6
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/sub_agents.rs:6
Functioncheck
(config: &Value, base: &Path)
src/agents/openclaw/checks/secrets.rs:55
Functioncheck
(config: &Value, _base: &Path)
src/agents/openclaw/checks/browser_security.rs:6
Functionconfig_control_ui_risky
(config: &Value)
src/agents/openclaw/checks/cve.rs:134
Functionconfig_docker_network_container
(config: &Value)
src/agents/openclaw/checks/cve.rs:128
Functionconfig_exec_not_denied
(config: &Value)
src/agents/openclaw/checks/cve.rs:150
Functionconfig_feishu_enabled
(config: &Value)
src/agents/openclaw/checks/cve.rs:146
Functionconfig_sandbox_browser_enabled
(config: &Value)
src/agents/openclaw/checks/cve.rs:158
Functionconfig_shared_auth
(config: &Value)
src/agents/openclaw/checks/cve.rs:122
Methoddisplay
(&self)
src/agents/openclaw/checks/cve.rs:28
Functionformat_json
(report: &ScanReport)
src/utils/report.rs:127
Functionformat_report
(report: &ScanReport, verbose: bool)
src/utils/report.rs:36
Functionmain
()
src/main.rs:60
Methodparse
(s: &str)
src/agents/openclaw/checks/cve.rs:16
Functionpts_str
(check: &CheckResult)
src/utils/report.rs:27
Functiontest_cve_database_has_all_entries
()
src/agents/openclaw/checks/cve.rs:441
Functiontest_parse_version_string
()
src/agents/openclaw/checks/cve.rs:421
Functiontest_version_comparison
()
src/agents/openclaw/checks/cve.rs:411
Functiontest_version_parse
()
src/agents/openclaw/checks/cve.rs:405