{ "documentId": "EVID-INV-ROLE-AA-001", "version": "1.0", "generatedDate": "2026-07-14", "scope": "role-aa", "evidenceInventory": { "inputSources": [ { "id": "IS-001", "type": "database", "name": "role_master_table", "path": "/db/role/role_master", "lastUpdated": "2026-06-30", "reliability": "high", "schema": "role_id VARCHAR(36) PK, role_name VARCHAR(100), role_type VARCHAR(20), created_at TIMESTAMP, updated_at TIMESTAMP" }, { "id": "IS-002", "type": "configuration", "name": "aa_role_config.xml", "path": "/config/role/aa_role_config.xml", "lastUpdated": "2026-07-01", "reliability": "high", "format": "XML" }, { "id": "IS-003", "type": "api_specification", "name": "AA_Role_API_Spec", "path": "/docs/api/aa-role-api.yaml", "lastUpdated": "2026-06-15", "reliability": "medium", "format": "OpenAPI 3.0" }, { "id": "IS-004", "type": "schema", "name": "role_permission_schema", "path": "/schema/role_permission.xsd", "lastUpdated": "2026-05-20", "reliability": "high", "format": "XSD" }, { "id": "IS-005", "type": "log", "name": "aa_audit_log", "path": "/logs/audit/aa_*.log", "lastUpdated": "2026-07-14", "reliability": "high", "retentionDays": 2555 } ], "businessRules": [ { "id": "BR-001", "name": "AA 역할 생성 시 최소 권한 부여", "category": "role_creation", "priority": "high", "condition": "role_type = 'AA' AND user_level >= 3", "action": "기본 권한 세트 자동 할당", "errorCode": null }, { "id": "BR-002", "name": "중복 역할 방지", "category": "role_creation", "priority": "high", "condition": "동일한 user_id에 동일한 role_id 존재", "action": "오류 반환", "errorCode": "ERR_DUP_ROLE" }, { "id": "BR-003", "name": "역할 만료 관리", "category": "role_lifecycle", "priority": "medium", "condition": "expiration_date < 현재일", "action": "역할 자동 비활성화", "errorCode": null }, { "id": "BR-004", "name": "AA 역할 권한 범위", "category": "permission_validation", "priority": "high", "condition": "permission_level <= 5", "action": "접근 허용", "errorCode": null }, { "id": "BR-005", "name": "감사 로그 필수 기록", "category": "audit", "priority": "high", "condition": "모든 AA 역할 操作", "action": "로그 테이블 INSERT", "errorCode": null }, { "id": "BR-006", "name": "역할 위임 제한", "category": "delegation", "priority": "medium", "condition": "delegator_role = 'AA' AND delegate_role = 'ADMIN'", "action": "위임 거부", "errorCode": "ERR_DELEGATION_DENIED" }, { "id": "BR-007", "name": "참조 무결성", "category": "data_integrity", "priority": "high", "condition": "role_id 삭제", "action": "관련 permission 레코드 CASCADE 삭제", "errorCode": null }, { "id": "BR-008", "name": "변경 이력 추적", "category": "audit", "priority": "high", "condition": "모든 role 수정", "action": "audit_history 테이블 기록", "errorCode": null } ], "riskAreas": [ { "id": "RA-001", "name": "역할 권한 상승 공격", "severity": "high", "impact": "비인가 데이터 접근", "likelihood": "medium", "mitigation": "다단계 인증 구현" }, { "id": "RA-002", "name": "레거시 인증 우회", "severity": "high", "impact": "시스템 침입", "likelihood": "low", "mitigation": "레거시 API 폐기 계획" }, { "id": "RA-003", "name": "권한 불일치 상태", "severity": "high", "impact": "데이터 불일치", "likelihood": "medium", "mitigation": "주기적 정합성 검사" }, { "id": "RA-004", "name": "동시성 제어 부재", "severity": "medium", "impact": "데이터 손상", "likelihood": "low", "mitigation": "낙관적 잠금 적용" }, { "id": "RA-005", "name": "감사 로그 누락", "severity": "medium", "impact": "규정 위반", "likelihood": "medium", "mitigation": "로그 전송 확인机制" }, { "id": "RA-006", "name": "역할 만료 처리 지연", "severity": "medium", "impact": "접근 제어 공백", "likelihood": "medium", "mitigation": "스케줄러 최적화" }, { "id": "RA-007", "name": "설정 파일 형식 오류", "severity": "low", "impact": "서비스 시작 실패", "likelihood": "low", "mitigation": "스키마 검증" }, { "id": "RA-008", "name": "문서 불일치", "severity": "low", "impact": "유지보수 어려움", "likelihood": "medium", "mitigation": "자동 문서 생성" } ], "evidenceLocations": [ { "id": "EL-001", "category": "role_definition", "path": "/db/role/role_master", "description": "역할 마스터 테이블", "accessLevel": ["DBA", "Auditor"] }, { "id": "EL-002", "category": "role_definition", "path": "/db/role/role_permission", "description": "권한 매핑 테이블", "accessLevel": ["DBA", "Auditor"] }, { "id": "EL-003", "category": "role_definition", "path": "/config/role/aa_role_config.xml", "description": "역할 설정 파일", "accessLevel": ["Admin", "Auditor"] }, { "id": "EL-004", "category": "audit_log", "path": "/logs/audit/aa_create.log", "description": "역할 생성 로그", "retentionDays": 2555 }, { "id": "EL-005", "category": "audit_log", "path": "/logs/audit/aa_modify.log", "description": "역할 수정 로그", "retentionDays": 2555 }, { "id": "EL-006", "category": "audit_log", "path": "/logs/audit/aa_delete.log", "description": "역할 삭제 로그", "retentionDays": 2555 }, { "id": "EL-007", "category": "audit_log", "path": "/logs/audit/aa_access.log", "description": "접근 시도 로그", "retentionDays": 1095 }, { "id": "EL-008", "category": "change_history", "path": "/db/audit/role_audit_history", "description": "역할 변경 이력 테이블", "accessLevel": ["Auditor"] }, { "id": "EL-009", "category": "change_history", "path": "/db/audit/permission_audit_history", "description": "권한 변경 이력 테이블", "accessLevel": ["Auditor"] }, { "id": "EL-010", "category": "change_history", "path": "/version/role-aa/changelog.md", "description": "역할 변경 이력 문서", "accessLevel": ["All"] }, { "id": "EL-011", "category": "test_evidence", "path": "/test/role-aa/unit", "description": "단위 테스트", "testType": "Unit" }, { "id": "EL-012", "category": "test_evidence", "path": "/test/role-aa/integration", "description": "통합 테스트", "testType": "Integration" }, { "id": "EL-013", "category": "test_evidence", "path": "/test/role-aa/security", "description": "보안 테스트", "testType": "Security" } ] }, "transitionChecklist": [ { "item": "입력 소스 데이터 마이그레이션 계획 수립", "status": "pending", "priority": "high" }, { "item": "업무 규칙 호환성 검증 완료", "status": "pending", "priority": "high" }, { "item": "위험 영역 보안 감사 완료", "status": "pending", "priority": "high" }, { "item": "증적 위치 접근 권한 검증 완료", "status": "pending", "priority": "medium" }, { "item": "롤백 계획 수립 및 테스트 완료", "status": "pending", "priority": "high" } ] }