The purpose of incident response is to enable an organisation to detect and stop attacks immediately, reducing damage and preventing similar attacks in the future.