4. Workflow Lifecycle: 리스크 평가 자동 최적화
← 이전: 이상거래 탐지 | 다음: 9가지 고유 기능 → | 금융 목차
Process Mining → DAG 생성 → 실행 → 자가개선 Closed-Loop로 리스크 평가 프로세스 자동 최적화
시나리오: 리스크 평가 프로세스 자동화
As-Is: 수동 리스크 모델 개선
To-Be: ONESHIM Workflow Lifecycle
📄 리스크 평가 DAG YAML 예시
# risk-assessment-workflow.yaml
apiVersion: oneshim/v1
kind: Workflow
metadata:
name: transaction-risk-scoring
version: 3.2.0
compliance:
- Basel III
- AML/KYC
audit_trail: enabled
spec:
triggers:
- type: event
source: core_banking.transaction_created
- type: schedule
cron: "0 0 * * *" # 일일 배치 평가
steps:
- id: collect_transaction
name: 거래 정보 수집
handler: core_banking.get_transaction
timeout: 5s
- id: collect_customer_profile
name: 고객 프로필 조회
handler: kyc.get_customer_profile
parallel_group: enrichment
- id: collect_historical_patterns
name: 거래 패턴 조회
handler: analytics.get_historical_patterns
parallel_group: enrichment
- id: calculate_risk_score
name: 리스크 점수 계산
handler: ai_intelligence.calculate_risk_score
depends_on:
- collect_transaction
- collect_customer_profile
- collect_historical_patterns
config:
model: risk_scoring_v5
# 🔄 자가개선으로 조정된 임계값
thresholds:
low: 0.3 # AI 조정: 0.25 → 0.3
medium: 0.6 # AI 조정: 0.5 → 0.6
high: 0.85 # 유지
- id: generate_report
name: 평가 리포트 생성
handler: auditing.generate_risk_report
depends_on:
- calculate_risk_score
- id: alert_compliance
name: 컴플라이언스 알림
handler: notification.alert_compliance_team
depends_on:
- calculate_risk_score
condition: "{{ calculate_risk_score.level == 'high' }}"
self_improvement:
enabled: true
min_executions: 1000
requires_compliance_review: true # 컴플라이언스 승인 필수
metrics:
- false_positive_rate
- detection_rate
- processing_time
자가개선 시나리오: 오탐률 자동 감소
Before vs After
| 항목 | 기존 (수동) | ONESHIM (자동) | 개선율 |
|---|---|---|---|
| 오탐률 | 12% | 6% | -50% |
| 모델 개선 주기 | 분기 1회 | 필요 시 즉시 | 실시간 |
| 컴플라이언스 검토 | 2주 | 1일 | -93% |
| 감사 대응 | 수동 증적 | 자동 추적 | 100% 자동 |
관련 문서
- Workflow Lifecycle 상세 - 전체 Closed-Loop 설명
- Process Mining 상세 - 프로세스 발견 기술
- 자가개선 워크플로우 - 고유 기능 설명