Risk Management Frameworks for Automated Systems