TMAegis

Tham chiếu CLI

Mọi lệnh và cờ tùy chọn.

Pages that are not translated into your language yet are shown in English. Commands and file formats are the same in every language.

Run tmaegis <command> --help for the authoritative text in your installed version.

Global flags

FlagMeaning
-c, --configPath to the configuration file (default config.yaml)
-r, --rules-dirDirectory with the YAML rules (default ./rules)
--langInterface language, a BCP 47 tag such as en-US, vi or sr-Cyrl. Default: detected from the system.
--ai-providerOverride the AI provider: ollama, claude, openai or gemini
--os-familyOverride the detected OS family, for example ubuntu-24.04. * runs rules for every family.

tmaegis scan

Audits the system. Read-only.

FlagMeaning
--auto-detectDetect the OS and installed software, run only matching rules
-t, --targetPlatform filter, for example linux, windows, postgres, aws (default all)
-l, --levelCIS profile level, 1 or 2 (default 1)
-f, --formattext, json, jsonl, sarif, asff, csv, html, xlsx or pdf
-o, --outputWrite the report to a file (required for xlsx and pdf)
--include-manualAlso list manual-review recommendations as SKIP with instructions
--device-configAudit an exported network-device configuration
--ai-analyzeAsk the AI provider to assess the impact of the fixes
--pluginComma-separated post-scan plugins
--push-urlSend the JSON report to a tmaegis-server (token from TMAEGIS_SERVER_TOKEN)
-q, --quietDo not print the banner

tmaegis apply

Remediates failing controls. Takes a snapshot first.

FlagMeaning
--auto-detect, -t, -lSame selection flags as scan
--dry-runShow what would change without modifying the system
--deadman-timeoutSeconds to wait for confirmation before automatic rollback (default 60, 0 disables)
--no-confirmSkip the confirmation prompt, for CI
--auto-rollbackRoll back automatically if a fix or its verification fails (default on)
--terraform-outWrite proposed Terraform for cloud findings to a directory

tmaegis rollback

FlagMeaning
--listList snapshots and exit
--idSnapshot to restore (default: the latest)

Other commands

CommandMeaning
tmaegis discover [--json]Show the detected OS and installed software
tmaegis rules export [-o file]Export the rule catalog as JSON
tmaegis plugin install|listManage plugins
tmaegis langList the supported languages

Exit codes and CI

Use --format sarif to feed the GitHub Security tab, and --no-confirm for non-interactive remediation. Check tmaegis scan --help for the exit-code behaviour of your version.

Chỉnh sửa trang này trên GitHub