ai defect detection data sovereignty