ROS (Robot Operating System)
TMA-ROS1-1.1.22
Disable Automounting
中レベル 1自動ros
説明
autofs allows automatic mounting of devices, typically including CD/DVDs and USB drives. The audit requires autofs to be not installed or not enabled (systemctl is-enabled autofs). Host-level control from the CIS ROS Melodic benchmark (Ubuntu 18.04 robot hosts); run as root.
チェック方法
監査方法: シェルコマンド
shell
s=$(systemctl is-enabled autofs 2>/dev/null)
[ "$s" = enabled ] && echo 'autofs is enabled' || echo compliant- 期待される出力
compliant
修正方法
修正方法: ガイダンスまたは IaC パッチ
Run one of the following commands: Run the following command to disable autofs : # systemctl --now disable autofs OR Run the following command to remove autofs # apt purge autofs
プロパティ
- オペレーティングシステム
- すべて
- タグ
- rosros1melodicsystem
- 参照
- CIS ROS Melodic Benchmark v1.0.0 - 1.1.22 Disable Automounting
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target ros