Error Handling and Logging
Error handling and logging are an essential part of an application and infrastructure protection. When Error Handling is mentioned, it is referring to the capture of any errors in our application logic that may cause the system to crash, unless handled correctly. On the other hand, Logging details all the operations and requests that occur on our system. Logging not only allows the identification of all operations that have occurred, but it also helps determine which actions need to be taken to protect the system. Since attackers sometimes attempt to remove all traces of their actions by deleting logs, it's critical that logs are centralized.
The scope of this section covers the following:
- Error Handling
- Logging