Member-only story

Logging and Monitoring in Software Security

Ishan Liyanage
2 min readMar 7, 2021

This is about we make sure we know what is going on with our application.

Also we should get notification when something suspicious happens. Also we can collect data for future analysis of the system’s behavior.

Why we need it?

This is great way for detecting attacks or suspicious activities or any similar. Logging and monitoring provides holistic view on the system. It can warn us against,

  1. Data leak
  2. Data loss
  3. Data inconsistency
  4. Disruption of Service

Note that logging and monitoring do not protect against threats but warn us against threats. In other words they are not exactly in line of defense but really good tool for detecting the threats.

Logging

This should be part of the existing platform. There is nothing called security logging. We should log everything that might be security related such as authentication events (logging times, user’s activities), No of of Authentication API calls per given time, Validation problems etc..

All of these details might point to security attack. For example, repeated validation problem might point to someone who tries to initiate cross site scripting attacks. Log-in…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Already have an account? Sign in

Ishan Liyanage
Ishan Liyanage

Written by Ishan Liyanage

Passionate Technical Lead, Senior Software Developer and free and open source software advocate. Based in Singapore.

No responses yet

Write a response