IBM Cloud
TMA-IBMCLOUD-ACTIVITY-TRACKER-ROUTE
Ensure Activity Tracker event routing is configured
높음레벨 1자동ibmcloud
설명
Activity Tracker Event Routing sends account audit events to a durable target (Cloud Logs, COS, Event Streams). At least one route with target_ids must exist (requires the atracker plugin). Read-only ibmcloud CLI calls using the current CLI session and targeted region (ibmcloud login, or IBMCLOUD_API_KEY); JSON output is parsed with grep/sed/awk. A missing CLI, plugin or session fails the check.
점검 방법
감사 방식: 셸 명령
shell
out=$(ibmcloud atracker route ls --output json 2>/dev/null) || exit 1
n=$(printf '%s\n' "$out" | grep -c '"target_ids"' || true)
[ "$n" -gt 0 ] && echo compliant- 예상 출력
compliant
조치 방법
조치 방식: 가이드 또는 인프라 패치
ibmcloud atracker target create --name <t> --type cloud_object_storage|cloud_logs ... then ibmcloud atracker route create --name <r> --rules '[{"locations":["*","global"],"target_ids":["<target-id>"]}]'.
속성
- 운영 체제
- 모두
- 태그
- ibmcloudlogging
- 참고 자료
- CIS IBM Cloud Foundations Benchmark v2.0.0 - Logging and Monitoring - Activity Tracker event routing (verify section number for your release)
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target ibmcloud