Add get_failures

Add code that retrieves status failures.