diff --git a/checks-config.json b/checks-config.json index 2caa0c6..003ef7d 100644 --- a/checks-config.json +++ b/checks-config.json @@ -15,6 +15,14 @@ "failedDetail": "Some requirements have suspected traceability links. Please review and confirm the traceability links.", "failedLevel": "Error" }, + { + "id": "Deleted ALM Elements", + "query": "SELECT Count(*) FROM t_xref WHERE Description LIKE '%deleted%';", + "passedTitle": "There are no deleted ALM elements", + "failedTitle": "Model has {count} deleted ALM elements", + "failedDetail": "Some ALM elements have been deleted. Please review and confirm the deletions.", + "failedLevel": "Error" + }, { "id": "Requirements With Outgoing Architecture Links", "query": "SELECT COUNT(DISTINCT r.Object_ID) AS RequirementCount FROM t_object r JOIN t_connector c ON c.Start_Object_ID = r.Object_ID JOIN t_object tgt ON tgt.Object_ID = c.End_Object_ID WHERE r.Object_Type = 'Requirement' AND tgt.Object_Type <> 'Requirement'",